Enum TrackedActionType
- java.lang.Object
-
- java.lang.Enum<TrackedActionType>
-
- org.silverpeas.core.contribution.tracking.TrackedActionType
-
- All Implemented Interfaces:
Serializable
,Comparable<TrackedActionType>
public enum TrackedActionType extends Enum<TrackedActionType>
All the types of actions that can be performed by a user on a contribution in Silverpeas and that can be tracked.- Author:
- mmoquillon
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATION
A contribution has been createdDELETION
A contribution has been deleted.INNER_MOVE
A contribution has been moved from a node to another one in the same application in Silverpeas.MAJOR_UPDATE
A major modification has been performed onto a contribution.MINOR_UPDATE
A minor modification has been performed onto a contribution.OUTER_MOVE
A contribution has been moved from a component instance to another one in Silverpeas.UPDATE
Modifications has been performed, but no functional mechanism has been used to specify the type of the modification.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TrackedActionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TrackedActionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATION
public static final TrackedActionType CREATION
A contribution has been created
-
MINOR_UPDATE
public static final TrackedActionType MINOR_UPDATE
A minor modification has been performed onto a contribution. A minor modification is a modification that doesn't change the structure and the semantic content of the contribution; it is, for example, an orthographic or grammatical fix, a rewording of a sentence, ...
-
MAJOR_UPDATE
public static final TrackedActionType MAJOR_UPDATE
A major modification has been performed onto a contribution. A major modification is a modification that change either the structure or the semantic content or both of the contribution.
-
UPDATE
public static final TrackedActionType UPDATE
Modifications has been performed, but no functional mechanism has been used to specify the type of the modification.
-
DELETION
public static final TrackedActionType DELETION
A contribution has been deleted.
-
OUTER_MOVE
public static final TrackedActionType OUTER_MOVE
A contribution has been moved from a component instance to another one in Silverpeas.
-
INNER_MOVE
public static final TrackedActionType INNER_MOVE
A contribution has been moved from a node to another one in the same application in Silverpeas.
-
-
Method Detail
-
values
public static TrackedActionType[] 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 (TrackedActionType c : TrackedActionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TrackedActionType 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
-
-