ContentItem
, ContentLocation
DummyContentItem
, DummyContentLocation
, FileContentEntity
, FileContentItem
, FileContentLocation
, StreamContentItem
, StreamContentLocation
, ZipContentItem
, ZipContentItem
, ZipContentLocation
, ZipContentLocation
, ZipReadContentItem
, ZipReadContentLocation
public interface ContentEntity
Modifier and Type | Method | Description |
---|---|---|
boolean |
delete() |
Attempts to delete the entity.
|
java.lang.Object |
getAttribute(java.lang.String domain,
java.lang.String key) |
Returns a attribute value for the given domain (namespace) and attribute-name.
|
java.lang.Object |
getContentId() |
Returns a unique identifier.
|
java.lang.String |
getName() |
Returns the name of the entry.
|
ContentLocation |
getParent() |
Returns a reference to the parent location.
|
Repository |
getRepository() |
Returns the current repository, to which tis entity belongs.
|
boolean |
setAttribute(java.lang.String domain,
java.lang.String key,
java.lang.Object value) |
Updates the attribute value for the given attribute domain and name.
|
java.lang.String getName()
java.lang.Object getContentId()
java.lang.Object getAttribute(java.lang.String domain, java.lang.String key)
LibRepositoryBoot
class.domain
- the attribute domain.key
- the name of the attribute.boolean setAttribute(java.lang.String domain, java.lang.String key, java.lang.Object value)
domain
- the attribute domain.key
- the attribute namevalue
- the new attribute value.ContentLocation getParent()
Repository getRepository()
boolean delete()