fr.cnes.sitools.security.api
Interface GroupResource

All Known Implementing Classes:
GroupResource

public interface GroupResource

REST API for CRUD operations on a Group resource

Author:
AKKA

Method Summary
 org.restlet.representation.Representation delete(org.restlet.representation.Variant variant)
          delete a group
 org.restlet.representation.Representation getJSON()
          Get JSON representation
 org.restlet.representation.Representation getObject()
          Get class representation
 org.restlet.representation.Representation getXML()
          Get XML representation
 org.restlet.representation.Representation update(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
          update a group
 

Method Detail

getXML

@Get(value="xml")
org.restlet.representation.Representation getXML()
Get XML representation

Returns:
XML

getJSON

@Get(value="json")
org.restlet.representation.Representation getJSON()
Get JSON representation

Returns:
JSON

getObject

@Get(value="class")
org.restlet.representation.Representation getObject()
Get class representation

Returns:
class

update

@Put
org.restlet.representation.Representation update(org.restlet.representation.Representation representation,
                                                     org.restlet.representation.Variant variant)
update a group

Parameters:
representation - the representation used
variant - the variant used
Returns:
a representation of the group

delete

@Delete
org.restlet.representation.Representation delete(org.restlet.representation.Variant variant)
delete a group

Parameters:
variant - the variant used
Returns:
a representation of the group deleted


Copyright © 2010-2013 CNES. All Rights Reserved.