com.liferay.portal.webdav.methods
Class BasePropMethodImpl

java.lang.Object
  extended by com.liferay.portal.webdav.methods.BasePropMethodImpl
All Implemented Interfaces:
Method
Direct Known Subclasses:
PropfindMethodImpl, ProppatchMethodImpl

public abstract class BasePropMethodImpl
extends java.lang.Object
implements Method

View Source

Author:
Alexander Chow

Field Summary
static java.lang.String ALLPROP
           
static com.liferay.portal.kernel.util.Tuple ALLPROP_PAIR
           
static java.lang.String CREATIONDATE
           
static com.liferay.portal.kernel.util.Tuple CREATIONDATE_PAIR
           
static java.lang.String DISPLAYNAME
           
static com.liferay.portal.kernel.util.Tuple DISPLAYNAME_PAIR
           
static java.lang.String GETCONTENTLENGTH
           
static com.liferay.portal.kernel.util.Tuple GETCONTENTLENGTH_PAIR
           
static java.lang.String GETCONTENTTYPE
           
static com.liferay.portal.kernel.util.Tuple GETCONTENTTYPE_PAIR
           
static java.lang.String GETLASTMODIFIED
           
static com.liferay.portal.kernel.util.Tuple GETLASTMODIFIED_PAIR
           
static java.lang.String LOCKDISCOVERY
           
static com.liferay.portal.kernel.util.Tuple LOCKDISCOVERY_PAIR
           
static java.lang.String RESOURCETYPE
           
static com.liferay.portal.kernel.util.Tuple RESOURCETYPE_PAIR
           
 
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
BasePropMethodImpl()
           
 
Method Summary
protected  com.liferay.portal.kernel.xml.Element addElement(com.liferay.portal.kernel.xml.Element element, java.lang.String name)
           
protected  com.liferay.portal.kernel.xml.Element addElement(com.liferay.portal.kernel.xml.Element element, java.lang.String name1, java.lang.String name2)
           
protected  void addResponse(java.lang.String href, com.liferay.portal.kernel.xml.Element multistatusElement)
           
protected  void addResponse(com.liferay.portal.webdav.WebDAVRequest webDavRequest, com.liferay.portal.webdav.Resource resource, java.util.Set<com.liferay.portal.kernel.util.Tuple> props, com.liferay.portal.kernel.xml.Element multistatus)
           
protected  void addResponse(com.liferay.portal.webdav.WebDAVStorage storage, com.liferay.portal.webdav.WebDAVRequest webDavRequest, com.liferay.portal.webdav.Resource resource, java.util.Set<com.liferay.portal.kernel.util.Tuple> props, com.liferay.portal.kernel.xml.Element multistatusElement, long depth)
           
protected  int writeResponseXML(com.liferay.portal.webdav.WebDAVRequest webDavRequest, java.util.Set<com.liferay.portal.kernel.util.Tuple> props)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.webdav.methods.Method
process
 

Field Detail

ALLPROP

public static final java.lang.String ALLPROP
See Also:
Constant Field Values

ALLPROP_PAIR

public static final com.liferay.portal.kernel.util.Tuple ALLPROP_PAIR

CREATIONDATE

public static final java.lang.String CREATIONDATE
See Also:
Constant Field Values

CREATIONDATE_PAIR

public static final com.liferay.portal.kernel.util.Tuple CREATIONDATE_PAIR

DISPLAYNAME

public static final java.lang.String DISPLAYNAME
See Also:
Constant Field Values

DISPLAYNAME_PAIR

public static final com.liferay.portal.kernel.util.Tuple DISPLAYNAME_PAIR

GETCONTENTLENGTH

public static final java.lang.String GETCONTENTLENGTH
See Also:
Constant Field Values

GETCONTENTLENGTH_PAIR

public static final com.liferay.portal.kernel.util.Tuple GETCONTENTLENGTH_PAIR

GETCONTENTTYPE

public static final java.lang.String GETCONTENTTYPE
See Also:
Constant Field Values

GETCONTENTTYPE_PAIR

public static final com.liferay.portal.kernel.util.Tuple GETCONTENTTYPE_PAIR

GETLASTMODIFIED

public static final java.lang.String GETLASTMODIFIED
See Also:
Constant Field Values

GETLASTMODIFIED_PAIR

public static final com.liferay.portal.kernel.util.Tuple GETLASTMODIFIED_PAIR

LOCKDISCOVERY

public static final java.lang.String LOCKDISCOVERY
See Also:
Constant Field Values

LOCKDISCOVERY_PAIR

public static final com.liferay.portal.kernel.util.Tuple LOCKDISCOVERY_PAIR

RESOURCETYPE

public static final java.lang.String RESOURCETYPE
See Also:
Constant Field Values

RESOURCETYPE_PAIR

public static final com.liferay.portal.kernel.util.Tuple RESOURCETYPE_PAIR
Constructor Detail

BasePropMethodImpl

public BasePropMethodImpl()
Method Detail

addElement

protected com.liferay.portal.kernel.xml.Element addElement(com.liferay.portal.kernel.xml.Element element,
                                                           java.lang.String name)

addElement

protected com.liferay.portal.kernel.xml.Element addElement(com.liferay.portal.kernel.xml.Element element,
                                                           java.lang.String name1,
                                                           java.lang.String name2)

addResponse

protected void addResponse(java.lang.String href,
                           com.liferay.portal.kernel.xml.Element multistatusElement)
                    throws java.lang.Exception
Throws:
java.lang.Exception

addResponse

protected void addResponse(com.liferay.portal.webdav.WebDAVRequest webDavRequest,
                           com.liferay.portal.webdav.Resource resource,
                           java.util.Set<com.liferay.portal.kernel.util.Tuple> props,
                           com.liferay.portal.kernel.xml.Element multistatus)
                    throws java.lang.Exception
Throws:
java.lang.Exception

addResponse

protected void addResponse(com.liferay.portal.webdav.WebDAVStorage storage,
                           com.liferay.portal.webdav.WebDAVRequest webDavRequest,
                           com.liferay.portal.webdav.Resource resource,
                           java.util.Set<com.liferay.portal.kernel.util.Tuple> props,
                           com.liferay.portal.kernel.xml.Element multistatusElement,
                           long depth)
                    throws java.lang.Exception
Throws:
java.lang.Exception

writeResponseXML

protected int writeResponseXML(com.liferay.portal.webdav.WebDAVRequest webDavRequest,
                               java.util.Set<com.liferay.portal.kernel.util.Tuple> props)
                        throws java.lang.Exception
Throws:
java.lang.Exception