Class CmmnFormProvider
java.lang.Object
com.flowable.platform.service.form.PermissionAwareFormProvider
com.flowable.platform.service.caze.CmmnFormProvider
- All Implemented Interfaces:
FormProvider
,PermissionServiceRegistryAware
,Aware
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.flowable.cmmn.engine.CmmnEngine
protected final CoreFormRepositoryService
protected final org.flowable.form.api.FormService
Fields inherited from class com.flowable.platform.service.form.PermissionAwareFormProvider
permissionServiceRegistry
-
Constructor Summary
ConstructorsConstructorDescriptionCmmnFormProvider
(org.flowable.cmmn.engine.CmmnEngine cmmnEngine, CoreFormRepositoryService formRepositoryService, org.flowable.form.api.FormService formService) -
Method Summary
Modifier and TypeMethodDescriptionprotected CaseInstanceInfo
fetchCaseInstanceWithHistory
(String caseInstanceId) protected org.flowable.cmmn.api.CmmnHistoryService
protected org.flowable.cmmn.api.CmmnRepositoryService
protected org.flowable.cmmn.api.CmmnRuntimeService
protected String
getExtensionElementValue
(String name, org.flowable.cmmn.model.CmmnElement cmmnElement) org.flowable.form.api.FormInfo
getFormInfoForScopeDefinitionId
(String scopeDefinitionId, FormProviderContext context) Retrieve the form info for the givenscopeDefinitionId
in the providedcontext
.org.flowable.form.api.FormInfo
getFormInfoForScopeId
(String scopeId, FormProviderContext context) Retrieve the form info for the givenscopeId
in the providedcontext
The scope type that this form provider is responsible forprotected org.flowable.form.api.FormInfo
getStartFormInfo
(String caseInstanceId) protected org.flowable.form.api.FormInfo
getStartFormInfoByDefinitionId
(String scopeDefinitionId) protected org.flowable.form.api.FormInfo
getWorkFormInfo
(String caseInstanceId, String caseDefinitionId, String tenantId) Methods inherited from class com.flowable.platform.service.form.PermissionAwareFormProvider
getCurrentTenantId, getPermissionScopeType, setPermissionServiceRegistry, validatePermissionOnHistoricScope, validatePermissionOnRuntimeScope, validatePermissionOnScope, validateReadPermissionOnScopeDefinition
-
Field Details
-
cmmnEngine
protected final org.flowable.cmmn.engine.CmmnEngine cmmnEngine -
formRepositoryService
-
formService
protected final org.flowable.form.api.FormService formService
-
-
Constructor Details
-
CmmnFormProvider
public CmmnFormProvider(org.flowable.cmmn.engine.CmmnEngine cmmnEngine, CoreFormRepositoryService formRepositoryService, org.flowable.form.api.FormService formService)
-
-
Method Details
-
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 givenscopeId
in the providedcontext
- Parameters:
scopeId
- the scope instance idcontext
- the context under which the form info should be retrieved (nevernull
)- Returns:
- the form info for the scope
-
getStartFormInfo
-
getWorkFormInfo
-
fetchCaseInstanceWithHistory
-
getExtensionElementValue
-
getFormInfoForScopeDefinitionId
public org.flowable.form.api.FormInfo getFormInfoForScopeDefinitionId(String scopeDefinitionId, FormProviderContext context) Description copied from interface:FormProvider
Retrieve the form info for the givenscopeDefinitionId
in the providedcontext
. This is different compared withFormProvider.getFormInfoForScopeId(String, FormProviderContext)
such that it looks for a form for a given definition instead of an instance.- Parameters:
scopeDefinitionId
- the scope definition idcontext
- the context under which the form info should be retrieved (nevernull
)- Returns:
- the form info for the scope definition
-
getStartFormInfoByDefinitionId
-
getCmmnHistoryService
protected org.flowable.cmmn.api.CmmnHistoryService getCmmnHistoryService() -
getCmmnRuntimeService
protected org.flowable.cmmn.api.CmmnRuntimeService getCmmnRuntimeService() -
getCmmnRepositoryService
protected org.flowable.cmmn.api.CmmnRepositoryService getCmmnRepositoryService()
-