Class BpmnFormProvider
- java.lang.Object
-
- com.flowable.platform.service.form.PermissionAwareFormProvider
-
- com.flowable.platform.service.process.BpmnFormProvider
-
- All Implemented Interfaces:
FormProvider,PermissionServiceRegistryAware,Aware
public class BpmnFormProvider extends PermissionAwareFormProvider
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected FormRepositoryServiceformRepositoryServiceprotected FormServiceformServiceprotected ProcessEngineprocessEngine-
Fields inherited from class com.flowable.platform.service.form.PermissionAwareFormProvider
permissionServiceRegistry
-
-
Constructor Summary
Constructors Constructor Description BpmnFormProvider(ProcessEngine processEngine, FormRepositoryService formRepositoryService, FormService formService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ProcessInstanceInfofetchProcessInstanceWithHistory(String processInstanceId)protected StringgetExtensionElementText(BaseElement baseElement, String extensionElementName)FormInfogetFormInfoForScopeDefinitionId(String scopeDefinitionId, FormProviderContext context)FormInfogetFormInfoForScopeId(String scopeId, FormProviderContext context)protected HistoryServicegetHistoryService()protected RepositoryServicegetRepositoryService()protected RuntimeServicegetRuntimeService()StringgetScopeType()protected FormInfogetStartFormInfo(String processInstanceId)protected FormInfogetStartFormInfoByDefinitionId(String scopeDefinitionId)protected FormInfogetWorkFormInfo(String processInstanceId)-
Methods inherited from class com.flowable.platform.service.form.PermissionAwareFormProvider
getCurrentTenantId, getPermissionScopeType, setPermissionServiceRegistry, validatePermissionOnHistoricScope, validatePermissionOnRuntimeScope, validatePermissionOnScope, validateReadPermissionOnScopeDefinition
-
-
-
-
Field Detail
-
processEngine
protected final ProcessEngine processEngine
-
formRepositoryService
protected final FormRepositoryService formRepositoryService
-
formService
protected final FormService formService
-
-
Constructor Detail
-
BpmnFormProvider
public BpmnFormProvider(ProcessEngine processEngine, FormRepositoryService formRepositoryService, FormService formService)
-
-
Method Detail
-
getScopeType
public String getScopeType()
-
getFormInfoForScopeId
public FormInfo getFormInfoForScopeId(String scopeId, FormProviderContext context)
-
fetchProcessInstanceWithHistory
protected ProcessInstanceInfo fetchProcessInstanceWithHistory(String processInstanceId)
-
getExtensionElementText
protected String getExtensionElementText(BaseElement baseElement, String extensionElementName)
-
getFormInfoForScopeDefinitionId
public FormInfo getFormInfoForScopeDefinitionId(String scopeDefinitionId, FormProviderContext context)
-
getStartFormInfoByDefinitionId
protected FormInfo getStartFormInfoByDefinitionId(String scopeDefinitionId)
-
getHistoryService
protected HistoryService getHistoryService()
-
getRuntimeService
protected RuntimeService getRuntimeService()
-
getRepositoryService
protected RepositoryService getRepositoryService()
-
-