fr.cnes.sitools.service.storage
Class StorageResource
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.service.storage.AbstractStorageResource
fr.cnes.sitools.service.storage.StorageResource
public final class StorageResource
- extends AbstractStorageResource
Storage resource
- Author:
- m.marseille (AKKA Technologies)
Method Summary |
org.restlet.representation.Representation |
deleteDirectory(org.restlet.representation.Variant variant)
Delete a directory |
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 |
retrieveDirectory(org.restlet.representation.Variant variant)
Get a directory that has been set up |
void |
sitoolsDescribe()
Method implementation mandatory |
org.restlet.representation.Representation |
updateDirectory(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Update a single directory |
Methods inherited from class fr.cnes.sitools.common.SitoolsResource |
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, configure, getNotificationObject, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StorageResource
public StorageResource()
sitoolsDescribe
public void sitoolsDescribe()
- Description copied from class:
AbstractSitoolsResource
- Method implementation mandatory
- Specified by:
sitoolsDescribe
in class AbstractSitoolsResource
retrieveDirectory
@Get
public org.restlet.representation.Representation retrieveDirectory(org.restlet.representation.Variant variant)
- Get a directory that has been set up
- Parameters:
variant
- the variant sent
- Returns:
- a representation of the list as a response
describeGet
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
updateDirectory
@Put
public org.restlet.representation.Representation updateDirectory(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
- Update a single directory
- Parameters:
representation
- the representation of the updated directoryvariant
- the variant sent by the request
- Returns:
- a representation of the updated directory as a response
describePut
public void describePut(org.restlet.ext.wadl.MethodInfo info)
deleteDirectory
@Delete
public org.restlet.representation.Representation deleteDirectory(org.restlet.representation.Variant variant)
- Delete a directory
- Parameters:
variant
- the variant sent
- Returns:
- a response indicating that delete was successful
describeDelete
public void describeDelete(org.restlet.ext.wadl.MethodInfo info)
Copyright © 2010-2013 CNES. All Rights Reserved.