public class AbstractCommentsResource extends Object
| Constructor and Description |
|---|
AbstractCommentsResource() |
| Modifier and Type | Method and Description |
|---|---|
CommentRepresentation |
addProcessInstanceComment(CommentRepresentation commentRequest,
String processInstanceId) |
CommentRepresentation |
addTaskComment(CommentRepresentation commentRequest,
String taskId) |
protected void |
checkReadPermissionOnProcessInstance(User user,
String processInstanceId) |
protected void |
checkReadPermissionOnTask(User user,
String taskId) |
ResultListDataRepresentation |
getProcessInstanceComments(String processInstanceId,
Boolean latestFirst) |
ResultListDataRepresentation |
getTaskComments(String taskId,
Boolean latestFirst) |
public ResultListDataRepresentation getTaskComments(String taskId, Boolean latestFirst)
public CommentRepresentation addTaskComment(CommentRepresentation commentRequest, String taskId)
public ResultListDataRepresentation getProcessInstanceComments(String processInstanceId, Boolean latestFirst)
public CommentRepresentation addProcessInstanceComment(CommentRepresentation commentRequest, String processInstanceId)
Copyright © 2017 Alfresco. All rights reserved.