com.liferay.portal.webdav.methods
Class ProppatchMethodImpl

java.lang.Object
  extended by com.liferay.portal.webdav.methods.BasePropMethodImpl
      extended by com.liferay.portal.webdav.methods.ProppatchMethodImpl
All Implemented Interfaces:
Method

public class ProppatchMethodImpl
extends BasePropMethodImpl

View Source

Author:
Alexander Chow

Field Summary
 
Fields inherited from interface com.liferay.portal.webdav.methods.Method
COPY, DELETE, GET, HEAD, LOCK, MKCOL, MOVE, OPTIONS, PROPFIND, PROPPATCH, PUT, SUPPORTED_METHODS, SUPPORTED_METHODS_ARRAY, UNLOCK
 
Constructor Summary
ProppatchMethodImpl()
           
 
Method Summary
protected  com.liferay.portal.model.WebDAVProps getStoredProperties(com.liferay.portal.webdav.WebDAVRequest webDavRequest)
           
 int process(com.liferay.portal.webdav.WebDAVRequest webDavRequest)
          Returns -1 or a supported HTTP status code.
protected  java.util.Set<com.liferay.portal.kernel.util.Tuple> processInstructions(com.liferay.portal.webdav.WebDAVRequest webDavRequest)
           
 
Methods inherited from class com.liferay.portal.webdav.methods.BasePropMethodImpl
addResponse, addResponse, addResponse, writeResponseXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProppatchMethodImpl

public ProppatchMethodImpl()
Method Detail

process

public int process(com.liferay.portal.webdav.WebDAVRequest webDavRequest)
            throws com.liferay.portal.webdav.WebDAVException
Description copied from interface: Method
Returns -1 or a supported HTTP status code. If it is -1, then the status code has already been set. Otherwise, the status code needs to be set by the caller.

Parameters:
webDavRequest - the WebDAV request
Returns:
-1 or a supported HTTP status code. If it is -1, then the status code has already been set. Otherwise, the status code needs to be set by the caller.
Throws:
com.liferay.portal.webdav.WebDAVException

getStoredProperties

protected com.liferay.portal.model.WebDAVProps getStoredProperties(com.liferay.portal.webdav.WebDAVRequest webDavRequest)
                                                            throws com.liferay.portal.PortalException,
                                                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

processInstructions

protected java.util.Set<com.liferay.portal.kernel.util.Tuple> processInstructions(com.liferay.portal.webdav.WebDAVRequest webDavRequest)
                                                                           throws InvalidRequestException,
                                                                                  LockException
Throws:
InvalidRequestException
LockException