org.silverpeas.attachment.notification
Class AttachmentNotificationService

java.lang.Object
  extended by org.silverpeas.attachment.notification.AttachmentNotificationService

public class AttachmentNotificationService
extends Object

A service to notify about the events which occurs on attachment. It provides an easy access to the underlying messaging system used in the notification.


Method Summary
static AttachmentNotificationService getService()
          Gets an instance of the service.
 void notifyOnDeletionOf(SimpleDocument attachment)
          Notifies the registered beans a given node (with and its children) 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 AttachmentNotificationService getService()
Gets an instance of the service.

Returns:
an AttachmentNotificationService instance.

notifyOnDeletionOf

public void notifyOnDeletionOf(SimpleDocument attachment)
Notifies the registered beans a given node (with and its children) comes to be deleted.

Parameters:
attachment - the document that is deleted.


Copyright © 2016 Silverpeas. All Rights Reserved.