Class AgendaCalendarShareUserListener

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.organization.UserEventListener
org.exoplatform.agenda.listener.AgendaCalendarShareUserListener
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class AgendaCalendarShareUserListener extends org.exoplatform.services.organization.UserEventListener
Deletes the calendar shares a deleted user held, as the colleague they were shared with and as the owner of the calendars they shared (EXO-90357). Glue only, registered on the organization service from configuration.xml as the other user listeners of the platform are.

Read before the user goes: the identity is still resolvable by username at preDelete, and is what the share rows name.

  • 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
    preDelete(org.exoplatform.services.organization.User user)
    Deletes the shares of a user about to be deleted.

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

    postDelete, postSave, postSetEnabled, preSave, preSetEnabled

    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

    • AgendaCalendarShareUserListener

      public AgendaCalendarShareUserListener()
  • Method Details

    • preDelete

      public void preDelete(org.exoplatform.services.organization.User user)
      Deletes the shares of a user about to be deleted.
      Overrides:
      preDelete in class org.exoplatform.services.organization.UserEventListener
      Parameters:
      user - the user