com.stratelia.silverpeas.personalizationPeas.servlets
Enum NotificationParametrizationAction

java.lang.Object
  extended by java.lang.Enum<NotificationParametrizationAction>
      extended by com.stratelia.silverpeas.personalizationPeas.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
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.
View
          To view the different user notification parameters.
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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.

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 name
NullPointerException - if the argument is null

from

public static NotificationParametrizationAction from(String action)


Copyright © 2016 Silverpeas. All Rights Reserved.