public class PropPatchMethod extends PropPatchMethod
PropPatchMethod.PropertyAction
WebDAVMethod.Condition
m_propertyActions
FIND_PROPS, GET_ALL_PROPS, GET_NAMED_PROPS, m_mode, m_namespaces, m_properties
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 |
---|
PropPatchMethod(VtiPathHelper pathHelper) |
Modifier and Type | Method and Description |
---|---|
protected FileInfo |
getNodeForPath(org.alfresco.service.cmr.repository.NodeRef rootNodeRef,
String path)
Get the file info for the given paths
|
protected String |
getURLForPath(HttpServletRequest request,
String path,
boolean isFolder)
Returns a URL that could be used to access the given path.
|
protected void |
persistDeadProperties(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Map<org.alfresco.service.namespace.QName,String> deadProperties)
Persists dead properties for specified resource
|
protected boolean |
shouldFlushXMLWriter()
Determines whether the XMLWriter should be flushed when XML is flushed.
|
createProperty, executeImpl, generateError, generatePropertyResponse, generateResponseImpl, isReadOnly, parseRequestBody, parseRequestHeaders, patchProperties
generateAllPropertiesResponse, generateFindPropertiesResponse, generateLockDiscoveryResponse, generateResponseForNode, getMode, getXMLOutputFormat, loadDeadProperties, writeLockTypes
checkNode, checkNode, createXMLWriter, execute, flushXML, generateLockDiscoveryXML, generateLockDiscoveryXML, generateNamespaceDeclarations, getActionService, getAuthenticationService, getContentService, getContextPath, getDAVHelper, getDAVLockService, getDepth, getFileFolderService, getMimetypeService, getNamespaceService, getNodeLockInfo, getNodeService, getPath, getPermissionService, getRequestBodyAsDocument, getRootNodeRef, getSearchService, getServiceRegistry, getServletPath, getSiteId, getStatusForAccessDeniedException, getTenantDomain, getTransactionService, getWorkingCopy, parseDepthHeader, parseIfHeader, setDetails, toString
public PropPatchMethod(VtiPathHelper pathHelper)
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 nodeWebDAVMethod.getNodeForPath(org.alfresco.service.cmr.repository.NodeRef, java.lang.String)
protected String getURLForPath(HttpServletRequest request, String path, boolean isFolder)
WebDAVMethod
getURLForPath
in class WebDAVMethod
request
- HttpServletRequestpath
- the path to search forisFolder
- indicates file or folder is requestedWebDAVMethod.getURLForPath(javax.servlet.http.HttpServletRequest, java.lang.String, boolean)
protected boolean shouldFlushXMLWriter()
WebDAVMethod
shouldFlushXMLWriter
in class WebDAVMethod
true
if the XMLWriter should be flushed when XML is flushedWebDAVMethod.shouldFlushXMLWriter()
protected void persistDeadProperties(org.alfresco.service.cmr.repository.NodeRef nodeRef, Map<org.alfresco.service.namespace.QName,String> deadProperties)
PropFindMethod
persistDeadProperties
in class PropFindMethod
nodeRef
- specified resourcedeadProperties
- the properties to persistPropFindMethod.persistDeadProperties(NodeRef, Map)
Copyright © 2005–2017 Alfresco Software. All rights reserved.