Interface SearchFieldConfiguration
-
- All Known Implementing Classes:
PropertySearchFieldConfiguration
public interface SearchFieldConfigurationRepresents a search field in terms of configuration. Responsible for creating the correspondingSearchFieldview model object.- See Also:
SearchField
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSearchFieldConfiguration.EntryListMode
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONDITION_ENTRIESstatic java.lang.StringENTRY_LIST_MODE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<EditorConditionEntry>getConditionEntries()java.lang.StringgetEditor()SearchFieldConfiguration.EntryListModegetEntryListMode()java.lang.StringgetName()Returns the name set for this search field configuration.java.util.Map<java.lang.String,java.lang.String>getParameters()PropertyDescriptorgetPropertyDescriptor()Returns this field's property descriptor.DefaultSearchFieldgetSearchField()Returns thesearch fieldassociated with this search field configuration.booleanisSortDisabled()Returns whether sorting by the correspondingsearch fieldis disabled or not.booleanisVisible()Returns whether the correspondingsearch fieldshould be visible or not.voidsetEditor(java.lang.String editor)voidsetName(java.lang.String name)Sets the name which the correspondingsearch fieldshould be given.voidsetSortDisabled(boolean sortDisabled)Sets whether the correspondingsearch fieldshould allow sorting or not.voidsetVisible(boolean visible)Sets whether the correspondingsearch fieldshould be visibility or not.
-
-
-
Field Detail
-
CONDITION_ENTRIES
static final java.lang.String CONDITION_ENTRIES
- See Also:
- Constant Field Values
-
ENTRY_LIST_MODE
static final java.lang.String ENTRY_LIST_MODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setName
void setName(java.lang.String name)
Sets the name which the correspondingsearch fieldshould be given.- Parameters:
name- the name
-
getName
java.lang.String getName()
Returns the name set for this search field configuration.- Returns:
- the name of this search field configuration
-
setVisible
void setVisible(boolean visible)
Sets whether the correspondingsearch fieldshould be visibility or not.- Parameters:
visible-truemeans visible, whereasfalsemeans invisible
-
isVisible
boolean isVisible()
Returns whether the correspondingsearch fieldshould be visible or not.- Returns:
trueif the corresponding search field should be visible,falseotherwise
-
setSortDisabled
void setSortDisabled(boolean sortDisabled)
Sets whether the correspondingsearch fieldshould allow sorting or not.- Parameters:
sortDisabled-truemeans that sorting by the correspondingsearch fieldis not allowed.
-
isSortDisabled
boolean isSortDisabled()
Returns whether sorting by the correspondingsearch fieldis disabled or not.- Returns:
trueif sorting is disabled i.e. not allowed,falseotherwise
-
getSearchField
DefaultSearchField getSearchField()
Returns thesearch fieldassociated with this search field configuration.- Returns:
- the search field associated with this search field configuration
-
getPropertyDescriptor
PropertyDescriptor getPropertyDescriptor()
Returns this field's property descriptor.- Returns:
- the property descriptor associated with this field
-
getEditor
java.lang.String getEditor()
-
setEditor
void setEditor(java.lang.String editor)
-
getParameters
java.util.Map<java.lang.String,java.lang.String> getParameters()
-
getConditionEntries
java.util.List<EditorConditionEntry> getConditionEntries()
-
getEntryListMode
SearchFieldConfiguration.EntryListMode getEntryListMode()
-
-