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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
autoSave()
Convenience API forgetAutoSave()
returning a boolean value@NotNull GomActivityEntries
Activities definitionsSwitch to turn auto save on or off@NotNull GomScriptButtons
Script button definitionsprotected String
Return 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 Priority
priority()
Convenience API forgetPriority()
returning a non-null valuevoid
setAutoSave
(YesNo autoSave) Enables or disables auto savevoid
Sets the permission groupvoid
setOnClick
(String onClick) Sets the name of the validation script to be executed on clickvoid
Sets the name of the validation script to be executed on loadvoid
Sets the name of the validation script to be executed on savevoid
setPriority
(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, 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
-
GomPermission
public GomPermission()
-
-
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.
-
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:AbstractGomFormElement
Indicates, whether to have separate values in different languages.- Overrides:
getUseLanguages
in 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.ALLOW
if unset - Since:
- 3.1
-
autoSave
public boolean autoSave()Convenience API forgetAutoSave()
returning a boolean value- Since:
- 3.1
-