Liferay 6.1.2-ce-ga3

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 Object
implements Method


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(WebDAVRequest webDavRequest)
           
protected  String getResponseXML(Lock lock, long depth)
           
 int process(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(WebDAVRequest webDavRequest)
            throws 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:
WebDAVException - if a WebDAV exception occurred

doProcess

protected int doProcess(WebDAVRequest webDavRequest)
                 throws Exception
Throws:
Exception

getResponseXML

protected String getResponseXML(Lock lock,
                                long depth)
                         throws Exception
Throws:
Exception

Liferay 6.1.2-ce-ga3