@Path(value="userworkflow") public interface UserWorkflowService extends JAXRSService
PARAM_ANYTYPE_KIND, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_RESOURCE, PARAM_SIZE| Modifier and Type | Method and Description |
|---|---|
WorkflowFormTO |
claimForm(String taskId)
Claims the form for the given task id.
|
UserTO |
executeTask(String taskId,
UserTO userTO)
Executes workflow task for matching id.
|
WorkflowFormTO |
getFormForUser(String userKey)
Returns a list of available forms for the given user key.
|
List<WorkflowFormTO> |
getForms()
Returns a list of all available workflow forms.
|
UserTO |
submitForm(WorkflowFormTO form)
Submits a workflow form.
|
@GET
@Path(value="forms")
@Produces(value={"application/json","application/xml"})
List<WorkflowFormTO> getForms()
@GET
@Path(value="forms/{userKey}")
@Produces(value={"application/json","application/xml"})
WorkflowFormTO getFormForUser(@NotNull @PathParam(value="userKey")
String userKey)
userKey - user key@POST
@Path(value="forms/{taskId}/claim")
@Produces(value={"application/json","application/xml"})
WorkflowFormTO claimForm(@NotNull @PathParam(value="taskId")
String taskId)
taskId - workflow task id@POST
@Path(value="forms")
@Produces(value={"application/json","application/xml"})
@Consumes(value={"application/json","application/xml"})
UserTO submitForm(@NotNull
WorkflowFormTO form)
form - workflow form.@POST
@Path(value="tasks/{taskId}/execute")
@Produces(value={"application/json","application/xml"})
@Consumes(value={"application/json","application/xml"})
UserTO executeTask(@NotNull @PathParam(value="taskId")
String taskId,
@NotNull
UserTO userTO)
taskId - workflow task iduserTO - argument to be passed to workflow taskCopyright © 2010–2018 The Apache Software Foundation. All rights reserved.