org.silverpeas.publication.notification
Class PublicationNotificationService

java.lang.Object
  extended by org.silverpeas.publication.notification.PublicationNotificationService

public class PublicationNotificationService
extends Object

A service to notify about the creation or the deletion of publications. It provides an easy access to the underlying messaging system used in the notification.


Method Summary
static PublicationNotificationService getService()
          Gets an instance of the service.
 void notifyOnDeletionOf(PublicationPK pk)
          Notifies the registered beans that a given publication comes to be deleted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getService

public static PublicationNotificationService getService()
Gets an instance of the service.

Returns:
a PublicationNotificationService instance.

notifyOnDeletionOf

public void notifyOnDeletionOf(PublicationPK pk)
Notifies the registered beans that a given publication comes to be deleted.

Parameters:
pk - the primary key of the publication that is deleted.


Copyright © 2016 Silverpeas. All Rights Reserved.