public interface ContentLocation extends ContentEntity
| Modifier and Type | Method and Description |
|---|---|
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.
|
delete, getAttribute, getContentId, getName, getParent, getRepository, setAttributeContentEntity[] 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.