com.silverpeas.web.mock
Class AdminNotificationServiceMock

java.lang.Object
  extended by com.silverpeas.web.mock.AdminNotificationServiceMock
All Implemented Interfaces:
AdminNotificationService

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


Constructor Summary
AdminNotificationServiceMock()
           
 
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

AdminNotificationServiceMock

public AdminNotificationServiceMock()
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.