Class RightsManagerListener

  • All Implemented Interfaces:
    org.xwiki.observation.EventListener

    public final class RightsManagerListener
    extends Object
    implements org.xwiki.observation.EventListener
    Listener to user and groups events to apply related automatic task like cleaning groups and rights objects.
    Since:
    XWiki Core 2.2.3
    Version:
    $Id: 53343e06e06ac276948708860aa14c0e112ba96e $
    • Method Detail

      • getInstance

        public static RightsManagerListener getInstance()
        Returns:
        a unique instance of RightsManager. Thread safe.
      • getName

        public String getName()
        Specified by:
        getName in interface org.xwiki.observation.EventListener
      • getEvents

        public List<Event> getEvents()
        Specified by:
        getEvents in interface org.xwiki.observation.EventListener
      • onEvent

        public void onEvent​(Event event,
                            Object source,
                            Object data)
        Specified by:
        onEvent in interface org.xwiki.observation.EventListener