public class CmsSearchStateParameters extends java.lang.Object implements I_CmsSearchStateParameters
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
LOG
Logger for the class.
|
| Constructor and Description |
|---|
CmsSearchStateParameters(I_CmsSearchResultWrapper result,
java.util.Map<java.lang.String,java.lang.String[]> params)
Constructor for a state parameters object.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,I_CmsSearchStateParameters> |
getAddIgnoreFacetLimit()
Returns the search state parameters with the parameter for ignoring a facet's (specified by first key) limit added.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,I_CmsSearchStateParameters>> |
getCheckFacetItem()
Returns the search state parameters with the filter query for facets (specified by first key) item (specified by the second key) added.
|
java.util.Map<java.lang.String,I_CmsSearchStateParameters> |
getNewQuery()
Returns the search state parameters with the Query parameter's value adjusted to the key of the map.
|
java.util.Map<java.lang.String,I_CmsSearchStateParameters> |
getRemoveIgnoreFacetLimit()
Returns the search state parameters with the parameter for ignoring a facet's (specified by first key) limit removed.
|
I_CmsSearchStateParameters |
getResetAllFacetStates()
Returns the search state parameters with all filter queries for facets removed.
|
java.util.Map<java.lang.String,I_CmsSearchStateParameters> |
getResetFacetState()
Returns the search state parameters with all filter queries for the facet specified as key removed.
|
java.util.Map<java.lang.String,I_CmsSearchStateParameters> |
getSetPage()
Returns the search state parameters with the value for the current page's parameter replaced by the key.
|
java.util.Map<java.lang.String,I_CmsSearchStateParameters> |
getSetSortOption()
Returns the search state parameters with the value for the sort parameter replaced by the key.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,I_CmsSearchStateParameters>> |
getUncheckFacetItem()
Returns the search state parameters with the filter query for facets (specified by first key) item (specified by the second key) removed.
|
static java.lang.String |
paramMapToString(java.util.Map<java.lang.String,java.lang.String[]> parameters)
Converts a parameter map to the parameter string.
|
java.lang.String |
toString() |
protected static final org.apache.commons.logging.Log LOG
public CmsSearchStateParameters(I_CmsSearchResultWrapper result, java.util.Map<java.lang.String,java.lang.String[]> params)
result - The search result, according to which the parameters are manipulated.params - The original parameter set.public static java.lang.String paramMapToString(java.util.Map<java.lang.String,java.lang.String[]> parameters)
parameters - the parameter map.public java.util.Map<java.lang.String,I_CmsSearchStateParameters> getAddIgnoreFacetLimit()
I_CmsSearchStateParametersgetAddIgnoreFacetLimit in interface I_CmsSearchStateParametersI_CmsSearchStateParameters.getAddIgnoreFacetLimit()public java.util.Map<java.lang.String,java.util.Map<java.lang.String,I_CmsSearchStateParameters>> getCheckFacetItem()
I_CmsSearchStateParametersgetCheckFacetItem in interface I_CmsSearchStateParametersI_CmsSearchStateParameters.getCheckFacetItem()public java.util.Map<java.lang.String,I_CmsSearchStateParameters> getNewQuery()
I_CmsSearchStateParametersgetNewQuery in interface I_CmsSearchStateParametersI_CmsSearchStateParameters.getNewQuery()public java.util.Map<java.lang.String,I_CmsSearchStateParameters> getRemoveIgnoreFacetLimit()
I_CmsSearchStateParametersgetRemoveIgnoreFacetLimit in interface I_CmsSearchStateParametersI_CmsSearchStateParameters.getRemoveIgnoreFacetLimit()public I_CmsSearchStateParameters getResetAllFacetStates()
I_CmsSearchStateParametersgetResetAllFacetStates in interface I_CmsSearchStateParametersI_CmsSearchStateParameters.getResetAllFacetStates()public java.util.Map<java.lang.String,I_CmsSearchStateParameters> getResetFacetState()
I_CmsSearchStateParametersgetResetFacetState in interface I_CmsSearchStateParametersI_CmsSearchStateParameters.getResetFacetState()public java.util.Map<java.lang.String,I_CmsSearchStateParameters> getSetPage()
I_CmsSearchStateParametersgetSetPage in interface I_CmsSearchStateParametersI_CmsSearchStateParameters.getSetPage()public java.util.Map<java.lang.String,I_CmsSearchStateParameters> getSetSortOption()
I_CmsSearchStateParametersgetSetSortOption in interface I_CmsSearchStateParametersI_CmsSearchStateParameters.getSetSortOption()public java.util.Map<java.lang.String,java.util.Map<java.lang.String,I_CmsSearchStateParameters>> getUncheckFacetItem()
I_CmsSearchStateParametersgetUncheckFacetItem in interface I_CmsSearchStateParametersI_CmsSearchStateParameters.getUncheckFacetItem()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()