Enum Class UserEvent

java.lang.Object
java.lang.Enum<UserEvent>
com.logicaldoc.core.security.UserEvent
All Implemented Interfaces:
Serializable, Comparable<UserEvent>, Constable

public enum UserEvent extends Enum<UserEvent>
Possible events in the user's history
Since:
8.0.1
Author:
Marco Meschieri - LogicalDOC
  • Enum Constant Details

    • LOGIN

      public static final UserEvent LOGIN
    • LOGIN_FAILED

      public static final UserEvent LOGIN_FAILED
    • LOGOUT

      public static final UserEvent LOGOUT
    • TIMEOUT

      public static final UserEvent TIMEOUT
    • PASSWORDCHANGED

      public static final UserEvent PASSWORDCHANGED
    • TWOFACHANGED

      public static final UserEvent TWOFACHANGED
    • DELETED

      public static final UserEvent DELETED
    • FILE_CONVERSION

      public static final UserEvent FILE_CONVERSION
    • MESSAGE_RECEIVED

      public static final UserEvent MESSAGE_RECEIVED
    • CREATED

      public static final UserEvent CREATED
    • UPDATED

      public static final UserEvent UPDATED
    • DISABLED

      public static final UserEvent DISABLED
    • ENABLED

      public static final UserEvent ENABLED
  • Method Details

    • values

      public static UserEvent[] 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 UserEvent 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<UserEvent>
    • fromString

      public static UserEvent fromString(String event)