alfresco-ng2-components/docs/core/comment-content.service.md
Andy Stark 28ba09897e [ADF-2764] Added new type linker features and applied them to core docs (#3442)
* [ADF-2764] Added basic support for composite and external types

* [ADF-2764] Added new type linker features and applied to core docs
2018-06-06 13:21:31 +02:00

1.5 KiB

Added, Status, Last reviewed
Added Status Last reviewed
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 = null, message: string = null): 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 = null): 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