import {NoteCommentService} from 'ceo-core/application/services/noteComment-service.js'NoteCommentService
Extends:
BaseService → NoteCommentService
Note comments are fetched from API and injected into the NoteViewer. Again, you shouldn't need to interactio with this component outside the NoteViewer.
Method Summary
| Public Methods | ||
| public |
create(id: *, data: *, callback: *): * |
|
| public |
createAndFetch(id: *, data: *, callback: *): * |
|
| public |
fetch(id: *, opts: *): * |
|
| public |
updateComments(comments: *): * |
|
Inherited Summary
| From class BaseService | ||
| public |
Preform a DELETE action |
|
| public |
Preform a GET action |
|
| public |
Preform a POST action |
|
| public |
postUpload(url: string, data: object, params: object): object Preform a POST action |
|
| public |
Preform a PUT action |
|
Public Methods
public create(id: *, data: *, callback: *): * source
Params:
| Name | Type | Attribute | Description |
| id | * | ||
| data | * | ||
| callback | * |
Return:
| * |
public createAndFetch(id: *, data: *, callback: *): * source
Params:
| Name | Type | Attribute | Description |
| id | * | ||
| data | * | ||
| callback | * |
Return:
| * |
public updateComments(comments: *): * source
Params:
| Name | Type | Attribute | Description |
| comments | * |
Return:
| * |