Package com.zendesk.sdk.storage
Interface HelpCenterSessionCache
-
public interface HelpCenterSessionCache
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description LastSearch
getLastSearch()
Get the last Help Center search query.boolean
isUniqueSearchResultClick()
void
setLastSearch(java.lang.String query, int resultCount)
Store the last successful search meta data.void
unsetUniqueSearchResultClick()
Un-sets the unique search result click flag
-
-
-
Method Detail
-
getLastSearch
LastSearch getLastSearch()
Get the last Help Center search query.- Returns:
- The last Help Center query.
-
setLastSearch
void setLastSearch(java.lang.String query, int resultCount)
Store the last successful search meta data.- Parameters:
query
- The used query string.resultCount
- The number of results.
-
unsetUniqueSearchResultClick
void unsetUniqueSearchResultClick()
Un-sets the unique search result click flag
-
isUniqueSearchResultClick
boolean isUniqueSearchResultClick()
- Returns:
- true if an article was the first viewed from a search result, false otherwise
-
-