Enum NotificationParametrizationAction
- java.lang.Object
-
- java.lang.Enum<NotificationParametrizationAction>
-
- org.silverpeas.web.personalization.servlets.NotificationParametrizationAction
-
- All Implemented Interfaces:
Serializable
,Comparable<NotificationParametrizationAction>
public enum NotificationParametrizationAction extends Enum<NotificationParametrizationAction>
The different actions a user can do when parametrizing its notification reception.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Add
To add a different user notification channel.Delete
To delete a notification channel.SetDefault
To set the default notification channel.SetFrequency
To set the frequency of the notification reception.Test
To test the notification channels.Update
To update a notification channel.View
To view the different user notification parameters.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NotificationParametrizationAction
from(String action)
static NotificationParametrizationAction
valueOf(String name)
Returns the enum constant of this type with the specified name.static NotificationParametrizationAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Test
public static final NotificationParametrizationAction Test
To test the notification channels.
-
SetDefault
public static final NotificationParametrizationAction SetDefault
To set the default notification channel.
-
SetFrequency
public static final NotificationParametrizationAction SetFrequency
To set the frequency of the notification reception.
-
Delete
public static final NotificationParametrizationAction Delete
To delete a notification channel.
-
View
public static final NotificationParametrizationAction View
To view the different user notification parameters.
-
Add
public static final NotificationParametrizationAction Add
To add a different user notification channel.
-
Update
public static final NotificationParametrizationAction Update
To update a notification channel.
-
-
Method Detail
-
values
public static NotificationParametrizationAction[] 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 (NotificationParametrizationAction c : NotificationParametrizationAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NotificationParametrizationAction 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
-
from
public static NotificationParametrizationAction from(String action)
-
-