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 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)
-
Constructor Details
-
WebDAVStorageWrapper
-
-
Method Details
-
copyCollectionResource
public int copyCollectionResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite, long depth) throws WebDAVException - Specified by:
copyCollectionResourcein interfaceWebDAVStorage- Throws:
WebDAVException
-
copySimpleResource
public int copySimpleResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite) throws WebDAVException - Specified by:
copySimpleResourcein interfaceWebDAVStorage- Throws:
WebDAVException
-
deleteResource
- Specified by:
deleteResourcein interfaceWebDAVStorage- Throws:
WebDAVException
-
getResource
- Specified by:
getResourcein interfaceWebDAVStorage- Throws:
WebDAVException
-
getResources
- Specified by:
getResourcesin interfaceWebDAVStorage- Throws:
WebDAVException
-
getRootPath
- Specified by:
getRootPathin interfaceWebDAVStorage
-
getToken
- Specified by:
getTokenin interfaceWebDAVStorage
-
getWrappedWebDAVStorage
-
isAvailable
- Specified by:
isAvailablein interfaceWebDAVStorage- Throws:
WebDAVException
-
isSupportsClassTwo
public boolean isSupportsClassTwo()- Specified by:
isSupportsClassTwoin interfaceWebDAVStorage
-
lockResource
public Status lockResource(WebDAVRequest webDAVRequest, String owner, long timeout) throws WebDAVException - Specified by:
lockResourcein interfaceWebDAVStorage- Throws:
WebDAVException
-
makeCollection
- Specified by:
makeCollectionin interfaceWebDAVStorage- Throws:
WebDAVException
-
moveCollectionResource
public int moveCollectionResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite) throws WebDAVException - Specified by:
moveCollectionResourcein interfaceWebDAVStorage- Throws:
WebDAVException
-
moveSimpleResource
public int moveSimpleResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite) throws WebDAVException - Specified by:
moveSimpleResourcein interfaceWebDAVStorage- Throws:
WebDAVException
-
putResource
- Specified by:
putResourcein interfaceWebDAVStorage- Throws:
WebDAVException
-
refreshResourceLock
public Lock refreshResourceLock(WebDAVRequest webDAVRequest, String uuid, long timeout) throws WebDAVException - Specified by:
refreshResourceLockin interfaceWebDAVStorage- Throws:
WebDAVException
-
setRootPath
- Specified by:
setRootPathin interfaceWebDAVStorage
-
setToken
- Specified by:
setTokenin interfaceWebDAVStorage
-
unlockResource
- Specified by:
unlockResourcein interfaceWebDAVStorage- Throws:
WebDAVException
-