public class DeleteMethod extends DeleteMethod
WebDAVMethod.Condition
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 |
---|
DeleteMethod(VtiPathHelper pathHelper) |
Modifier and Type | Method and Description |
---|---|
protected void |
executeImpl()
Execute the request
|
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)
|
protected org.dom4j.io.OutputFormat |
getXMLOutputFormat()
Returns the format required for an XML response.
|
parseRequestBody, parseRequestHeaders, postActivity, setActivityPoster
checkNode, checkNode, createXMLWriter, execute, 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, isReadOnly, parseDepthHeader, parseIfHeader, setDetails, shouldFlushXMLWriter, toString
public DeleteMethod(VtiPathHelper pathHelper)
public String getPath()
getPath
in class WebDAVMethod
WebDAVMethod.getPath()
protected void executeImpl() throws WebDAVServerException, Exception
DeleteMethod
executeImpl
in class DeleteMethod
WebDAVServerException
- a general server exceptionException
- any unhandled exceptionprotected org.dom4j.io.OutputFormat getXMLOutputFormat()
WebDAVMethod
getXMLOutputFormat
in class WebDAVMethod
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.