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

java.lang.Object
  extended by org.pentaho.platform.plugin.action.jfreereport.repository.ReportContentLocation
All Implemented Interfaces:
org.pentaho.reporting.libraries.repository.ContentEntity, org.pentaho.reporting.libraries.repository.ContentLocation

public class ReportContentLocation
extends Object
implements org.pentaho.reporting.libraries.repository.ContentLocation

Creation-Date: 05.07.2007, 14:45:06

Author:
Thomas Morgner

Constructor Summary
ReportContentLocation(IContentLocation location, ReportContentRepository repository, String actionName)
           
 
Method Summary
 org.pentaho.reporting.libraries.repository.ContentItem createItem(String name)
           
 org.pentaho.reporting.libraries.repository.ContentLocation createLocation(String string)
           
 boolean delete()
           
 boolean exists(String string)
           
 String getActionName()
           
 Object getAttribute(String domain, String key)
           
 Object getContentId()
           
 org.pentaho.reporting.libraries.repository.ContentEntity getEntry(String string)
           
 String getName()
           
 org.pentaho.reporting.libraries.repository.ContentLocation getParent()
           
 org.pentaho.reporting.libraries.repository.Repository getRepository()
           
 org.pentaho.reporting.libraries.repository.ContentEntity[] listContents()
           
 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

ReportContentLocation

public ReportContentLocation(IContentLocation location,
                             ReportContentRepository repository,
                             String actionName)
Method Detail

listContents

public org.pentaho.reporting.libraries.repository.ContentEntity[] listContents()
                                                                        throws org.pentaho.reporting.libraries.repository.ContentIOException
Specified by:
listContents in interface org.pentaho.reporting.libraries.repository.ContentLocation
Throws:
org.pentaho.reporting.libraries.repository.ContentIOException

getEntry

public org.pentaho.reporting.libraries.repository.ContentEntity getEntry(String string)
                                                                  throws org.pentaho.reporting.libraries.repository.ContentIOException
Specified by:
getEntry in interface org.pentaho.reporting.libraries.repository.ContentLocation
Throws:
org.pentaho.reporting.libraries.repository.ContentIOException

createItem

public org.pentaho.reporting.libraries.repository.ContentItem createItem(String name)
                                                                  throws org.pentaho.reporting.libraries.repository.ContentCreationException
Specified by:
createItem in interface org.pentaho.reporting.libraries.repository.ContentLocation
Throws:
org.pentaho.reporting.libraries.repository.ContentCreationException

createLocation

public org.pentaho.reporting.libraries.repository.ContentLocation createLocation(String string)
                                                                          throws org.pentaho.reporting.libraries.repository.ContentCreationException
Specified by:
createLocation in interface org.pentaho.reporting.libraries.repository.ContentLocation
Throws:
org.pentaho.reporting.libraries.repository.ContentCreationException

exists

public boolean exists(String string)
Specified by:
exists in interface org.pentaho.reporting.libraries.repository.ContentLocation

getActionName

public String getActionName()

getName

public String getName()
Specified by:
getName in interface org.pentaho.reporting.libraries.repository.ContentEntity

getContentId

public Object getContentId()
Specified by:
getContentId in interface org.pentaho.reporting.libraries.repository.ContentEntity

getAttribute

public Object getAttribute(String domain,
                           String key)
Specified by:
getAttribute in interface org.pentaho.reporting.libraries.repository.ContentEntity

setAttribute

public boolean setAttribute(String domain,
                            String key,
                            Object object)
Specified by:
setAttribute in interface org.pentaho.reporting.libraries.repository.ContentEntity

getParent

public org.pentaho.reporting.libraries.repository.ContentLocation getParent()
Specified by:
getParent in interface org.pentaho.reporting.libraries.repository.ContentEntity

getRepository

public org.pentaho.reporting.libraries.repository.Repository getRepository()
Specified by:
getRepository in interface org.pentaho.reporting.libraries.repository.ContentEntity

delete

public boolean delete()
Specified by:
delete in interface org.pentaho.reporting.libraries.repository.ContentEntity