com.liferay.portlet.journal.webdav
Class JournalWebDAVStorageImpl

java.lang.Object
  extended bycom.liferay.portal.webdav.BaseWebDAVStorageImpl
      extended bycom.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
 Status addFolder(WebDAVRequest webDavReq)
           
 int copyResource(WebDAVRequest webDavReq, java.lang.String destination)
           
 int deleteResource(WebDAVRequest webDavReq)
           
protected  java.util.List getFolders(WebDAVRequest webDavReq)
           
 Resource getResource(WebDAVRequest webDavReq)
           
 java.util.List getResources(WebDAVRequest webDavReq)
           
protected  java.util.List getStructures(WebDAVRequest webDavReq)
           
protected  java.util.List getTemplates(WebDAVRequest webDavReq)
           
 int moveResource(WebDAVRequest webDavReq, java.lang.String destination)
           
 int putResource(WebDAVRequest webDavReq, java.lang.String destination)
           
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
getCommunities, getPlid, getResource, getRootPath, isAvailable, 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

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

getResource

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

getResources

public java.util.List getResources(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

getFolders

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

getStructures

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

getTemplates

protected java.util.List 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)