Class CmmnFormProvider

java.lang.Object
com.flowable.platform.service.form.PermissionAwareFormProvider
com.flowable.platform.service.caze.CmmnFormProvider
All Implemented Interfaces:
FormProvider, PermissionServiceRegistryAware, Aware

public class CmmnFormProvider extends PermissionAwareFormProvider
Author:
Filip Hrisafov
  • Field Details

  • Constructor Details

  • Method Details

    • getScopeType

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

      public 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 FormInfo getStartFormInfo(String caseInstanceId)
    • getWorkFormInfo

      protected FormInfo getWorkFormInfo(String caseInstanceId, String caseDefinitionId, String tenantId)
    • fetchCaseInstanceWithHistory

      protected CaseInstanceInfo fetchCaseInstanceWithHistory(String caseInstanceId)
    • getExtensionElementValue

      protected String getExtensionElementValue(String name, CmmnElement cmmnElement)
    • getFormInfoForScopeDefinitionId

      public 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 FormInfo getStartFormInfoByDefinitionId(String scopeDefinitionId)
    • getCmmnHistoryService

      protected CmmnHistoryService getCmmnHistoryService()
    • getCmmnRuntimeService

      protected CmmnRuntimeService getCmmnRuntimeService()
    • getCmmnRepositoryService

      protected CmmnRepositoryService getCmmnRepositoryService()