Class GomFilterList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<T>
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomList<GomFilterEntry>
de.espirit.firstspirit.access.store.templatestore.gom.GomFilterList
- All Implemented Interfaces:
GomElement,GomList<GomFilterEntry>,Serializable,Cloneable,Iterable<GomFilterEntry>,Collection<GomFilterEntry>,List<GomFilterEntry>,RandomAccess
GOM representation of a list of filters
- Since:
- 4.2.9
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe tag for allowed entriesstatic final StringThe tag for hidden entriesstatic final StringThe tag of this componentFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull GomFilterListallow(GomFilterEntry.FilterType filterType) Allow the given filter type.booleanallows(GomFilterEntry.FilterType filterType) Indicates if the given filter type is allowedget(int index) protected StringReturns the default tag name of the component.Map<String,Class<? extends GomElement>> Get a list of mappings from tag name to class supported by this list.@NotNull GomFilterListhide(GomFilterEntry.FilterType filterType) Hide the given filter type.booleanhides(GomFilterEntry.FilterType filterType) Indicates if the given filter type is hiddenMethods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomList
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration, verifyMethods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Field Details
-
TAG
The tag of this component- Since:
- 4.2.9
- See Also:
-
ENTRY_TAG_ALLOW
The tag for allowed entries- Since:
- 4.2.9
- See Also:
-
ENTRY_TAG_HIDE
The tag for hidden entries- Since:
- 4.2.9
- See Also:
-
-
Constructor Details
-
GomFilterList
public GomFilterList()
-
-
Method Details
-
getDefaultTag
Description copied from class:AbstractGomListReturns the default tag name of the component.- Specified by:
getDefaultTagin classAbstractGomList<GomFilterEntry>
-
get
- Specified by:
getin interfaceList<GomFilterEntry>- Overrides:
getin classArrayList<GomFilterEntry>
-
getGomElementMappings
Description copied from interface:GomListGet a list of mappings from tag name to class supported by this list.- Convention:
- The mapping shall only be created on demand and not change at runtime.
- Specified by:
getGomElementMappingsin interfaceGomList<GomFilterEntry>- Overrides:
getGomElementMappingsin classAbstractGomList<GomFilterEntry>- Returns:
- The list of child tags.
-
allow
Allow the given filter type. May be used in a builder-style pattern.- Parameters:
filterType- the filter type to add- Returns:
- the current instance after adding the filter type
- Since:
- 4.2.9
-
hide
Hide the given filter type. May be used in a builder-style pattern.- Parameters:
filterType- the filter type to hide- Returns:
- the current instance after hiding the filter type
- Since:
- 4.2.9
-
allows
Indicates if the given filter type is allowed- Parameters:
filterType- the filter type to check- Since:
- 5.0
-
hides
Indicates if the given filter type is hidden- Parameters:
filterType- the filter type to check- Since:
- 5.0
-