com.liferay.portlet.dynamicdatamapping.webdav
Class DDMWebDavUtil
java.lang.Object
com.liferay.portlet.dynamicdatamapping.webdav.DDMWebDavUtil
public class DDMWebDavUtil
- extends Object
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 |
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
DDMWebDavUtil
public DDMWebDavUtil()
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)