Liferay 6.0-ee

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


Field Summary
static String ALLPROP
           
static Tuple ALLPROP_PAIR
           
static String CREATIONDATE
           
static Tuple CREATIONDATE_PAIR
           
static String DISPLAYNAME
           
static Tuple DISPLAYNAME_PAIR
           
static String GETCONTENTLENGTH
           
static Tuple GETCONTENTLENGTH_PAIR
           
static String GETCONTENTTYPE
           
static Tuple GETCONTENTTYPE_PAIR
           
static String GETLASTMODIFIED
           
static Tuple GETLASTMODIFIED_PAIR
           
static String LOCKDISCOVERY
           
static Tuple LOCKDISCOVERY_PAIR
           
static String RESOURCETYPE
           
static 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  Element addElement(Element element, String name)
           
protected  Element addElement(Element element, String name1, String name2)
           
protected  void addResponse(String href, Element multistatusElement)
           
protected  void addResponse(WebDAVRequest webDavRequest, Resource resource, Set<Tuple> props, Element multistatus)
           
protected  void addResponse(WebDAVStorage storage, WebDAVRequest webDavRequest, Resource resource, Set<Tuple> props, Element multistatusElement, long depth)
           
protected  int writeResponseXML(WebDAVRequest webDavRequest, Set<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 String ALLPROP
See Also:
Constant Field Values

ALLPROP_PAIR

public static final Tuple ALLPROP_PAIR

CREATIONDATE

public static final String CREATIONDATE
See Also:
Constant Field Values

CREATIONDATE_PAIR

public static final Tuple CREATIONDATE_PAIR

DISPLAYNAME

public static final String DISPLAYNAME
See Also:
Constant Field Values

DISPLAYNAME_PAIR

public static final Tuple DISPLAYNAME_PAIR

GETCONTENTLENGTH

public static final String GETCONTENTLENGTH
See Also:
Constant Field Values

GETCONTENTLENGTH_PAIR

public static final Tuple GETCONTENTLENGTH_PAIR

GETCONTENTTYPE

public static final String GETCONTENTTYPE
See Also:
Constant Field Values

GETCONTENTTYPE_PAIR

public static final Tuple GETCONTENTTYPE_PAIR

GETLASTMODIFIED

public static final String GETLASTMODIFIED
See Also:
Constant Field Values

GETLASTMODIFIED_PAIR

public static final Tuple GETLASTMODIFIED_PAIR

LOCKDISCOVERY

public static final String LOCKDISCOVERY
See Also:
Constant Field Values

LOCKDISCOVERY_PAIR

public static final Tuple LOCKDISCOVERY_PAIR

RESOURCETYPE

public static final String RESOURCETYPE
See Also:
Constant Field Values

RESOURCETYPE_PAIR

public static final Tuple RESOURCETYPE_PAIR
Constructor Detail

BasePropMethodImpl

public BasePropMethodImpl()
Method Detail

addElement

protected Element addElement(Element element,
                             String name)

addElement

protected Element addElement(Element element,
                             String name1,
                             String name2)

addResponse

protected void addResponse(String href,
                           Element multistatusElement)
                    throws Exception
Throws:
Exception

addResponse

protected void addResponse(WebDAVRequest webDavRequest,
                           Resource resource,
                           Set<Tuple> props,
                           Element multistatus)
                    throws Exception
Throws:
Exception

addResponse

protected void addResponse(WebDAVStorage storage,
                           WebDAVRequest webDavRequest,
                           Resource resource,
                           Set<Tuple> props,
                           Element multistatusElement,
                           long depth)
                    throws Exception
Throws:
Exception

writeResponseXML

protected int writeResponseXML(WebDAVRequest webDavRequest,
                               Set<Tuple> props)
                        throws Exception
Throws:
Exception

Liferay 6.0-ee