Class CRMClientWSProcessor
- java.lang.Object
-
- fr.paris.lutece.plugins.crmclient.service.processor.CRMClientWSProcessor
-
- All Implemented Interfaces:
ICRMClientProcessor,org.springframework.beans.factory.InitializingBean
public class CRMClientWSProcessor extends java.lang.Object implements ICRMClientProcessor, org.springframework.beans.factory.InitializingBean
CRMClientWSProcessor
-
-
Field Summary
-
Fields inherited from interface fr.paris.lutece.plugins.crmclient.service.processor.ICRMClientProcessor
BEAN_PROCESSOR
-
-
Constructor Summary
Constructors Constructor Description CRMClientWSProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()java.lang.StringdoProcess(fr.paris.lutece.plugins.crmclient.business.ICRMItem crmItem)Calls WS to notify/update a demandjava.lang.StringgetProcess(fr.paris.lutece.plugins.crmclient.business.ICRMItem crmItem)Calls WS to get information on demand or uservoidsetSignatureElements(java.util.List<java.lang.String> listSignatureElements)Set the signature elementsvoidsetWebServiceCaller(IWebServiceCaller webServiceCaller)Set the web service caller
-
-
-
Method Detail
-
doProcess
public java.lang.String doProcess(fr.paris.lutece.plugins.crmclient.business.ICRMItem crmItem) throws fr.paris.lutece.plugins.crmclient.util.CRMExceptionCalls WS to notify/update a demand- Specified by:
doProcessin interfaceICRMClientProcessor- Parameters:
crmItem- the crm item- Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException- exception if there are errors
-
getProcess
public java.lang.String getProcess(fr.paris.lutece.plugins.crmclient.business.ICRMItem crmItem) throws fr.paris.lutece.plugins.crmclient.util.CRMExceptionCalls WS to get information on demand or user- Specified by:
getProcessin interfaceICRMClientProcessor- Parameters:
crmItem- the crm item- Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException- exception if there are errors
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
java.lang.Exception
-
setSignatureElements
public void setSignatureElements(java.util.List<java.lang.String> listSignatureElements)
Set the signature elements- Parameters:
listSignatureElements- the signature elements
-
setWebServiceCaller
public void setWebServiceCaller(IWebServiceCaller webServiceCaller)
Set the web service caller- Parameters:
webServiceCaller- the web service caller
-
-