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

java.lang.Object
  extended by fr.paris.lutece.plugins.crmclient.service.CRMClientService
All Implemented Interfaces:
fr.paris.lutece.plugins.crmclient.service.ICRMClientService

public class CRMClientService
extends Object
implements fr.paris.lutece.plugins.crmclient.service.ICRMClientService

AbstractCRMClientService


Field Summary
 
Fields inherited from interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
BEAN_SERVICE
 
Constructor Summary
CRMClientService()
           
 
Method Summary
 String getCRMUserAttribute(String strUserGuid, String strAttribute)
           
 String getCRMUserAttribute(String strUserGuid, String strAttribute, String strCRMWebAppCode)
           
 String getCRMUserAttributesJson(String strUserGuid)
           
 String getCRMUserAttributesJson(String strUserGuid, String strCRMWebAppCode)
           
 String getCRMUserAttributesXml(String strUserGuid)
           
 String getCRMUserAttributesXml(String strUserGuid, String strCRMWebAppCode)
           
 String getDemandJson(String strIdDemand)
           
 String getDemandJson(String strIdDemand, String strCRMWebAppCode)
           
 String getDemandXml(String strIdDemand)
           
 String getDemandXml(String strIdDemand, String strCRMWebAppCode)
           
 fr.paris.lutece.plugins.crmclient.service.queue.ICRMClientQueue getQueue()
          
 String getUserGuidFromIdCRMUser(String strIdCRMUser)
          Deprecated. 
 String getUserGuidFromIdCRMUser(String strIdCRMUser, String strCRMWebAppCode)
          Deprecated. 
 String getUserGuidFromIdDemand(String strIdDemand)
           
 String getUserGuidFromIdDemand(String strIdDemand, String strCRMWebAppCode)
           
 void notify(String strIdDemand, String strObject, String strMessage, String strSender)
          
 void notify(String strIdDemand, String strObject, String strMessage, String strSender, String strCRMWebAppCode)
          
 String sendCreateDemandByIdCRMUser(String strIdDemandType, String strIdCRMUser, String strIdStatusCRM, String strStatusText, String strData)
          Deprecated. 
 String sendCreateDemandByIdCRMUser(String strIdDemandType, String strIdCRMUser, String strIdStatusCRM, String strStatusText, String strData, String strCRMWebAppCode)
          Deprecated. 
 String sendCreateDemandByUserGuid(String strIdDemandType, String strUserGuid, String strIdStatusCRM, String strStatusText, String strData)
           
 String sendCreateDemandByUserGuid(String strIdDemandType, String strUserGuid, String strIdStatusCRM, String strStatusText, String strData, String strCRMWebAppCode)
           
 void sendDeleteDemand(String strIdDemand)
           
 void sendDeleteDemand(String strIdDemand, String strCRMWebAppCode)
           
 void sendUpdateDemand(String strIdDemand, String strStatusText)
          
 void sendUpdateDemand(String strIdDemand, String strStatusText, String strCRMWebAppCode)
          /**
 void sendUpdateDemand(String strIdDemand, String strStatusText, String strCRMWebAppCode, String strIdStatusCRM)
          
 void sendUpdateDemand(String strIdDemand, String strStatusText, String strCRMWebAppCode, String strIdStatusCRM, String strData)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CRMClientService

public CRMClientService()
Method Detail

getQueue

public fr.paris.lutece.plugins.crmclient.service.queue.ICRMClientQueue getQueue()

Specified by:
getQueue in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService

notify

public void notify(String strIdDemand,
                   String strObject,
                   String strMessage,
                   String strSender)

Specified by:
notify in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService

notify

public void notify(String strIdDemand,
                   String strObject,
                   String strMessage,
                   String strSender,
                   String strCRMWebAppCode)

Specified by:
notify in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService

sendUpdateDemand

public void sendUpdateDemand(String strIdDemand,
                             String strStatusText)
                      throws fr.paris.lutece.plugins.crmclient.util.CRMException

Specified by:
sendUpdateDemand in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

sendUpdateDemand

public void sendUpdateDemand(String strIdDemand,
                             String strStatusText,
                             String strCRMWebAppCode)
                      throws fr.paris.lutece.plugins.crmclient.util.CRMException
/**

Specified by:
sendUpdateDemand in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

sendUpdateDemand

public void sendUpdateDemand(String strIdDemand,
                             String strStatusText,
                             String strCRMWebAppCode,
                             String strIdStatusCRM)
                      throws fr.paris.lutece.plugins.crmclient.util.CRMException

Specified by:
sendUpdateDemand in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

sendUpdateDemand

public void sendUpdateDemand(String strIdDemand,
                             String strStatusText,
                             String strCRMWebAppCode,
                             String strIdStatusCRM,
                             String strData)
                      throws fr.paris.lutece.plugins.crmclient.util.CRMException

Specified by:
sendUpdateDemand in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

sendCreateDemandByUserGuid

public String sendCreateDemandByUserGuid(String strIdDemandType,
                                         String strUserGuid,
                                         String strIdStatusCRM,
                                         String strStatusText,
                                         String strData)
                                  throws fr.paris.lutece.plugins.crmclient.util.CRMException
Specified by:
sendCreateDemandByUserGuid in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

sendCreateDemandByUserGuid

public String sendCreateDemandByUserGuid(String strIdDemandType,
                                         String strUserGuid,
                                         String strIdStatusCRM,
                                         String strStatusText,
                                         String strData,
                                         String strCRMWebAppCode)
                                  throws fr.paris.lutece.plugins.crmclient.util.CRMException
Specified by:
sendCreateDemandByUserGuid in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

sendCreateDemandByIdCRMUser

@Deprecated
public String sendCreateDemandByIdCRMUser(String strIdDemandType,
                                                     String strIdCRMUser,
                                                     String strIdStatusCRM,
                                                     String strStatusText,
                                                     String strData)
                                   throws fr.paris.lutece.plugins.crmclient.util.CRMException
Deprecated. 

Specified by:
sendCreateDemandByIdCRMUser in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

sendCreateDemandByIdCRMUser

@Deprecated
public String sendCreateDemandByIdCRMUser(String strIdDemandType,
                                                     String strIdCRMUser,
                                                     String strIdStatusCRM,
                                                     String strStatusText,
                                                     String strData,
                                                     String strCRMWebAppCode)
                                   throws fr.paris.lutece.plugins.crmclient.util.CRMException
Deprecated. 

Specified by:
sendCreateDemandByIdCRMUser in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

sendDeleteDemand

public void sendDeleteDemand(String strIdDemand)
                      throws fr.paris.lutece.plugins.crmclient.util.CRMException
Specified by:
sendDeleteDemand in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

sendDeleteDemand

public void sendDeleteDemand(String strIdDemand,
                             String strCRMWebAppCode)
                      throws fr.paris.lutece.plugins.crmclient.util.CRMException
Specified by:
sendDeleteDemand in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

getUserGuidFromIdDemand

public String getUserGuidFromIdDemand(String strIdDemand)
                               throws fr.paris.lutece.plugins.crmclient.util.CRMException
Specified by:
getUserGuidFromIdDemand in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

getUserGuidFromIdDemand

public String getUserGuidFromIdDemand(String strIdDemand,
                                      String strCRMWebAppCode)
                               throws fr.paris.lutece.plugins.crmclient.util.CRMException
Specified by:
getUserGuidFromIdDemand in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

getDemandXml

public String getDemandXml(String strIdDemand)
                    throws fr.paris.lutece.plugins.crmclient.util.CRMException
Specified by:
getDemandXml in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

getDemandXml

public String getDemandXml(String strIdDemand,
                           String strCRMWebAppCode)
                    throws fr.paris.lutece.plugins.crmclient.util.CRMException
Specified by:
getDemandXml in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

getDemandJson

public String getDemandJson(String strIdDemand)
                     throws fr.paris.lutece.plugins.crmclient.util.CRMException
Specified by:
getDemandJson in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

getDemandJson

public String getDemandJson(String strIdDemand,
                            String strCRMWebAppCode)
                     throws fr.paris.lutece.plugins.crmclient.util.CRMException
Specified by:
getDemandJson in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

getUserGuidFromIdCRMUser

@Deprecated
public String getUserGuidFromIdCRMUser(String strIdCRMUser)
                                throws fr.paris.lutece.plugins.crmclient.util.CRMException
Deprecated. 

Specified by:
getUserGuidFromIdCRMUser in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

getUserGuidFromIdCRMUser

@Deprecated
public String getUserGuidFromIdCRMUser(String strIdCRMUser,
                                                  String strCRMWebAppCode)
                                throws fr.paris.lutece.plugins.crmclient.util.CRMException
Deprecated. 

Specified by:
getUserGuidFromIdCRMUser in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

getCRMUserAttribute

public String getCRMUserAttribute(String strUserGuid,
                                  String strAttribute)
                           throws fr.paris.lutece.plugins.crmclient.util.CRMException
Specified by:
getCRMUserAttribute in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

getCRMUserAttribute

public String getCRMUserAttribute(String strUserGuid,
                                  String strAttribute,
                                  String strCRMWebAppCode)
                           throws fr.paris.lutece.plugins.crmclient.util.CRMException
Specified by:
getCRMUserAttribute in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

getCRMUserAttributesXml

public String getCRMUserAttributesXml(String strUserGuid)
                               throws fr.paris.lutece.plugins.crmclient.util.CRMException
Specified by:
getCRMUserAttributesXml in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

getCRMUserAttributesXml

public String getCRMUserAttributesXml(String strUserGuid,
                                      String strCRMWebAppCode)
                               throws fr.paris.lutece.plugins.crmclient.util.CRMException
Specified by:
getCRMUserAttributesXml in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

getCRMUserAttributesJson

public String getCRMUserAttributesJson(String strUserGuid)
                                throws fr.paris.lutece.plugins.crmclient.util.CRMException
Specified by:
getCRMUserAttributesJson in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException

getCRMUserAttributesJson

public String getCRMUserAttributesJson(String strUserGuid,
                                       String strCRMWebAppCode)
                                throws fr.paris.lutece.plugins.crmclient.util.CRMException
Specified by:
getCRMUserAttributesJson in interface fr.paris.lutece.plugins.crmclient.service.ICRMClientService
Throws:
fr.paris.lutece.plugins.crmclient.util.CRMException


Copyright © 2013 Mairie de Paris. All Rights Reserved.