com.silverpeas.admin.notification
Class DefaultAdminNotificationService

java.lang.Object
  extended by com.silverpeas.admin.notification.DefaultAdminNotificationService
All Implemented Interfaces:
AdminNotificationService

@Named(value="adminNotificationService")
public class DefaultAdminNotificationService
extends Object
implements AdminNotificationService

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


Constructor Summary
DefaultAdminNotificationService()
           
 
Method Summary
 void notifyOfComponentConfigurationChange(String componentId, String userId, ComponentJsonPatch changes)
          Notifies the registered beans fof configuration updates for components.
 void notifyOnDeletionOf(String spaceId, String userId)
          Notifies the registered beans a given space comes to be deleted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAdminNotificationService

public DefaultAdminNotificationService()
Method Detail

notifyOnDeletionOf

public void notifyOnDeletionOf(String spaceId,
                               String userId)
Description copied from interface: AdminNotificationService
Notifies the registered beans a given space comes to be deleted.

Specified by:
notifyOnDeletionOf in interface AdminNotificationService
Parameters:
spaceId - the id of the space to be deleted.
userId - the id of the user deleting the space.

notifyOfComponentConfigurationChange

public void notifyOfComponentConfigurationChange(String componentId,
                                                 String userId,
                                                 ComponentJsonPatch changes)
Description copied from interface: AdminNotificationService
Notifies the registered beans fof configuration updates for components.

Specified by:
notifyOfComponentConfigurationChange in interface AdminNotificationService
Parameters:
componentId - the id of the component whose configuration has changed.
userId - the id of the user updating the configuration.
changes - the configuration changes.


Copyright © 2016 Silverpeas. All Rights Reserved.