Package org.opencms.jsp.search.state
Class CmsSearchStateSorting
- java.lang.Object
-
- org.opencms.jsp.search.state.CmsSearchStateSorting
-
- All Implemented Interfaces:
I_CmsSearchStateSorting
public class CmsSearchStateSorting extends java.lang.Object implements I_CmsSearchStateSorting
Class for keeping the state of the sorting options.
-
-
Constructor Summary
Constructors Constructor Description CmsSearchStateSorting()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<I_CmsSearchConfigurationSortOption,java.lang.Boolean>
getCheckSelected()
Returns a map from search options to their check state.I_CmsSearchConfigurationSortOption
getSelected()
Returns the selected search option.void
setSelectedOption(I_CmsSearchConfigurationSortOption option)
Setter for the selected search option.
-
-
-
Constructor Detail
-
CmsSearchStateSorting
public CmsSearchStateSorting()
-
-
Method Detail
-
getCheckSelected
public java.util.Map<I_CmsSearchConfigurationSortOption,java.lang.Boolean> getCheckSelected()
Description copied from interface:I_CmsSearchStateSorting
Returns a map from search options to their check state.- Specified by:
getCheckSelected
in interfaceI_CmsSearchStateSorting
- Returns:
- A map from search options to their check state.
- See Also:
I_CmsSearchStateSorting.getCheckSelected()
-
getSelected
public I_CmsSearchConfigurationSortOption getSelected()
Description copied from interface:I_CmsSearchStateSorting
Returns the selected search option.- Specified by:
getSelected
in interfaceI_CmsSearchStateSorting
- Returns:
- The selected search option.
- See Also:
I_CmsSearchStateSorting.getSelected()
-
setSelectedOption
public void setSelectedOption(I_CmsSearchConfigurationSortOption option)
Description copied from interface:I_CmsSearchStateSorting
Setter for the selected search option.- Specified by:
setSelectedOption
in interfaceI_CmsSearchStateSorting
- Parameters:
option
- The selected search option to set.- See Also:
I_CmsSearchStateSorting.setSelectedOption(org.opencms.jsp.search.config.I_CmsSearchConfigurationSortOption)
-
-