org.opencrx.application.uses.net.sf.webdav.methods
Class DoMove

java.lang.Object
  extended by org.opencrx.application.uses.net.sf.webdav.methods.WebDavMethod
      extended by org.opencrx.application.uses.net.sf.webdav.methods.DoMove

public class DoMove
extends WebDavMethod


Field Summary
 
Fields inherited from class org.opencrx.application.uses.net.sf.webdav.methods.WebDavMethod
BUF_SIZE, CREATION_DATE_FORMAT, DEFAULT_TIMEOUT, INFINITY, LAST_MODIFIED_DATE_FORMAT, MAX_TIMEOUT, TEMP_TIMEOUT, TEMPORARY
 
Constructor Summary
DoMove(WebDavStore store, boolean readOnly)
           
 
Method Summary
 void execute(RequestContext requestContext)
          To be implemented by concrete method.
 void moveResource(RequestContext requestContext, Resource res, String sourcePath, String destinationPath, Hashtable<String,Integer> errorList)
          deletes the resources at "path"
 
Methods inherited from class org.opencrx.application.uses.net.sf.webdav.methods.WebDavMethod
checkLocks, determineMethodsAllowed, encodeURL, getCleanPath, getDefaultMethodsAllowed, getDepth, getDocumentBuilder, getETag, getFolderMethodsAllowed, getHRef, getLockIdFromIfHeader, getLockIdFromLockTokenHeader, getNullResourceMethodsAllowed, getParentPath, getRelativePath, getRelativePath, getResourceMethodsAllowed, getVersion, sendReport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoMove

public DoMove(WebDavStore store,
              boolean readOnly)
Method Detail

moveResource

public void moveResource(RequestContext requestContext,
                         Resource res,
                         String sourcePath,
                         String destinationPath,
                         Hashtable<String,Integer> errorList)
                  throws IOException,
                         WebdavException
deletes the resources at "path"

Parameters:
requestContext - indicates that the method is within the scope of a WebDAV transaction
path - the folder to be deleted
errorList - all errors that occurred
req - HttpServletRequest
resp - HttpServletResponse
Throws:
WebdavException - if an error in the underlying store occurs
IOException - when an error occurs while sending the response

execute

public void execute(RequestContext requestContext)
             throws IOException,
                    LockFailedException
Description copied from class: WebDavMethod
To be implemented by concrete method.

Specified by:
execute in class WebDavMethod
Throws:
IOException
LockFailedException


This software is published under the BSD license. Copyright © 2003-2010, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.