com.liferay.portal.webdav
Interface WebDAVStorage

All Known Implementing Classes:
BaseWebDAVStorageImpl

public interface WebDAVStorage

View Source

Author:
Brian Wing Shun Chan

Method Summary
 Status addFolder(WebDAVRequest webDavReq)
           
 int copyResource(WebDAVRequest webDavReq, java.lang.String destination)
           
 int deleteResource(WebDAVRequest webDavReq)
           
 java.util.List getCommunities(WebDAVRequest webDavReq)
           
 Resource getResource(WebDAVRequest webDavReq)
           
 java.util.List getResources(WebDAVRequest webDavReq)
           
 java.lang.String getRootPath()
           
 boolean isAvailable(WebDAVRequest webDavReq)
           
 int moveResource(WebDAVRequest webDavReq, java.lang.String destination)
           
 int putResource(WebDAVRequest webDavReq, java.lang.String destination)
           
 void setRootPath(java.lang.String rootPath)
           
 

Method Detail

getRootPath

public java.lang.String getRootPath()

setRootPath

public void setRootPath(java.lang.String rootPath)

addFolder

public Status addFolder(WebDAVRequest webDavReq)
                 throws WebDAVException
Throws:
WebDAVException

copyResource

public int copyResource(WebDAVRequest webDavReq,
                        java.lang.String destination)
                 throws WebDAVException
Throws:
WebDAVException

deleteResource

public int deleteResource(WebDAVRequest webDavReq)
                   throws WebDAVException
Throws:
WebDAVException

getCommunities

public java.util.List getCommunities(WebDAVRequest webDavReq)
                              throws WebDAVException
Throws:
WebDAVException

getResource

public Resource getResource(WebDAVRequest webDavReq)
                     throws WebDAVException
Throws:
WebDAVException

getResources

public java.util.List getResources(WebDAVRequest webDavReq)
                            throws WebDAVException
Throws:
WebDAVException

isAvailable

public boolean isAvailable(WebDAVRequest webDavReq)
                    throws WebDAVException
Throws:
WebDAVException

moveResource

public int moveResource(WebDAVRequest webDavReq,
                        java.lang.String destination)
                 throws WebDAVException
Throws:
WebDAVException

putResource

public int putResource(WebDAVRequest webDavReq,
                       java.lang.String destination)
                throws WebDAVException
Throws:
WebDAVException