Package com.flowable.core.service.form
Interface ScopedFormProvider
-
- All Known Implementing Classes:
ScopedFormProviderImpl
public interface ScopedFormProvider
A global intern service that can be used to retrieve the form info for different scope types.- Author:
- Filip Hrisafov
- See Also:
FormProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FormInfo
getFormInfoForScope(String scopeType, String scopeId, FormProviderContext context)
Retrieve the form info for the givenscopeId
in the providedcontext
andscopeType
.FormInfo
getFormInfoForScopeDefinition(String scopeType, String scopeDefinitionId, FormProviderContext context)
Retrieve the form info for the givenscopeDefinitionId
in the providedcontext
andscopeType
.
-
-
-
Method Detail
-
getFormInfoForScope
FormInfo getFormInfoForScope(String scopeType, String scopeId, FormProviderContext context)
Retrieve the form info for the givenscopeId
in the providedcontext
andscopeType
.- Parameters:
scopeType
- the scope typescopeId
- the scope instance idcontext
- the context under which the form info should be retrieved (nevernull
)- Returns:
- the form info for the scope
-
getFormInfoForScopeDefinition
FormInfo getFormInfoForScopeDefinition(String scopeType, String scopeDefinitionId, FormProviderContext context)
Retrieve the form info for the givenscopeDefinitionId
in the providedcontext
andscopeType
. This is different compared withgetFormInfoForScope(String, String, FormProviderContext)
such that it looks for a form for a given definition instead of an instance.- Parameters:
scopeType
- the scope typescopeDefinitionId
- the scope definition idcontext
- the context under which the form info should be retrieved (nevernull
)- Returns:
- the form info for the scope definition
-
-