Enum EFormRecordSubmitContext
- All Implemented Interfaces:
INamedUiElement, Serializable, Comparable<EFormRecordSubmitContext>
public enum EFormRecordSubmitContext
extends Enum<EFormRecordSubmitContext>
implements Serializable, INamedUiElement
Enum representing the default submit contexts for form records.
- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields inherited from interface INamedUiElement
ATTR_DISPLAY_NAME -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<EFormRecordSubmitContext> fromString(String value) Get the submit context from the given string.getDisplayName(Locale locale) The display name of this element in the given locale.static EFormRecordSubmitContextReturns the enum constant of this type with the specified name.static EFormRecordSubmitContext[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PROVIDE
The form record is submitted via the provide or process link. -
REVIEW
The form record is submitted via the review link. -
INVITE
The form record is submitted (or created) as an invitation.
-
-
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
-
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.
-
fromString
Get the submit context from the given string.- Parameters:
value- The string to parse.- Returns:
- The submit context or empty if the string does not match any known submit context.
-