Class EndUserStateConfigViewModel
- java.lang.Object
-
- de.xima.fc.common.bean_models.workflow.state.EndUserStateConfigViewModel
-
- All Implemented Interfaces:
Serializable
public final class EndUserStateConfigViewModel extends Object implements Serializable
View model for the workflow designer, for theend user stateconfiguration of aworkflow state- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEndUserStateConfigViewModel.ValidationGroupValidation groups for theEndUserStateConfigViewModel.
-
Constructor Summary
Constructors Constructor Description EndUserStateConfigViewModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBackgroundColor()The background color for this end user state, used e.g. when displaying the state in the end user portal frontend.StringgetIconStyleClass()The CSS style class for the icon of this end user state.EndUserStateLocalizationViewModelgetLocalizations()Gets the view model with the localized messages.StringgetTextColor()The text color for this end user state, used e.g. when displaying the state in the end user portal frontend.booleanisEnabled()Whether this end user state is enabled.booleanisHideEndUserState()booleanisTerminalState()Whether this end user state represents a terminal state.voidsetBackgroundColor(String backgroundColor)The background color for this end user state, used e.g. when displaying the state in the end user portal frontend.voidsetEnabled(boolean enabled)Whether this end user state is enabled.voidsetHideEndUserState(boolean hideEndUserState)voidsetIconStyleClass(String iconStyleClass)The CSS style class for the icon of this end user state.voidsetLocalizations(EndUserStateLocalizationViewModel localizations)Sets the model with the localized messages.voidsetTerminalState(boolean terminalState)Whether this end user state represents a terminal state.voidsetTextColor(String textColor)The text color for this end user state, used e.g. when displaying the state in the end user portal frontend.
-
-
-
Method Detail
-
setLocalizations
public void setLocalizations(EndUserStateLocalizationViewModel localizations)
Sets the model with the localized messages.- Parameters:
localizations- The map with the localized messages.
-
getBackgroundColor
public String getBackgroundColor()
The background color for this end user state, used e.g. when displaying the state in the end user portal frontend. Must be a valid CSS color string.
-
isEnabled
public boolean isEnabled()
Whether this end user state is enabled. When false, the state is not shown in the end user portal frontend.
-
getIconStyleClass
public String getIconStyleClass()
The CSS style class for the icon of this end user state. Can be any arbitrary CSS class (or classes). The UI offers a pre-defined set of CSS classes for the user to choose from, but also allows custom classes to be entered.
-
getLocalizations
public EndUserStateLocalizationViewModel getLocalizations()
Gets the view model with the localized messages.
-
isTerminalState
public boolean isTerminalState()
Whether this end user state represents a terminal state. When a state is marked as terminal, the form record is shown as completed in the end user portal frontend.
-
getTextColor
public String getTextColor()
The text color for this end user state, used e.g. when displaying the state in the end user portal frontend. Must be a valid CSS color string.
-
isHideEndUserState
public boolean isHideEndUserState()
-
setBackgroundColor
public void setBackgroundColor(String backgroundColor)
The background color for this end user state, used e.g. when displaying the state in the end user portal frontend. Must be a valid CSS color string.
-
setEnabled
public void setEnabled(boolean enabled)
Whether this end user state is enabled. When false, the state is not shown in the end user portal frontend.
-
setIconStyleClass
public void setIconStyleClass(String iconStyleClass)
The CSS style class for the icon of this end user state. Can be any arbitrary CSS class (or classes). The UI offers a pre-defined set of CSS classes for the user to choose from, but also allows custom classes to be entered.
-
setTerminalState
public void setTerminalState(boolean terminalState)
Whether this end user state represents a terminal state. When a state is marked as terminal, the form record is shown as completed in the end user portal frontend.
-
setTextColor
public void setTextColor(String textColor)
The text color for this end user state, used e.g. when displaying the state in the end user portal frontend. Must be a valid CSS color string.
-
setHideEndUserState
public void setHideEndUserState(boolean hideEndUserState)
-
-