public interface ContextAreaCommentTreeController
| Modifier and Type | Method and Description |
|---|---|
void |
deleteComment(ContextAreaCommentTreeModel model,
CommentModel commentItemModel)
Performs delete routine for the given comment instance.
|
CommentIcon |
getCommentIcon(ContextAreaCommentTreeModel model,
CommentModel comment)
Returns a corresponding
CommentIcon component for the target comment instance. |
CommentLayerComponent |
getOwningCommentLayer(ContextAreaCommentTreeModel model,
CommentModel commentItemModel)
Returns
CommentLayerComponent that owns icon representing the target comment instance. |
boolean |
getUserWorkingStatus(AbstractCommentModel comment)
Returns working status of the target
AbstractCommentModel instance for the current user. |
boolean |
isCommentCurrentlySelected(ContextAreaCommentTreeModel model,
AbstractCommentModel commentItemModel)
Evaluates if the target comment instance is currently selected in the comment layer.
|
boolean |
isCommentRecordCollapsable(AbstractCommentModel abstractComment)
Evaluates if the record of the context area comment tree for the given
AbstractCommentModel should render
the collapse/expand control. |
boolean |
isCommentVisible(ContextAreaCommentTreeModel model,
CommentModel comment)
Evaluates if the target comment is currently visible on the comment layer.
|
void |
selectComment(ContextAreaCommentTreeModel model,
CommentModel commentItemModel)
Performs select routine for the given comment instance.
|
void |
setUserWorkingStatus(AbstractCommentModel comment,
boolean workingStatus)
Sets working status of the target
AbstractCommentModel instance for the current user. |
void |
toggleCommentVisible(ContextAreaCommentTreeModel model,
CommentModel comment)
Toggles visibility of the target comment instance on the comment layer component.
|
boolean isCommentCurrentlySelected(ContextAreaCommentTreeModel model, AbstractCommentModel commentItemModel)
model - ContextAreaCommentTreeModelcommentItemModel - - instance to checkboolean isCommentVisible(ContextAreaCommentTreeModel model, CommentModel comment)
model - - ContextAreaCommentTreeModelcomment - - comment instance to checkvoid selectComment(ContextAreaCommentTreeModel model, CommentModel commentItemModel)
model - - ContextAreaCommentTreeModelcommentItemModel - - comment instance to selectvoid deleteComment(ContextAreaCommentTreeModel model, CommentModel commentItemModel)
model - - ContextAreaCommentTreeModelcommentItemModel - - comment instance to selectvoid toggleCommentVisible(ContextAreaCommentTreeModel model, CommentModel comment)
model - - ContextAreaCommentTreeModelcomment - - target comment instance.CommentLayerComponent getOwningCommentLayer(ContextAreaCommentTreeModel model, CommentModel commentItemModel)
CommentLayerComponent that owns icon representing the target comment instance.model - - ContextAreaCommentTreeModelcommentItemModel - - target comment instanceboolean getUserWorkingStatus(AbstractCommentModel comment)
AbstractCommentModel instance for the current user.comment - - target AbstractCommentModel instance.true or falsevoid setUserWorkingStatus(AbstractCommentModel comment, boolean workingStatus)
AbstractCommentModel instance for the current user.comment - - target AbstractCommentModel instance.workingStatus - - new working status value.boolean isCommentRecordCollapsable(AbstractCommentModel abstractComment)
AbstractCommentModel should render
the collapse/expand control.CommentIcon getCommentIcon(ContextAreaCommentTreeModel model, CommentModel comment)
CommentIcon component for the target comment instance.model - - ContextAreaCommentTreeModelcomment - - target CommentModelCommentIcon or nullCopyright © 2018 SAP SE. All Rights Reserved.