fr.cnes.sitools.security
Class UsersResource
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.security.UsersAndGroupsResource
fr.cnes.sitools.security.UsersResource
public final class UsersResource
- extends UsersAndGroupsResource
Resource for users management
[3317773]
21/06/2011 m.gond {}
- Author:
- jp.boignard (AKKA Technologies)
Method Summary |
void |
describeGet(org.restlet.ext.wadl.MethodInfo info,
java.lang.String path)
|
void |
describePost(org.restlet.ext.wadl.MethodInfo info)
|
void |
describePut(org.restlet.ext.wadl.MethodInfo info)
|
org.restlet.representation.Representation |
get(org.restlet.representation.Variant variant)
Get an XML representation |
org.restlet.representation.Representation |
newUser(org.restlet.representation.Representation representation)
Create a new user from representation |
void |
sitoolsDescribe()
Method implementation mandatory |
org.restlet.representation.Representation |
update(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Update Group |
Methods inherited from class fr.cnes.sitools.common.SitoolsResource |
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, configure, getNotificationObject, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UsersResource
public UsersResource()
sitoolsDescribe
public void sitoolsDescribe()
- Description copied from class:
AbstractSitoolsResource
- Method implementation mandatory
- Specified by:
sitoolsDescribe
in class AbstractSitoolsResource
get
@Get
public org.restlet.representation.Representation get(org.restlet.representation.Variant variant)
- Get an XML representation
- Parameters:
variant
- The variant needed
- Returns:
- an XML representation of the user
describeGet
public void describeGet(org.restlet.ext.wadl.MethodInfo info,
java.lang.String path)
update
@Put
public org.restlet.representation.Representation update(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
- Update Group
- Parameters:
representation
- input User representationvariant
- client preferred media type
- Returns:
- Representation
describePut
public void describePut(org.restlet.ext.wadl.MethodInfo info)
newUser
@Post
public org.restlet.representation.Representation newUser(org.restlet.representation.Representation representation)
- Create a new user from representation
- Parameters:
representation
- the representation to use for creation
- Returns:
- the representation of the answer to the creation
describePost
public void describePost(org.restlet.ext.wadl.MethodInfo info)
Copyright © 2010-2013 CNES. All Rights Reserved.