public class ProcessDefinitionResourceImpl extends Object implements ProcessDefinitionResource
Constructor and Description |
---|
ProcessDefinitionResourceImpl(ProcessEngine engine,
String processDefinitionId,
String rootResourcePath) |
Modifier and Type | Method and Description |
---|---|
List<StatisticsResultDto> |
getActivityStatistics(Boolean includeFailedJobs,
Boolean includeIncidents,
String includeIncidentsForType) |
static String |
getMediaTypeForFileSuffix(String fileName)
Determines an IANA media type based on the file suffix.
|
ProcessDefinitionDto |
getProcessDefinition() |
ProcessDefinitionDiagramDto |
getProcessDefinitionBpmn20Xml() |
javax.ws.rs.core.Response |
getProcessDefinitionDiagram() |
String |
getRenderedForm() |
FormDto |
getStartForm() |
ProcessInstanceDto |
startProcessInstance(javax.ws.rs.core.UriInfo context,
StartProcessInstanceDto parameters) |
ProcessInstanceDto |
submitForm(javax.ws.rs.core.UriInfo context,
StartProcessInstanceDto parameters) |
void |
updateSuspensionState(ProcessDefinitionSuspensionStateDto dto) |
public ProcessDefinitionResourceImpl(ProcessEngine engine, String processDefinitionId, String rootResourcePath)
public ProcessDefinitionDto getProcessDefinition()
getProcessDefinition
in interface ProcessDefinitionResource
public ProcessInstanceDto startProcessInstance(javax.ws.rs.core.UriInfo context, StartProcessInstanceDto parameters)
startProcessInstance
in interface ProcessDefinitionResource
public ProcessInstanceDto submitForm(javax.ws.rs.core.UriInfo context, StartProcessInstanceDto parameters)
submitForm
in interface ProcessDefinitionResource
public List<StatisticsResultDto> getActivityStatistics(Boolean includeFailedJobs, Boolean includeIncidents, String includeIncidentsForType)
getActivityStatistics
in interface ProcessDefinitionResource
public ProcessDefinitionDiagramDto getProcessDefinitionBpmn20Xml()
getProcessDefinitionBpmn20Xml
in interface ProcessDefinitionResource
public javax.ws.rs.core.Response getProcessDefinitionDiagram()
getProcessDefinitionDiagram
in interface ProcessDefinitionResource
public static String getMediaTypeForFileSuffix(String fileName)
fileName
- public FormDto getStartForm()
getStartForm
in interface ProcessDefinitionResource
public String getRenderedForm()
getRenderedForm
in interface ProcessDefinitionResource
public void updateSuspensionState(ProcessDefinitionSuspensionStateDto dto)
updateSuspensionState
in interface ProcessDefinitionResource
Copyright © 2015. All rights reserved.