Liferay 6.2-ce-ga5

com.liferay.portal.kernel.webdav
Interface WebDAVStorage

All Known Implementing Classes:
ApplicationDisplayTemplateWebDAVStorageImpl, BaseWebDAVStorageImpl, CompanyWebDAVStorageImpl, DDLWebDAVStorageImpl, DLWebDAVStorageImpl, GroupWebDAVStorageImpl, JournalWebDAVStorageImpl, WebDAVStorageWrapper

public interface 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()
           
 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)
           
 

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-ce-ga5