Liferay 6.2-ce-ga5

com.liferay.portlet.dynamicdatamapping.webdav
Class DDMWebDavUtil

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.webdav.DDMWebDavUtil

public class DDMWebDavUtil
extends Object


Field Summary
static String TYPE_STRUCTURES
           
static String TYPE_TEMPLATES
           
 
Constructor Summary
DDMWebDavUtil()
           
 
Method Summary
static int addResource(WebDAVRequest webDavRequest, long classNameId)
           
static int deleteResource(WebDAVRequest webDAVRequest, String rootPath, String token, long classNameId)
           
static Resource getResource(WebDAVRequest webDAVRequest, String rootPath, String token, long classNameId)
           
static int putResource(WebDAVRequest webDAVRequest, String rootPath, String token, long classNameId)
           
static Resource toResource(WebDAVRequest webDAVRequest, DDMStructure structure, String rootPath, boolean appendPath)
           
static Resource toResource(WebDAVRequest webDAVRequest, DDMTemplate template, String rootPath, boolean appendPath)
           
static Resource toResource(WebDAVRequest webDAVRequest, String type, String rootPath, boolean appendPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_STRUCTURES

public static final String TYPE_STRUCTURES
See Also:
Constant Field Values

TYPE_TEMPLATES

public static final String TYPE_TEMPLATES
See Also:
Constant Field Values
Constructor Detail

DDMWebDavUtil

public DDMWebDavUtil()
Method Detail

addResource

public static int addResource(WebDAVRequest webDavRequest,
                              long classNameId)
                       throws Exception
Throws:
Exception

deleteResource

public static int deleteResource(WebDAVRequest webDAVRequest,
                                 String rootPath,
                                 String token,
                                 long classNameId)
                          throws WebDAVException
Throws:
WebDAVException

getResource

public static Resource getResource(WebDAVRequest webDAVRequest,
                                   String rootPath,
                                   String token,
                                   long classNameId)
                            throws WebDAVException
Throws:
WebDAVException

putResource

public static int putResource(WebDAVRequest webDAVRequest,
                              String rootPath,
                              String token,
                              long classNameId)
                       throws WebDAVException
Throws:
WebDAVException

toResource

public static Resource toResource(WebDAVRequest webDAVRequest,
                                  DDMStructure structure,
                                  String rootPath,
                                  boolean appendPath)

toResource

public static Resource toResource(WebDAVRequest webDAVRequest,
                                  DDMTemplate template,
                                  String rootPath,
                                  boolean appendPath)

toResource

public static Resource toResource(WebDAVRequest webDAVRequest,
                                  String type,
                                  String rootPath,
                                  boolean appendPath)

Liferay 6.2-ce-ga5