public class MoveMethod extends MoveMethod
WebDAVMethod.Condition
m_overwrite, m_strDestinationPath
logger, m_childToParent, m_conditions, m_davHelper, m_depth, m_parentLockInfo, m_request, m_resourceTag, m_response, m_rootNodeRef, m_strPath, m_userAgent
Constructor and Description |
---|
MoveMethod(VtiPathHelper pathHelper) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Alters the request to include the servlet path (needed for
building the destination path), then executes as usual
|
protected FileInfo |
getNodeForPath(org.alfresco.service.cmr.repository.NodeRef rootNodeRef,
String path)
Get the file info for the given paths
|
String |
getPath()
Returns the path, excluding the Servlet Context (if present)
|
executeImpl, isMove, moveOrCopy, parseRequestHeaders
getDestinationPath, hasOverWrite, parseRequestBody
checkNode, checkNode, createXMLWriter, flushXML, generateLockDiscoveryXML, generateLockDiscoveryXML, generateNamespaceDeclarations, generateResponseImpl, getActionService, getAuthenticationService, getContentService, getContextPath, getDAVHelper, getDAVLockService, getDepth, getFileFolderService, getMimetypeService, getNamespaceService, getNodeLockInfo, getNodeService, getPermissionService, getRequestBodyAsDocument, getRootNodeRef, getSearchService, getServiceRegistry, getServletPath, getSiteId, getStatusForAccessDeniedException, getTenantDomain, getTransactionService, getURLForPath, getWorkingCopy, getXMLOutputFormat, isReadOnly, parseDepthHeader, parseIfHeader, setDetails, shouldFlushXMLWriter, toString
public MoveMethod(VtiPathHelper pathHelper)
public void execute() throws WebDAVServerException
execute
in class WebDAVMethod
WebDAVServerException
public String getPath()
getPath
in class WebDAVMethod
WebDAVMethod.getPath()
protected FileInfo getNodeForPath(org.alfresco.service.cmr.repository.NodeRef rootNodeRef, String path) throws FileNotFoundException
WebDAVMethod
getNodeForPath
in class WebDAVMethod
rootNodeRef
- the acting webdav rootpath
- the path to search forFileNotFoundException
- if the path doesn't refer to a valid nodeCopyright © 2005–2017 Alfresco Software. All rights reserved.