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 Details

    • processEngine

      protected final org.flowable.engine.ProcessEngine processEngine
    • formRepositoryService

      protected final CoreFormRepositoryService formRepositoryService
    • formService

      protected final org.flowable.form.api.FormService formService
  • Constructor Details

    • BpmnFormProvider

      public BpmnFormProvider(org.flowable.engine.ProcessEngine processEngine, CoreFormRepositoryService formRepositoryService, org.flowable.form.api.FormService formService)
  • Method Details

    • getScopeType

      public String getScopeType()
      Description copied from interface: FormProvider
      The scope type that this form provider is responsible for
    • getFormInfoForScopeId

      public org.flowable.form.api.FormInfo getFormInfoForScopeId(String scopeId, FormProviderContext context)
      Description copied from interface: FormProvider
      Retrieve the form info for the given scopeId in the provided context
      Parameters:
      scopeId - the scope instance id
      context - the context under which the form info should be retrieved (never null)
      Returns:
      the form info for the scope
    • getStartFormInfo

      protected org.flowable.form.api.FormInfo getStartFormInfo(String processInstanceId)
    • getWorkFormInfo

      protected org.flowable.form.api.FormInfo getWorkFormInfo(String processInstanceId)
    • fetchProcessInstanceWithHistory

      protected ProcessInstanceInfo fetchProcessInstanceWithHistory(String processInstanceId)
    • getExtensionElementText

      protected String getExtensionElementText(org.flowable.bpmn.model.BaseElement baseElement, String extensionElementName)
    • getFormInfoForScopeDefinitionId

      public org.flowable.form.api.FormInfo getFormInfoForScopeDefinitionId(String scopeDefinitionId, FormProviderContext context)
      Description copied from interface: FormProvider
      Retrieve the form info for the given scopeDefinitionId in the provided context. This is different compared with FormProvider.getFormInfoForScopeId(String, FormProviderContext) such that it looks for a form for a given definition instead of an instance.
      Parameters:
      scopeDefinitionId - the scope definition id
      context - the context under which the form info should be retrieved (never null)
      Returns:
      the form info for the scope definition
    • getStartFormInfoByDefinitionId

      protected org.flowable.form.api.FormInfo getStartFormInfoByDefinitionId(String scopeDefinitionId)
    • getHistoryService

      protected org.flowable.engine.HistoryService getHistoryService()
    • getRuntimeService

      protected org.flowable.engine.RuntimeService getRuntimeService()
    • getRepositoryService

      protected org.flowable.engine.RepositoryService getRepositoryService()