Package org.alfresco.repo.webdav
Class MoveMethod
- java.lang.Object
-
- org.alfresco.repo.webdav.WebDAVMethod
-
- org.alfresco.repo.webdav.HierarchicalMethod
-
- org.alfresco.repo.webdav.MoveMethod
-
- Direct Known Subclasses:
CopyMethod
public class MoveMethod extends HierarchicalMethod
Implements the WebDAV MOVE method- Author:
- Derek Hulley, David Ward
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.alfresco.repo.webdav.WebDAVMethod
WebDAVMethod.Condition
-
-
Field Summary
-
Fields inherited from class org.alfresco.repo.webdav.HierarchicalMethod
m_overwrite, m_strDestinationPath
-
Fields inherited from class org.alfresco.repo.webdav.WebDAVMethod
logger, m_childToParent, m_conditions, m_davHelper, m_depth, m_parentLockInfo, m_request, m_resourceTag, m_response, m_rootNodeRef, m_strPath, m_userAgent
-
-
Constructor Summary
Constructors Constructor Description MoveMethod()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidexecuteImpl()Exceute the requestprotected booleanisMove()protected voidmoveOrCopy(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef, org.alfresco.service.cmr.repository.NodeRef sourceParentNodeRef, org.alfresco.service.cmr.repository.NodeRef destParentNodeRef, String name)protected voidparseRequestHeaders()Parse the request headers-
Methods inherited from class org.alfresco.repo.webdav.HierarchicalMethod
getDestinationPath, hasOverWrite, parseRequestBody
-
Methods inherited from class org.alfresco.repo.webdav.WebDAVMethod
checkNode, checkNode, createXMLWriter, execute, flushXML, generateLockDiscoveryXML, generateLockDiscoveryXML, generateNamespaceDeclarations, generateResponseImpl, getActionService, getAuthenticationService, getContentService, getContextPath, getDAVHelper, getDAVLockService, getDepth, getFileFolderService, getMimetypeService, getNamespaceService, getNodeForPath, getNodeLockInfo, getNodeService, getPath, getPermissionService, getRequestBodyAsDocument, getRootNodeRef, getSearchService, getServiceRegistry, getServletPath, getSiteId, getStatusForAccessDeniedException, getTenantDomain, getTransactionService, getURLForPath, getWorkingCopy, getXMLOutputFormat, isReadOnly, parseDepthHeader, parseIfHeader, setDetails, shouldFlushXMLWriter, toString
-
-
-
-
Method Detail
-
isMove
protected boolean isMove()
-
executeImpl
protected final void executeImpl() throws WebDAVServerException, ExceptionExceute the request- Specified by:
executeImplin classWebDAVMethod- Throws:
WebDAVServerExceptionException- any unhandled exception
-
parseRequestHeaders
protected void parseRequestHeaders() throws WebDAVServerExceptionDescription copied from class:HierarchicalMethodParse the request headers- Overrides:
parseRequestHeadersin classHierarchicalMethod- Throws:
WebDAVServerException
-
-