Class PropertySearchFieldConfiguration
java.lang.Object
de.hybris.platform.cockpit.services.config.impl.PropertySearchFieldConfiguration
- All Implemented Interfaces:
SearchFieldConfiguration
Property search field configuration.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.hybris.platform.cockpit.services.config.SearchFieldConfiguration
SearchFieldConfiguration.EntryListMode -
Field Summary
Fields inherited from interface de.hybris.platform.cockpit.services.config.SearchFieldConfiguration
CONDITION_ENTRIES, ENTRY_LIST_MODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the name set for this search field configuration.Returns this field's property descriptor.Returns thesearch fieldassociated with this search field configuration.booleanReturns whether sorting by the correspondingsearch fieldis disabled or not.booleanReturns whether the correspondingsearch fieldshould be visible or not.voidsetConditionEntries(List<EditorConditionEntry> conditionEntries) voidvoidsetEntryListMode(SearchFieldConfiguration.EntryListMode entryListMode) voidSets the name which the correspondingsearch fieldshould be given.voidsetParameters(Map<String, String> parameters) voidsetSortDisabled(boolean sortDisabled) Sets whether the correspondingsearch fieldshould allow sorting or not.voidsetVisible(boolean visible) Sets whether the correspondingsearch fieldshould be visibility or not.
-
Constructor Details
-
PropertySearchFieldConfiguration
-
-
Method Details
-
getName
Description copied from interface:SearchFieldConfigurationReturns the name set for this search field configuration.- Specified by:
getNamein interfaceSearchFieldConfiguration- Returns:
- the name of this search field configuration
-
getSearchField
Description copied from interface:SearchFieldConfigurationReturns thesearch fieldassociated with this search field configuration.- Specified by:
getSearchFieldin interfaceSearchFieldConfiguration- Returns:
- the search field associated with this search field configuration
-
isSortDisabled
public boolean isSortDisabled()Description copied from interface:SearchFieldConfigurationReturns whether sorting by the correspondingsearch fieldis disabled or not.- Specified by:
isSortDisabledin interfaceSearchFieldConfiguration- Returns:
trueif sorting is disabled i.e. not allowed,falseotherwise
-
isVisible
public boolean isVisible()Description copied from interface:SearchFieldConfigurationReturns whether the correspondingsearch fieldshould be visible or not.- Specified by:
isVisiblein interfaceSearchFieldConfiguration- Returns:
trueif the corresponding search field should be visible,falseotherwise
-
setName
Description copied from interface:SearchFieldConfigurationSets the name which the correspondingsearch fieldshould be given.- Specified by:
setNamein interfaceSearchFieldConfiguration- Parameters:
name- the name
-
setSortDisabled
public void setSortDisabled(boolean sortDisabled) Description copied from interface:SearchFieldConfigurationSets whether the correspondingsearch fieldshould allow sorting or not.- Specified by:
setSortDisabledin interfaceSearchFieldConfiguration- Parameters:
sortDisabled-truemeans that sorting by the correspondingsearch fieldis not allowed.
-
setVisible
public void setVisible(boolean visible) Description copied from interface:SearchFieldConfigurationSets whether the correspondingsearch fieldshould be visibility or not.- Specified by:
setVisiblein interfaceSearchFieldConfiguration- Parameters:
visible-truemeans visible, whereasfalsemeans invisible
-
getPropertyDescriptor
Description copied from interface:SearchFieldConfigurationReturns this field's property descriptor.- Specified by:
getPropertyDescriptorin interfaceSearchFieldConfiguration- Returns:
- the property descriptor associated with this field
-
getEditor
- Specified by:
getEditorin interfaceSearchFieldConfiguration- Returns:
- the editor
-
setEditor
- Specified by:
setEditorin interfaceSearchFieldConfiguration- Parameters:
editor- the editor to set
-
setParameters
-
getParameters
- Specified by:
getParametersin interfaceSearchFieldConfiguration
-
getConditionEntries
- Specified by:
getConditionEntriesin interfaceSearchFieldConfiguration
-
getEntryListMode
- Specified by:
getEntryListModein interfaceSearchFieldConfiguration
-
setConditionEntries
-
setEntryListMode
-