Package de.xima.fc.entities
Class UserPortalState
- java.lang.Object
- 
- de.xima.cmn.dao.model.AEntity<Long>
- 
- de.xima.fc.entities.AbstractEntity
- 
- de.xima.fc.entities.AbstractLockableEntity
- 
- de.xima.fc.entities.UserPortalState
 
 
 
 
- 
- All Implemented Interfaces:
- de.xima.cmn.dao.interfaces.IEntity<Long>,- de.xima.cmn.dao.interfaces.ILockableEntity<Long>,- ILocalizationProviding<UserPortalState,UserPortalStateLocalization>,- ILockingVersionProviding,- ITransferable,- ITransferableEntity,- ITransferableLockableEntity,- Serializable,- Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
 
 @Entity public class UserPortalState extends AbstractLockableEntity implements ILocalizationProviding<UserPortalState,UserPortalStateLocalization> Entity model for user portal states.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringATTR_COLOR_BACKGROUNDDatabase column name for thegetColorBackground()field.static StringATTR_COLOR_TEXTDatabase column name for thegetColorText()field.static StringATTR_ICON_STYLE_CLASSDatabase column name for thegetIconStyleClass()field.static StringATTR_RECORD_ACCESSIBLEDatabase column name for theisRecordAccessible()field.static StringATTR_TYPEDatabase column name for thegetType()field.static StringATTR_WORKFLOW_STATEDatabase column name for thegetWorkflowState()field.static StringCOL_COLOR_BACKGROUNDDatabase column name for thegetColorBackground()field.static StringCOL_COLOR_TEXTDatabase column name for thegetColorText()field.static StringCOL_ICON_STYLE_CLASSDatabase column name for thegetIconStyleClass()field.static StringCOL_RECORD_ACCESSIBLEDatabase column name for theisRecordAccessible()field.static StringCOL_TYPEDatabase column name for thegetType()field.static StringCOL_WORKFLOW_STATE_IDDatabase column name for thegetWorkflowState()field.- 
Fields inherited from class de.xima.fc.entities.AbstractLockableEntityCOL_LOCKINGVERSION, lockingVersion
 - 
Fields inherited from class de.xima.fc.entities.AbstractEntityCOL_ID, id
 - 
Fields inherited from interface de.xima.fc.entities.interfaces.i18n.ILocalizationProvidingATTR_LOCALIZATIONS
 - 
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntityIMPORT_ID, INVALID_ID
 
- 
 - 
