Enum EntityActionLog
- java.lang.Object
-
- java.lang.Enum<EntityActionLog>
-
- org.cyclos.model.system.entitylogs.EntityActionLog
-
- All Implemented Interfaces:
Serializable,Comparable<EntityActionLog>
public enum EntityActionLog extends Enum<EntityActionLog>
The action over an entity which generates a log.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BROKER_ASSIGNMENTCHANGE_USER_GROUPCHANGE_USER_STATUSINDIVIDUAL_PRODUCT_ASSIGNMENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set<EntityActionLog>actionsByType(EntityLogType type)static EntityActionLogvalueOf(String name)Returns the enum constant of this type with the specified name.static EntityActionLog[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHANGE_USER_GROUP
public static final EntityActionLog CHANGE_USER_GROUP
-
CHANGE_USER_STATUS
public static final EntityActionLog CHANGE_USER_STATUS
-
BROKER_ASSIGNMENT
public static final EntityActionLog BROKER_ASSIGNMENT
-
INDIVIDUAL_PRODUCT_ASSIGNMENT
public static final EntityActionLog INDIVIDUAL_PRODUCT_ASSIGNMENT
-
-
Method Detail
-
values
public static EntityActionLog[] 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 (EntityActionLog c : EntityActionLog.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntityActionLog 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
-
actionsByType
public static Set<EntityActionLog> actionsByType(EntityLogType type)
- Returns:
- the entity action logs related to the given entity log type
-
-