Liferay 6.2.0

com.liferay.portal.kernel.webdav
Interface WebDAVStorage

All Known Implementing Classes:
BaseWebDAVStorageImpl, WebDAVStorageWrapper

public interface WebDAVStorage


Method Summary
abstract  int copyCollectionResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite, long depth)
           
abstract  int copySimpleResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite)
           
abstract  int deleteResource(WebDAVRequest webDAVRequest)
           
abstract  MethodFactory getMethodFactory()
           
abstract  Resource getResource(WebDAVRequest webDAVRequest)
           
abstract  List<Resource> getResources(WebDAVRequest webDAVRequest)
           
abstract  String getRootPath()
           
abstract  String getToken()
           
abstract  boolean isAvailable(WebDAVRequest webDAVRequest)
           
abstract  boolean isSupportsClassTwo()
           
abstract  Status lockResource(WebDAVRequest webDAVRequest, String owner, long timeout)
           
abstract  Status makeCollection(WebDAVRequest webDAVRequest)
           
abstract  int moveCollectionResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite)
           
abstract  int moveSimpleResource(WebDAVRequest webDAVRequest, Resource resource, String destination, boolean overwrite)
           
abstract  int putResource(WebDAVRequest webDAVRequest)
           
abstract  Lock refreshResourceLock(WebDAVRequest webDAVRequest, String uuid, long timeout)
           
abstract  void setRootPath(String rootPath)
           
abstract  void setToken(String token)
           
abstract  boolean unlockResource(WebDAVRequest webDAVRequest, String token)
           
 

Method Detail

copyCollectionResource

int copyCollectionResource(WebDAVRequest webDAVRequest,
                           Resource resource,
                           String destination,
                           boolean overwrite,
                           long depth)
                           throws WebDAVException
Throws:
WebDAVException

copySimpleResource

int copySimpleResource(WebDAVRequest webDAVRequest,
                       Resource resource,
                       String destination,
                       boolean overwrite)
                       throws WebDAVException
Throws:
WebDAVException

deleteResource

int deleteResource(WebDAVRequest webDAVRequest)
                   throws WebDAVException
Throws:
WebDAVException

getMethodFactory

MethodFactory getMethodFactory()

getResource

Resource getResource(WebDAVRequest webDAVRequest)
                     throws WebDAVException
Throws:
WebDAVException

getResources

List<Resource> getResources(WebDAVRequest webDAVRequest)
                            throws WebDAVException
Throws:
WebDAVException

getRootPath

String getRootPath()

getToken

String getToken()

isAvailable

boolean isAvailable(WebDAVRequest webDAVRequest)
                    throws WebDAVException
Throws:
WebDAVException

isSupportsClassTwo

boolean isSupportsClassTwo()

lockResource

Status lockResource(WebDAVRequest webDAVRequest,
                    String owner,
                    long timeout)
                    throws WebDAVException
Throws:
WebDAVException

makeCollection

Status makeCollection(WebDAVRequest webDAVRequest)
                      throws WebDAVException
Throws:
WebDAVException

moveCollectionResource

int moveCollectionResource(WebDAVRequest webDAVRequest,
                           Resource resource,
                           String destination,
                           boolean overwrite)
                           throws WebDAVException
Throws:
WebDAVException

moveSimpleResource

int moveSimpleResource(WebDAVRequest webDAVRequest,
                       Resource resource,
                       String destination,
                       boolean overwrite)
                       throws WebDAVException
Throws:
WebDAVException

putResource

int putResource(WebDAVRequest webDAVRequest)
                throws WebDAVException
Throws:
WebDAVException

refreshResourceLock

Lock refreshResourceLock(WebDAVRequest webDAVRequest,
                         String uuid,
                         long timeout)
                         throws WebDAVException
Throws:
WebDAVException

setRootPath

void setRootPath(String rootPath)

setToken

void setToken(String token)

unlockResource

boolean unlockResource(WebDAVRequest webDAVRequest,
                       String token)
                       throws WebDAVException
Throws:
WebDAVException

Liferay 6.2.0