com.liferay.portlet.journal.webdav
Class JournalWebDAVStorageImpl

java.lang.Object
  extended by com.liferay.portal.webdav.BaseWebDAVStorageImpl
      extended by com.liferay.portlet.journal.webdav.JournalWebDAVStorageImpl
All Implemented Interfaces:
WebDAVStorage

public class JournalWebDAVStorageImpl
extends BaseWebDAVStorageImpl

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
JournalWebDAVStorageImpl()
           
 
Method Summary
 int deleteResource(WebDAVRequest webDavReq)
           
protected  java.util.List<Resource> getFolders(WebDAVRequest webDavReq)
           
 Resource getResource(WebDAVRequest webDavReq)
           
 java.util.List<Resource> getResources(WebDAVRequest webDavReq)
           
protected  java.util.List<Resource> getStructures(WebDAVRequest webDavReq)
           
protected  java.util.List<Resource> getTemplates(WebDAVRequest webDavReq)
           
 int putResource(WebDAVRequest webDavReq)
           
protected  Resource toResource(WebDAVRequest webDavReq, com.liferay.portlet.journal.model.JournalStructure structure, boolean appendPath)
           
protected  Resource toResource(WebDAVRequest webDavReq, com.liferay.portlet.journal.model.JournalTemplate template, boolean appendPath)
           
protected  Resource toResource(WebDAVRequest webDavReq, java.lang.String type, boolean appendPath)
           
 
Methods inherited from class com.liferay.portal.webdav.BaseWebDAVStorageImpl
copyCollectionResource, copySimpleResource, getPlid, getRootPath, getToken, isAvailable, makeCollection, moveCollectionResource, moveSimpleResource, setRootPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalWebDAVStorageImpl

public JournalWebDAVStorageImpl()
Method Detail

deleteResource

public int deleteResource(WebDAVRequest webDavReq)
                   throws WebDAVException
Specified by:
deleteResource in interface WebDAVStorage
Overrides:
deleteResource in class BaseWebDAVStorageImpl
Throws:
WebDAVException

getResource

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

getResources

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

putResource

public int putResource(WebDAVRequest webDavReq)
                throws WebDAVException
Specified by:
putResource in interface WebDAVStorage
Overrides:
putResource in class BaseWebDAVStorageImpl
Throws:
WebDAVException

getFolders

protected java.util.List<Resource> getFolders(WebDAVRequest webDavReq)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getStructures

protected java.util.List<Resource> getStructures(WebDAVRequest webDavReq)
                                          throws java.lang.Exception
Throws:
java.lang.Exception

getTemplates

protected java.util.List<Resource> getTemplates(WebDAVRequest webDavReq)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

toResource

protected Resource toResource(WebDAVRequest webDavReq,
                              java.lang.String type,
                              boolean appendPath)

toResource

protected Resource toResource(WebDAVRequest webDavReq,
                              com.liferay.portlet.journal.model.JournalStructure structure,
                              boolean appendPath)

toResource

protected Resource toResource(WebDAVRequest webDavReq,
                              com.liferay.portlet.journal.model.JournalTemplate template,
                              boolean appendPath)