|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.security.UsersAndGroupsResource
fr.cnes.sitools.security.UserResource
public final class UserResource
Resource for managing single User
[3317773]
21/06/2011 m.gond {}
Field Summary |
---|
Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
---|
DEFAULT_MEDIATYPE |
Constructor Summary | |
---|---|
UserResource()
|
Method Summary | |
---|---|
org.restlet.representation.Representation |
delete(org.restlet.representation.Variant variant)
delete a user |
void |
describeDelete(org.restlet.ext.wadl.MethodInfo info)
|
void |
describeGet(org.restlet.ext.wadl.MethodInfo info)
|
void |
describePut(org.restlet.ext.wadl.MethodInfo info)
|
org.restlet.representation.Representation |
get(org.restlet.representation.Variant variant)
|
org.restlet.representation.Representation |
getJSON()
Get JSON representation |
org.restlet.representation.Representation |
getObject()
Get class representation |
org.restlet.representation.Representation |
getXML()
Get XML representation |
void |
sitoolsDescribe()
Method implementation mandatory |
org.restlet.representation.Representation |
update(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
update a user |
Methods inherited from class fr.cnes.sitools.security.UsersAndGroupsResource |
---|
checkPropertiesName, doInit, getGroupName, getGroupObject, getMediaTypes, getRepresentation, getStore, getUserId, getUsersAndGroupsAdministration |
Methods inherited from class fr.cnes.sitools.common.resource.AbstractSitoolsResource |
---|
getMediaType |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserResource()
Method Detail |
---|
public void sitoolsDescribe()
AbstractSitoolsResource
sitoolsDescribe
in class AbstractSitoolsResource
public org.restlet.representation.Representation getJSON()
UserResource
getJSON
in interface UserResource
public org.restlet.representation.Representation getXML()
UserResource
getXML
in interface UserResource
public org.restlet.representation.Representation getObject()
UserResource
getObject
in interface UserResource
@Get public org.restlet.representation.Representation get(org.restlet.representation.Variant variant)
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
@Put public org.restlet.representation.Representation update(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
UserResource
update
in interface UserResource
representation
- the representation usedvariant
- the variant used
public void describePut(org.restlet.ext.wadl.MethodInfo info)
public org.restlet.representation.Representation delete(org.restlet.representation.Variant variant)
UserResource
delete
in interface UserResource
variant
- the variant used
public void describeDelete(org.restlet.ext.wadl.MethodInfo info)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |