Package com.flowable.core.service.form
Interface FormProvider
public interface FormProvider
A flowable internal API used for easier access to form definitions for different scopes.
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptiongetFormInfoForScopeDefinitionId
(String scopeDefinitionId, FormProviderContext context) Retrieve the form info for the givenscopeDefinitionId
in the providedcontext
.getFormInfoForScopeId
(String scopeId, FormProviderContext context) Retrieve the form info for the givenscopeId
in the providedcontext
The scope type that this form provider is responsible for
-
Method Details
-
getScopeType
String getScopeType()The scope type that this form provider is responsible for -
getFormInfoForScopeId
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
-
getFormInfoForScopeDefinitionId
Retrieve the form info for the givenscopeDefinitionId
in the providedcontext
. This is different compared withgetFormInfoForScopeId(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
-