public interface WebDAVStorage
Modifier and Type | Method and Description |
---|---|
int |
copyCollectionResource(WebDAVRequest webDAVRequest,
Resource resource,
String destination,
boolean overwrite,
long depth) |
int |
copySimpleResource(WebDAVRequest webDAVRequest,
Resource resource,
String destination,
boolean overwrite) |
int |
deleteResource(WebDAVRequest webDAVRequest) |
MethodFactory |
getMethodFactory() |
Resource |
getResource(WebDAVRequest webDAVRequest) |
List<Resource> |
getResources(WebDAVRequest webDAVRequest) |
String |
getRootPath() |
String |
getToken() |
boolean |
isAvailable(WebDAVRequest webDAVRequest) |
boolean |
isSupportsClassTwo() |
Status |
lockResource(WebDAVRequest webDAVRequest,
String owner,
long timeout) |
Status |
makeCollection(WebDAVRequest webDAVRequest) |
int |
moveCollectionResource(WebDAVRequest webDAVRequest,
Resource resource,
String destination,
boolean overwrite) |
int |
moveSimpleResource(WebDAVRequest webDAVRequest,
Resource resource,
String destination,
boolean overwrite) |
int |
putResource(WebDAVRequest webDAVRequest) |
Lock |
refreshResourceLock(WebDAVRequest webDAVRequest,
String uuid,
long timeout) |
void |
setRootPath(String rootPath) |
void |
setToken(String token) |
boolean |
unlockResource(WebDAVRequest webDAVRequest,
String token) |
int copyCollectionResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite, long depth) throws WebDAVException
WebDAVException
int copySimpleResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite) throws WebDAVException
WebDAVException
int deleteResource(WebDAVRequest webDAVRequest) throws WebDAVException
WebDAVException
MethodFactory getMethodFactory()
Resource getResource(WebDAVRequest webDAVRequest) throws WebDAVException
WebDAVException
List<Resource> getResources(WebDAVRequest webDAVRequest) throws WebDAVException
WebDAVException
String getRootPath()
String getToken()
boolean isAvailable(WebDAVRequest webDAVRequest) throws WebDAVException
WebDAVException
boolean isSupportsClassTwo()
Status lockResource(WebDAVRequest webDAVRequest, String owner, long timeout) throws WebDAVException
WebDAVException
Status makeCollection(WebDAVRequest webDAVRequest) throws WebDAVException
WebDAVException
int moveCollectionResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite) throws WebDAVException
WebDAVException
int moveSimpleResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite) throws WebDAVException
WebDAVException
int putResource(WebDAVRequest webDAVRequest) throws WebDAVException
WebDAVException
Lock refreshResourceLock(WebDAVRequest webDAVRequest, String uuid, long timeout) throws WebDAVException
WebDAVException
void setRootPath(String rootPath)
void setToken(String token)
boolean unlockResource(WebDAVRequest webDAVRequest, String token) throws WebDAVException
WebDAVException