Enum Class PessimisticLockStatus

java.lang.Object
java.lang.Enum<PessimisticLockStatus>
io.jmix.flowui.screen.PessimisticLockStatus
All Implemented Interfaces:
Serializable, Comparable<PessimisticLockStatus>, Constable

public enum PessimisticLockStatus extends Enum<PessimisticLockStatus>
  • Enum Constant Details

    • LOCKED

      public static final PessimisticLockStatus LOCKED
      Successfully locked.
    • FAILED

      public static final PessimisticLockStatus FAILED
      Lock failed because the entity is already locked by someone else.
    • NOT_SUPPORTED

      public static final PessimisticLockStatus NOT_SUPPORTED
      Pessimistic locking is not configured for this entity.
  • Method Details

    • values

      public static PessimisticLockStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PessimisticLockStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null