fr.cnes.sitools.service.storage
Class StorageCopyResource

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.service.storage.StorageCopyResource

public class StorageCopyResource
extends SitoolsResource

A resource to copy the content of a storage into another one

Author:
m.gond

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
StorageCopyResource()
           
 
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 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

StorageCopyResource

public StorageCopyResource()
Method Detail

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 Entity
variant - 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.