Package org.alfresco.repo.webdav
Class HierarchicalMethod
- java.lang.Object
-
- org.alfresco.repo.webdav.WebDAVMethod
-
- org.alfresco.repo.webdav.HierarchicalMethod
-
- Direct Known Subclasses:
MoveMethod
public abstract class HierarchicalMethod extends WebDAVMethod
Abstract base class for the hierarchical methods COPY and MOVE- Author:
- gavinc
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.alfresco.repo.webdav.WebDAVMethod
WebDAVMethod.Condition
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanm_overwriteprotected Stringm_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 HierarchicalMethod()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDestinationPath()Return the destination pathbooleanhasOverWrite()Return the overwrite settingprotected voidparseRequestBody()Parse the request bodyprotected voidparseRequestHeaders()Parse the request headers-
Methods inherited from class org.alfresco.repo.webdav.WebDAVMethod
checkNode, checkNode, createXMLWriter, execute, executeImpl, 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
-
-
-
-
Field Detail
-
m_strDestinationPath
protected String m_strDestinationPath
-
m_overwrite
protected boolean m_overwrite
-
-
Method Detail
-
getDestinationPath
public final String getDestinationPath()
Return the destination path- Returns:
- String
-
hasOverWrite
public final boolean hasOverWrite()
Return the overwrite setting- Returns:
- boolean
-
parseRequestHeaders
protected void parseRequestHeaders() throws WebDAVServerExceptionParse the request headers- Specified by:
parseRequestHeadersin classWebDAVMethod- Throws:
WebDAVServerException
-
parseRequestBody
protected void parseRequestBody() throws WebDAVServerExceptionParse the request body- Specified by:
parseRequestBodyin classWebDAVMethod- Throws:
WebDAVServerException
-
-