public class WebDAVStorageWrapper extends Object implements WebDAVStorage
| Constructor and Description |
|---|
WebDAVStorageWrapper(WebDAVStorage webDAVStorage) |
public WebDAVStorageWrapper(WebDAVStorage webDAVStorage)
public int copyCollectionResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite, long depth) throws WebDAVException
copyCollectionResource in interface WebDAVStorageWebDAVExceptionpublic int copySimpleResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite) throws WebDAVException
copySimpleResource in interface WebDAVStorageWebDAVExceptionpublic int deleteResource(WebDAVRequest webDAVRequest) throws WebDAVException
deleteResource in interface WebDAVStorageWebDAVExceptionpublic MethodFactory getMethodFactory()
getMethodFactory in interface WebDAVStoragepublic Resource getResource(WebDAVRequest webDAVRequest) throws WebDAVException
getResource in interface WebDAVStorageWebDAVExceptionpublic List<Resource> getResources(WebDAVRequest webDAVRequest) throws WebDAVException
getResources in interface WebDAVStorageWebDAVExceptionpublic String getRootPath()
getRootPath in interface WebDAVStoragepublic String getToken()
getToken in interface WebDAVStoragepublic WebDAVStorage getWrappedWebDAVStorage()
public boolean isAvailable(WebDAVRequest webDAVRequest) throws WebDAVException
isAvailable in interface WebDAVStorageWebDAVExceptionpublic boolean isSupportsClassTwo()
isSupportsClassTwo in interface WebDAVStoragepublic Status lockResource(WebDAVRequest webDAVRequest, String owner, long timeout) throws WebDAVException
lockResource in interface WebDAVStorageWebDAVExceptionpublic Status makeCollection(WebDAVRequest webDAVRequest) throws WebDAVException
makeCollection in interface WebDAVStorageWebDAVExceptionpublic int moveCollectionResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite) throws WebDAVException
moveCollectionResource in interface WebDAVStorageWebDAVExceptionpublic int moveSimpleResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite) throws WebDAVException
moveSimpleResource in interface WebDAVStorageWebDAVExceptionpublic int putResource(WebDAVRequest webDAVRequest) throws WebDAVException
putResource in interface WebDAVStorageWebDAVExceptionpublic Lock refreshResourceLock(WebDAVRequest webDAVRequest, String uuid, long timeout) throws WebDAVException
refreshResourceLock in interface WebDAVStorageWebDAVExceptionpublic void setRootPath(String rootPath)
setRootPath in interface WebDAVStoragepublic void setToken(String token)
setToken in interface WebDAVStoragepublic boolean unlockResource(WebDAVRequest webDAVRequest, String token) throws WebDAVException
unlockResource in interface WebDAVStorageWebDAVException