Class EndUserState
java.lang.Object
de.xima.cmn.dao.model.AEntity<Long>
de.xima.fc.entities.AbstractEntity
de.xima.fc.entities.AbstractLockableEntity
de.xima.fc.entities.EndUserState
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>, de.xima.cmn.dao.interfaces.ILockableEntity<Long>, ILocalizationProviding<EndUserState, EndUserStateLocalization>, ILockingVersionProviding, ITransferable, ITransferableEntity, ITransferableLockableEntity, Serializable, Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity
public class EndUserState
extends AbstractLockableEntity
implements ILocalizationProviding<EndUserState, EndUserStateLocalization>
Entity model for end user states.
- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDatabase column name for thegetColorBackground()field.static final StringDatabase column name for thegetColorText()field.static final StringDatabase column name for thegetIconStyleClass()field.static final StringDatabase column name for thegetLocalizations()field.static final StringDatabase column name for theisRecordAccessible()field.static final StringDatabase column name for thegetType()field.static final StringDatabase column name for thegetWorkflowState()field.static final StringDatabase column name for thegetColorBackground()field.static final StringDatabase column name for thegetColorText()field.static final StringDatabase column name for thegetIconStyleClass()field.static final StringDatabase column name for theisRecordAccessible()field.static final StringDatabase column name for thegetType()field.static final StringDatabase column name for thegetWorkflowState()field.Fields inherited from class AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersionFields inherited from class AbstractEntity
COL_ID, idFields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_IDFields inherited from interface de.xima.cmn.dao.interfaces.ILockableEntity
ATTR_LOCKINGVERSIONFields inherited from interface ITransferableEntity
IMPORT_ID, INVALID_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the color for the background when displaying the name of this state (e.g. as a tag).Gets the color for the text when displaying the name of this state (e.g. as a tag).getDescription(Locale locale) getDisplayName(Locale locale) getId()Gets the localized database objects.Gets the default locale for this providing object.getType()booleanCreates a new localization object.voidsetColorBackground(RgbaQuadruplet colorBackground) Sets the color for the background when displaying the name of this state (e.g. as a tag).voidsetColorText(RgbaQuadruplet colorText) Sets the color for the text when displaying the name of this state (e.g. as a tag).voidsetIconStyleClass(String iconStyleClass) voidsetLocalizations(List<EndUserStateLocalization> localizations) voidsetRecordAccessible(boolean recordAccessible) voidsetType(EEndUserStateType type) voidsetWorkflowState(WorkflowState workflowState) Methods inherited from class AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toStringMethods inherited from class AbstractEntity
asIntValue, isPersisted, setId, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCodeMethods inherited from interface Comparable
compareToMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
isPersisted, setIdMethods inherited from interface ILocalizationProviding
getKeys, getLocales, getLocalization, getLocalizationData, setLocalization
-
Field Details
-
ATTR_WORKFLOW_STATE
Database column name for thegetWorkflowState()field.- See Also:
-
ATTR_TYPE
-
ATTR_RECORD_ACCESSIBLE
Database column name for theisRecordAccessible()field.- See Also:
-
ATTR_ICON_STYLE_CLASS
Database column name for thegetIconStyleClass()field.- See Also:
-
ATTR_COLOR_TEXT
Database column name for thegetColorText()field.- See Also:
-
ATTR_COLOR_BACKGROUND
Database column name for thegetColorBackground()field.- See Also:
-
ATTR_LOCALIZATIONS
Database column name for thegetLocalizations()field.- See Also:
-
COL_WORKFLOW_STATE_ID
Database column name for thegetWorkflowState()field.- See Also:
-
COL_TYPE
-
COL_RECORD_ACCESSIBLE
Database column name for theisRecordAccessible()field.- See Also:
-
COL_ICON_STYLE_CLASS
Database column name for thegetIconStyleClass()field.- See Also:
-
COL_COLOR_TEXT
Database column name for thegetColorText()field.- See Also:
-
COL_COLOR_BACKGROUND
Database column name for thegetColorBackground()field.- See Also:
-
-
Constructor Details
-
EndUserState
public EndUserState()
-
-
Method Details
-
getColorBackground
Gets the color for the background when displaying the name of this state (e.g. as a tag).- Returns:
- The color for the background.
-
setColorBackground
Sets the color for the background when displaying the name of this state (e.g. as a tag).- Parameters:
colorBackground- The color for the background.
-
getColorText
Gets the color for the text when displaying the name of this state (e.g. as a tag).- Returns:
- The color for the text.
-
setColorText
Sets the color for the text when displaying the name of this state (e.g. as a tag).- Parameters:
colorText- The color for the text.
-
getIconStyleClass
-
setIconStyleClass
-
getId
-
getLocalizations
Description copied from interface:ILocalizationProvidingGets the localized database objects.- Specified by:
getLocalizationsin interfaceILocalizationProviding<EndUserState, EndUserStateLocalization>- Returns:
- the localized database objects
-
setLocalizations
-
getLocalizationsDefaultLocale
Description copied from interface:ILocalizationProvidingGets the default locale for this providing object.- Specified by:
getLocalizationsDefaultLocalein interfaceILocalizationProviding<EndUserState, EndUserStateLocalization>- Returns:
- the default locale for this providing object
-
getType
-
setType
-
getWorkflowState
-
setWorkflowState
-
isRecordAccessible
public boolean isRecordAccessible() -
setRecordAccessible
public void setRecordAccessible(boolean recordAccessible) -
cloneBasics
-
getDescription
-
getDisplayName
-
newLocalization
Description copied from interface:ILocalizationProvidingCreates a new localization object.- Specified by:
newLocalizationin interfaceILocalizationProviding<EndUserState, EndUserStateLocalization>- Returns:
- a new localization object
-