Class SimpleWebAppSearchOptionsManager
java.lang.Object
com.webmethods.caf.faces.search.options.SimpleWebAppSearchOptionsManager
- All Implemented Interfaces:
ISearchOptionsManager
,Serializable
public class SimpleWebAppSearchOptionsManager
extends Object
implements ISearchOptionsManager, Serializable
A simple implementation of ISearchOptionsManager that can be used
in a standalone WebApp. (i.e. not a portlet app)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Name of web app environment variable which controls default number of max results for search optionsFields inherited from interface com.webmethods.caf.faces.search.options.ISearchOptionsManager
KEY_INITIAL_SEARCH_TAB, KEY_INITIAL_SELECTED_SAVED_SEARCH, KEY_LAST_SEARCH_STATE, KEY_MAX_RESULTS, KEY_NO_MAX_RESULTS, KEY_RUN_SEARCH_ON_DISPLAY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a map of the current search optionsprotected static ServletContext
protected static String
protected static boolean
void
updateSearchOptions
(Map<String, Object> optionsMap) Update the search options
-
Field Details
-
DEFAULT_MAX_RESULTS_ENV_KEY
Name of web app environment variable which controls default number of max results for search options- See Also:
-
-
Constructor Details
-
SimpleWebAppSearchOptionsManager
public SimpleWebAppSearchOptionsManager()
-
-
Method Details
-
getSearchOptions
Description copied from interface:ISearchOptionsManager
Get a map of the current search options- Specified by:
getSearchOptions
in interfaceISearchOptionsManager
- Returns:
- map of search options
-
updateSearchOptions
Description copied from interface:ISearchOptionsManager
Update the search options- Specified by:
updateSearchOptions
in interfaceISearchOptionsManager
- Parameters:
optionsMap
- the options to update
-
getServletContext
-
getStorageKey
-
isPersistedSearchOption
-