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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.since 4.0 - no replacementDeprecated.since 4.0 - no replacementprotected StringReturn 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 LinkModemode()Return the mode for the link to be displayed.voidsetAllowedEditors(String csv) Deprecated.since 4.0 - no replacementvoidDeprecated.since 4.0 - no replacementvoidSets the display modevoidsetShowSnippet(YesNo showSnippet) Deprecated.since 5.0 - no replacementvoidvalidate(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, verifyMethods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfigurationMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:AbstractGomElementReturn the default tag for a gom element.- Specified by:
getDefaultTagin classAbstractGomElement- Returns:
- The elements default tag.
-
getLinkEditors
Description copied from interface:GomLinkEditorProviderList of valid link editors- Specified by:
getLinkEditorsin interfaceGomLinkEditorProvider
-
getNoBreak
Description copied from class:AbstractGomFormElementIndicates, whether the next form element should follow in the same line as this one.- Overrides:
getNoBreakin 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:AbstractGomFormElementValidates the form element's state with respect to the given context. This generic stub does not check anything.- Specified by:
validatein interfaceGomCheckable- Overrides:
validatein classAbstractGomFormElement- Parameters:
context- The context to validate for, must not benull.- Throws:
GomValidationError- if any requirement is violated.
-
linkEditors
Return a set of link editor names.- Specified by:
linkEditorsin 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
-