public interface ICRMClientService
Modifier and Type | Field and Description |
---|---|
static String |
BEAN_SERVICE |
Modifier and Type | Method and Description |
---|---|
String |
getCRMUserAttribute(String strUserGuid,
String strAttribute)
Get the CRMUser attribute value
|
String |
getCRMUserAttribute(String strUserGuid,
String strAttribute,
String strCRMWebAppCode)
Get the CRMUser attribute value
|
String |
getCRMUserAttributesJson(String strUserGuid)
Get the CRMUser attributes in JSON
|
String |
getCRMUserAttributesJson(String strUserGuid,
String strCRMWebAppCode)
Get the CRMUser attributes in JSON
|
String |
getCRMUserAttributesXml(String strUserGuid)
Get the CRMUser attributes in XML
|
String |
getCRMUserAttributesXml(String strUserGuid,
String strCRMWebAppCode)
Get the CRMUser attributes in XML
|
String |
getDemandJson(String strIdDemand)
Get the Json of the demand
|
String |
getDemandJson(String strIdDemand,
String strCRMWebAppCode)
Get the Json of the demand
|
String |
getDemandXml(String strIdDemand)
Get the XML of the demand
|
String |
getDemandXml(String strIdDemand,
String strCRMWebAppCode)
Get the XML of the demand
|
ICRMClientQueue |
getQueue()
Get the queue
|
String |
getUserGuidFromIdCRMUser(String strIdCRMUser)
Deprecated.
|
String |
getUserGuidFromIdCRMUser(String strIdCRMUser,
String strCRMWebAppCode)
Deprecated.
|
String |
getUserGuidFromIdDemand(String strIdDemand)
This method calls Rest WS to get the user guid from a given id demand
|
String |
getUserGuidFromIdDemand(String strIdDemand,
String strCRMWebAppCode)
This method calls Rest WS to get the user guid from a given id demand
|
void |
notify(String strIdDemand,
String strObject,
String strMessage,
String strSender)
Notify a demand
|
void |
notify(String strIdDemand,
String strObject,
String strMessage,
String strSender,
String strCRMWebAppCode)
Notify a demand
|
String |
sendCreateDemandByIdCRMUser(String strIdDemandType,
String strIdCRMUser,
String strIdStatusCRM,
String strStatusText,
String strData)
Deprecated.
|
String |
sendCreateDemandByIdCRMUser(String strIdDemandType,
String strIdCRMUser,
String strIdStatusCRM,
String strStatusText,
String strData,
String strCRMWebAppCode)
Deprecated.
|
String |
sendCreateDemandByUserGuid(String strIdDemandType,
String strUserGuid,
String strIdStatusCRM,
String strStatusText,
String strData)
This method calls create a new demand and gets the id demand
|
String |
sendCreateDemandByUserGuid(String strIdDemandType,
String strUserGuid,
String strIdStatusCRM,
String strStatusText,
String strData,
String strCRMWebAppCode)
This method calls create a new demand and gets the id demand
|
void |
sendDeleteDemand(String strIdDemand)
This method delete a demand
|
void |
sendDeleteDemand(String strIdDemand,
String strCRMWebAppCode)
This method delete a demand
|
void |
sendUpdateDemand(String strIdDemand,
String strStatusText)
Update a demand
|
void |
sendUpdateDemand(String strIdDemand,
String strStatusText,
String strCRMWebAppCode)
Update a demand
|
void |
sendUpdateDemand(String strIdDemand,
String strStatusText,
String strCRMWebAppCode,
String strIdStatusCRM)
Update a demand
|
void |
sendUpdateDemand(String strIdDemand,
String strStatusText,
String strCRMWebAppCode,
String strIdStatusCRM,
String strData)
Update a demand
|
static final String BEAN_SERVICE
ICRMClientQueue getQueue()
void notify(String strIdDemand, String strObject, String strMessage, String strSender)
strIdDemand
- the id demandstrObject
- the objectstrMessage
- the messagestrSender
- the sendervoid notify(String strIdDemand, String strObject, String strMessage, String strSender, String strCRMWebAppCode)
strIdDemand
- the id demandstrObject
- the objectstrMessage
- the messagestrSender
- the senderstrCRMWebAppCode
- the CRM webapp codevoid sendUpdateDemand(String strIdDemand, String strStatusText) throws CRMException
strIdDemand
- the id demandstrStatusText
- the status textCRMException
- CRMExceptionvoid sendUpdateDemand(String strIdDemand, String strStatusText, String strCRMWebAppCode) throws CRMException
strIdDemand
- the id demandstrStatusText
- the status textstrCRMWebAppCode
- the CRM webapp codeCRMException
- CRMExceptionvoid sendUpdateDemand(String strIdDemand, String strStatusText, String strCRMWebAppCode, String strIdStatusCRM) throws CRMException
strIdDemand
- the id demandstrStatusText
- the status textstrCRMWebAppCode
- the CRM webapp codestrIdStatusCRM
- id of CRM statusCRMException
- CRMExceptionvoid sendUpdateDemand(String strIdDemand, String strStatusText, String strCRMWebAppCode, String strIdStatusCRM, String strData) throws CRMException
strIdDemand
- the id demandstrStatusText
- the status textstrCRMWebAppCode
- the CRM webapp codestrIdStatusCRM
- id of CRM statusstrData
- the value of the parameter demand_data insert in the demand linkCRMException
- the exception if there is a problemString sendCreateDemandByUserGuid(String strIdDemandType, String strUserGuid, String strIdStatusCRM, String strStatusText, String strData) throws CRMException
strIdDemandType
- id of demand typestrUserGuid
- login of user authstrIdStatusCRM
- id of CRM statusstrStatusText
- status textstrData
- the value of the parameter demand_data insert in the demand linkCRMException
- the exception if there is a problemString sendCreateDemandByUserGuid(String strIdDemandType, String strUserGuid, String strIdStatusCRM, String strStatusText, String strData, String strCRMWebAppCode) throws CRMException
strIdDemandType
- id of demand typestrUserGuid
- login of user authstrIdStatusCRM
- id of CRM statusstrStatusText
- status textstrData
- the value of the parameter demand_data insert in the demand linkstrCRMWebAppCode
- the CRM webapp codeCRMException
- the exception if there is a problem@Deprecated String sendCreateDemandByIdCRMUser(String strIdDemandType, String strIdCRMUser, String strIdStatusCRM, String strStatusText, String strData) throws CRMException
strIdDemandType
- id of demand typestrIdCRMUser
- the id crm userstrIdStatusCRM
- id of CRM statusstrStatusText
- status textstrData
- the value of the parameter demand_data insert in the demand linkCRMException
- the exception if there is a problem@Deprecated String sendCreateDemandByIdCRMUser(String strIdDemandType, String strIdCRMUser, String strIdStatusCRM, String strStatusText, String strData, String strCRMWebAppCode) throws CRMException
strIdDemandType
- id of demand typestrIdCRMUser
- the id crm userstrIdStatusCRM
- id of CRM statusstrStatusText
- status textstrData
- the value of the parameter demand_data insert in the demand linkstrCRMWebAppCode
- the CRM webapp codeCRMException
- the exception if there is a problemvoid sendDeleteDemand(String strIdDemand) throws CRMException
strIdDemand
- the id of the demandHttpAccessException
- the exception if there is a problemCRMException
void sendDeleteDemand(String strIdDemand, String strCRMWebAppCode) throws CRMException
strIdDemand
- the id of the demandstrCRMWebAppCode
- the CRM webapp codeCRMException
- the exception if there is a problemString getUserGuidFromIdDemand(String strIdDemand) throws CRMException
strIdDemand
- the id demandCRMException
- the exception if there is a problemString getUserGuidFromIdDemand(String strIdDemand, String strCRMWebAppCode) throws CRMException
strIdDemand
- the id demandstrCRMWebAppCode
- the CRM webapp codeCRMException
- the exception if there is a problem@Deprecated String getUserGuidFromIdCRMUser(String strIdCRMUser) throws CRMException
strIdCRMUser
- the id userCRMException
- the exception if there is a problem@Deprecated String getUserGuidFromIdCRMUser(String strIdCRMUser, String strCRMWebAppCode) throws CRMException
strIdCRMUser
- the id userstrCRMWebAppCode
- the CRM webapp codeCRMException
- the exception if there is a problemString getDemandXml(String strIdDemand) throws CRMException
strIdDemand
- the id demandCRMException
- the exception if there is a problemString getDemandXml(String strIdDemand, String strCRMWebAppCode) throws CRMException
strIdDemand
- the id demandstrCRMWebAppCode
- the CRM webapp codeCRMException
- the exception if there is a problemString getDemandJson(String strIdDemand) throws CRMException
strIdDemand
- the id of the demandCRMException
- the exception if there is a problemString getDemandJson(String strIdDemand, String strCRMWebAppCode) throws CRMException
strIdDemand
- the id of the demandstrCRMWebAppCode
- the CRM webapp codeCRMException
- the exception if there is a problemString getCRMUserAttribute(String strUserGuid, String strAttribute) throws CRMException
strUserGuid
- the user guidstrAttribute
- the attributeCRMException
- the exception if there is a problemString getCRMUserAttribute(String strUserGuid, String strAttribute, String strCRMWebAppCode) throws CRMException
strUserGuid
- the user guidstrAttribute
- the attributestrCRMWebAppCode
- the CRM webapp codeCRMException
- the exception if there is a problemString getCRMUserAttributesXml(String strUserGuid) throws CRMException
strUserGuid
- the user guidCRMException
- the exception if there is a problemString getCRMUserAttributesXml(String strUserGuid, String strCRMWebAppCode) throws CRMException
strUserGuid
- the user guidstrCRMWebAppCode
- the CRM webapp codeCRMException
- the exception if there is a problemString getCRMUserAttributesJson(String strUserGuid) throws CRMException
strUserGuid
- the user guidCRMException
- the exception if there is a problemString getCRMUserAttributesJson(String strUserGuid, String strCRMWebAppCode) throws CRMException
strUserGuid
- the user guidstrCRMWebAppCode
- the CRM webapp codeCRMException
- the exception if there is a problemCopyright © 2014 Mairie de Paris. All rights reserved.