public class NotifyCrmService extends Object implements fr.paris.lutece.plugins.grubusiness.service.notification.INotificationServiceProvider
| Constructor and Description |
|---|
NotifyCrmService()
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
createDemand(fr.paris.lutece.plugins.grubusiness.business.notification.Notification notif)
Create CRM Demand
|
String |
getName() |
boolean |
isExistDemand(fr.paris.lutece.plugins.grubusiness.business.notification.Notification notif)
Tests whether the demand already exists or not
|
void |
process(fr.paris.lutece.plugins.grubusiness.business.notification.Notification notification) |
void |
updateDemand(fr.paris.lutece.plugins.grubusiness.business.notification.Notification notif)
Updates a CRM Demand
|
public boolean isExistDemand(fr.paris.lutece.plugins.grubusiness.business.notification.Notification notif)
throws fr.paris.lutece.plugins.crmclient.util.CRMException
notif - the notificationtrue if the demand already exists, false otherwisefr.paris.lutece.plugins.crmclient.util.CRMException - if there is an exception during the treatmentpublic void createDemand(fr.paris.lutece.plugins.grubusiness.business.notification.Notification notif)
throws fr.paris.lutece.plugins.crmclient.util.CRMException
notif - fr.paris.lutece.plugins.crmclient.util.CRMExceptionpublic void updateDemand(fr.paris.lutece.plugins.grubusiness.business.notification.Notification notif)
throws fr.paris.lutece.plugins.crmclient.util.CRMException
notif - the notificationfr.paris.lutece.plugins.crmclient.util.CRMException - if there is an exception during the treatmentpublic void process(fr.paris.lutece.plugins.grubusiness.business.notification.Notification notification)
throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
process in interface fr.paris.lutece.plugins.grubusiness.service.notification.INotificationServiceProviderfr.paris.lutece.plugins.grubusiness.service.notification.NotificationExceptionpublic String getName()
getName in interface fr.paris.lutece.plugins.grubusiness.service.notification.INotificationServiceProviderCopyright © 2022 City of Paris. All rights reserved.