|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.notification.NotificationTopic
public class NotificationTopic
Topic on which notifications are published. A topic is a way to gather notifications of the same type or about the same kind of events or actions occuring in Silverpeas. Notification is always sent to a given topic and notification consumers indicates always the type of notification they are interested by subscribing to the corresponding notification topics.
Method Summary | |
---|---|
String |
getName()
Gets the name of this topic. |
RegisteredTopics |
getRegisteredTopic()
Gets the name of this topic. |
static NotificationTopic |
onTopic(RegisteredTopics topic)
Gets a topic matching the specified name. |
static NotificationTopic |
onTopic(String topicName)
Gets a topic matching the specified name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static NotificationTopic onTopic(RegisteredTopics topic)
topic
- the topic to get.
public static NotificationTopic onTopic(String topicName)
topicName
- the name of the topic to get.
public String getName()
public RegisteredTopics getRegisteredTopic()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |