@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface ReviewController extends AuthorChangeTrackingController, AuthorReviewerNameController
Modifier and Type | Method and Description |
---|---|
void |
addComment(int startOffset,
int endOffset,
java.lang.String comment)
Adds a comment marker at given offsets.
|
void |
addReply(java.lang.String replyComment,
AuthorPersistentHighlight parentHighlight)
Adds a reply to the specified highlight.
|
void |
editComment(AuthorPersistentHighlight highlight,
java.lang.String newComment)
Edits the comment of a marker (comment and tracked change).
|
java.util.List<AuthorPersistentHighlight> |
getAllHighlights() |
java.lang.Integer |
getAuthorNumber(java.lang.String author) |
void |
removeComment(AuthorPersistentHighlight highlight)
Removes a comment marker.
|
void |
toggleMarkAsDone(AuthorPersistentHighlight highlight)
Toggle the "done" state of the specified highlight.
|
accept, accept, getAttributeChangeHighlights, getChangeHighlights, getChangeHighlights, isTrackingChanges, reject, reject, toggleTrackChanges
getReviewerAuthorName, setReviewerAuthorName
void toggleMarkAsDone(AuthorPersistentHighlight highlight)
highlight
- The highlight to toggle the done state for.Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
void addReply(java.lang.String replyComment, AuthorPersistentHighlight parentHighlight)
AuthorPersistentHighlight.PersistentHighlightType.CHANGE_INSERT
AuthorPersistentHighlight.PersistentHighlightType.CHANGE_DELETE
AuthorPersistentHighlight.PersistentHighlightType.COMMENT
AuthorPersistentHighlightConstants.COMMENT_ID
.
All its replies will have the AuthorPersistentHighlightConstants.COMMENT_PARENT_ID
property set, with the same value as the id of the parent.replyComment
- The reply comment.parentHighlight
- The parent highlight.Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
void addComment(int startOffset, int endOffset, java.lang.String comment)
startOffset
- The start offset of the marker (inclusive).endOffset
- The end offset of the marker (exclusive).comment
- The comment of the marker.void removeComment(AuthorPersistentHighlight highlight)
highlight
- The comment marker.void editComment(AuthorPersistentHighlight highlight, java.lang.String newComment)
highlight
- The marker.newComment
- The new comment.java.util.List<AuthorPersistentHighlight> getAllHighlights()
java.lang.Integer getAuthorNumber(java.lang.String author)
author
- The name of the author.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.