public class DeleteMethod extends WebDAVMethod implements ActivityPostProducer
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()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
executeImpl()
Execute the request
|
protected void |
parseRequestBody()
Parse the request body
|
protected void |
parseRequestHeaders()
Parse the request headers
|
protected void |
postActivity(FileInfo parent,
FileInfo deletedFile,
String siteId)
Create a deletion activity post.
|
void |
setActivityPoster(WebDAVActivityPoster activityPoster) |
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
protected void parseRequestHeaders() throws WebDAVServerException
parseRequestHeaders
in class WebDAVMethod
WebDAVServerException
protected void parseRequestBody() throws WebDAVServerException
parseRequestBody
in class WebDAVMethod
WebDAVServerException
protected void executeImpl() throws WebDAVServerException, Exception
executeImpl
in class WebDAVMethod
WebDAVServerException
Exception
- any unhandled exceptionprotected void postActivity(FileInfo parent, FileInfo deletedFile, String siteId) throws WebDAVServerException
parent
- The FileInfo for the deleted file's parent.deletedFile
- The FileInfo for the deleted file.WebDAVServerException
public void setActivityPoster(WebDAVActivityPoster activityPoster)
setActivityPoster
in interface ActivityPostProducer
Copyright © 2005–2017 Alfresco Software. All rights reserved.