com.liferay.portal.webdav
Interface WebDAVStorage

All Known Implementing Classes:
BaseWebDAVStorageImpl, CompanyWebDAVStorageImpl, DLWebDAVStorageImpl, GroupWebDAVStorageImpl, IGWebDAVStorageImpl, JournalWebDAVStorageImpl

public interface WebDAVStorage

View Source

Author:
Brian Wing Shun Chan, Alexander Chow

Method Summary
 int copyCollectionResource(WebDAVRequest webDavRequest, Resource resource, java.lang.String destination, boolean overwrite, long depth)
           
 int copySimpleResource(WebDAVRequest webDavRequest, Resource resource, java.lang.String destination, boolean overwrite)
           
 int deleteResource(WebDAVRequest webDavRequest)
           
 Resource getResource(WebDAVRequest webDavRequest)
           
 java.util.List<Resource> getResources(WebDAVRequest webDavRequest)
           
 java.lang.String getRootPath()
           
 boolean isAvailable(WebDAVRequest webDavRequest)
           
 Status makeCollection(WebDAVRequest webDavRequest)
           
 int moveCollectionResource(WebDAVRequest webDavRequest, Resource resource, java.lang.String destination, boolean overwrite)
           
 int moveSimpleResource(WebDAVRequest webDavRequest, Resource resource, java.lang.String destination, boolean overwrite)
           
 int putResource(WebDAVRequest webDavRequest)
           
 void setRootPath(java.lang.String rootPath)
           
 

Method Detail

copyCollectionResource

int copyCollectionResource(WebDAVRequest webDavRequest,
                           Resource resource,
                           java.lang.String destination,
                           boolean overwrite,
                           long depth)
                           throws WebDAVException
Throws:
WebDAVException

copySimpleResource

int copySimpleResource(WebDAVRequest webDavRequest,
                       Resource resource,
                       java.lang.String destination,
                       boolean overwrite)
                       throws WebDAVException
Throws:
WebDAVException

deleteResource

int deleteResource(WebDAVRequest webDavRequest)
                   throws WebDAVException
Throws:
WebDAVException

getResource

Resource getResource(WebDAVRequest webDavRequest)
                     throws WebDAVException
Throws:
WebDAVException

getResources

java.util.List<Resource> getResources(WebDAVRequest webDavRequest)
                                      throws WebDAVException
Throws:
WebDAVException

getRootPath

java.lang.String getRootPath()

isAvailable

boolean isAvailable(WebDAVRequest webDavRequest)
                    throws WebDAVException
Throws:
WebDAVException

makeCollection

Status makeCollection(WebDAVRequest webDavRequest)
                      throws WebDAVException
Throws:
WebDAVException

moveCollectionResource

int moveCollectionResource(WebDAVRequest webDavRequest,
                           Resource resource,
                           java.lang.String destination,
                           boolean overwrite)
                           throws WebDAVException
Throws:
WebDAVException

moveSimpleResource

int moveSimpleResource(WebDAVRequest webDavRequest,
                       Resource resource,
                       java.lang.String destination,
                       boolean overwrite)
                       throws WebDAVException
Throws:
WebDAVException

putResource

int putResource(WebDAVRequest webDavRequest)
                throws WebDAVException
Throws:
WebDAVException

setRootPath

void setRootPath(java.lang.String rootPath)