Enum EEndUserStatePreset
java.lang.Object
java.lang.Enum<EEndUserStatePreset>
de.xima.fc.common.bean_models.workflow.state.EEndUserStatePreset
- All Implemented Interfaces:
INamedUiElement, Serializable, Comparable<EEndUserStatePreset>
Presets for
end user states for the workflow designer. Users can select a preset, which fills
the configuration with corresponding default values.- Since:
- 8.2.0
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPreset for a end user state when anapplicationwas approved.Preset for a end user state when anapplicationwas completed.Preset for a end user state when anapplicationis currently being processed.Preset for a end user state when anapplicationwas rejected. -
Field Summary
Fields inherited from interface INamedUiElement
ATTR_DISPLAY_NAME -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyToEndUserState(EndUserStateConfigViewModel portalConfig, List<Locale> localesToApply) getDisplayName(Locale locale) The display name of this element in the given locale.booleanstatic EEndUserStatePresetReturns the enum constant of this type with the specified name.static EEndUserStatePreset[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
APPROVED
Preset for a end user state when anapplicationwas approved. -
REJECTED
Preset for a end user state when anapplicationwas rejected. -
IN_PROGRESS
Preset for a end user state when anapplicationis currently being processed. -
COMPLETED
Preset for a end user state when anapplicationwas completed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isTerminalState
public boolean isTerminalState() -
getIconStyleClass
-
getHexColorText
-
getHexColorBackground
-
getDescriptionI18nKey
-
getDisplayNameI18nKey
-
applyToEndUserState
public void applyToEndUserState(EndUserStateConfigViewModel portalConfig, List<Locale> localesToApply) -
getDisplayName
Description copied from interface:INamedUiElementThe display name of this element in the given locale.- Specified by:
getDisplayNamein interfaceINamedUiElement- Parameters:
locale- The locale to get the display name for.- Returns:
- The display name of this element in the given locale.
-