public class DefaultSearchFieldGroup extends java.lang.Object implements SearchFieldGroup
SearchFieldGroup implementation.SearchFieldGroup| Constructor and Description |
|---|
DefaultSearchFieldGroup(java.lang.String name)
Creates a new
DefaultSearchFieldGroup instance with the name set to name. |
| Modifier and Type | Method and Description |
|---|---|
void |
addSearchField(SearchField field)
Assigns the search field
field to this group if it's not already assigned to this group or any of its
sub groups. |
void |
addSearchFieldGroup(SearchFieldGroup group)
Assigns the group
group to this group if it's not already assigned to this group or any of its sub
groups. |
java.util.List<SearchFieldGroup> |
getAllHiddenSearchFieldGroups()
Returns a list containing this group (if hidden) and all the hidden groups held by this
SearchFieldGroup
and its sub groups. |
java.util.List<SearchField> |
getAllHiddenSearchFields()
Returns all hidden
search fields in this SearchFieldGroup and its sub groups. |
java.util.List<SearchFieldGroup> |
getAllPartiallyVisibleGroups()
Returns a list containing this group (if it has hidden fields and/or groups) and all the sub groups of this group
and its sub groups, which contains hidden fields or groups.
|
java.util.List<SearchFieldGroup> |
getAllSearchFieldGroups()
Returns a list containing this group and all the groups held by this
SearchFieldGroup and its sub groups. |
java.util.List<SearchField> |
getAllSearchFields()
Returns all
search fields in this SearchFieldGroup and its sub groups. |
java.util.List<SearchFieldGroup> |
getAllVisibleSearchFieldGroups()
Returns a list containing this group (if visible) and all the visible groups held by this
SearchFieldGroup
and its sub groups. |
java.util.List<SearchField> |
getAllVisibleSearchFields()
Returns all visible
search fields in this SearchFieldGroup and its sub groups. |
java.util.List<SearchFieldGroup> |
getHiddenSearchFieldGroups()
Returns all the hidden sub groups directly held by this
SearchFieldGroup. |
java.util.List<SearchField> |
getHiddenSearchFields()
Returns all hidden
search fields directly held by this SearchFieldGroup. |
java.lang.String |
getLabel()
Returns the label of this search field group.
|
SearchFieldGroup |
getParentSearchFieldGroup()
Returns this group's parent group.
|
java.util.List<SearchFieldGroup> |
getPartiallyVisibleGroups()
Returns a list containing all the sub groups of this group, which contains hidden fields or groups.
|
java.util.List<SearchFieldGroup> |
getSearchFieldGroups()
Returns all the sub groups directly held by this
SearchFieldGroup. |
java.util.List<SearchField> |
getSearchFields()
Returns all
search fields directly held by this SearchFieldGroup. |
java.util.List<SearchFieldGroup> |
getVisibleSearchFieldGroups()
Returns all the visible sub groups directly held by this
SearchFieldGroup. |
java.util.List<SearchField> |
getVisibleSearchFields()
Returns all visible
search fields directly held by this SearchFieldGroup. |
boolean |
isVisible()
Returns whether this group is visible or not i.e.
|
void |
setLabel(java.lang.String name)
Sets the name of this group to
name. |
void |
setParentSearchFieldGroup(SearchFieldGroup parent)
Sets this group's parent group to
parent. |
void |
setSearchFieldGroups(java.util.List<? extends SearchFieldGroup> groups)
Sets the sub groups of this group to
groups. |
void |
setSearchFields(java.util.List<? extends SearchField> fields)
Sets the search fields directly assigned to this group to the elements of
fields. |
public DefaultSearchFieldGroup(java.lang.String name)
DefaultSearchFieldGroup instance with the name set to name.name - the namepublic void setLabel(java.lang.String name)
name.name - the namepublic void setSearchFields(java.util.List<? extends SearchField> fields)
fields.fields - the search fields to be directly assigned to this groupaddSearchField(SearchField)public void setSearchFieldGroups(java.util.List<? extends SearchFieldGroup> groups)
groups.groups - groups to be contained in this grouppublic void addSearchField(SearchField field)
field to this group if it's not already assigned to this group or any of its
sub groups.field - the search field to assign to this groupsetSearchFields(List)public void addSearchFieldGroup(SearchFieldGroup group)
group to this group if it's not already assigned to this group or any of its sub
groups.group - the group to assign to this grouppublic void setParentSearchFieldGroup(SearchFieldGroup parent)
parent.parent - this group's parent grouppublic java.lang.String getLabel()
SearchFieldGroupgetLabel in interface SearchFieldGrouppublic SearchFieldGroup getParentSearchFieldGroup()
SearchFieldGroupgetParentSearchFieldGroup in interface SearchFieldGroupnull if this is the root grouppublic java.util.List<SearchFieldGroup> getSearchFieldGroups()
SearchFieldGroupSearchFieldGroup.getSearchFieldGroups in interface SearchFieldGroupSearchFieldGroup.getVisibleSearchFieldGroups(),
SearchFieldGroup.getHiddenSearchFieldGroups(),
SearchFieldGroup.getAllSearchFieldGroups()public java.util.List<SearchField> getSearchFields()
SearchFieldGroupsearch fields directly held by this SearchFieldGroup.getSearchFields in interface SearchFieldGroupSearchFieldGroup.getAllSearchFields(),
SearchFieldGroup.getVisibleSearchFields(),
SearchFieldGroup.getHiddenSearchFields()public boolean isVisible()
SearchFieldGroupisVisible in interface SearchFieldGrouptrue if this group is visible, false otherwisepublic java.util.List<SearchFieldGroup> getAllHiddenSearchFieldGroups()
SearchFieldGroupSearchFieldGroup
and its sub groups.getAllHiddenSearchFieldGroups in interface SearchFieldGroupSearchFieldGroup and their sub groupsSearchFieldGroup.getAllSearchFieldGroups(),
SearchFieldGroup.getAllVisibleSearchFieldGroups(),
SearchFieldGroup.getHiddenSearchFieldGroups()public java.util.List<SearchField> getAllHiddenSearchFields()
SearchFieldGroupsearch fields in this SearchFieldGroup and its sub groups.getAllHiddenSearchFields in interface SearchFieldGroupSearchFieldGroup.getAllSearchFields(),
SearchFieldGroup.getAllVisibleSearchFields(),
SearchFieldGroup.getHiddenSearchFields()public java.util.List<SearchFieldGroup> getAllSearchFieldGroups()
SearchFieldGroupSearchFieldGroup and its sub groups.getAllSearchFieldGroups in interface SearchFieldGroupSearchFieldGroup and their sub groupsSearchFieldGroup.getAllVisibleSearchFieldGroups(),
SearchFieldGroup.getAllHiddenSearchFieldGroups()public java.util.List<SearchField> getAllSearchFields()
SearchFieldGroupsearch fields in this SearchFieldGroup and its sub groups.getAllSearchFields in interface SearchFieldGrouppublic java.util.List<SearchFieldGroup> getAllVisibleSearchFieldGroups()
SearchFieldGroupSearchFieldGroup
and its sub groups.getAllVisibleSearchFieldGroups in interface SearchFieldGroupSearchFieldGroup and their sub groupsSearchFieldGroup.getAllSearchFieldGroups(),
SearchFieldGroup.getAllHiddenSearchFieldGroups(),
SearchFieldGroup.getVisibleSearchFieldGroups()public java.util.List<SearchField> getAllVisibleSearchFields()
SearchFieldGroupsearch fields in this SearchFieldGroup and its sub groups.getAllVisibleSearchFields in interface SearchFieldGroupSearchFieldGroup.getAllSearchFields(),
SearchFieldGroup.getAllHiddenSearchFields(),
SearchFieldGroup.getVisibleSearchFields()public java.util.List<SearchFieldGroup> getHiddenSearchFieldGroups()
SearchFieldGroupSearchFieldGroup.getHiddenSearchFieldGroups in interface SearchFieldGroupSearchFieldGroup.getSearchFieldGroups(),
SearchFieldGroup.getVisibleSearchFieldGroups(),
SearchFieldGroup.getAllHiddenSearchFieldGroups()public java.util.List<SearchField> getHiddenSearchFields()
SearchFieldGroupsearch fields directly held by this SearchFieldGroup.getHiddenSearchFields in interface SearchFieldGroupSearchFieldGroup.getAllHiddenSearchFields(),
SearchFieldGroup.getSearchFields(),
SearchFieldGroup.getVisibleSearchFields()public java.util.List<SearchFieldGroup> getVisibleSearchFieldGroups()
SearchFieldGroupSearchFieldGroup.getVisibleSearchFieldGroups in interface SearchFieldGroupSearchFieldGroup.getSearchFieldGroups(),
SearchFieldGroup.getHiddenSearchFieldGroups(),
SearchFieldGroup.getAllVisibleSearchFieldGroups()public java.util.List<SearchField> getVisibleSearchFields()
SearchFieldGroupsearch fields directly held by this SearchFieldGroup.getVisibleSearchFields in interface SearchFieldGroupSearchFieldGroup.getAllVisibleSearchFields(),
SearchFieldGroup.getSearchFields(),
SearchFieldGroup.getHiddenSearchFields()public java.util.List<SearchFieldGroup> getAllPartiallyVisibleGroups()
SearchFieldGroupgetAllPartiallyVisibleGroups in interface SearchFieldGrouppublic java.util.List<SearchFieldGroup> getPartiallyVisibleGroups()
SearchFieldGroupgetPartiallyVisibleGroups in interface SearchFieldGroupCopyright © 2018 SAP SE. All Rights Reserved.