com.stratelia.silverpeas.notificationManager.constant
Enum NotifAction
java.lang.Object
java.lang.Enum<NotifAction>
com.stratelia.silverpeas.notificationManager.constant.NotifAction
- All Implemented Interfaces:
- Serializable, Comparable<NotifAction>
public enum NotifAction
- extends Enum<NotifAction>
- Author:
- Yohann Chastagnier
CREATE
public static final NotifAction CREATE
UPDATE
public static final NotifAction UPDATE
DELETE
public static final NotifAction DELETE
REPORT
public static final NotifAction REPORT
COMMENT
public static final NotifAction COMMENT
SUSPEND
public static final NotifAction SUSPEND
PENDING_VALIDATION
public static final NotifAction PENDING_VALIDATION
REFUSE
public static final NotifAction REFUSE
VALIDATE
public static final NotifAction VALIDATE
RESPONSE
public static final NotifAction RESPONSE
CLASSIFIED
public static final NotifAction CLASSIFIED
DECLASSIFIED
public static final NotifAction DECLASSIFIED
PUBLISHED
public static final NotifAction PUBLISHED
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 name
NullPointerException
- if the argument is null
getId
public int getId()
getPriority
public int getPriority()
decode
public static NotifAction decode(Integer id)
Copyright © 2016 Silverpeas. All Rights Reserved.