Class UserPermissionGroupListener

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.organization.GroupEventListener
io.meeds.social.identity.permission.listener.UserPermissionGroupListener
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

@Component public class UserPermissionGroupListener extends org.exoplatform.services.organization.GroupEventListener
Reacts to group-level changes affecting SOC_USER_PERMISSION:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    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
     
    void
    linkGroups(org.exoplatform.services.organization.NestedMembership nestedMembership)
     
    void
    postDelete(org.exoplatform.services.organization.Group group)
     
    void
    unlinkGroups(org.exoplatform.services.organization.NestedMembership nestedMembership)
     

    Methods inherited from class org.exoplatform.services.organization.GroupEventListener

    postSave, preDelete, preSave

    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
  • Field Details

  • Constructor Details

    • UserPermissionGroupListener

      public UserPermissionGroupListener()
  • Method Details

    • init

      @PostConstruct public void init()
    • destroy

      @PreDestroy public void destroy()
    • postDelete

      public void postDelete(org.exoplatform.services.organization.Group group) throws Exception
      Overrides:
      postDelete in class org.exoplatform.services.organization.GroupEventListener
      Throws:
      Exception
    • linkGroups

      public void linkGroups(org.exoplatform.services.organization.NestedMembership nestedMembership) throws Exception
      Overrides:
      linkGroups in class org.exoplatform.services.organization.GroupEventListener
      Throws:
      Exception
    • unlinkGroups

      public void unlinkGroups(org.exoplatform.services.organization.NestedMembership nestedMembership) throws Exception
      Overrides:
      unlinkGroups in class org.exoplatform.services.organization.GroupEventListener
      Throws:
      Exception