Class FolderManagersUpdater

java.lang.Object
org.silverpeas.components.kmelia.notification.FolderManagersUpdater

@Bean public class FolderManagersUpdater extends Object
Updates the managers of the folders having their own access rights in a Kmelia instance with some managers of the application, as required by the forcing of the application managers as folder managers.
Author:
mmoquillon
  • Constructor Details

    • FolderManagersUpdater

      public FolderManagersUpdater()
  • Method Details

    • addApplicationManagers

      public void addApplicationManagers(String instanceId, org.silverpeas.core.admin.user.model.ProfileInst appManagers)
      Adds the specified application managers to the managers of all the folders having their own access rights in the given Kmelia instance, if they aren't already.
      Parameters:
      instanceId - the unique identifier of a Kmelia instance.
      appManagers - the profile with the application managers to add.
      Throws:
      org.silverpeas.kernel.SilverpeasRuntimeException - if the managers of a folder cannot be updated.