public class ProcessDefinitionRestServiceImpl extends AbstractRestProcessEngineAware implements ProcessDefinitionRestService
objectMapper, relativeRootResourcePath
processEngine
APPLICATION_BPMN20_XML, APPLICATION_BPMN20_XML_TYPE, PATH
Constructor and Description |
---|
ProcessDefinitionRestServiceImpl(String engineName,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
ProcessDefinitionResource |
getProcessDefinitionById(String processDefinitionId) |
ProcessDefinitionResource |
getProcessDefinitionByKey(String processDefinitionKey) |
ProcessDefinitionResource |
getProcessDefinitionByKeyAndTenantId(String processDefinitionKey,
String tenantId) |
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) |
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
public ProcessDefinitionRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public ProcessDefinitionResource getProcessDefinitionByKey(String processDefinitionKey)
getProcessDefinitionByKey
in interface ProcessDefinitionRestService
public ProcessDefinitionResource getProcessDefinitionByKeyAndTenantId(String processDefinitionKey, String tenantId)
getProcessDefinitionByKeyAndTenantId
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 © 2017. All rights reserved.