fr.paris.lutece.plugins.crmclient.business
Class CRMItem

java.lang.Object
  extended by fr.paris.lutece.plugins.crmclient.business.CRMItem
All Implemented Interfaces:
ICRMItem, java.io.Serializable

public class CRMItem
extends java.lang.Object
implements ICRMItem

AbstractCRMItem

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface fr.paris.lutece.plugins.crmclient.business.ICRMItem
ID_DEMAND, NOTIFICATION_MESSAGE, NOTIFICATION_OBJECT, NOTIFICATION_SENDER, STATUS_TEXT
 
Constructor Summary
CRMItem()
          Constructor
CRMItem(java.lang.String strCRMWebAppBaseURL, java.lang.String strCRMRestURL)
          Constructor
 
Method Summary
 java.lang.String getCRMWebAppBaseURL()
          
 java.util.Map<java.lang.String,java.lang.String> getParameters()
          Get the parameters
 java.lang.String getUrlForWS()
          Get the url for WS
 void putParameter(java.lang.String strKey, java.lang.String strValue)
          Put a new parameter to the map parameters
 void setCRMWebAppBaseURL(java.lang.String strCRMWebAppBaseURL)
          Set the CRM webapp base URL
 void setParameters(java.util.Map<java.lang.String,java.lang.String> mapParameters)
          Set the parameters of the crm item
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CRMItem

public CRMItem()
Constructor


CRMItem

public CRMItem(java.lang.String strCRMWebAppBaseURL,
               java.lang.String strCRMRestURL)
Constructor

Parameters:
strCRMWebAppBaseURL - the CRM webApp base URL
strCRMRestURL - the CRM REST URL
Method Detail

setParameters

public void setParameters(java.util.Map<java.lang.String,java.lang.String> mapParameters)
Set the parameters of the crm item

Specified by:
setParameters in interface ICRMItem
Parameters:
mapParameters - the parameters

getParameters

public java.util.Map<java.lang.String,java.lang.String> getParameters()
Get the parameters

Specified by:
getParameters in interface ICRMItem
Returns:
the parameters

putParameter

public void putParameter(java.lang.String strKey,
                         java.lang.String strValue)
Put a new parameter to the map parameters

Specified by:
putParameter in interface ICRMItem
Parameters:
strKey - the key of the parameter
strValue - the value of the parameter

getCRMWebAppBaseURL

public java.lang.String getCRMWebAppBaseURL()

Specified by:
getCRMWebAppBaseURL in interface ICRMItem
Returns:
strCRMWebAppBaseURL the CRM webapp URL

setCRMWebAppBaseURL

public void setCRMWebAppBaseURL(java.lang.String strCRMWebAppBaseURL)
Set the CRM webapp base URL

Specified by:
setCRMWebAppBaseURL in interface ICRMItem
Parameters:
strCRMWebAppBaseURL - the CRM webapp URL

getUrlForWS

public java.lang.String getUrlForWS()
Get the url for WS

Specified by:
getUrlForWS in interface ICRMItem
Returns:
the url for WS


Copyright © 2012 Mairie de Paris. All Rights Reserved.