|
||||||||||
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.role.AbstractRoleResource
fr.cnes.sitools.role.RoleGroupsResource
public class RoleGroupsResource
Resource for managing Role and Groups association
Field Summary |
---|
Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
---|
DEFAULT_MEDIATYPE |
Constructor Summary | |
---|---|
RoleGroupsResource()
|
Method Summary | |
---|---|
void |
describeGet(org.restlet.ext.wadl.MethodInfo info)
|
void |
describePut(org.restlet.ext.wadl.MethodInfo info)
|
org.restlet.representation.Representation |
getJSON()
Gets JSON representation of role groups list |
org.restlet.representation.Representation |
getObject()
Gets Object representation of role groups list |
org.restlet.representation.Representation |
getXML()
Gets XML representation of role groups list |
void |
sitoolsDescribe()
Method implementation mandatory |
org.restlet.representation.Representation |
updateRole(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Update role |
Methods inherited from class fr.cnes.sitools.role.AbstractRoleResource |
---|
doInit, getObject, getRepresentation, getRoleApplication, getRoleId, getStore |
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 RoleGroupsResource()
Method Detail |
---|
public void sitoolsDescribe()
AbstractSitoolsResource
sitoolsDescribe
in class AbstractSitoolsResource
@Get(value="xml") public org.restlet.representation.Representation getXML()
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
@Get(value="json") public org.restlet.representation.Representation getJSON()
@Get(value="class") public org.restlet.representation.Representation getObject()
@Put public org.restlet.representation.Representation updateRole(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
representation
- inputvariant
- client preferred media type
public void describePut(org.restlet.ext.wadl.MethodInfo info)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |