fr.paris.lutece.plugins.crmclient.service.processor
Class CRMClientWSProcessor

java.lang.Object
  extended by fr.paris.lutece.plugins.crmclient.service.processor.CRMClientWSProcessor
All Implemented Interfaces:
ICRMClientProcessor, org.springframework.beans.factory.InitializingBean

public class CRMClientWSProcessor
extends 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
CRMClientWSProcessor()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CRMClientWSProcessor

public CRMClientWSProcessor()
Method Detail

doProcess

public String doProcess(fr.paris.lutece.plugins.crmclient.business.ICRMItem crmItem)
                 throws fr.paris.lutece.plugins.crmclient.util.CRMException
Calls WS to notify/update a demand

Specified by:
doProcess in interface ICRMClientProcessor
Parameters:
crmItem - the crm item
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException - exception if there are errors

getProcess

public String getProcess(fr.paris.lutece.plugins.crmclient.business.ICRMItem crmItem)
                  throws fr.paris.lutece.plugins.crmclient.util.CRMException
Calls WS to get information on demand or user

Specified by:
getProcess in interface ICRMClientProcessor
Parameters:
crmItem - the crm item
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException - exception if there are errors

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

setSignatureElements

public void setSignatureElements(List<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


Copyright © 2013 Mairie de Paris. All Rights Reserved.