@RestController public class ProcessInstanceResource extends AbstractProcessInstanceResource
formProcessingService, historyService, permissionService, processInstanceService, repositoryService, runtimeService, userCache
Constructor and Description |
---|
ProcessInstanceResource() |
Modifier and Type | Method and Description |
---|---|
void |
deleteProcessInstance(String processInstanceId) |
com.activiti.model.runtime.ProcessInstanceRepresentation |
getProcessInstance(String processInstanceId,
javax.servlet.http.HttpServletResponse response) |
com.activiti.model.editor.form.FormDefinitionRepresentation |
getProcessInstanceStartForm(String processInstanceId,
javax.servlet.http.HttpServletResponse response) |
@RequestMapping(value="/rest/process-instances/{processInstanceId}", method=GET, produces="application/json") public com.activiti.model.runtime.ProcessInstanceRepresentation getProcessInstance(@PathVariable String processInstanceId, javax.servlet.http.HttpServletResponse response)
getProcessInstance
in class AbstractProcessInstanceResource
@RequestMapping(value="/rest/process-instances/{processInstanceId}/start-form", method=GET, produces="application/json") public com.activiti.model.editor.form.FormDefinitionRepresentation getProcessInstanceStartForm(@PathVariable String processInstanceId, javax.servlet.http.HttpServletResponse response)
getProcessInstanceStartForm
in class AbstractProcessInstanceResource
@RequestMapping(value="/rest/process-instances/{processInstanceId}", method=DELETE) @ResponseStatus(value=OK) public void deleteProcessInstance(@PathVariable String processInstanceId)
deleteProcessInstance
in class AbstractProcessInstanceResource
Copyright © 2014–2015 Alfresco. All rights reserved.