org.pentaho.reporting.libraries.repository.email

Class EmailContentLocation

public class EmailContentLocation extends Object implements ContentLocation

Creation-Date: 17.09.2008, 15:00:00

Author: Pedro Alves - WebDetails

Constructor Summary
EmailContentLocation(EmailRepository repository, ContentLocation parent, String name)
Method Summary
ContentItemcreateItem(String name)
Creates a new data item in the current location.
ContentLocationcreateLocation(String name)
booleandelete()
booleanexists(String name)
ObjectgetAttribute(String domain, String key)
ObjectgetContentId()
ContentEntitygetEntry(String name)
StringgetName()
ContentLocationgetParent()
RepositorygetRepository()
ContentEntity[]listContents()
booleansetAttribute(String domain, String key, Object value)

Constructor Detail

EmailContentLocation

public EmailContentLocation(EmailRepository repository, ContentLocation parent, String name)

Method Detail

createItem

public ContentItem createItem(String name)
Creates a new data item in the current location. This method must never return null.

Parameters: name

Returns:

Throws: ContentCreationException if the item could not be created.

createLocation

public ContentLocation createLocation(String name)

delete

public boolean delete()

exists

public boolean exists(String name)

getAttribute

public Object getAttribute(String domain, String key)

getContentId

public Object getContentId()

getEntry

public ContentEntity getEntry(String name)

getName

public String getName()

getParent

public ContentLocation getParent()

getRepository

public Repository getRepository()

listContents

public ContentEntity[] listContents()

setAttribute

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