Class GomLink
java.lang.Object
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomFormElement
de.espirit.firstspirit.access.store.templatestore.gom.GomLink
- All Implemented Interfaces:
GomCheckable
,GomElement
,GomFormElement
,GomHideable
,GomLangInfoProvider
,GomLinkEditorProvider
,GomSearchRelevancy
,LineBreakable
,Serializable
- Direct Known Subclasses:
GomLinkList
GOM element implementation for links.
- Since:
- 2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomCheckable
GomCheckable.Context
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.since 4.0 - no replacementDeprecated.since 4.0 - no replacementprotected String
Return the default tag for a gom element.Deprecated.since 4.0 - no replacementList of valid link editorsgetMode()
The display modeIndicates, whether the next form element should follow in the same line as this one.Deprecated.since 5.0 - no replacementReturn a set of link editor names.@NotNull LinkMode
mode()
Return the mode for the link to be displayed.void
setAllowedEditors
(String csv) Deprecated.since 4.0 - no replacementvoid
Deprecated.since 4.0 - no replacementvoid
Sets the display modevoid
setShowSnippet
(YesNo showSnippet) Deprecated.since 5.0 - no replacementvoid
validate
(GomCheckable.Context context) Validates the form element's state with respect to the given context.Methods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomFormElement
allowsEmpty, breaks, clone, convertEntities, description, fillsHorizontally, getAllowEmpty, getConvertEntities, getDefaultValue, getHFill, getHidden, getLabel, getLangInfos, getName, getPreset, getSearchRelevancy, getUseLanguages, isHidden, label, name, preset, setAllowEmpty, setConvertEntities, setDefaultValue, setHFill, setHidden, setLabel, setLabelAndDescription, setName, setNoBreak, setPreset, setSearchRelevancy, setUseLanguages, usesLanguages, verify
Methods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
-
Field Details
-
TAG
The tag of this component- Since:
- 4.0
- See Also:
-
-
Constructor Details
-
GomLink
public GomLink()
-
-
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.
-
getLinkEditors
Description copied from interface:GomLinkEditorProvider
List of valid link editors- Specified by:
getLinkEditors
in interfaceGomLinkEditorProvider
-
getNoBreak
Description copied from class:AbstractGomFormElement
Indicates, whether the next form element should follow in the same line as this one.- Overrides:
getNoBreak
in classAbstractGomFormElement
- Returns:
YES
, to make the next form element follow. Defaults toYesNo.NO
.
-
getMode
The display mode- Since:
- 5.0.100
-
setMode
Sets the display mode- Since:
- 5.0.100
-
validate
Description copied from class:AbstractGomFormElement
Validates the form element's state with respect to the given context. This generic stub does not check anything.- Specified by:
validate
in interfaceGomCheckable
- Overrides:
validate
in classAbstractGomFormElement
- Parameters:
context
- The context to validate for.- Throws:
GomValidationError
- if any requirement is violated.
-
linkEditors
Return a set of link editor names.- Specified by:
linkEditors
in interfaceGomLinkEditorProvider
- Returns:
- The set of names.
- Since:
- 2.0
-
mode
Return the mode for the link to be displayed.- Returns:
- The display mode.
- Since:
- 5.0
-
getShowSnippet
Deprecated.since 5.0 - no replacementIndicates if the component shows related snippet- Since:
- 5.0
-
setShowSnippet
Deprecated.since 5.0 - no replacementSets if the component shows related snippet- Since:
- 5.0
-
getAllowedEditors
Deprecated.since 4.0 - no replacementAllowed editors- Since:
- 2.0
-
setAllowedEditors
Deprecated.since 4.0 - no replacementSets allowed editors- Since:
- 2.0
-
getCms_Link_Config
Deprecated.since 4.0 - no replacementDummy getter. UsegetLinkConfigs()
instead.- Returns:
null
- Since:
- 2.0
-
getLinkConfigs
Deprecated.since 4.0 - no replacementGet a list of inplace link configurations.- Returns:
- The list or
null
. - Since:
- 2.0
-
setCms_Link_Config
Deprecated.since 4.0 - no replacementSets the list of inplace link configurations.- Since:
- 2.0
-