public interface TaskResource
Modifier and Type | Method and Description |
---|---|
void |
addIdentityLink(IdentityLinkDto identityLink) |
void |
claim(UserIdDto dto) |
javax.ws.rs.core.Response |
complete(CompleteTaskDto dto) |
void |
delegate(UserIdDto delegatedUser) |
void |
deleteIdentityLink(IdentityLinkDto identityLink) |
void |
deleteTask(String id) |
TaskAttachmentResource |
getAttachmentResource() |
javax.ws.rs.core.Response |
getDeployedForm() |
FormDto |
getForm() |
Map<String,VariableValueDto> |
getFormVariables(String variableNames,
boolean deserializeValues) |
List<IdentityLinkDto> |
getIdentityLinks(String type) |
VariableResource |
getLocalVariables() |
javax.ws.rs.core.Response |
getRenderedForm() |
Object |
getTask(javax.ws.rs.core.Request request) |
TaskCommentResource |
getTaskCommentResource() |
VariableResource |
getVariables() |
void |
resolve(CompleteTaskDto dto) |
void |
setAssignee(UserIdDto dto) |
javax.ws.rs.core.Response |
submit(CompleteTaskDto dto) |
void |
unclaim() |
void |
updateTask(TaskDto task) |
@GET @Produces(value={"application/json","application/hal+json"}) Object getTask(@Context javax.ws.rs.core.Request request)
@GET @Path(value="/form") @Produces(value="application/json") FormDto getForm()
@POST @Path(value="/submit-form") @Consumes(value="application/json") @Produces(value="application/json") javax.ws.rs.core.Response submit(CompleteTaskDto dto)
@GET @Path(value="/rendered-form") @Produces(value="application/xhtml+xml") javax.ws.rs.core.Response getRenderedForm()
@GET @Path(value="/deployed-form") javax.ws.rs.core.Response getDeployedForm()
@POST @Path(value="/claim") @Consumes(value="application/json") void claim(UserIdDto dto)
@POST @Path(value="/unclaim") void unclaim()
@POST @Path(value="/complete") @Consumes(value="application/json") @Produces(value="application/json") javax.ws.rs.core.Response complete(CompleteTaskDto dto)
@POST @Path(value="/resolve") @Consumes(value="application/json") void resolve(CompleteTaskDto dto)
@POST @Path(value="/delegate") @Consumes(value="application/json") void delegate(UserIdDto delegatedUser)
@POST @Path(value="/assignee") @Consumes(value="application/json") void setAssignee(UserIdDto dto)
@GET @Path(value="/identity-links") @Produces(value="application/json") List<IdentityLinkDto> getIdentityLinks(@QueryParam(value="type") String type)
@POST @Path(value="/identity-links") @Consumes(value="application/json") void addIdentityLink(IdentityLinkDto identityLink)
@POST @Path(value="/identity-links/delete") @Consumes(value="application/json") void deleteIdentityLink(IdentityLinkDto identityLink)
@Path(value="/comment") TaskCommentResource getTaskCommentResource()
@Path(value="/attachment") TaskAttachmentResource getAttachmentResource()
@Path(value="/variables") VariableResource getVariables()
@Path(value="/localVariables") VariableResource getLocalVariables()
@GET @Path(value="/form-variables") @Produces(value="application/json") Map<String,VariableValueDto> getFormVariables(@QueryParam(value="variableNames") String variableNames, @QueryParam(value="deserializeValues") @DefaultValue(value="true") boolean deserializeValues)
@PUT @Consumes(value="application/json") void updateTask(TaskDto task)
@DELETE void deleteTask(@PathParam(value="id") String id)
Copyright © 2022. All rights reserved.