|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is a mixin interface for elements that can have comments.
Method Summary | |
String |
getComment()
Returns the comment of the element. |
void |
setComment(User setter,
String comment)
Changes the element's comment. |
Method Detail |
public String getComment()
null
)public void setComment(User setter, String comment) throws OntologyManagerException, DynamicRightsManagerException
setter
- the user who wants to change the commentcomment
- the new comment (null
is treated as an empty string)
OntologyManagerException
- if the comment could not be changed
DynamicRightsManagerException
- if the user is not allowed to change the commentDynamicRightsManager.mayChangeConceptComment(User, Concept)
,
DynamicRightsManager.mayChangeUserComment(User, User)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |