mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
1.0 KiB
1.0 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, message: string): Observable<CommentModel>
Adds a comment to a node.nodeId: string
- ID of the target nodemessage: 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.nodeId: string = null
- ID of the target node- Returns
Observable<CommentModel[]>
- Details for each comment
Details
See the Comments API section of the Alfresco JS API docs for more information about the underlying REST API.