fr.cnes.sitools.service.storage
Class StorageCopyResource
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.service.storage.StorageCopyResource
public class StorageCopyResource
- extends SitoolsResource
A resource to copy the content of a storage into another one
- Author:
- m.gond
Method Summary |
org.restlet.representation.Representation |
copyDirectory(org.restlet.representation.Representation entity,
org.restlet.representation.Variant variant)
Method to copy the content of a storage into another one |
void |
describePut(org.restlet.ext.wadl.MethodInfo info)
|
void |
sitoolsDescribe()
Method implementation mandatory |
Methods inherited from class fr.cnes.sitools.common.SitoolsResource |
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, configure, getNotificationObject, getRepresentation, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StorageCopyResource
public StorageCopyResource()
sitoolsDescribe
public void sitoolsDescribe()
- Description copied from class:
AbstractSitoolsResource
- Method implementation mandatory
- Specified by:
sitoolsDescribe
in class AbstractSitoolsResource
copyDirectory
@Put
public org.restlet.representation.Representation copyDirectory(org.restlet.representation.Representation entity,
org.restlet.representation.Variant variant)
- Method to copy the content of a storage into another one
- Parameters:
entity
- the Entityvariant
- the variant needed in return
- Returns:
- a representation telling whether or not the copy has been successful
describePut
public void describePut(org.restlet.ext.wadl.MethodInfo info)
Copyright © 2010-2013 CNES. All Rights Reserved.