public interface ContentEntity
Modifier and Type | Method and Description |
---|---|
boolean |
delete()
Attempts to delete the entity.
|
Object |
getAttribute(String domain,
String key)
Returns a attribute value for the given domain (namespace) and attribute-name.
|
Object |
getContentId()
Returns a unique identifier.
|
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(String domain,
String key,
Object value)
Updates the attribute value for the given attribute domain and name.
|
String getName()
Object getContentId()
Object getAttribute(String domain, String key)
LibRepositoryBoot
class.domain
- the attribute domain.key
- the name of the attribute.boolean setAttribute(String domain, String key, Object value)
domain
- the attribute domain.key
- the attribute namevalue
- the new attribute value.ContentLocation getParent()
Repository getRepository()
boolean delete()