Class 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 Detail

      • FolderManagersUpdater

        public FolderManagersUpdater()
    • Method Detail

      • addApplicationManagers

        public void addApplicationManagers​(String instanceId,
                                           org.silverpeas.core.admin.user.model.ProfileInst appManagers)
                                    throws org.silverpeas.core.admin.service.AdminException
        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.core.admin.service.AdminException - if the managers of a folder cannot be updated.