Interface UIAdvancedSearchView
-
- All Superinterfaces:
UIViewComponent
- All Known Implementing Classes:
AbstractAdvancedSearchView,AdvancedSearchView
public interface UIAdvancedSearchView extends UIViewComponent
Advanced search view component.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddAdvancedSearchViewListener(AdvancedSearchViewListener listener)Registers theAdvancedSearchViewListenerlistenerwith this view component.AdvancedSearchModelgetModel()Returns this view component's model.voidremoveAdvancedSearchViewListener(AdvancedSearchViewListener listener)Unregisters theAdvancedSearchViewListenerlistenerwith this view component.voidsetModel(AdvancedSearchModel model)Sets the model of this view component tomodeland initializes the view (ifmodelis not null).voidupdateSearchField(SearchField searchField, java.lang.Object value)Called whenever the view corresponding to a specific search field needs to be updated.voidupdateSearchFields()Called whenever a search field's visibility has changed.voidupdateSearchGroups()Called whenever a search field group's visibility has changed.voidupdateSelectedType()Called whenever the selected search type has changed.voidupdateSortFields()Called whenever the list of available sort fields, selected sort field or sort direction has changed.voidupdateTypes()Called whenever the list of available search types has changed.-
Methods inherited from interface de.hybris.platform.cockpit.model.general.UIViewComponent
initialize, update
-
-
-
-
Method Detail
-
updateSearchField
void updateSearchField(SearchField searchField, java.lang.Object value)
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
void setModel(AdvancedSearchModel model)
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
void addAdvancedSearchViewListener(AdvancedSearchViewListener listener)
Registers theAdvancedSearchViewListenerlistenerwith this view component.- Parameters:
listener- the listener to register
-
removeAdvancedSearchViewListener
void removeAdvancedSearchViewListener(AdvancedSearchViewListener listener)
Unregisters theAdvancedSearchViewListenerlistenerwith this view component.- Parameters:
listener- the listener to unregister
-
-