Package org.alfresco.repo.webdav
Class UnlockMethod
java.lang.Object
org.alfresco.repo.webdav.WebDAVMethod
org.alfresco.repo.webdav.UnlockMethod
Implements the WebDAV UNLOCK method
- Author:
- gavinc
-
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.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 -
Method Summary
Modifier and TypeMethodDescriptionprotected voidThe main unlock implementation.protected voidExecute the requestprotected final StringReturn the lock token of an existing lockprotected voidParse the request bodyprotected voidParse the request headersMethods 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
-
Constructor Details
-
UnlockMethod
public UnlockMethod()Default constructor
-
-
Method Details
-
getLockToken
Return the lock token of an existing lock- Returns:
- String
-
parseRequestHeaders
Parse the request headers- Specified by:
parseRequestHeadersin classWebDAVMethod- Throws:
WebDAVServerException
-
parseRequestBody
Parse the request body- Specified by:
parseRequestBodyin classWebDAVMethod- Throws:
WebDAVServerException
-
executeImpl
Execute the request- Specified by:
executeImplin classWebDAVMethod- Throws:
WebDAVServerException
-
attemptUnlock
The main unlock implementation.- Throws:
WebDAVServerException
-