|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommentManager
Method Summary | |
---|---|
Comment |
addComment(long documentId,
CommentVisibility visibility,
java.lang.String commentText)
Adds a comment to the branch "main", language "default" of this document. |
Comment |
addComment(long documentId,
long branchId,
long languageId,
CommentVisibility visibility,
java.lang.String commentText)
|
void |
deleteComment(Comment comment)
|
void |
deleteComment(long documentId,
long commentId)
Deletes a comment from the branch "main", language "default" of the document. |
void |
deleteComment(long 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(long documentId)
Gets the comments from the branch "main", languge "default" of the document. |
Comments |
getComments(long documentId,
long branchId,
long langugeId)
Returns the comments for a specific document variant. |
Comments |
getComments(VariantKey variantKey)
|
Method Detail |
---|
Comment addComment(long documentId, long branchId, long languageId, CommentVisibility visibility, java.lang.String commentText) throws RepositoryException
RepositoryException
Comment addComment(long documentId, CommentVisibility visibility, java.lang.String commentText) throws RepositoryException
RepositoryException
void deleteComment(long documentId, long branchId, long languageId, long commentId) throws RepositoryException
RepositoryException
void deleteComment(long documentId, long commentId) throws RepositoryException
RepositoryException
void deleteComment(Comment comment) throws RepositoryException
RepositoryException
Comments getComments(long documentId, long branchId, long langugeId) throws RepositoryException
The comments are ordered by creation date.
RepositoryException
Comments getComments(VariantKey variantKey) throws RepositoryException
RepositoryException
getComments(long, long, long)
Comments getComments(long documentId) throws RepositoryException
RepositoryException
Comments getComments(CommentVisibility visibility) throws RepositoryException
RepositoryException
Comments getComments() throws RepositoryException
RepositoryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |