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>
Default POJO implementation of
IElementPropInitParams.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionElementInitParams(IWorkflowProvider provider, String type, UUID taskUuid, UUID uuid, TData dataModel, IBaseWorkflowEnvironmentData environmentData) Creates a newIElementPropInitParamsPOJO instance with the given values. -
Method Summary
-
Constructor Details
-
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 Details
-
getData
- Specified by:
getDatain interfaceIElementPropInitParams<TData>- Returns:
- The deserialized
model, an instance of the class as returned bygetDataModelClass.
-
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
- 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
- Specified by:
getTypein interfaceIElementPropInitParams<TData>- Returns:
- The type of the workflow element that is being edited.
-
getUuid
- Specified by:
getUuidin interfaceIElementPropInitParams<TData>- Returns:
- The element that is being edited.
-
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.
-