|
||||||||||
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(String name)
Creates a new data item in the current location. |
ContentLocation |
createLocation(String name)
Creates a new content location in the current location. |
boolean |
exists(String name)
Checks, whether an content entity with the given name exists in this content location. |
ContentEntity |
getEntry(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(String name) throws ContentIOException
name
- the name of the entity to be retrieved.
ContentIOException
- if an repository error occured.ContentItem createItem(String name) throws ContentCreationException
name
- the name of the new entity.
ContentCreationException
- if the item could not be created.ContentLocation createLocation(String name) throws ContentCreationException
name
- the name of the new entity.
ContentCreationException
- if the item could not be created.boolean exists(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 |