|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public Comment addComment(long documentId, long branchId, long languageId, CommentVisibility visibility, java.lang.String commentText) throws RepositoryException
RepositoryException
public Comment addComment(long documentId, CommentVisibility visibility, java.lang.String commentText) throws RepositoryException
RepositoryException
public void deleteComment(long documentId, long branchId, long languageId, long commentId) throws RepositoryException
RepositoryException
public void deleteComment(long documentId, long commentId) throws RepositoryException
RepositoryException
public void deleteComment(Comment comment) throws RepositoryException
RepositoryException
public Comments getComments(long documentId, long branchId, long langugeId) throws RepositoryException
The comments are ordered by creation date.
RepositoryException
public Comments getComments(VariantKey variantKey) throws RepositoryException
RepositoryException
getComments(long, long, long)
public Comments getComments(long documentId) throws RepositoryException
RepositoryException
public Comments getComments(CommentVisibility visibility) throws RepositoryException
RepositoryException
public Comments getComments() throws RepositoryException
RepositoryException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |