Class RestWorkflowAPI
java.lang.Object
org.alfresco.rest.requests.ModelRequest<RestWorkflowAPI>
org.alfresco.rest.requests.workflowAPI.RestWorkflowAPI
Defines the entire Rest Workflow API {@link https://api-explorer.alfresco.com/api-explorer/} select "Workflow API"
-
Field Summary
Fields inherited from class org.alfresco.rest.requests.ModelRequest
restWrapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddProcess(String processDefinitionKey, org.alfresco.utility.model.UserModel assignee, boolean sendEmailNotifications, org.alfresco.dataprep.CMISUtil.Priority priority) Provides DSL on all REST calls under/processes/{processId}/...API pathaddProcessWithBody(jakarta.json.JsonObject postBody) Provides DSL on all REST calls under/processes/{processId}/...API pathProvides all ProcessDefinitions of current user logged inProvides all deployments of current user logged inProvides get all process/processesof current user logged ingetTasks()Provides all tasks of the current userusingDeployment(RestDeploymentModel deployment) Provides DSL on all REST calls under/deployments/{deploymentID}API pathusingProcess(org.alfresco.utility.model.ProcessModel processModel) Provides DSL on all REST calls under/process-definition/{processDefinitionID}API pathusingProcessDefinitions(RestProcessDefinitionModel processDefinition) Provides DSL on all REST calls under/process-definition/{processDefinitionID}API pathusingTask(org.alfresco.utility.model.TaskModel task) Provides DSL on all REST calls under/tasks/{taskId}/...API pathMethods inherited from class org.alfresco.rest.requests.ModelRequest
include, includePath, usingParams
-
Constructor Details
-
RestWorkflowAPI
-
-
Method Details
-
addProcess
public RestProcessModel addProcess(String processDefinitionKey, org.alfresco.utility.model.UserModel assignee, boolean sendEmailNotifications, org.alfresco.dataprep.CMISUtil.Priority priority) Provides DSL on all REST calls under/processes/{processId}/...API path- Returns:
RestProcessModel
-
addProcessWithBody
Provides DSL on all REST calls under/processes/{processId}/...API path- Returns:
RestProcessModel
-
usingTask
Provides DSL on all REST calls under/tasks/{taskId}/...API path- Returns:
Task
-
getProcesses
Provides get all process/processesof current user logged in- Returns:
RestProcessModelsCollection
-
getDeployments
Provides all deployments of current user logged in- Returns:
RestDeploymentModelsCollection
-
usingDeployment
Provides DSL on all REST calls under/deployments/{deploymentID}API path- Returns:
Deployments
-
getAllProcessDefinitions
Provides all ProcessDefinitions of current user logged in -
usingProcessDefinitions
Provides DSL on all REST calls under/process-definition/{processDefinitionID}API path- Returns:
ProcessDefinitions
-
usingProcess
Provides DSL on all REST calls under/process-definition/{processDefinitionID}API path- Returns:
Processes
-
getTasks
Provides all tasks of the current user- Returns:
RestTaskModelsCollection
-