|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.webdav.WebDAVMethod
org.alfresco.repo.webdav.PropFindMethod
org.alfresco.repo.webdav.PropPatchMethod
public class PropPatchMethod
Implements the WebDAV PROPPATCH method
Nested Class Summary | |
---|---|
protected class |
PropPatchMethod.PropertyAction
Stores information about PROPPATCH action(set or remove) an according property. |
Nested classes/interfaces inherited from class org.alfresco.repo.webdav.WebDAVMethod |
---|
WebDAVMethod.Condition |
Field Summary | |
---|---|
protected java.util.ArrayList |
m_propertyActions
|
Fields inherited from class org.alfresco.repo.webdav.PropFindMethod |
---|
FIND_PROPS, GET_ALL_PROPS, GET_NAMED_PROPS, m_mode, m_namespaces, m_properties |
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 | |
---|---|
PropPatchMethod()
|
Method Summary | |
---|---|
protected WebDAVProperty |
createProperty(org.w3c.dom.Node node)
Creates a WebDAVProperty from the given XML node |
protected void |
executeImpl()
Execute the main WebDAV request processing |
protected void |
generateError(org.dom4j.io.XMLWriter xml)
Generates the error tag |
protected void |
generatePropertyResponse(org.dom4j.io.XMLWriter xml,
WebDAVProperty property,
int status,
java.lang.String description)
Generates the XML response for a PROPFIND request that asks for a list of all known properties |
protected void |
generateResponse(org.dom4j.io.XMLWriter xml,
org.alfresco.service.cmr.model.FileInfo nodeInfo,
java.lang.String path)
Generates the required response XML |
protected boolean |
isReadOnly()
Override and return true if the method is a query method only. |
protected void |
parseRequestBody()
Parse the request body |
protected void |
parseRequestHeaders()
Parse the request headers |
Methods inherited from class org.alfresco.repo.webdav.PropFindMethod |
---|
createXMLWriter, generateAllPropertiesResponse, generateFindPropertiesResponse, generateLockDiscoveryResponse, generateResponseForNode, getMode, writeLockTypes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.util.ArrayList m_propertyActions
Constructor Detail |
---|
public PropPatchMethod()
Method Detail |
---|
protected boolean isReadOnly()
WebDAVMethod
isReadOnly
in class PropFindMethod
protected void executeImpl() throws WebDAVServerException, java.lang.Exception
PropFindMethod
executeImpl
in class PropFindMethod
WebDAVServerException
- a general server exception
java.lang.Exception
- any unhandled exceptionprotected void parseRequestBody() throws WebDAVServerException
parseRequestBody
in class PropFindMethod
WebDAVServerException
protected void parseRequestHeaders() throws WebDAVServerException
parseRequestHeaders
in class PropFindMethod
WebDAVServerException
protected WebDAVProperty createProperty(org.w3c.dom.Node node)
createProperty
in class PropFindMethod
protected void generateResponse(org.dom4j.io.XMLWriter xml, org.alfresco.service.cmr.model.FileInfo nodeInfo, java.lang.String path) throws java.lang.Exception
xml
- XMLWriternode
- NodeRefpath
- String
java.lang.Exception
protected void generatePropertyResponse(org.dom4j.io.XMLWriter xml, WebDAVProperty property, int status, java.lang.String description)
xml
- XMLWriternode
- NodeRefisDir
- booleanprotected void generateError(org.dom4j.io.XMLWriter xml)
xml
- XMLWriter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |