com.silverpeas.notification
Enum RegisteredTopics

java.lang.Object
  extended by java.lang.Enum<RegisteredTopics>
      extended by com.silverpeas.notification.RegisteredTopics
All Implemented Interfaces:
Serializable, Comparable<RegisteredTopics>

public enum RegisteredTopics
extends Enum<RegisteredTopics>

This enumeration lists all the notification topics that are registered within the Silverpeas Notification System and for which any beans in Silverpeas can subscribe.


Enum Constant Summary
ADMIN_COMPONENT_TOPIC
           
ADMIN_SPACE_TOPIC
           
ATTACHMENT_TOPIC
           
COMMENT_TOPIC
           
NODE_TOPIC
          This topic is for notifications about an action performed on a node.
PUBLICATION_TOPIC
           
 
Method Summary
static RegisteredTopics fromName(String name)
           
 String getTopicName()
           
 String toString()
           
static RegisteredTopics valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RegisteredTopics[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NODE_TOPIC

public static final RegisteredTopics NODE_TOPIC
This topic is for notifications about an action performed on a node. A node in Silverpeas is a way to categorize in a hierarchical way information.


ADMIN_SPACE_TOPIC

public static final RegisteredTopics ADMIN_SPACE_TOPIC

ATTACHMENT_TOPIC

public static final RegisteredTopics ATTACHMENT_TOPIC

COMMENT_TOPIC

public static final RegisteredTopics COMMENT_TOPIC

ADMIN_COMPONENT_TOPIC

public static final RegisteredTopics ADMIN_COMPONENT_TOPIC

PUBLICATION_TOPIC

public static final RegisteredTopics PUBLICATION_TOPIC
Method Detail

values

public static RegisteredTopics[] 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 (RegisteredTopics c : RegisteredTopics.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RegisteredTopics 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

getTopicName

public String getTopicName()

toString

public String toString()
Overrides:
toString in class Enum<RegisteredTopics>

fromName

public static RegisteredTopics fromName(String name)


Copyright © 2016 Silverpeas. All Rights Reserved.