alfresco-ng2-components/docs/core/services/comment-content.service.md
Eugenio Romano c3452a4f62
Documentation build (#6762)
* move doc dependency in doctools

* add ignore link

* rebuild doc

* version index

* put it back some deps
2021-03-03 14:08:15 +00:00

1.6 KiB

Title, Added, Status, Last reviewed
Title Added Status Last reviewed
Comment Content service v2.3.0 Active 2018-04-12

Comment Content service

Adds and retrieves comments for nodes in Content Services.

Class members

Methods

  • addNodeComment(nodeId: string, message: string): Observable<CommentModel>
    Adds a comment to a node.
    • nodeId: string - ID of the target node
    • message: string - Text for the comment
    • Returns Observable<CommentModel> - Details of the comment added
  • getNodeComments(nodeId: string): Observable<CommentModel[]>
    Gets all comments that have been added to a node.

Details

See the Comments API section of the Alfresco JS API docs for more information about the underlying REST API.

See also