Class WmCommonSearch65xSearchQuery
java.lang.Object
com.webmethods.caf.faces.search.query.BaseSearchQuery
com.webmethods.caf.faces.search.query.WmCommonSearch65xSearchQuery
- All Implemented Interfaces:
ISearchQuery
,Serializable
,Cloneable
- Direct Known Subclasses:
SerializableSearchQuery
An implementation of the ISearchQuery that generates a state string that
is compatible with the 6.5.x wm_commonsearch* portlets.
NOTE: It is preferred to use @link SerializableSearchQuery for CAF search applications
that don't need to be compatible with the wm_commonsearch* portlets.
- Since:
- 7.0
- See Also:
-
Field Summary
Fields inherited from class com.webmethods.caf.faces.search.query.BaseSearchQuery
fInvocationID, fKeywordsField, fKeywordTerms, fMaxResults, fNormalizedKeywordTerms, fRefineFields, fUseOrCondition
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSearchStateMap
(ISearchStateOptions options) Gets the search state mapvoid
populateFromSearchStateString
(String stateString) Import the search state from a state stringtoSearchStateString
(ISearchStateOptions options) Export the search state to a stringMethods inherited from class com.webmethods.caf.faces.search.query.BaseSearchQuery
clear, clone, cloneSearchQuery, equals, getInvocationID, getKeywordsField, getKeywordTerms, getMaxResults, getNormalizedKeywordTerms, getNormalizedSearchTerms, getRefineFields, getUseOrCondition, hashCode, isUseOrCondition, makeContainsTerm, parseSearchTerms, parseSearchTerms, setInvocationID, setKeywordsField, setMaxResults, setRefineFields, setUseOrCondition
-
Constructor Details
-
WmCommonSearch65xSearchQuery
public WmCommonSearch65xSearchQuery()
-
-
Method Details
-
populateFromSearchStateString
Description copied from class:BaseSearchQuery
Import the search state from a state string- Specified by:
populateFromSearchStateString
in interfaceISearchQuery
- Specified by:
populateFromSearchStateString
in classBaseSearchQuery
- Parameters:
stateString
- the search state string (from toSearchStateString method)
-
toSearchStateString
Description copied from class:BaseSearchQuery
Export the search state to a string- Specified by:
toSearchStateString
in interfaceISearchQuery
- Specified by:
toSearchStateString
in classBaseSearchQuery
- Parameters:
options
- the options to use when writing the search state- Returns:
- search state as a string
-
getSearchStateMap
Gets the search state map- Parameters:
options
- the options to use when creating the search state map- Returns:
- the search state map for the given options
-