|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContentLocation
This represents a container in the repository. If the repository is a filesystem, this will be a directory.
| Method Summary | |
|---|---|
ContentItem |
createItem(java.lang.String name)
Creates a new data item in the current location. |
ContentLocation |
createLocation(java.lang.String name)
Creates a new content location in the current location. |
boolean |
exists(java.lang.String name)
Checks, whether an content entity with the given name exists in this content location. |
ContentEntity |
getEntry(java.lang.String name)
Returns the content entity with the given name. |
ContentEntity[] |
listContents()
Returns all content entities stored in this content-location. |
| Methods inherited from interface org.pentaho.reporting.libraries.repository.ContentEntity |
|---|
delete, getAttribute, getContentId, getName, getParent, getRepository, setAttribute |
| Method Detail |
|---|
ContentEntity[] listContents()
throws ContentIOException
ContentIOException - if an repository error occured.
ContentEntity getEntry(java.lang.String name)
throws ContentIOException
name - the name of the entity to be retrieved.
ContentIOException - if an repository error occured.
ContentItem createItem(java.lang.String name)
throws ContentCreationException
name - the name of the new entity.
ContentCreationException - if the item could not be created.
ContentLocation createLocation(java.lang.String name)
throws ContentCreationException
name - the name of the new entity.
ContentCreationException - if the item could not be created.boolean exists(java.lang.String name)
name - the name of the new entity.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||