Liferay 6.2-ce-ga5

com.liferay.portlet.dynamicdatamapping.webdav
Class DDMTemplateResourceImpl

java.lang.Object
  extended by com.liferay.portal.kernel.webdav.BaseResourceImpl
      extended by com.liferay.portlet.dynamicdatamapping.webdav.DDMTemplateResourceImpl
All Implemented Interfaces:
Resource

public class DDMTemplateResourceImpl
extends BaseResourceImpl


Constructor Summary
DDMTemplateResourceImpl(DDMTemplate template, String parentPath, String name)
           
 
Method Summary
 InputStream getContentAsStream()
           
 String getContentType()
           
 boolean isCollection()
           
 
Methods inherited from class com.liferay.portal.kernel.webdav.BaseResourceImpl
getClassName, getCreateDate, getDisplayName, getHREF, getLock, 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

DDMTemplateResourceImpl

public DDMTemplateResourceImpl(DDMTemplate template,
                               String parentPath,
                               String name)
Method Detail

getContentAsStream

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

getContentType

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

isCollection

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

Liferay 6.2-ce-ga5