Source:
<code>List<DocumentModel> getComments(CoreSession session, DocumentModel docModel) throws CommentSecurityException; @Deprecated List<DocumentModel> getComments(DocumentModel docModel, DocumentModel parent); @Deprecated DocumentModel createComment(DocumentModel docModel, String comment); @Deprecated DocumentModel createComment(DocumentModel docModel, String comment, String author); DocumentModel createComment(DocumentModel docModel, DocumentModel comment) throws CommentSecurityException; @Deprecated DocumentModel createComment(DocumentModel docModel, DocumentModel parent, DocumentModel child); @Deprecated void deleteComment(DocumentModel docModel, DocumentModel comment); @Deprecated List<DocumentModel> getDocumentsForComment(DocumentModel comment); DocumentModel getThreadForComment(DocumentModel comment) throws CommentSecurityException; DocumentModel createLocatedComment(DocumentModel docModel, DocumentModel comment, String path) throws CommentSecurityException; Comment createComment(CoreSession session, Comment comment) throws CommentNotFoundException, CommentSecurityException; Comment getComment(CoreSession session, String commentId) throws CommentNotFoundException, CommentSecurityException; List<Comment> getComments(CoreSession session, String documentId); List<Comment> getComments(CoreSession session, String documentId, boolean sortAscending); PartialList<Comment> getComments(CoreSession session, String documentId, Long pageSize, Long currentPageIndex); PartialList<Comment> getComments(CoreSession session, String documentId, Long pageSize, Long currentPageIndex, boolean sortAscending) throws CommentSecurityException; Comment updateComment(CoreSession session, String commentId, Comment comment) throws CommentNotFoundException, CommentSecurityException; void deleteComment(CoreSession session, String commentId) throws CommentNotFoundException, CommentSecurityException; Comment getExternalComment(CoreSession session, String entityId) throws CommentNotFoundException, CommentSecurityException; Comment updateExternalComment(CoreSession session, String entityId, Comment comment) throws CommentNotFoundException, CommentSecurityException; void deleteExternalComment(CoreSession session, String entityId) throws CommentNotFoundException, CommentSecurityException; boolean hasFeature(Feature feature); default DocumentRef getAncestorRef(CoreSession session, DocumentRef commentIdRef){ <START> throw new UnsupportedOperationException("Method not implemented !"); <END> }</code><technical_language>need for exclamation marks, for matter for a message all. below</technical_language>

Target:
List<DocumentModel> getComments(CoreSession session, DocumentModel docModel) throws CommentSecurityException; @Deprecated List<DocumentModel> getComments(DocumentModel docModel, DocumentModel parent); @Deprecated DocumentModel createComment(DocumentModel docModel, String comment); @Deprecated DocumentModel createComment(DocumentModel docModel, String comment, String author); DocumentModel createComment(DocumentModel docModel, DocumentModel comment) throws CommentSecurityException; @Deprecated DocumentModel createComment(DocumentModel docModel, DocumentModel parent, DocumentModel child); @Deprecated void deleteComment(DocumentModel docModel, DocumentModel comment); @Deprecated List<DocumentModel> getDocumentsForComment(DocumentModel comment); @Deprecated DocumentModel getThreadForComment(DocumentModel comment) throws CommentSecurityException; DocumentModel createLocatedComment(DocumentModel docModel, DocumentModel comment, String path) throws CommentSecurityException; Comment createComment(CoreSession session, Comment comment) throws CommentNotFoundException, CommentSecurityException; Comment getComment(CoreSession session, String commentId) throws CommentNotFoundException, CommentSecurityException; List<Comment> getComments(CoreSession session, String documentId); List<Comment> getComments(CoreSession session, String documentId, boolean sortAscending); PartialList<Comment> getComments(CoreSession session, String documentId, Long pageSize, Long currentPageIndex); PartialList<Comment> getComments(CoreSession session, String documentId, Long pageSize, Long currentPageIndex, boolean sortAscending) throws CommentSecurityException; Comment updateComment(CoreSession session, String commentId, Comment comment) throws CommentNotFoundException, CommentSecurityException; void deleteComment(CoreSession session, String commentId) throws CommentNotFoundException, CommentSecurityException; Comment getExternalComment(CoreSession session, String entityId) throws CommentNotFoundException, CommentSecurityException; Comment updateExternalComment(CoreSession session, String entityId, Comment comment) throws CommentNotFoundException, CommentSecurityException; void deleteExternalComment(CoreSession session, String entityId) throws CommentNotFoundException, CommentSecurityException; boolean hasFeature(Feature feature); default DocumentRef getTopLevelCommentAncestor(CoreSession session, DocumentRef commentIdRef) { throw new UnsupportedOperationException(); }