Package de.xima.fc.workflow
Class GetDisplayLabelParams<TData>
java.lang.Object
de.xima.fc.workflow.GetDisplayLabelParams<TData>
- Type Parameters:
TData
- Type of the element's properties model.
- All Implemented Interfaces:
IGetDisplayLabelParams<TData>
public final class GetDisplayLabelParams<TData>
extends Object
implements IGetDisplayLabelParams<TData>
Default POJO implementation of
IGetDisplayLabelParams
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionGetDisplayLabelParams
(TData data, Locale locale, IBaseWorkflowEnvironmentData env, IWorkflowProvider provider) Creates a new POJO with the given data. -
Method Summary
-
Constructor Details
-
GetDisplayLabelParams
public GetDisplayLabelParams(TData data, Locale locale, IBaseWorkflowEnvironmentData env, IWorkflowProvider provider) Creates a new POJO with the given data.- Parameters:
data
- Value that is returned bygetData()
.locale
- Value that is returned bygetlLocale()
.env
- Value that is returned bygetEnvironmentData()
.provider
- Value that is returned bygetProvider()
.
-
-
Method Details
-
getData
- Specified by:
getData
in interfaceIGetDisplayLabelParams<TData>
- Returns:
- The deserialized properties model of the workflow element.
-
getEnvironmentData
- Specified by:
getEnvironmentData
in interfaceIGetDisplayLabelParams<TData>
- Returns:
- Environment data with the entity context, client etc.
-
getlLocale
- Specified by:
getlLocale
in interfaceIGetDisplayLabelParams<TData>
- Returns:
- Locale for which to retrieve the display label.
-
getProvider
- Specified by:
getProvider
in interfaceIGetDisplayLabelParams<TData>
- Returns:
- Current workflow provider for accessing various related entities etc.
-