fr.paris.lutece.plugins.crm.service.listener
Class CRMUserModificationListenerService

java.lang.Object
  extended by fr.paris.lutece.portal.service.util.RemovalListenerService
      extended by 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 Summary
static CRMUserModificationListenerService getService()
          Get the instance of the service
 void notifyListeners(CRMUser crmUser, String strEventName)
          Notify listeners with a CRM user.
 void registerListener(IListener<CRMUser> listener)
          Register a new Removal listener
 
Methods inherited from class fr.paris.lutece.portal.service.util.RemovalListenerService
checkForRemoval, registerListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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


Copyright © 2013 Mairie de Paris. All Rights Reserved.