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 ofIGetDisplayLabelParams
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description GetDisplayLabelParams(TData data, Locale locale, IBaseWorkflowEnvironmentData env, IWorkflowProvider provider)
Creates a new POJO with the given data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TData
getData()
IBaseWorkflowEnvironmentData
getEnvironmentData()
Locale
getlLocale()
IWorkflowProvider
getProvider()
-
-
-
Constructor Detail
-
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 Detail
-
getData
public TData getData()
- Specified by:
getData
in interfaceIGetDisplayLabelParams<TData>
- Returns:
- The deserialized properties model of the workflow element.
-
getEnvironmentData
public IBaseWorkflowEnvironmentData getEnvironmentData()
- Specified by:
getEnvironmentData
in interfaceIGetDisplayLabelParams<TData>
- Returns:
- Environment data with the entity context, client etc.
-
getlLocale
public Locale getlLocale()
- Specified by:
getlLocale
in interfaceIGetDisplayLabelParams<TData>
- Returns:
- Locale for which to retrieve the display label.
-
getProvider
public IWorkflowProvider getProvider()
- Specified by:
getProvider
in interfaceIGetDisplayLabelParams<TData>
- Returns:
- Current workflow provider for accessing various related entities etc.
-
-