Class OrganizationalUnitGroupListener

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

@Component public class OrganizationalUnitGroupListener extends org.exoplatform.services.organization.GroupEventListener
Keeps SOC_ORGANIZATIONAL_UNIT in sync with the organization service: refreshes the denormalized label when a group is renamed, and drops the row when a group is deleted.
  • 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
     
    void
    postDelete(org.exoplatform.services.organization.Group group)
     
    void
    postSave(org.exoplatform.services.organization.Group group, boolean isNew)
     

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

    linkGroups, preDelete, preSave, unlinkGroups

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

    • OrganizationalUnitGroupListener

      public OrganizationalUnitGroupListener()
  • Method Details

    • init

      @PostConstruct public void init()
    • destroy

      @PreDestroy public void destroy()
    • postSave

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

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