Enum EFormTargetState

java.lang.Object
java.lang.Enum<EFormTargetState>
de.xima.fc.mdl.enums.EFormTargetState
All Implemented Interfaces:
Serializable, Comparable<EFormTargetState>

public enum EFormTargetState extends Enum<EFormTargetState>
When a form is submitted, a new state must be determined for the form. This enumeration describes how to determine that state. The normal and most common behavior is SUBMIT, ie. setting the state to RECEIVED when a form is submitted for the first time.
Author:
XIMA MEDIA GmbH
  • Enum Constant Details

    • SAVE

      public static final EFormTargetState SAVE
      Form is put into the special SAVED state.
    • SUBMIT

      public static final EFormTargetState SUBMIT
      When the form is submitted normally. The new state is either the special state RECEIVED (when newly submitted), or the resubmission state (when submitted again).
    • CURRENT

      public static final EFormTargetState CURRENT
      The current state is not changed. When the form was newly submitted and has got no state, it is put into the state RECEIVED.
    • CUSTOM

      public static final EFormTargetState CUSTOM
      The new state for the form is read from the parameter xfc-pp-state.
  • Method Details

    • values

      public static EFormTargetState[] 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

      public static EFormTargetState valueOf(String name)
      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 name
      NullPointerException - if the argument is null