|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentEntity
A content entity is the base interface for both data items and directory items.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |