public interface AdvancedSearchModel
AdvancedSearchModel holds information about which search fields are available, visible, sortable etc.
It is ment to act as view model for view components which represent an advanced search mask.| Modifier and Type | Method and Description |
|---|---|
UIEditor |
getEditor(SearchField searchField)
Returns the
editor for a specific search field. |
java.util.List<SearchField> |
getHiddenSearchFields()
Returns all the available hidden search fields.
|
AdvancedSearchParameterContainer |
getParameterContainer() |
java.util.Map<java.lang.String,java.lang.String> |
getParametersForSearchField(SearchField searchField) |
PropertyDescriptor |
getPropertyDescriptor(SearchField field) |
SearchFieldGroup |
getRootSearchFieldGroup()
Returns the root
search field group. |
java.util.List<SearchField> |
getSearchFields()
Returns all the available search fields.
|
ObjectTemplate |
getSelectedType()
Returns the currently selected type i.e.
|
java.util.List<PropertyDescriptor> |
getSortableProperties()
Returns all the properties which can currently be used for sorting.
|
PropertyDescriptor |
getSortedByProperty()
Returns the property by which search result should be sorted.
|
java.util.List<ObjectTemplate> |
getTypes()
Returns all the types supported by this advanced search.
|
java.util.List<SearchField> |
getVisibleSearchFields()
Returns all the available visible search fields.
|
boolean |
isSortAscending()
Returns whether search result is sorted ascending or not.
|
void |
resetToInitialSearchParameters()
Method cleans search fields and sets type as rootType
|
AdvancedSearchParameterContainer getParameterContainer()
SearchFieldGroup getRootSearchFieldGroup()
search field group.search fields and other groups in a hierarchical structure.ObjectTemplate getSelectedType()
java.util.List<ObjectTemplate> getTypes()
java.util.List<SearchField> getSearchFields()
getRootSearchFieldGroup(),
getVisibleSearchFields(),
getHiddenSearchFields()java.util.List<SearchField> getVisibleSearchFields()
getSearchFields(),
getHiddenSearchFields()java.util.List<SearchField> getHiddenSearchFields()
getSearchFields(),
getVisibleSearchFields()java.util.List<PropertyDescriptor> getSortableProperties()
PropertyDescriptor getSortedByProperty()
boolean isSortAscending()
true if ascending, false if descendingUIEditor getEditor(SearchField searchField)
editor for a specific search field.searchField - the search field, for which the corresponding editor is to be returnedPropertyDescriptor getPropertyDescriptor(SearchField field)
void resetToInitialSearchParameters()
java.util.Map<java.lang.String,java.lang.String> getParametersForSearchField(SearchField searchField)
Copyright © 2018 SAP SE. All Rights Reserved.