|
Nuxeo Enterprise Platform 5.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CommentableDocument
| Method Summary | |
|---|---|
DocumentModel |
addComment(DocumentModel comment)
Creates a new comment. |
DocumentModel |
addComment(DocumentModel parent,
DocumentModel comment)
Creates a new comment as a reply to an existing comment. |
List<DocumentModel> |
getComments()
Returns all comments for this document. |
List<DocumentModel> |
getComments(DocumentModel parent)
Returns the comments for this document that are replied to a parent comment. |
void |
removeComment(DocumentModel comment)
Removes a comment from the document comment list. |
| Method Detail |
|---|
List<DocumentModel> getComments()
throws ClientException
ClientException
List<DocumentModel> getComments(DocumentModel parent)
throws ClientException
parent - the parent comment
ClientException
void removeComment(DocumentModel comment)
throws ClientException
comment -
ClientException
DocumentModel addComment(DocumentModel comment)
throws ClientException
comment -
ClientException
DocumentModel addComment(DocumentModel parent,
DocumentModel comment)
throws ClientException
parent - the parent comment, which must existcomment - the comment to be added
ClientException
|
Nuxeo Enterprise Platform 5.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||