fr.paris.lutece.plugins.crm.modules.rest.rs
Class CRMUserAttributesRest

java.lang.Object
  extended by fr.paris.lutece.plugins.crm.modules.rest.rs.CRMUserAttributesRest

public class CRMUserAttributesRest
extends Object

CRMUserAttributeRest


Constructor Summary
CRMUserAttributesRest()
           
 
Method Summary
 String getCRMUserAttribute(String strUserGuid, String strAttribute)
          Get the CRMUser attribute value
 String getCRMUserAttributesJson(String strUserGuid)
          Get the CRMUser attributes in JSON
 String getCRMUserAttributesXml(String strUserGuid)
          Get the CRMUser attributes in XML
 String getUserGuidFromIdCRMUser(String strIdCRMUser)
          Get the user guid from a given id crm user
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CRMUserAttributesRest

public CRMUserAttributesRest()
Method Detail

getCRMUserAttributesXml

public String getCRMUserAttributesXml(String strUserGuid)
Get the CRMUser attributes in XML

Parameters:
strUserGuid - the user guid
Returns:
the CRMUser attributes

getCRMUserAttributesJson

public String getCRMUserAttributesJson(String strUserGuid)
Get the CRMUser attributes in JSON

Parameters:
strUserGuid - the user guid
Returns:
the attributes

getCRMUserAttribute

public String getCRMUserAttribute(String strUserGuid,
                                  String strAttribute)
Get the CRMUser attribute value

Parameters:
strUserGuid - the user guid
strAttribute - the attribute
Returns:
the attribute value

getUserGuidFromIdCRMUser

public String getUserGuidFromIdCRMUser(String strIdCRMUser)
Get the user guid from a given id crm user

Parameters:
strIdCRMUser - the id crm user
Returns:
the user guid


Copyright © 2013 Mairie de Paris. All Rights Reserved.