public class CmsSearchStateFacet extends java.lang.Object implements I_CmsSearchStateFacet
| Constructor and Description |
|---|
CmsSearchStateFacet()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChecked(java.lang.String entry)
Add a facet entry to the collection of checked entries.
|
void |
clearChecked()
Clear the collection of checked entries - i.e., tell that nothing is checked.
|
java.util.List<java.lang.String> |
getCheckedEntries()
Returns all checked entries of a facet.
|
boolean |
getIgnoreChecked()
Returns a flag, indicating if the checked entries should be ignored.
|
java.util.Map<java.lang.String,java.lang.Boolean> |
getIsChecked()
Returns a map that tells for each facet entry (an arbitrary string), if it is checked.
|
boolean |
getUseLimit()
Returns a flag, indicating if the limit for the maximal number of facet entries should be used.
|
void |
setIgnoreChecked(boolean ignore)
Set, if the checked facet entries should be ignored.
|
void |
setUseLimit(boolean useLimit)
Set, if the limit for the maximal number of facet entries should be used.
|
public CmsSearchStateFacet()
public void addChecked(java.lang.String entry)
I_CmsSearchStateFacetaddChecked in interface I_CmsSearchStateFacetentry - The facet entry.I_CmsSearchStateFacet.addChecked(java.lang.String)public void clearChecked()
I_CmsSearchStateFacetclearChecked in interface I_CmsSearchStateFacetI_CmsSearchStateFacet.clearChecked()public java.util.List<java.lang.String> getCheckedEntries()
I_CmsSearchStateFacetgetCheckedEntries in interface I_CmsSearchStateFacetI_CmsSearchStateFacet.getCheckedEntries()public boolean getIgnoreChecked()
I_CmsSearchStateFacetgetIgnoreChecked in interface I_CmsSearchStateFacetI_CmsSearchStateFacet.getIgnoreChecked()public java.util.Map<java.lang.String,java.lang.Boolean> getIsChecked()
I_CmsSearchStateFacetgetIsChecked in interface I_CmsSearchStateFacetI_CmsSearchStateFacet.getIsChecked()public boolean getUseLimit()
I_CmsSearchStateFacetgetUseLimit in interface I_CmsSearchStateFacetI_CmsSearchStateFacet.getUseLimit()public void setIgnoreChecked(boolean ignore)
I_CmsSearchStateFacetsetIgnoreChecked in interface I_CmsSearchStateFacetignore - Flag, indicating if the checked entries should be ignored or not.I_CmsSearchStateFacet.setIgnoreChecked(boolean)public void setUseLimit(boolean useLimit)
I_CmsSearchStateFacetsetUseLimit in interface I_CmsSearchStateFacetuseLimit - Flag, indicating if the configured limit for the maximal number of facet entries should be used.I_CmsSearchStateFacet.setUseLimit(boolean)