|
||||||||||
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.GroupResource
public final class GroupResource
Group resource
Field Summary |
---|
Fields inherited from class fr.cnes.sitools.common.SitoolsResource |
---|
DEFAULT_MEDIATYPE |
Constructor Summary | |
---|---|
GroupResource()
Negotiated content false To avoid a potential bug on content negotiation |
Method Summary | |
---|---|
org.restlet.representation.Representation |
delete(org.restlet.representation.Variant variant)
delete a group |
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 Group |
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 GroupResource()
Method Detail |
---|
public void sitoolsDescribe()
AbstractSitoolsResource
sitoolsDescribe
in class AbstractSitoolsResource
public org.restlet.representation.Representation getJSON()
GroupResource
getJSON
in interface GroupResource
public org.restlet.representation.Representation getXML()
GroupResource
getXML
in interface GroupResource
public org.restlet.representation.Representation getObject()
GroupResource
getObject
in interface GroupResource
@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)
update
in interface GroupResource
representation
- Group representationvariant
- client preferred media type
public void describePut(org.restlet.ext.wadl.MethodInfo info)
public org.restlet.representation.Representation delete(org.restlet.representation.Variant variant)
GroupResource
delete
in interface GroupResource
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 |