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 webDavReq, Resource resource, java.lang.String destination, boolean overwrite, long depth)
           
 int copySimpleResource(WebDAVRequest webDavReq, Resource resource, java.lang.String destination, boolean overwrite)
           
 int deleteResource(WebDAVRequest webDavReq)
           
 Resource getResource(WebDAVRequest webDavReq)
           
 java.util.List<Resource> getResources(WebDAVRequest webDavReq)
           
 java.lang.String getRootPath()
           
 boolean isAvailable(WebDAVRequest webDavReq)
           
 Status makeCollection(WebDAVRequest webDavReq)
           
 int moveCollectionResource(WebDAVRequest webDavReq, Resource resource, java.lang.String destination, boolean overwrite)
           
 int moveSimpleResource(WebDAVRequest webDavReq, Resource resource, java.lang.String destination, boolean overwrite)
           
 int putResource(WebDAVRequest webDavReq)
           
 void setRootPath(java.lang.String rootPath)
           
 

Method Detail

copyCollectionResource

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

copySimpleResource

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

deleteResource

int deleteResource(WebDAVRequest webDavReq)
                   throws WebDAVException
Throws:
WebDAVException

getResource

Resource getResource(WebDAVRequest webDavReq)
                     throws WebDAVException
Throws:
WebDAVException

getResources

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

getRootPath

java.lang.String getRootPath()

isAvailable

boolean isAvailable(WebDAVRequest webDavReq)
                    throws WebDAVException
Throws:
WebDAVException

makeCollection

Status makeCollection(WebDAVRequest webDavReq)
                      throws WebDAVException
Throws:
WebDAVException

moveCollectionResource

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

moveSimpleResource

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

putResource

int putResource(WebDAVRequest webDavReq)
                throws WebDAVException
Throws:
WebDAVException

setRootPath

void setRootPath(java.lang.String rootPath)