Interface UserWorkflowTaskService
- All Superinterfaces:
JAXRSService
- All Known Implementing Classes:
UserWorkflowTaskServiceImpl
-
Field Summary
Fields inherited from interface org.apache.syncope.common.rest.api.service.JAXRSService
CRLF, DOUBLE_DASH, PARAM_ANYTYPE_KIND, PARAM_ANYTYPEKEY, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_KEYWORD, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_REALM, PARAM_RECURSIVE, PARAM_RESOURCE, PARAM_SIZE, PARAM_USER
-
Method Summary
Modifier and TypeMethodDescriptionexecuteNextTask
(@NotNull WorkflowTaskExecInput workflowTaskExecInput) Executes the next workflow task available, for matching user key.getAvailableTasks
(@NotNull String userKey) Returns a list of available tasks for the given user key.
-
Method Details
-
getAvailableTasks
@GET @Path("tasks/{userKey}") @Produces({"application/json","application/yaml","application/xml"}) List<WorkflowTask> getAvailableTasks(@NotNull @PathParam("userKey") @NotNull String userKey) Returns a list of available tasks for the given user key.- Parameters:
userKey
- user key- Returns:
- list of available tasks for the given user key
-
executeNextTask
@POST @Path("tasks/{userKey}") @Produces({"application/json","application/yaml","application/xml"}) @Consumes({"application/json","application/yaml","application/xml"}) UserTO executeNextTask(@NotNull @NotNull WorkflowTaskExecInput workflowTaskExecInput) Executes the next workflow task available, for matching user key.- Parameters:
workflowTaskExecInput
- input for task execution- Returns:
- updated user
-