Class GomPermission
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.GomPermission
- All Implemented Interfaces:
GomCheckable,GomElement,GomFormElement,GomHideable,GomLangInfoProvider,GomSearchRelevancy,LineBreakable,Serializable
GOM element implementation for permission definitions.
- Since:
- 3.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 TypeMethodDescriptionbooleanautoSave()Convenience API forgetAutoSave()returning a boolean value@NotNull GomActivityEntriesActivities definitionsSwitch to turn auto save on or off@NotNull GomScriptButtonsScript button definitionsprotected StringReturn the default tag for a gom element.getGroup()The permission groupName of validation script to be executed on clickName of validation script to be executed on loadName of validation script to be executed on savePermission priorityDeprecated.@NotNull Prioritypriority()Convenience API forgetPriority()returning a non-null valuevoidsetAutoSave(YesNo autoSave) Enables or disables auto savevoidSets the permission groupvoidsetOnClick(String onClick) Sets the name of the validation script to be executed on clickvoidSets the name of the validation script to be executed on loadvoidSets the name of the validation script to be executed on savevoidsetPriority(Priority priority) Sets the permission priorityMethods 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, getNoBreak, getPreset, getSearchRelevancy, isHidden, label, name, preset, setAllowEmpty, setConvertEntities, setDefaultValue, setHFill, setHidden, setLabel, setLabelAndDescription, setName, setNoBreak, setPreset, setSearchRelevancy, setUseLanguages, usesLanguages, validate, 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
-
GomPermission
public GomPermission()
-
-
Method Details
-
getDefaultTag
Description copied from class:AbstractGomElementReturn the default tag for a gom element.- Specified by:
getDefaultTagin classAbstractGomElement- Returns:
- The elements default tag.
-
getActivities
Activities definitions- Since:
- 3.1
-
getButtons
Script button definitions- Since:
- 3.1
-
getGroup
The permission group- Since:
- 3.1
-
setGroup
Sets the permission group- Since:
- 3.1
-
getAutoSave
Switch to turn auto save on or off- Since:
- 3.1
-
setAutoSave
Enables or disables auto save- Since:
- 3.1
-
getOnLoad
Name of validation script to be executed on load- Since:
- 3.1
-
setOnLoad
Sets the name of the validation script to be executed on load- Since:
- 3.1
-
getOnSave
Name of validation script to be executed on save- Since:
- 3.1
-
setOnSave
Sets the name of the validation script to be executed on save- Since:
- 3.1
-
getOnClick
Name of validation script to be executed on click- Since:
- 3.1
-
setOnClick
Sets the name of the validation script to be executed on click- Since:
- 3.1
-
getPriority
Permission priority- Since:
- 3.1
-
setPriority
Sets the permission priority- Since:
- 3.1
-
getUseLanguages
Deprecated.Description copied from class:AbstractGomFormElementIndicates, whether to have separate values in different languages.- Overrides:
getUseLanguagesin classAbstractGomFormElement- Returns:
YES, if it has separate values. Default isYesNo.YES.
-
priority
Convenience API forgetPriority()returning a non-null value- Returns:
- the value of
getPriority()orPriority.ALLOWif unset - Since:
- 3.1
-
autoSave
public boolean autoSave()Convenience API forgetAutoSave()returning a boolean value- Since:
- 3.1
-