Class UserPermissionNestedMembershipListener

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.listener.Listener<org.exoplatform.services.organization.NestedMembership,org.exoplatform.services.organization.NestedMembership>
io.meeds.social.identity.permission.listener.UserPermissionNestedMembershipListener
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin, org.exoplatform.services.listener.ListenerBase<org.exoplatform.services.organization.NestedMembership,org.exoplatform.services.organization.NestedMembership>

@Component public class UserPermissionNestedMembershipListener extends org.exoplatform.services.listener.Listener<org.exoplatform.services.organization.NestedMembership,org.exoplatform.services.organization.NestedMembership>
Handles the nested-group link/unlink affects every member of the child group. Runs synchronously, on the same thread/transaction as the triggering linkGroups/unlinkGroups call (deliberately NOT @Asynchronous): the group/membership graph is read via the same organization-service session as the not-yet-flushed write,
  • Field Summary

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    onEvent(org.exoplatform.services.listener.Event<org.exoplatform.services.organization.NestedMembership,org.exoplatform.services.organization.NestedMembership> event)
     

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.exoplatform.services.listener.ListenerBase

    getName
  • Constructor Details

    • UserPermissionNestedMembershipListener

      public UserPermissionNestedMembershipListener()
  • Method Details

    • init

      @PostConstruct public void init()
    • onEvent

      public void onEvent(org.exoplatform.services.listener.Event<org.exoplatform.services.organization.NestedMembership,org.exoplatform.services.organization.NestedMembership> event) throws Exception
      Throws:
      Exception