Class EndUserStateConfigViewModel

    • Constructor Detail

      • EndUserStateConfigViewModel

        public EndUserStateConfigViewModel()
    • 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.
      • 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)