public class BaseProcessDefinitionResource extends Object
Modifier and Type | Field and Description |
---|---|
protected org.activiti.engine.RepositoryService |
repositoryService |
protected RestResponseFactory |
restResponseFactory |
Constructor and Description |
---|
BaseProcessDefinitionResource() |
Modifier and Type | Method and Description |
---|---|
protected org.activiti.engine.repository.ProcessDefinition |
getProcessDefinitionFromRequest(String processDefinitionId)
Returns the
ProcessDefinition that is requested. |
@Autowired protected RestResponseFactory restResponseFactory
@Autowired protected org.activiti.engine.RepositoryService repositoryService
protected org.activiti.engine.repository.ProcessDefinition getProcessDefinitionFromRequest(String processDefinitionId)
ProcessDefinition
that is requested. Throws the right exceptions
when bad request was made or definition is not found.Copyright © 2016 Alfresco. All rights reserved.