Interface UIAdvancedSearchView
- All Superinterfaces:
UIViewComponent
- All Known Implementing Classes:
AbstractAdvancedSearchView,AdvancedSearchView
Advanced search view component.
-
Method Summary
Modifier and TypeMethodDescriptionvoidRegisters theAdvancedSearchViewListenerlistenerwith this view component.getModel()Returns this view component's model.voidUnregisters theAdvancedSearchViewListenerlistenerwith this view component.voidsetModel(AdvancedSearchModel model) Sets the model of this view component tomodeland initializes the view (ifmodelis not null).voidupdateSearchField(SearchField searchField, Object value) Called whenever the view corresponding to a specific search field needs to be updated.voidCalled whenever a search field's visibility has changed.voidCalled whenever a search field group's visibility has changed.voidCalled whenever the selected search type has changed.voidCalled whenever the list of available sort fields, selected sort field or sort direction has changed.voidCalled whenever the list of available search types has changed.Methods inherited from interface de.hybris.platform.cockpit.model.general.UIViewComponent
initialize, update
-
Method Details
-
updateSearchField
Called whenever the view corresponding to a specific search field needs to be updated. You can specify a value which will be set as the editor value- Parameters:
searchField- the search field which has changedvalue- the value to set
-
updateSearchFields
void updateSearchFields()Called whenever a search field's visibility has changed. -
updateSearchGroups
void updateSearchGroups()Called whenever a search field group's visibility has changed. -
updateTypes
void updateTypes()Called whenever the list of available search types has changed. -
updateSelectedType
void updateSelectedType()Called whenever the selected search type has changed. -
updateSortFields
void updateSortFields()Called whenever the list of available sort fields, selected sort field or sort direction has changed. -
setModel
Sets the model of this view component tomodeland initializes the view (ifmodelis not null).- Parameters:
model- the model
-
getModel
AdvancedSearchModel getModel()Returns this view component's model.- Returns:
- the model of this view component
-
addAdvancedSearchViewListener
Registers theAdvancedSearchViewListenerlistenerwith this view component.- Parameters:
listener- the listener to register
-
removeAdvancedSearchViewListener
Unregisters theAdvancedSearchViewListenerlistenerwith this view component.- Parameters:
listener- the listener to unregister
-