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 newIElementPropInitParamsPOJO instance with the given values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TDatagetData()IBaseWorkflowEnvironmentDatagetEnvironmentData()UUIDgetTaskUuid()StringgetType()UUIDgetUuid()IWorkflowProvidergetWorkflowProvider()
-
-
-
Constructor Detail
-
ElementInitParams
public ElementInitParams(IWorkflowProvider provider, String type, UUID taskUuid, UUID uuid, TData dataModel, IBaseWorkflowEnvironmentData environmentData)
Creates a newIElementPropInitParamsPOJO 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:
getDatain interfaceIElementPropInitParams<TData>- Returns:
- The deserialized
model, an instance of the class as returned bygetDataModelClass.
-
getEnvironmentData
public IBaseWorkflowEnvironmentData getEnvironmentData()
- Specified by:
getEnvironmentDatain 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:
getTaskUuidin interfaceIElementPropInitParams<TData>- Returns:
- The UUID of the task to which the element belongs. This task may be updated later, in which case
updateCurrentTaskwill be called.
-
getType
public String getType()
- Specified by:
getTypein interfaceIElementPropInitParams<TData>- Returns:
- The type of the workflow element that is being edited.
-
getUuid
public UUID getUuid()
- Specified by:
getUuidin interfaceIElementPropInitParams<TData>- Returns:
- The element that is being edited.
-
getWorkflowProvider
public IWorkflowProvider getWorkflowProvider()
- Specified by:
getWorkflowProviderin 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.
-
-