fr.cnes.sitools.security
Class GroupsResource

java.lang.Object
  extended by ExtendedWadlServerResource
      extended by fr.cnes.sitools.common.resource.AbstractSitoolsResource
          extended by fr.cnes.sitools.common.SitoolsResource
              extended by fr.cnes.sitools.security.UsersAndGroupsResource
                  extended by fr.cnes.sitools.security.GroupsResource

public final class GroupsResource
extends UsersAndGroupsResource

Groups resource

Author:
AKKA

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
GroupsResource()
           
 
Method Summary
 void describeGet(org.restlet.ext.wadl.MethodInfo info, java.lang.String path)
           
 void describePost(org.restlet.ext.wadl.MethodInfo info)
           
 org.restlet.representation.Representation getJSON()
          Get JSON representation
 org.restlet.representation.Representation getObject()
          Get Java Class representation
 org.restlet.representation.Representation getXML()
          Get XML representation
 org.restlet.representation.Representation newGroup(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
          Create a new Group
 void sitoolsDescribe()
          Method implementation mandatory
 
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.SitoolsResource
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, configure, getNotificationObject, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace
 
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

GroupsResource

public GroupsResource()
Method Detail

sitoolsDescribe

public void sitoolsDescribe()
Description copied from class: AbstractSitoolsResource
Method implementation mandatory

Specified by:
sitoolsDescribe in class AbstractSitoolsResource

getXML

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

Returns:
a representation in XML format

describeGet

public void describeGet(org.restlet.ext.wadl.MethodInfo info,
                        java.lang.String path)

getJSON

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

Returns:
a representation in JSON format

getObject

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

Returns:
a representation in Java Class format

newGroup

@Post
public org.restlet.representation.Representation newGroup(org.restlet.representation.Representation representation,
                                                               org.restlet.representation.Variant variant)
Create a new Group

Parameters:
representation - Group representation
variant - client preferred media type
Returns:
Representation

describePost

public void describePost(org.restlet.ext.wadl.MethodInfo info)


Copyright © 2010-2013 CNES. All Rights Reserved.