public class ProcessDefinitionRestServiceImpl extends AbstractRestProcessEngineAware implements ProcessDefinitionRestService
relativeRootResourcePath
processEngine
APPLICATION_BPMN20_XML, APPLICATION_BPMN20_XML_TYPE, PATH
Constructor and Description |
---|
ProcessDefinitionRestServiceImpl() |
ProcessDefinitionRestServiceImpl(String engineName) |
Modifier and Type | Method and Description |
---|---|
ProcessDefinitionResource |
getProcessDefinitionById(String processDefinitionId) |
ProcessDefinitionResource |
getProcessDefinitionByKey(String processDefinitionKey) |
List<ProcessDefinitionDto> |
getProcessDefinitions(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults)
Exposes the
ProcessDefinitionQuery interface as a REST service. |
CountResultDto |
getProcessDefinitionsCount(javax.ws.rs.core.UriInfo uriInfo) |
List<StatisticsResultDto> |
getStatistics(Boolean includeFailedJobs,
Boolean includeIncidents,
String includeIncidentsForType) |
void |
updateSuspensionState(ProcessDefinitionSuspensionStateDto dto) |
getProcessEngine, setRelativeRootResourceUri
public ProcessDefinitionRestServiceImpl()
public ProcessDefinitionRestServiceImpl(String engineName)
public ProcessDefinitionResource getProcessDefinitionByKey(String processDefinitionKey)
getProcessDefinitionByKey
in interface ProcessDefinitionRestService
public ProcessDefinitionResource getProcessDefinitionById(String processDefinitionId)
getProcessDefinitionById
in interface ProcessDefinitionRestService
public List<ProcessDefinitionDto> getProcessDefinitions(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
ProcessDefinitionRestService
ProcessDefinitionQuery
interface as a REST service.getProcessDefinitions
in interface ProcessDefinitionRestService
public CountResultDto getProcessDefinitionsCount(javax.ws.rs.core.UriInfo uriInfo)
getProcessDefinitionsCount
in interface ProcessDefinitionRestService
public List<StatisticsResultDto> getStatistics(Boolean includeFailedJobs, Boolean includeIncidents, String includeIncidentsForType)
getStatistics
in interface ProcessDefinitionRestService
public void updateSuspensionState(ProcessDefinitionSuspensionStateDto dto)
updateSuspensionState
in interface ProcessDefinitionRestService
Copyright © 2015. All rights reserved.