Package com.liferay.portal.kernel.webdav
Interface WebDAVStorage
- All Known Implementing Classes:
WebDAVStorageWrapper
public interface WebDAVStorage
- Author:
- Brian Wing Shun Chan, Alexander Chow
-
Method Summary
Modifier and TypeMethodDescriptionintcopyCollectionResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite, long depth) intcopySimpleResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite) intdeleteResource(WebDAVRequest webDAVRequest) getResource(WebDAVRequest webDAVRequest) getResources(WebDAVRequest webDAVRequest) getToken()booleanisAvailable(WebDAVRequest webDAVRequest) booleanlockResource(WebDAVRequest webDAVRequest, String owner, long timeout) makeCollection(WebDAVRequest webDAVRequest) intmoveCollectionResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite) intmoveSimpleResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite) intputResource(WebDAVRequest webDAVRequest) refreshResourceLock(WebDAVRequest webDAVRequest, String uuid, long timeout) voidsetRootPath(String rootPath) voidbooleanunlockResource(WebDAVRequest webDAVRequest, String token)
-
Method Details
-
copyCollectionResource
int copyCollectionResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite, long depth) throws WebDAVException - Throws:
WebDAVException
-
copySimpleResource
int copySimpleResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite) throws WebDAVException - Throws:
WebDAVException
-
deleteResource
- Throws:
WebDAVException
-
getResource
- Throws:
WebDAVException
-
getResources
- Throws:
WebDAVException
-
getRootPath
String getRootPath() -
getToken
String getToken() -
isAvailable
- Throws:
WebDAVException
-
isSupportsClassTwo
boolean isSupportsClassTwo() -
lockResource
- Throws:
WebDAVException
-
makeCollection
- Throws:
WebDAVException
-
moveCollectionResource
int moveCollectionResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite) throws WebDAVException - Throws:
WebDAVException
-
moveSimpleResource
int moveSimpleResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite) throws WebDAVException - Throws:
WebDAVException
-
putResource
- Throws:
WebDAVException
-
refreshResourceLock
Lock refreshResourceLock(WebDAVRequest webDAVRequest, String uuid, long timeout) throws WebDAVException - Throws:
WebDAVException
-
setRootPath
-
setToken
-
unlockResource
- Throws:
WebDAVException
-