Constructor SummaryConstructors Constructor Description UserPortalState()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UserPortalStatecloneBasics()RgbaQuadrupletgetColorBackground()Gets the color for the background when displaying the name of this state (e.g.RgbaQuadrupletgetColorText()Gets the color for the text when displaying the name of this state (e.g.LocalegetFallbackLocale()Gets the default locale to use as a fallback when a localization is missing for a locale.StringgetIconStyleClass()LonggetId()List<UserPortalStateLocalization>getLocalizations()Gets the localisation entitiesEUserPortalStateTypegetType()WorkflowStategetWorkflowState()booleanisRecordAccessible()voidsetColorBackground(RgbaQuadruplet colorBackground)Sets the color for the background when displaying the name of this state (e.g.voidsetColorText(RgbaQuadruplet colorText)Sets the color for the text when displaying the name of this state (e.g.voidsetIconStyleClass(String iconStyleClass)voidsetLocalizations(List<UserPortalStateLocalization> localizations)Sets the i18n namevoidsetRecordAccessible(boolean recordAccessible)voidsetType(EUserPortalStateType type)voidsetWorkflowState(WorkflowState workflowState)- 
Methods inherited from class de.xima.fc.entities.AbstractLockableEntityentityHasChanged, getLockingVersion, setLockingVersion, toString
 - 
Methods inherited from class de.xima.fc.entities.AbstractEntityasIntValue, isPersisted, setId, setId
 - 
Methods inherited from class de.xima.cmn.dao.model.AEntitycompareTo, equals, getDBTableName, hashCode
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface java.lang.ComparablecompareTo
 - 
Methods inherited from interface de.xima.fc.entities.interfaces.i18n.ILocalizationProvidinggetI18nNames, getLocalization, getLocalization, getLocalizationObject, getLocalizationObject, getLocalizationsByI18nName, getLocalizationsByI18nName, getLocalizationsByI18nName, getLocalizationsByI18nName, getLocalizationsByLocale, getLocalizationsByLocale, getLocalizationsForLocale, getLocalizationsForLocale
 
- 
 
- 
- 
- 
Field Detail- 
ATTR_WORKFLOW_STATEpublic static final String ATTR_WORKFLOW_STATE Database column name for thegetWorkflowState()field.- See Also:
- Constant Field Values
 
 - 
ATTR_TYPEpublic static final String ATTR_TYPE Database column name for thegetType()field.- See Also:
- Constant Field Values
 
 - 
ATTR_RECORD_ACCESSIBLEpublic static final String ATTR_RECORD_ACCESSIBLE Database column name for theisRecordAccessible()field.- See Also:
- Constant Field Values
 
 - 
ATTR_ICON_STYLE_CLASSpublic static final String ATTR_ICON_STYLE_CLASS Database column name for thegetIconStyleClass()field.- See Also:
- Constant Field Values
 
 - 
ATTR_COLOR_TEXTpublic static final String ATTR_COLOR_TEXT Database column name for thegetColorText()field.- See Also:
- Constant Field Values
 
 - 
ATTR_COLOR_BACKGROUNDpublic static final String ATTR_COLOR_BACKGROUND Database column name for thegetColorBackground()field.- See Also:
- Constant Field Values
 
 - 
COL_WORKFLOW_STATE_IDpublic static final String COL_WORKFLOW_STATE_ID Database column name for thegetWorkflowState()field.- See Also:
- Constant Field Values
 
 - 
COL_TYPEpublic static final String COL_TYPE Database column name for thegetType()field.- See Also:
- Constant Field Values
 
 - 
COL_RECORD_ACCESSIBLEpublic static final String COL_RECORD_ACCESSIBLE Database column name for theisRecordAccessible()field.- See Also:
- Constant Field Values
 
 - 
COL_ICON_STYLE_CLASSpublic static final String COL_ICON_STYLE_CLASS Database column name for thegetIconStyleClass()field.- See Also:
- Constant Field Values
 
 - 
COL_COLOR_TEXTpublic static final String COL_COLOR_TEXT Database column name for thegetColorText()field.- See Also:
- Constant Field Values
 
 - 
COL_COLOR_BACKGROUNDpublic static final String COL_COLOR_BACKGROUND Database column name for thegetColorBackground()field.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getWorkflowStatepublic WorkflowState getWorkflowState() 
 - 
setWorkflowStatepublic void setWorkflowState(WorkflowState workflowState) 
 - 
getTypepublic EUserPortalStateType getType() 
 - 
setTypepublic void setType(EUserPortalStateType type) 
 - 
isRecordAccessiblepublic boolean isRecordAccessible() 
 - 
setRecordAccessiblepublic void setRecordAccessible(boolean recordAccessible) 
 - 
getIconStyleClasspublic String getIconStyleClass() 
 - 
setIconStyleClasspublic void setIconStyleClass(String iconStyleClass) 
 - 
getColorTextpublic RgbaQuadruplet 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.
 
 - 
setColorTextpublic void setColorText(RgbaQuadruplet colorText) 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.
 
 - 
getColorBackgroundpublic RgbaQuadruplet 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.
 
 - 
setColorBackgroundpublic void setColorBackground(RgbaQuadruplet colorBackground) 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.
 
 - 
getLocalizationspublic List<UserPortalStateLocalization> getLocalizations() Description copied from interface:ILocalizationProvidingGets the localisation entities- Specified by:
- getLocalizationsin interface- ILocalizationProviding<UserPortalState,UserPortalStateLocalization>
- Returns:
- the localisation entities
 
 - 
setLocalizationspublic void setLocalizations(List<UserPortalStateLocalization> localizations) Description copied from interface:ILocalizationProvidingSets the i18n name- Specified by:
- setLocalizationsin interface- ILocalizationProviding<UserPortalState,UserPortalStateLocalization>
- Parameters:
- localizations- the entities for localisation to set
 
 - 
getFallbackLocalepublic Locale getFallbackLocale() Description copied from interface:ILocalizationProvidingGets the default locale to use as a fallback when a localization is missing for a locale. May return null if the object does not provide a fallback locale.- Specified by:
- getFallbackLocalein interface- ILocalizationProviding<UserPortalState,UserPortalStateLocalization>
- Returns:
- the default locale to use as a fallback when a localization is missing for a locale
 
 - 
cloneBasicspublic UserPortalState cloneBasics() 
 
- 
 
-