Class ApplicationManagersChangeListener

  • All Implemented Interfaces:
    org.silverpeas.core.notification.system.ResourceEventListener<org.silverpeas.core.admin.user.notification.ProfileInstEvent>

    @Bean
    public class ApplicationManagersChangeListener
    extends org.silverpeas.core.notification.system.CDIResourceEventListener<org.silverpeas.core.admin.user.notification.ProfileInstEvent>
    Listens for events about the change of the managers of component instances, either explicitly set or inherited from the parent space. When this component instance is a Kmelia one in which the application managers are forced as managers of the folders with their own access rights, then the new managers of the application are added to the managers of all these folders.
    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 onCreation​(org.silverpeas.core.admin.user.notification.ProfileInstEvent event)  
      void onUpdate​(org.silverpeas.core.admin.user.notification.ProfileInstEvent event)  
      • Methods inherited from class org.silverpeas.core.notification.system.CDIResourceEventListener

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

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

      • ApplicationManagersChangeListener

        public ApplicationManagersChangeListener()
    • Method Detail

      • onCreation

        public void onCreation​(org.silverpeas.core.admin.user.notification.ProfileInstEvent event)
                        throws Exception
        Throws:
        Exception
      • onUpdate

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