Package com.liferay.portal.kernel.webdav
Class WebDAVStorageWrapper
Object
com.liferay.portal.kernel.webdav.WebDAVStorageWrapper
- All Implemented Interfaces:
WebDAVStorage
- Author:
- Brian Wing Shun Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
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) getResource
(WebDAVRequest webDAVRequest) getResources
(WebDAVRequest webDAVRequest) getToken()
boolean
isAvailable
(WebDAVRequest webDAVRequest) boolean
lockResource
(WebDAVRequest webDAVRequest, String owner, long timeout) 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) refreshResourceLock
(WebDAVRequest webDAVRequest, String uuid, long timeout) void
setRootPath
(String rootPath) void
boolean
unlockResource
(WebDAVRequest webDAVRequest, String token)
-
Constructor Details
-
WebDAVStorageWrapper
-
-
Method Details
-
copyCollectionResource
public int copyCollectionResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite, long depth) throws WebDAVException - Specified by:
copyCollectionResource
in interfaceWebDAVStorage
- Throws:
WebDAVException
-
copySimpleResource
public int copySimpleResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite) throws WebDAVException - Specified by:
copySimpleResource
in interfaceWebDAVStorage
- Throws:
WebDAVException
-
deleteResource
- Specified by:
deleteResource
in interfaceWebDAVStorage
- Throws:
WebDAVException
-
getResource
- Specified by:
getResource
in interfaceWebDAVStorage
- Throws:
WebDAVException
-
getResources
- Specified by:
getResources
in interfaceWebDAVStorage
- Throws:
WebDAVException
-
getRootPath
- Specified by:
getRootPath
in interfaceWebDAVStorage
-
getToken
- Specified by:
getToken
in interfaceWebDAVStorage
-
getWrappedWebDAVStorage
-
isAvailable
- Specified by:
isAvailable
in interfaceWebDAVStorage
- Throws:
WebDAVException
-
isSupportsClassTwo
public boolean isSupportsClassTwo()- Specified by:
isSupportsClassTwo
in interfaceWebDAVStorage
-
lockResource
public Status lockResource(WebDAVRequest webDAVRequest, String owner, long timeout) throws WebDAVException - Specified by:
lockResource
in interfaceWebDAVStorage
- Throws:
WebDAVException
-
makeCollection
- Specified by:
makeCollection
in interfaceWebDAVStorage
- Throws:
WebDAVException
-
moveCollectionResource
public int moveCollectionResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite) throws WebDAVException - Specified by:
moveCollectionResource
in interfaceWebDAVStorage
- Throws:
WebDAVException
-
moveSimpleResource
public int moveSimpleResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite) throws WebDAVException - Specified by:
moveSimpleResource
in interfaceWebDAVStorage
- Throws:
WebDAVException
-
putResource
- Specified by:
putResource
in interfaceWebDAVStorage
- Throws:
WebDAVException
-
refreshResourceLock
public Lock refreshResourceLock(WebDAVRequest webDAVRequest, String uuid, long timeout) throws WebDAVException - Specified by:
refreshResourceLock
in interfaceWebDAVStorage
- Throws:
WebDAVException
-
setRootPath
- Specified by:
setRootPath
in interfaceWebDAVStorage
-
setToken
- Specified by:
setToken
in interfaceWebDAVStorage
-
unlockResource
- Specified by:
unlockResource
in interfaceWebDAVStorage
- Throws:
WebDAVException
-