com.liferay.portlet.journal.webdav
Class JournalTemplateResourceImpl

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

public class JournalTemplateResourceImpl
extends BaseResourceImpl

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
JournalTemplateResourceImpl(com.liferay.portlet.journal.model.JournalTemplate template, 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

JournalTemplateResourceImpl

public JournalTemplateResourceImpl(com.liferay.portlet.journal.model.JournalTemplate template,
                                   java.lang.String parentPath,
                                   java.lang.String name)
Method Detail

isCollection

public boolean isCollection()
Specified by:
isCollection in interface Resource
Overrides:
isCollection in class BaseResourceImpl

getContentType

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

getContentAsStream

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