com.liferay.portlet.journal.webdav
Class JournalStructureResourceImpl

java.lang.Object
  extended by com.liferay.portal.webdav.BaseResourceImpl
      extended by com.liferay.portlet.journal.webdav.JournalStructureResourceImpl
All Implemented Interfaces:
com.liferay.portal.webdav.Resource

public class JournalStructureResourceImpl
extends com.liferay.portal.webdav.BaseResourceImpl

View Source

Author:
Alexander Chow

Constructor Summary
JournalStructureResourceImpl(com.liferay.portlet.journal.model.JournalStructure structure, java.lang.String parentPath, java.lang.String name)
           
 
Method Summary
 java.io.InputStream getContentAsStream()
           
 java.lang.String getContentType()
           
 boolean isCollection()
           
 
Methods inherited from class com.liferay.portal.webdav.BaseResourceImpl
getClassName, getCreateDate, getDisplayName, getHREF, getModel, getModifiedDate, getPrimaryKey, getSize, isLocked, setClassName, setModel, setPrimaryKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalStructureResourceImpl

public JournalStructureResourceImpl(com.liferay.portlet.journal.model.JournalStructure structure,
                                    java.lang.String parentPath,
                                    java.lang.String name)
Method Detail

isCollection

public boolean isCollection()
Specified by:
isCollection in interface com.liferay.portal.webdav.Resource
Overrides:
isCollection in class com.liferay.portal.webdav.BaseResourceImpl

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface com.liferay.portal.webdav.Resource
Overrides:
getContentType in class com.liferay.portal.webdav.BaseResourceImpl

getContentAsStream

public java.io.InputStream getContentAsStream()
                                       throws com.liferay.portal.webdav.WebDAVException
Specified by:
getContentAsStream in interface com.liferay.portal.webdav.Resource
Overrides:
getContentAsStream in class com.liferay.portal.webdav.BaseResourceImpl
Throws:
com.liferay.portal.webdav.WebDAVException