public class CRMClientWSProcessor extends Object implements ICRMClientProcessor, org.springframework.beans.factory.InitializingBean
BEAN_PROCESSOR
Constructor and Description |
---|
CRMClientWSProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
String |
doProcess(fr.paris.lutece.plugins.crmclient.business.ICRMItem crmItem)
Calls WS to notify/update a demand
|
String |
getProcess(fr.paris.lutece.plugins.crmclient.business.ICRMItem crmItem)
Calls WS to get information on demand or user
|
void |
setSignatureElements(List<String> listSignatureElements)
Set the signature elements
|
void |
setWebServiceCaller(IWebServiceCaller webServiceCaller)
Set the web service caller
|
public String doProcess(fr.paris.lutece.plugins.crmclient.business.ICRMItem crmItem) throws fr.paris.lutece.plugins.crmclient.util.CRMException
doProcess
in interface ICRMClientProcessor
crmItem
- the crm itemfr.paris.lutece.plugins.crmclient.util.CRMException
- exception if there are errorspublic String getProcess(fr.paris.lutece.plugins.crmclient.business.ICRMItem crmItem) throws fr.paris.lutece.plugins.crmclient.util.CRMException
getProcess
in interface ICRMClientProcessor
crmItem
- the crm itemfr.paris.lutece.plugins.crmclient.util.CRMException
- exception if there are errorspublic void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public void setSignatureElements(List<String> listSignatureElements)
listSignatureElements
- the signature elementspublic void setWebServiceCaller(IWebServiceCaller webServiceCaller)
webServiceCaller
- the web service callerCopyright © 2019 City of Paris. All rights reserved.