Class ResourcesManagersSynchronizer

java.lang.Object
org.silverpeas.components.resourcesmanager.ResourcesManagersSynchronizer

@Technical @Service public class ResourcesManagersSynchronizer extends Object
A synchronizer of the list of managers of all concerned resources with any modification of the Manager role profile for a Resources Manager application.
Author:
mmoquillon
  • Constructor Details

    • ResourcesManagersSynchronizer

      public ResourcesManagersSynchronizer()
  • Method Details

    • synchronize

      public void synchronize(@Defined String instanceId, @NonNull Set<String> removedUsersId)
      Synchronizes the list of managers of the resources managed by the specified Resources Manager application and by taking into account the given users have been removed from the Manager role profile for the application. The specified users could have been explicitly removed or have been in a group that has been removed from the Manager role profile.
      Parameters:
      instanceId - the unique identifier of a Resource Managers application.
      removedUsersId - a set with the unique identifiers of the removed users.