fr.cnes.sitools.security.authorization
Class AuthorizationCollectionResource

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.authorization.AbstractAuthorizationResource
                  extended by fr.cnes.sitools.security.authorization.AuthorizationCollectionResource

public final class AuthorizationCollectionResource
extends AbstractAuthorizationResource

Class Resource for managing ResourceAuthorization Collection (GET, POST)

Author:
jp.boignard (AKKA Technologies)

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
AuthorizationCollectionResource()
           
 
Method Summary
 void describeGet(org.restlet.ext.wadl.MethodInfo info)
           
 void describePost(org.restlet.ext.wadl.MethodInfo info)
           
 org.restlet.representation.Representation newResourceAuthorization(org.restlet.representation.Representation representation, org.restlet.representation.Variant variant)
          Update / Validate existing authorization
 org.restlet.representation.Representation retrieveResourceAuthorization(org.restlet.representation.Variant variant)
          get all objects
 void sitoolsDescribe()
          Method implementation mandatory
 
Methods inherited from class fr.cnes.sitools.security.authorization.AbstractAuthorizationResource
configure, doInit, getAuthorizationApplication, getResId, getStore
 
Methods inherited from class fr.cnes.sitools.common.SitoolsResource
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, getNotificationObject, getRepresentation, 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

AuthorizationCollectionResource

public AuthorizationCollectionResource()
Method Detail

sitoolsDescribe

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

Specified by:
sitoolsDescribe in class AbstractSitoolsResource

newResourceAuthorization

@Post
public org.restlet.representation.Representation newResourceAuthorization(org.restlet.representation.Representation representation,
                                                                               org.restlet.representation.Variant variant)
Update / Validate existing authorization

Parameters:
representation - ResourceAuthorization Representation
variant - Variant client preferred media type
Returns:
Response Representation of ResourceAuthorization

describePost

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

retrieveResourceAuthorization

@Get
public org.restlet.representation.Representation retrieveResourceAuthorization(org.restlet.representation.Variant variant)
get all objects

Parameters:
variant - client preferred media type
Returns:
Representation

describeGet

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


Copyright © 2010-2013 CNES. All Rights Reserved.