fr.paris.lutece.plugins.crmclient.service
Class CRMClientWebService

java.lang.Object
  extended by fr.paris.lutece.plugins.crmclient.service.CRMClientWebService

public class CRMClientWebService
extends java.lang.Object

CRMClientWebService


Constructor Summary
CRMClientWebService()
           
 
Method Summary
 void doProcess(ICRMItem crmItem)
          Calls the CRM Notification REST WS to notify/update a demand
 void setSignatureElements(java.util.List<java.lang.String> listSignatureElements)
          Set the signature elements
 void setWebServiceCaller(IWebServiceCaller webServiceCaller)
          Set the webservice caller
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CRMClientWebService

public CRMClientWebService()
Method Detail

setWebServiceCaller

public void setWebServiceCaller(IWebServiceCaller webServiceCaller)
Set the webservice caller

Parameters:
webServiceCaller - the webservice caller

setSignatureElements

public void setSignatureElements(java.util.List<java.lang.String> listSignatureElements)
Set the signature elements

Parameters:
listSignatureElements - the signature elements

doProcess

public void doProcess(ICRMItem crmItem)
               throws fr.paris.lutece.util.httpaccess.HttpAccessException,
                      CRMClientException
Calls the CRM Notification REST WS to notify/update a demand

Parameters:
crmItem - the crm item
Throws:
fr.paris.lutece.util.httpaccess.HttpAccessException - exception if connexion problem
CRMClientException - exception if application not well configured


Copyright © 2011 Mairie de Paris. All Rights Reserved.