Liferay 6.2-ce-ga5

com.liferay.portal.kernel.webdav
Class WebDAVStorageWrapper

java.lang.Object
  extended by com.liferay.portal.kernel.webdav.WebDAVStorageWrapper
All Implemented Interfaces:
WebDAVStorage

public class WebDAVStorageWrapper
extends Object
implements WebDAVStorage


Constructor Summary
WebDAVStorageWrapper(WebDAVStorage webDAVStorage)
           
 
Method Summary
 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()
           
 WebDAVStorage getWrappedWebDAVStorage()
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebDAVStorageWrapper

public WebDAVStorageWrapper(WebDAVStorage webDAVStorage)
Method Detail

copyCollectionResource

public int copyCollectionResource(WebDAVRequest webDAVRequest,
                                  Resource resource,
                                  String destination,
                                  boolean overwrite,
                                  long depth)
                           throws WebDAVException
Specified by:
copyCollectionResource in interface WebDAVStorage
Throws:
WebDAVException

copySimpleResource

public int copySimpleResource(WebDAVRequest webDAVRequest,
                              Resource resource,
                              String destination,
                              boolean overwrite)
                       throws WebDAVException
Specified by:
copySimpleResource in interface WebDAVStorage
Throws:
WebDAVException

deleteResource

public int deleteResource(WebDAVRequest webDAVRequest)
                   throws WebDAVException
Specified by:
deleteResource in interface WebDAVStorage
Throws:
WebDAVException

getMethodFactory

public MethodFactory getMethodFactory()
Specified by:
getMethodFactory in interface WebDAVStorage

getResource

public Resource getResource(WebDAVRequest webDAVRequest)
                     throws WebDAVException
Specified by:
getResource in interface WebDAVStorage
Throws:
WebDAVException

getResources

public List<Resource> getResources(WebDAVRequest webDAVRequest)
                            throws WebDAVException
Specified by:
getResources in interface WebDAVStorage
Throws:
WebDAVException

getRootPath

public String getRootPath()
Specified by:
getRootPath in interface WebDAVStorage

getToken

public String getToken()
Specified by:
getToken in interface WebDAVStorage

getWrappedWebDAVStorage

public WebDAVStorage getWrappedWebDAVStorage()

isAvailable

public boolean isAvailable(WebDAVRequest webDAVRequest)
                    throws WebDAVException
Specified by:
isAvailable in interface WebDAVStorage
Throws:
WebDAVException

isSupportsClassTwo

public boolean isSupportsClassTwo()
Specified by:
isSupportsClassTwo in interface WebDAVStorage

lockResource

public Status lockResource(WebDAVRequest webDAVRequest,
                           String owner,
                           long timeout)
                    throws WebDAVException
Specified by:
lockResource in interface WebDAVStorage
Throws:
WebDAVException

makeCollection

public Status makeCollection(WebDAVRequest webDAVRequest)
                      throws WebDAVException
Specified by:
makeCollection in interface WebDAVStorage
Throws:
WebDAVException

moveCollectionResource

public int moveCollectionResource(WebDAVRequest webDAVRequest,
                                  Resource resource,
                                  String destination,
                                  boolean overwrite)
                           throws WebDAVException
Specified by:
moveCollectionResource in interface WebDAVStorage
Throws:
WebDAVException

moveSimpleResource

public int moveSimpleResource(WebDAVRequest webDAVRequest,
                              Resource resource,
                              String destination,
                              boolean overwrite)
                       throws WebDAVException
Specified by:
moveSimpleResource in interface WebDAVStorage
Throws:
WebDAVException

putResource

public int putResource(WebDAVRequest webDAVRequest)
                throws WebDAVException
Specified by:
putResource in interface WebDAVStorage
Throws:
WebDAVException

refreshResourceLock

public Lock refreshResourceLock(WebDAVRequest webDAVRequest,
                                String uuid,
                                long timeout)
                         throws WebDAVException
Specified by:
refreshResourceLock in interface WebDAVStorage
Throws:
WebDAVException

setRootPath

public void setRootPath(String rootPath)
Specified by:
setRootPath in interface WebDAVStorage

setToken

public void setToken(String token)
Specified by:
setToken in interface WebDAVStorage

unlockResource

public boolean unlockResource(WebDAVRequest webDAVRequest,
                              String token)
                       throws WebDAVException
Specified by:
unlockResource in interface WebDAVStorage
Throws:
WebDAVException

Liferay 6.2-ce-ga5