public final class CRMService extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
deleteDemand(int nIdDemand)
Delete a demand
|
static CRMService |
getService()
Get the instance of
CRMService |
void |
notify(int nIdDemand,
String strObject,
String strMessage,
String strSender)
Create a notification for a demand
|
int |
registerDemand(int nIdDemandType,
int nIdCRMUser,
String strData,
String strStatusText,
int nIdStatusCRM)
Register the demand
|
int |
registerDemand(int nIdDemandType,
String strUserGuid,
String strData,
String strStatusText,
int nIdStatusCRM)
Register the demand
|
void |
setCRMUserService(CRMUserService crmUserService)
Set the crm user service
|
void |
setDemandService(DemandService demandService)
Set the demand service
|
void |
setNotificationService(NotificationService notificationService)
Set the notification service
|
void |
setStatus(int nIdDemand,
String strData,
String strStatusText,
int nIdStatusCRM)
Set the status of the demand
|
public static CRMService getService()
CRMServicepublic int registerDemand(int nIdDemandType,
String strUserGuid,
String strData,
String strStatusText,
int nIdStatusCRM)
nIdDemandType - the id demand typestrUserGuid - the user guidstrData - the datastrStatusText - the status of the demandnIdStatusCRM - the id status crmpublic int registerDemand(int nIdDemandType,
int nIdCRMUser,
String strData,
String strStatusText,
int nIdStatusCRM)
nIdDemandType - the id demand typenIdCRMUser - the ID CRM userstrData - the datastrStatusText - the status of the demandnIdStatusCRM - the id status crmpublic void setStatus(int nIdDemand,
String strData,
String strStatusText,
int nIdStatusCRM)
nIdDemand - the id demandstrData - the datastrStatusText - the status of the demandnIdStatusCRM - the id status crmpublic void deleteDemand(int nIdDemand)
nIdDemand - the id demandpublic void notify(int nIdDemand,
String strObject,
String strMessage,
String strSender)
nIdDemand - the id demandstrObject - the object of the notificationstrMessage - the message of the notificationstrSender - the senderpublic void setNotificationService(NotificationService notificationService)
notificationService - the notification servicepublic void setDemandService(DemandService demandService)
demandService - the demand servicepublic void setCRMUserService(CRMUserService crmUserService)
crmUserService - the crm user serviceCopyright © 2015 City of Paris. All rights reserved.