/* * (non-Javadoc) * @see * com.silverpeas.admin.notification.AdminNotificationService#notifyOnDeletionOf(java.lang.String, * java.lang.String) */ @Override public void notifyOnDeletionOf(final String spaceId, String userId) { SilverpeasNotification notification = new SilverpeasNotification( new NotificationSource().withUserId(userId), SilverpeasNotificationCause.DELETION, spaceId); publisher.publish(notification, onTopic(ADMIN_SPACE_TOPIC)); }
@Override public void notifyOfComponentConfigurationChange( String componentId, String userId, ComponentJsonPatch changes) { SilverpeasNotification notification = new SilverpeasNotification( new NotificationSource().withComponentInstanceId(componentId), SilverpeasNotificationCause.UPDATE, changes); publisher.publish(notification, onTopic(ADMIN_COMPONENT_TOPIC)); }