Enum Class GomFilterEntry.FilterType
java.lang.Object
java.lang.Enum<GomFilterEntry.FilterType>
de.espirit.firstspirit.access.store.templatestore.gom.GomFilterEntry.FilterType
- All Implemented Interfaces:
Serializable
,Comparable<GomFilterEntry.FilterType>
,Constable
- Enclosing interface:
- GomFilterEntry
Allowed element selection types.
- Since:
- 4.2.9
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Wildcard type matching any elementstatic class
Virtual FOLRDER wildcard type.static enum
Filter types matching all elements of a specific typeNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionElement wildcard type to allow/hide allElement type to allow/hide CONTENT selections.Element type to allow/hide CONTENTFOLDER navigation.Element type to allow/hide DOCUMENTGROUP selectionsElement type to allow/hide FILE selections.Element wildcard type to allow/hide all FOLDERSElement type to allow/hide FORMATTEMPLATE selectionsElement type to allow/hide FORMATTEMPLATEFOLDER for navigationElement type to allow/hide GCAFOLDER navigationElement type to allow/hide GCAPAGE selectionsElement type to allow/hide LINKTEMPLATE selectionsDeprecated.since 5.2.14 - no replacementElement type to allow/hide all types of PICTURE and FILEElement type to allow/hide MEDIAFOLDER selections.Element type to allow/hide PAGE selections.Element type to allow/hide PAGEFOLDER selections.Element type to allow/hide PAGEREF selections.Element type to allow/hide PAGEREFFOLDER selections.Element type to allow/hide PICTURE selections.Element type to allow/hide SCHEMA selectionsElement type to allow/hide SCRIPT selectionsElement type to allow/hide SECTIONTEMPLATE selectionsElement type to allow/hide SITESTOREFFOLDER selections.Element type to allow/hide STYLETEMPLATE selectionsElement type to allow/hide TABLEFORMATTEMPLATE selectionsElement type to allow/hide TEMPLATE selectionsElement type to allow/hide TEMPLATEFOLDER for navigationElement type to allow/hide WORKFLOW selections -
Method Summary
Modifier and TypeMethodDescriptionstatic GomFilterEntry.FilterType
Converts the given name to a filter typestatic @NotNull GomFilterEntry.FilterType
Retrieves the matching filter type for a classList<Class<? extends StoreElement>>
Excludes act as a blacklist.The string representation of the filterClass<?>
getType()
The type of the filterboolean
hasUid()
Indicates if the filter has a uid.boolean
isBlacklisted
(Class<? extends StoreElement> element) Indicates if the given element is blacklistedstatic GomFilterEntry.FilterType
Returns the enum constant of this class with the specified name.static GomFilterEntry.FilterType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PICTURE
Element type to allow/hide PICTURE selections.- Since:
- 4.2
-
FILE
Element type to allow/hide FILE selections.- Since:
- 4.2
-
MEDIAFOLDER
Element type to allow/hide MEDIAFOLDER selections.- Since:
- 4.2
-
PAGEREFFOLDER
Element type to allow/hide PAGEREFFOLDER selections.- Since:
- 4.2
-
PAGEREF
Element type to allow/hide PAGEREF selections.- Since:
- 4.2
-
PAGE
Element type to allow/hide PAGE selections.- Since:
- 4.2
-
PAGEFOLDER
Element type to allow/hide PAGEFOLDER selections.- Since:
- 4.2
-
SITESTOREFOLDER
Element type to allow/hide SITESTOREFFOLDER selections.- Since:
- 4.2
-
CONTENT2
Element type to allow/hide CONTENT selections.- Since:
- 4.2
-
CONTENTFOLDER
Element type to allow/hide CONTENTFOLDER navigation.- Since:
- 4.2
-
DOCUMENTGROUP
Element type to allow/hide DOCUMENTGROUP selections- Since:
- 4.2
-
GCAFOLDER
Element type to allow/hide GCAFOLDER navigation- Since:
- 4.2
-
GCAPAGE
Element type to allow/hide GCAPAGE selections- Since:
- 4.2
-
TEMPLATE
Element type to allow/hide TEMPLATE selections- Since:
- 4.2
-
TEMPLATEFOLDER
Element type to allow/hide TEMPLATEFOLDER for navigation- Since:
- 4.2
-
LINKTEMPLATEFOLDER
Deprecated.since 5.2.14 - no replacementElement type to allow/hide LINKTEMPLATEFOLDER for navigation- Since:
- 4.2
-
FORMATTEMPLATE
Element type to allow/hide FORMATTEMPLATE selections- Since:
- 4.2
-
SECTIONTEMPLATE
Element type to allow/hide SECTIONTEMPLATE selections- Since:
- 4.2
-
LINKTEMPLATE
Element type to allow/hide LINKTEMPLATE selections- Since:
- 4.2
-
FORMATTEMPLATEFOLDER
Element type to allow/hide FORMATTEMPLATEFOLDER for navigation- Since:
- 4.2
-
STYLETEMPLATE
Element type to allow/hide STYLETEMPLATE selections- Since:
- 5.0
-
TABLEFORMATTEMPLATE
Element type to allow/hide TABLEFORMATTEMPLATE selections- Since:
- 5.0
-
SCRIPT
Element type to allow/hide SCRIPT selections- Since:
- 5.0
-
SCHEMA
Element type to allow/hide SCHEMA selections- Since:
- 5.0
-
WORKFLOW
Element type to allow/hide WORKFLOW selections- Since:
- 5.0
-
MEDIA
Element type to allow/hide all types of PICTURE and FILE- Since:
- 4.2
-
FOLDERS
Element wildcard type to allow/hide all FOLDERS- Since:
- 4.2
-
ALL
Element wildcard type to allow/hide all- Since:
- 4.2
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getType
The type of the filter- Since:
- 4.2.9
-
hasUid
public boolean hasUid()Indicates if the filter has a uid.- Since:
- 5.2.2
-
getStringRepresentation
The string representation of the filter- Since:
- 4.2.9
-
forName
Converts the given name to a filter type- Parameters:
name
- the name of the filter type- Since:
- 4.2.9
-
fromType
Retrieves the matching filter type for a class- Parameters:
type
- the class to match- Since:
- 5.0
-
getExcludes
Excludes act as a blacklist.- Since:
- 5.2.13
-
isBlacklisted
Indicates if the given element is blacklisted- Parameters:
element
- The element to check- Returns:
true
if the element is blacklisted,false
otherwise- Since:
- 5.2.13
-