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 |
---|---|
protected void |
deleteProcessDefinitions(DeleteProcessDefinitionsBuilder builder,
boolean cascade,
boolean skipCustomListeners,
boolean skipIoMappings) |
void |
deleteProcessDefinitionsByKey(String processDefinitionKey,
boolean cascade,
boolean skipCustomListeners,
boolean skipIoMappings) |
void |
deleteProcessDefinitionsByKeyAndTenantId(String processDefinitionKey,
boolean cascade,
boolean skipCustomListeners,
boolean skipIoMappings,
String tenantId) |
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 includeRootIncidents,
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 includeRootIncidents, Boolean includeIncidents, String includeIncidentsForType)
getStatistics
in interface ProcessDefinitionRestService
public void updateSuspensionState(ProcessDefinitionSuspensionStateDto dto)
updateSuspensionState
in interface ProcessDefinitionRestService
public void deleteProcessDefinitionsByKey(String processDefinitionKey, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings)
deleteProcessDefinitionsByKey
in interface ProcessDefinitionRestService
public void deleteProcessDefinitionsByKeyAndTenantId(String processDefinitionKey, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings, String tenantId)
deleteProcessDefinitionsByKeyAndTenantId
in interface ProcessDefinitionRestService
protected void deleteProcessDefinitions(DeleteProcessDefinitionsBuilder builder, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings)
Copyright © 2019. All rights reserved.