org.pentaho.platform.plugin.action.jfreereport.repository
Class ReportContentItem

java.lang.Object
  extended by org.pentaho.platform.plugin.action.jfreereport.repository.ReportContentItem

public class ReportContentItem
extends Object

Creation-Date: 05.07.2007, 14:54:08

Author:
Thomas Morgner

Constructor Summary
ReportContentItem(IContentItem backend, ReportContentLocation parent)
           
 
Method Summary
 boolean delete()
           
 Object getAttribute(String domain, String key)
           
 Object getContentId()
           
 InputStream getInputStream()
           
 String getMimeType()
           
 String getName()
           
 OutputStream getOutputStream()
           
 ContentLocation getParent()
           
 Repository getRepository()
           
 boolean isReadable()
           
 boolean isWriteable()
           
 boolean setAttribute(String domain, String key, Object object)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportContentItem

public ReportContentItem(IContentItem backend,
                         ReportContentLocation parent)
Method Detail

getMimeType

public String getMimeType()
                   throws ContentIOException
Throws:
ContentIOException

getOutputStream

public OutputStream getOutputStream()
                             throws ContentIOException,
                                    IOException
Throws:
ContentIOException
IOException

getInputStream

public InputStream getInputStream()
                           throws ContentIOException,
                                  IOException
Throws:
ContentIOException
IOException

isReadable

public boolean isReadable()

isWriteable

public boolean isWriteable()

getName

public String getName()

getContentId

public Object getContentId()

getAttribute

public Object getAttribute(String domain,
                           String key)

setAttribute

public boolean setAttribute(String domain,
                            String key,
                            Object object)

getParent

public ContentLocation getParent()

getRepository

public Repository getRepository()

delete

public boolean delete()