Enum NotifAction
- java.lang.Object
-
- java.lang.Enum<NotifAction>
-
- org.silverpeas.core.notification.user.client.constant.NotifAction
-
- All Implemented Interfaces:
Serializable
,Comparable<NotifAction>
public enum NotifAction extends Enum<NotifAction>
The user action related to a contribution that is behind the notification.- Author:
- Yohann Chastagnier
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELED
A contribution has been canceled.CLASSIFIED
A contribution has been classified.COMMENT
A contribution has been commented.CREATE
A contribution has been created.DECLASSIFIED
A contribution has been unclassified.DELETE
A contribution has been deleted.PENDING_VALIDATION
A contribution is in validation pending.POPULATED
A container has been populated.PUBLISHED
A contribution has been published.REFUSE
The publishing of a contribution has been refused.REPORT
A report of information about a contribution.RESPONSE
In waiting of response.SUSPEND
The publishing of a contribution has been suspended.UPDATE
A contribution has been updated.VALIDATE
The publishing of a contribution has been validated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NotifAction
decode(Integer id)
int
getId()
int
getPriority()
static NotifAction
valueOf(String name)
Returns the enum constant of this type with the specified name.static NotifAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE
public static final NotifAction CREATE
A contribution has been created.
-
UPDATE
public static final NotifAction UPDATE
A contribution has been updated.
-
DELETE
public static final NotifAction DELETE
A contribution has been deleted.
-
REPORT
public static final NotifAction REPORT
A report of information about a contribution. For example, a request for validation of a contribution in order to be published.
-
COMMENT
public static final NotifAction COMMENT
A contribution has been commented.
-
SUSPEND
public static final NotifAction SUSPEND
The publishing of a contribution has been suspended.
-
PENDING_VALIDATION
public static final NotifAction PENDING_VALIDATION
A contribution is in validation pending.
-
REFUSE
public static final NotifAction REFUSE
The publishing of a contribution has been refused.
-
VALIDATE
public static final NotifAction VALIDATE
The publishing of a contribution has been validated.
-
RESPONSE
public static final NotifAction RESPONSE
In waiting of response.
-
CLASSIFIED
public static final NotifAction CLASSIFIED
A contribution has been classified.
-
DECLASSIFIED
public static final NotifAction DECLASSIFIED
A contribution has been unclassified.
-
PUBLISHED
public static final NotifAction PUBLISHED
A contribution has been published.
-
POPULATED
public static final NotifAction POPULATED
A container has been populated.
-
CANCELED
public static final NotifAction CANCELED
A contribution has been canceled.
-
-
Method Detail
-
values
public static NotifAction[] 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 (NotifAction c : NotifAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NotifAction 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
-
getId
public int getId()
-
getPriority
public int getPriority()
-
decode
public static NotifAction decode(Integer id)
-
-