|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.crm.service.CRMService
public final class CRMService
CRMService
Method Summary | |
---|---|
void |
deleteDemand(int nIdDemand)
Delete a demand |
static CRMService |
getService()
Get the instance of CRMService |
void |
notify(int nIdDemand,
java.lang.String strObject,
java.lang.String strMessage,
java.lang.String strSender)
Create a notification for a demand |
int |
registerDemand(int nIdDemandType,
int nIdCRMUser,
java.lang.String strData,
java.lang.String strStatusText,
int nIdStatusCRM)
Register the demand |
int |
registerDemand(int nIdDemandType,
java.lang.String strUserGuid,
java.lang.String strData,
java.lang.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,
java.lang.String strData,
java.lang.String strStatusText,
int nIdStatusCRM)
Set the status of the demand |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static CRMService getService()
CRMService
public int registerDemand(int nIdDemandType, java.lang.String strUserGuid, java.lang.String strData, java.lang.String strStatusText, int nIdStatusCRM)
nIdDemandType
- the id demand typestrUserGuid
- the user guidstrData
- the datastrStatusText
- the status of the demandnIdStatusCRM
- the id status crm
public int registerDemand(int nIdDemandType, int nIdCRMUser, java.lang.String strData, java.lang.String strStatusText, int nIdStatusCRM)
nIdDemandType
- the id demand typenIdCRMUser
- the ID CRM userstrData
- the datastrStatusText
- the status of the demandnIdStatusCRM
- the id status crm
public void setStatus(int nIdDemand, java.lang.String strData, java.lang.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, java.lang.String strObject, java.lang.String strMessage, java.lang.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 service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |