com.liferay.portal.webdav.methods
Class PropfindMethodImpl

java.lang.Object
  extended bycom.liferay.portal.webdav.methods.PropfindMethodImpl
All Implemented Interfaces:
Method

public class PropfindMethodImpl
extends java.lang.Object
implements Method

View Source

Author:
Brian Wing Shun Chan

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
PropfindMethodImpl()
           
 
Method Summary
protected  void addResponse(Resource resource, java.util.List props, org.dom4j.Element multistatus, java.text.DateFormat createDateFormat, java.text.DateFormat modifiedDateFormat)
           
protected  void addResponse(java.lang.String href, org.dom4j.Element multistatus)
           
protected  java.text.DateFormat getCreateDateFormat()
           
protected  int getDepth(WebDAVRequest webDavReq)
           
protected  java.text.DateFormat getModifiedDateFormat()
           
protected  java.util.List getProps(WebDAVRequest webDavReq)
           
protected  java.lang.String getResponseXML(org.dom4j.Document doc)
           
protected  java.lang.String getResponseXML(WebDAVRequest webDavReq)
           
 void process(WebDAVRequest webDavReq)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropfindMethodImpl

public PropfindMethodImpl()
Method Detail

process

public void process(WebDAVRequest webDavReq)
             throws WebDAVException
Specified by:
process in interface Method
Throws:
WebDAVException

addResponse

protected void addResponse(Resource resource,
                           java.util.List props,
                           org.dom4j.Element multistatus,
                           java.text.DateFormat createDateFormat,
                           java.text.DateFormat modifiedDateFormat)
                    throws java.lang.Exception
Throws:
java.lang.Exception

addResponse

protected void addResponse(java.lang.String href,
                           org.dom4j.Element multistatus)
                    throws java.lang.Exception
Throws:
java.lang.Exception

getDepth

protected int getDepth(WebDAVRequest webDavReq)

getCreateDateFormat

protected java.text.DateFormat getCreateDateFormat()

getModifiedDateFormat

protected java.text.DateFormat getModifiedDateFormat()

getProps

protected java.util.List getProps(WebDAVRequest webDavReq)
                           throws java.lang.Exception
Throws:
java.lang.Exception

getResponseXML

protected java.lang.String getResponseXML(WebDAVRequest webDavReq)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getResponseXML

protected java.lang.String getResponseXML(org.dom4j.Document doc)
                                   throws java.lang.Exception
Throws:
java.lang.Exception