Package com.polarion.alm.tracker.model
Interface IWithComments<T extends ICommentBase<T>>
- All Known Subinterfaces:
IRichPage
public interface IWithComments<T extends ICommentBase<T>>
- Since:
- 3.23.10
-
Method Summary
Modifier and TypeMethodDescriptioncreateComment
(Text text) getCommentById
(String id) Returns the comment with the given ID.getRootComments
(boolean includeResolved) Returns the root comments.void
removeComment
(T comment) Remove the comment object and all of its children
-
Method Details
-
getComments
-
getRootComments
- See Also:
-
getRootComments
Returns the root comments.- Returns:
- root
IComment
s (notnull
) - See Also:
-
getCommentById
Returns the comment with the given ID. (Also returns the newly created comments.) -
createComment
- Parameters:
text
- The text, cannot benull
.- Returns:
- The Comment object with the necessary fields filled in.
-
removeComment
Remove the comment object and all of its children- Parameters:
comment
- comment to remove
-