fr.paris.lutece.plugins.mylutece.modules.rest.rs
Class MyLuteceRest

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.modules.rest.rs.MyLuteceRest

public class MyLuteceRest
extends java.lang.Object

CRMRest


Constructor Summary
MyLuteceRest()
           
 
Method Summary
 java.lang.String getMyLuteceUserAttribute(java.lang.String strUserGuid, java.lang.String strAttribute)
          Get the CRMUser attribute value
 java.lang.String getMyLuteceUserAttributesJson(java.lang.String strUserGuid)
          Get the CRMUser attributes in JSON
 java.lang.String getMyLuteceUserAttributesXml(java.lang.String strUserGuid)
          Get the CRMUser attributes in XML
 java.lang.String getWADL(javax.servlet.http.HttpServletRequest request)
          Get the wadl.xml content
 void setUserAttributesService(fr.paris.lutece.portal.service.security.UserAttributesService userAttributesService)
          Set the user attributes service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyLuteceRest

public MyLuteceRest()
Method Detail

setUserAttributesService

public void setUserAttributesService(fr.paris.lutece.portal.service.security.UserAttributesService userAttributesService)
Set the user attributes service

Parameters:
userAttributesService - the user attributes service

getWADL

public java.lang.String getWADL(@Context
                                javax.servlet.http.HttpServletRequest request)
Get the wadl.xml content

Parameters:
request - HttpServletRequest
Returns:
the content of wadl.xml

getMyLuteceUserAttributesXml

public java.lang.String getMyLuteceUserAttributesXml(java.lang.String strUserGuid)
Get the CRMUser attributes in XML

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

getMyLuteceUserAttributesJson

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

Parameters:
strUserGuid - the user guid
Returns:
the attributes

getMyLuteceUserAttribute

public java.lang.String getMyLuteceUserAttribute(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


Copyright © 2011 Mairie de Paris. All Rights Reserved.