Class ElementInitParams<TData>
- java.lang.Object
-
- de.xima.fc.workflow.designer.model.ElementInitParams<TData>
-
- Type Parameters:
TData
- Type of the properties model for the workflow element.
- All Implemented Interfaces:
IElementPropInitParams<TData>
public final class ElementInitParams<TData> extends Object implements IElementPropInitParams<TData>
Default POJO implementation ofIElementPropInitParams
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description ElementInitParams(IWorkflowProvider provider, String type, UUID taskUuid, UUID uuid, TData dataModel, IBaseWorkflowEnvironmentData environmentData)
Creates a newIElementPropInitParams
POJO instance with the given values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TData
getData()
IBaseWorkflowEnvironmentData
getEnvironmentData()
UUID
getTaskUuid()
String
getType()
UUID
getUuid()
IWorkflowProvider
getWorkflowProvider()
-
-
-
Constructor Detail
-
ElementInitParams
public ElementInitParams(IWorkflowProvider provider, String type, UUID taskUuid, UUID uuid, TData dataModel, IBaseWorkflowEnvironmentData environmentData)
Creates a newIElementPropInitParams
POJO instance with the given values.- Parameters:
provider
- The value that is returned byIElementPropInitParams.getWorkflowProvider()
.type
- The value that is returned byIElementPropInitParams.getType()
.uuid
- The value that is returned byIElementPropInitParams.getUuid()
.taskUuid
- The value that is returned byIElementPropInitParams.getTaskUuid()
.dataModel
- The value that is returned byIElementPropInitParams.getData()
.environmentData
- The value that is returned byIElementPropInitParams.getEnvironmentData()
.
-
-
Method Detail
-
getData
public TData getData()
- Specified by:
getData
in interfaceIElementPropInitParams<TData>
- Returns:
- The parsed
AWorkflowElement.getCustomParameters()
, an instance of the class as returned byIElementHandler.getDataModelClass()
.
-
getEnvironmentData
public IBaseWorkflowEnvironmentData getEnvironmentData()
- Specified by:
getEnvironmentData
in interfaceIElementPropInitParams<TData>
- Returns:
- General parameters for the workflow environment, such as the project containing the workflow and the client owning the project.
-
getTaskUuid
public UUID getTaskUuid()
- Specified by:
getTaskUuid
in interfaceIElementPropInitParams<TData>
- Returns:
- The UUID of the task to which the element belongs. This task may be updated later, in which case
IElementPropertiesBean.updateCurrentTask(IElementUpdateCurrentTaskParams)
will be called.
-
getType
public String getType()
- Specified by:
getType
in interfaceIElementPropInitParams<TData>
- Returns:
- The type of the workflow element that is being edited.
-
getUuid
public UUID getUuid()
- Specified by:
getUuid
in interfaceIElementPropInitParams<TData>
- Returns:
- The element that is being edited.
-
getWorkflowProvider
public IWorkflowProvider getWorkflowProvider()
- Specified by:
getWorkflowProvider
in interfaceIElementPropInitParams<TData>
- Returns:
- The workflow provider with methods for accessing various data that may be required by workflow element editors. Mainly select options for select elements, such as a list of all user groups, or a list of currently installed fonts.
-
-