Package com.logicaldoc.core.security
Enum UserEvent
- java.lang.Object
-
- java.lang.Enum<UserEvent>
-
- com.logicaldoc.core.security.UserEvent
-
- All Implemented Interfaces:
Serializable
,Comparable<UserEvent>
public enum UserEvent extends Enum<UserEvent>
Possible events in the user's history- Since:
- 8.0.1
- Author:
- Marco Meschieri - LogicalDOC
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATED
DELETED
DISABLED
ENABLED
FILE_CONVERSION
LOGIN
LOGIN_FAILED
LOGOUT
MESSAGE_RECEIVED
PASSWORDCHANGED
TIMEOUT
TWOFACHANGED
UPDATED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserEvent
fromString(String event)
String
toString()
static UserEvent
valueOf(String name)
Returns the enum constant of this type with the specified name.static UserEvent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static UserEvent[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UserEvent c : UserEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserEvent 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 nameNullPointerException
- if the argument is null
-
-