Enum AuditEvents
- java.lang.Object
-
- java.lang.Enum<AuditEvents>
-
- org.alfresco.rest.rm.community.model.audit.AuditEvents
-
- All Implemented Interfaces:
Serializable,Comparable<AuditEvents>
public enum AuditEvents extends Enum<AuditEvents>
Enumerates the list of events audited- Since:
- 2.7
- Author:
- Rodica Sutu
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_TO_HOLDADD_TO_USER_GROUPCREATE_HOLDCREATE_PERSONCREATE_USER_GROUPDELETE_HOLDDELETE_PERSONDELETE_USER_GROUPLOGIN_SUCCESSFULLOGIN_UNSUCCESSFULREMOVE_FROM_HOLDREMOVE_FROM_USER_GROUP
-
Field Summary
Fields Modifier and Type Field Description Stringeventevent auditedStringeventDisplayNamedisplay name for the event audited
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuditEventsvalueOf(String name)Returns the enum constant of this type with the specified name.static AuditEvents[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE_PERSON
public static final AuditEvents CREATE_PERSON
-
DELETE_PERSON
public static final AuditEvents DELETE_PERSON
-
CREATE_USER_GROUP
public static final AuditEvents CREATE_USER_GROUP
-
DELETE_USER_GROUP
public static final AuditEvents DELETE_USER_GROUP
-
ADD_TO_USER_GROUP
public static final AuditEvents ADD_TO_USER_GROUP
-
REMOVE_FROM_USER_GROUP
public static final AuditEvents REMOVE_FROM_USER_GROUP
-
LOGIN_UNSUCCESSFUL
public static final AuditEvents LOGIN_UNSUCCESSFUL
-
LOGIN_SUCCESSFUL
public static final AuditEvents LOGIN_SUCCESSFUL
-
CREATE_HOLD
public static final AuditEvents CREATE_HOLD
-
DELETE_HOLD
public static final AuditEvents DELETE_HOLD
-
ADD_TO_HOLD
public static final AuditEvents ADD_TO_HOLD
-
REMOVE_FROM_HOLD
public static final AuditEvents REMOVE_FROM_HOLD
-
-
Method Detail
-
values
public static AuditEvents[] 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 (AuditEvents c : AuditEvents.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuditEvents 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
-
-