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 FormRepositoryService
formRepositoryService
protected FormService
formService
protected ProcessEngine
processEngine
-
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 ProcessInstanceInfo
fetchProcessInstanceWithHistory(String processInstanceId)
protected String
getExtensionElementText(BaseElement baseElement, String extensionElementName)
FormInfo
getFormInfoForScopeDefinitionId(String scopeDefinitionId, FormProviderContext context)
FormInfo
getFormInfoForScopeId(String scopeId, FormProviderContext context)
protected HistoryService
getHistoryService()
protected RepositoryService
getRepositoryService()
protected RuntimeService
getRuntimeService()
String
getScopeType()
protected FormInfo
getStartFormInfo(String processInstanceId)
protected FormInfo
getStartFormInfoByDefinitionId(String scopeDefinitionId)
protected FormInfo
getWorkFormInfo(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()
-
-