|
||||||||||
| 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. |
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. |
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||