Class GomStoreFolderList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<T>
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomList<GomStoreFolder>
de.espirit.firstspirit.access.store.templatestore.gom.GomStoreFolderList
- All Implemented Interfaces:
GomElement
,GomList<GomStoreFolder>
,Serializable
,Cloneable
,Iterable<GomStoreFolder>
,Collection<GomStoreFolder>
,List<GomStoreFolder>
,RandomAccess
A GOM folder list container.
- Since:
- 4.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final GomStoreFolderList
List of default store foldersstatic final String
The tag name for entries of this componentstatic final String
The tag of this componentFields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasMap()
Creates a map representation from the store name to the list of folder namesstatic @NotNull GomStoreFolderList
Creates a new instance based on a map from the store name to the list of folder namesget
(int index) protected String
Returns 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.Methods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomList
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration, verify
Methods 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, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods 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.0
- See Also:
-
ENTRY_TAG
The tag name for entries of this component- Since:
- 4.0
- See Also:
-
DEFAULT_GOM_STOREFOLDER_LIST
List of default store folders- Since:
- 4.2.21
-
-
Constructor Details
-
GomStoreFolderList
public GomStoreFolderList()
-
-
Method Details
-
getDefaultTag
Description copied from class:AbstractGomList
Returns the default tag name of the component.- Specified by:
getDefaultTag
in classAbstractGomList<GomStoreFolder>
-
get
- Specified by:
get
in interfaceList<GomStoreFolder>
- Overrides:
get
in classArrayList<GomStoreFolder>
-
getGomElementMappings
Description copied from interface:GomList
Get 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:
getGomElementMappings
in interfaceGomList<GomStoreFolder>
- Overrides:
getGomElementMappings
in classAbstractGomList<GomStoreFolder>
- Returns:
- The list of child tags.
-
asMap
Creates a map representation from the store name to the list of folder names- Since:
- 4.2.9
-
fromMap
Creates a new instance based on a map from the store name to the list of folder names- Since:
- 4.2.9
-