com.liferay.portal.webdav.methods
Class LockMethodImpl

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

public class LockMethodImpl
extends java.lang.Object
implements Method

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
LockMethodImpl()
           
 
Method Summary
protected  int doProcess(com.liferay.portal.webdav.WebDAVRequest webDavRequest)
           
protected  java.lang.String getResponseXML(com.liferay.lock.model.Lock lock, long depth)
           
 int process(com.liferay.portal.webdav.WebDAVRequest webDavRequest)
          Returns -1 or a supported HTTP status code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockMethodImpl

public LockMethodImpl()
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.

Specified by:
process in interface Method
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

doProcess

protected int doProcess(com.liferay.portal.webdav.WebDAVRequest webDavRequest)
                 throws java.lang.Exception
Throws:
java.lang.Exception

getResponseXML

protected java.lang.String getResponseXML(com.liferay.lock.model.Lock lock,
                                          long depth)
                                   throws java.lang.Exception
Throws:
java.lang.Exception