Class GomMediaModeInfos
java.lang.Object
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
de.espirit.firstspirit.access.store.templatestore.gom.GomMediaModeInfos
- All Implemented Interfaces:
GomCheckable
,GomElement
,Serializable
Media mode information for content lists.
- Since:
- 4.1
- 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 TypeMethodDescriptionboolean
Convenience API forgetAllowFolders()
returning a boolean valueIndicates whether folders may be selected with media search dialogprotected String
Return the default tag for a gom element.The actual media editor namevoid
setAllowFolders
(YesNo allowFolders) Sets whether folders may be selected with media search dialogvoid
setMediaEditor
(String editor) Sets the actual media editor nametoString()
void
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.1
- See Also:
-
-
Constructor Details
-
GomMediaModeInfos
public GomMediaModeInfos()
-
-
Method Details
-
getDefaultTag
Description copied from class:AbstractGomElement
Return the default tag for a gom element.- Specified by:
getDefaultTag
in classAbstractGomElement
- Returns:
- The elements default tag.
-
getMediaEditor
The actual media editor name- Since:
- 4.1
-
setMediaEditor
Sets the actual media editor name- Since:
- 4.1
-
getAllowFolders
Indicates whether folders may be selected with media search dialog- Since:
- 4.1
-
setAllowFolders
Sets whether folders may be selected with media search dialog- Since:
- 4.1
-
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:
IllegalStateException
-
allowFolders
public boolean allowFolders()Convenience API forgetAllowFolders()
returning a boolean value- Since:
- 4.2.5
-
toString
-