|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.crmclient.service.CRMClientService
public final class CRMClientService
CRMClientService
| Method Summary | |
|---|---|
void |
doProcessWS(ICRMItem crmItem)
Calls WS to notify/update a demand |
ICRMClientQueue |
getQueue()
Get the queue |
static CRMClientService |
getService()
Get the instance of the service |
void |
notify(java.lang.String strIdDemand,
java.lang.String strObject,
java.lang.String strMessage,
java.lang.String strSender)
Notify a demand |
void |
sendUpdateDemand(java.lang.String strIdDemand,
java.lang.String strStatusText)
Update a demand |
void |
setCRMClientQueue(ICRMClientQueue crmClientQueue)
Set the crm client queue |
void |
setCRMClientWebService(CRMClientWebService crmClientWebService)
Set the crm client webservice |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static CRMClientService getService()
public void setCRMClientQueue(ICRMClientQueue crmClientQueue)
crmClientQueue - the crm client queuepublic void setCRMClientWebService(CRMClientWebService crmClientWebService)
crmClientWebService - the crm client webservicepublic ICRMClientQueue getQueue()
public void notify(java.lang.String strIdDemand,
java.lang.String strObject,
java.lang.String strMessage,
java.lang.String strSender)
strIdDemand - the id demandstrObject - the objectstrMessage - the messagestrSender - the sender
public void sendUpdateDemand(java.lang.String strIdDemand,
java.lang.String strStatusText)
strIdDemand - the id demandstrStatusText - the status text
public void doProcessWS(ICRMItem crmItem)
throws fr.paris.lutece.util.httpaccess.HttpAccessException,
CRMClientException
crmItem - the crm item
fr.paris.lutece.util.httpaccess.HttpAccessException - exception if connexion problem
CRMClientException - exception if application not well configured
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||