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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FormInfo
getFormInfoForScopeDefinitionId(String scopeDefinitionId, FormProviderContext context)
Retrieve the form info for the givenscopeDefinitionId
in the providedcontext
.FormInfo
getFormInfoForScopeId(String scopeId, FormProviderContext context)
Retrieve the form info for the givenscopeId
in the providedcontext
String
getScopeType()
The scope type that this form provider is responsible for
-
-
-
Method Detail
-
getScopeType
String getScopeType()
The scope type that this form provider is responsible for
-
getFormInfoForScopeId
FormInfo getFormInfoForScopeId(String scopeId, FormProviderContext context)
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
FormInfo getFormInfoForScopeDefinitionId(String scopeDefinitionId, FormProviderContext context)
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
-
-