use of org.activiti.rest.service.api.engine.RestIdentityLink in project Activiti by Activiti.
the class TaskIdentityLinkResource method getIdentityLink.
@RequestMapping(value = "/runtime/tasks/{taskId}/identitylinks/{family}/{identityId}/{type}", method = RequestMethod.GET, produces = "application/json")
public RestIdentityLink getIdentityLink(@PathVariable("taskId") String taskId, @PathVariable("family") String family, @PathVariable("identityId") String identityId, @PathVariable("type") String type, HttpServletRequest request) {
Task task = getTaskFromRequest(taskId);
validateIdentityLinkArguments(family, identityId, type);
IdentityLink link = getIdentityLink(family, identityId, type, task.getId());
return restResponseFactory.createRestIdentityLink(link);
}
Aggregations