Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterPropertiesSet()
      java.lang.String doProcess​(fr.paris.lutece.plugins.crmclient.business.ICRMItem crmItem)
      Calls WS to notify/update a demand
      java.lang.String getProcess​(fr.paris.lutece.plugins.crmclient.business.ICRMItem crmItem)
      Calls WS to get information on demand or user
      void setSignatureElements​(java.util.List<java.lang.String> listSignatureElements)
      Set the signature elements
      void setWebServiceCaller​(IWebServiceCaller webServiceCaller)
      Set the web service caller
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CRMClientWSProcessor

        public CRMClientWSProcessor()
    • Method Detail

      • doProcess

        public java.lang.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 java.lang.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 java.lang.Exception
        Specified by:
        afterPropertiesSet in interface org.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