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 Summary
Modifier and TypeMethodDescriptionGet the instance of the servicevoidnotifyListeners(CRMUser crmUser, String strEventName) Notify listeners with a CRM user.voidregisterListener(IListener<CRMUser> listener) Register a new Removal listenerMethods inherited from class fr.paris.lutece.portal.service.util.RemovalListenerService
checkForRemoval, registerListener
-
Method Details
-
getService
Get the instance of the service- Returns:
- The instance of the service
-
registerListener
Register a new Removal listener- Parameters:
listener- The listener to register
-
notifyListeners
Notify listeners with a CRM user.- Parameters:
crmUser- The user to send to listenersstrEventName- Name of the event that caused the notification
-