Class FolderManagersForcingListener

  • All Implemented Interfaces:
    org.silverpeas.core.notification.system.ResourceEventListener<org.silverpeas.core.admin.component.notification.ComponentInstanceEvent>

    @Bean
    public class FolderManagersForcingListener
    extends org.silverpeas.core.notification.system.CDIResourceEventListener<org.silverpeas.core.admin.component.notification.ComponentInstanceEvent>
    Listens for events about the update of component instances. When this component instance is a Kmelia one and the forcing of the application managers as managers of the folders with their own access rights gets enabled, then sets the managers of the application as managers of all these folders if they aren't already.
    Author:
    mmoquillon
    • Field Summary

      • Fields inherited from class org.silverpeas.core.notification.system.CDIResourceEventListener

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onUpdate​(org.silverpeas.core.admin.component.notification.ComponentInstanceEvent event)  
      • Methods inherited from class org.silverpeas.core.notification.system.CDIResourceEventListener

        onEvent
      • Methods inherited from interface org.silverpeas.core.notification.system.ResourceEventListener

        dispatchEvent, isEnabled, onCreation, onDeletion, onMove, onRecovery, onRemoving, onUnlock
    • Constructor Detail

      • FolderManagersForcingListener

        public FolderManagersForcingListener()
    • Method Detail

      • onUpdate

        public void onUpdate​(org.silverpeas.core.admin.component.notification.ComponentInstanceEvent event)
                      throws Exception
        Throws:
        Exception