Class CRMUserModificationListenerService

java.lang.Object
fr.paris.lutece.portal.service.util.RemovalListenerService
fr.paris.lutece.plugins.crm.service.listener.CRMUserModificationListenerService

public class CRMUserModificationListenerService extends fr.paris.lutece.portal.service.util.RemovalListenerService
Service to manage listeners of modifications on CRMUsers objects
  • Method Details

    • getService

      public static CRMUserModificationListenerService getService()
      Get the instance of the service
      Returns:
      The instance of the service
    • registerListener

      public void registerListener(IListener<CRMUser> listener)
      Register a new Removal listener
      Parameters:
      listener - The listener to register
    • notifyListeners

      public void notifyListeners(CRMUser crmUser, String strEventName)
      Notify listeners with a CRM user.
      Parameters:
      crmUser - The user to send to listeners
      strEventName - Name of the event that caused the notification