|
Daisy Open Source CMS | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CommentManager
| Method Summary | |
|---|---|
Comment |
addComment(String documentId,
CommentVisibility visibility,
String commentText)
Adds a comment to the branch "main", language "default" of this document. |
Comment |
addComment(String documentId,
long branchId,
long languageId,
CommentVisibility visibility,
String commentText)
|
void |
deleteComment(Comment comment)
|
void |
deleteComment(String documentId,
long commentId)
Deletes a comment from the branch "main", language "default" of the document. |
void |
deleteComment(String documentId,
long branchId,
long languageId,
long commentId)
Deletes a comment. |
Comments |
getComments()
Returns all comments created by the current user. |
Comments |
getComments(CommentVisibility visibility)
Returns all comments with the specified visibility, created by the current user. |
Comments |
getComments(String documentId)
Gets the comments from the branch "main", languge "default" of the document. |
Comments |
getComments(String documentId,
long branchId,
long langugeId)
Returns the comments for a specific document variant. |
Comments |
getComments(VariantKey variantKey)
|
| Method Detail |
|---|
Comment addComment(String documentId,
long branchId,
long languageId,
CommentVisibility visibility,
String commentText)
throws RepositoryException
RepositoryException
Comment addComment(String documentId,
CommentVisibility visibility,
String commentText)
throws RepositoryException
RepositoryException
void deleteComment(String documentId,
long branchId,
long languageId,
long commentId)
throws RepositoryException
RepositoryException
void deleteComment(String documentId,
long commentId)
throws RepositoryException
RepositoryException
void deleteComment(Comment comment)
throws RepositoryException
RepositoryException
Comments getComments(String documentId,
long branchId,
long langugeId)
throws RepositoryException
The comments are ordered by creation date.
RepositoryException
Comments getComments(VariantKey variantKey)
throws RepositoryException
RepositoryExceptiongetComments(String, long, long)
Comments getComments(String documentId)
throws RepositoryException
RepositoryException
Comments getComments(CommentVisibility visibility)
throws RepositoryException
RepositoryException
Comments getComments()
throws RepositoryException
RepositoryException
|
Daisy Open Source CMS | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||