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 java.lang.Object

CRMUserAttributeRest


Constructor Summary
CRMUserAttributesRest()
           
 
Method Summary
 java.lang.String getCRMUserAttribute(java.lang.String strUserGuid, java.lang.String strAttribute)
          Get the CRMUser attribute value
 java.lang.String getCRMUserAttributesJson(java.lang.String strUserGuid)
          Get the CRMUser attributes in JSON
 java.lang.String getCRMUserAttributesXml(java.lang.String strUserGuid)
          Get the CRMUser attributes in XML
 java.lang.String getUserGuidFromIdCRMUser(java.lang.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 java.lang.String getCRMUserAttributesXml(java.lang.String strUserGuid)
Get the CRMUser attributes in XML

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

getCRMUserAttributesJson

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

Parameters:
strUserGuid - the user guid
Returns:
the attributes

getCRMUserAttribute

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

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

getUserGuidFromIdCRMUser

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

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


Copyright © 2011 Mairie de Paris. All Rights Reserved.