fr.cnes.sitools.security.authorization
Class AuthorizationCollectionResource
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.security.authorization.AbstractAuthorizationResource
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)
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.common.SitoolsResource |
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, getNotificationObject, getRepresentation, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthorizationCollectionResource
public AuthorizationCollectionResource()
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 Representationvariant
- 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.