Class GomMediaStoreFolder
java.lang.Object
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
de.espirit.firstspirit.access.store.templatestore.gom.GomMediaStoreFolder
- All Implemented Interfaces:
GomCheckable
,GomElement
,Serializable
Folder element for simple folder restrictions
- Since:
- 4.2
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomCheckable
GomCheckable.Context
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Return the default tag for a gom element.getName()
The allowed upload folder to set for the defined store namegetStore()
Deprecated.void
Sets the allowed upload folder to set for the defined store namevoid
Deprecated.since 4.2.20 - no replacementvoid
validate
(GomCheckable.Context context) Validate the element against the given context.void
verify()
Verify the element to be fulfill its syntactic constraints.Methods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
-
Field Details
-
TAG
The tag of this component- Since:
- 4.2
- See Also:
-
-
Constructor Details
-
GomMediaStoreFolder
Creates a new instance with the given name- Since:
- 4.2
-
-
Method Details
-
getName
The allowed upload folder to set for the defined store name- Since:
- 4.2
-
setName
Sets the allowed upload folder to set for the defined store name- Since:
- 4.2
-
getStore
Deprecated.since 4.2.20 - UseStore.Type#MEDIASTORE#getName()
The store name. Will always be 'mediastore'- Since:
- 4.2
-
setStore
Deprecated.since 4.2.20 - no replacementDeprecated, does nothing.- Since:
- 4.2
-
getDefaultTag
Description copied from class:AbstractGomElement
Return the default tag for a gom element.- Specified by:
getDefaultTag
in classAbstractGomElement
- Returns:
- The elements default tag.
-
verify
Description copied from interface:GomCheckable
Verify the element to be fulfill its syntactic constraints.- Specified by:
verify
in interfaceGomCheckable
- Throws:
IllegalStateException
- If the element is not correctly set up.
-
validate
Description copied from interface:GomCheckable
Validate the element against the given context.- Specified by:
validate
in interfaceGomCheckable
- Parameters:
context
- The context to validate for, must not benull
.- Throws:
GomValidationError
- If the element is not plausible wrt. its context.
-
Store.Type#MEDIASTORE#getName()