Class FlowableProcessDefinitionService
- java.lang.Object
-
- org.flowable.ui.task.service.runtime.FlowableProcessDefinitionService
-
@Service @Transactional public class FlowableProcessDefinitionService extends Object
- Author:
- Tijs Rademakers
-
-
Field Summary
Fields Modifier and Type Field Description protected org.flowable.app.api.AppRepositoryServiceappRepositoryServiceprotected org.flowable.form.api.FormRepositoryServiceformRepositoryServiceprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapperprotected PermissionServicepermissionServiceprotected ProcessEngineConfigurationprocessEngineConfigurationprotected RepositoryServicerepositoryService
-
Constructor Summary
Constructors Constructor Description FlowableProcessDefinitionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<ProcessDefinitionRepresentation>convertDefinitionList(List<ProcessDefinition> definitions)ResultListDataRepresentationgetProcessDefinitions(Boolean latest, String appDefinitionKey)org.flowable.form.api.FormInfogetProcessDefinitionStartForm(String processDefinitionId)protected org.flowable.form.api.FormInfogetStartForm(ProcessDefinition processDefinition)
-
-
-
Field Detail
-
repositoryService
@Autowired protected RepositoryService repositoryService
-
processEngineConfiguration
@Autowired protected ProcessEngineConfiguration processEngineConfiguration
-
appRepositoryService
@Autowired protected org.flowable.app.api.AppRepositoryService appRepositoryService
-
formRepositoryService
@Autowired protected org.flowable.form.api.FormRepositoryService formRepositoryService
-
permissionService
@Autowired protected PermissionService permissionService
-
objectMapper
@Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Method Detail
-
getProcessDefinitionStartForm
public org.flowable.form.api.FormInfo getProcessDefinitionStartForm(String processDefinitionId)
-
getProcessDefinitions
public ResultListDataRepresentation getProcessDefinitions(Boolean latest, String appDefinitionKey)
-
getStartForm
protected org.flowable.form.api.FormInfo getStartForm(ProcessDefinition processDefinition)
-
convertDefinitionList
protected List<ProcessDefinitionRepresentation> convertDefinitionList(List<ProcessDefinition> definitions)
-
-