Interface IWorkflowExecutionEnvironmentData
-
- All Superinterfaces:
IBaseEnvironmentData
,IBaseWorkflowEnvironmentData
public interface IWorkflowExecutionEnvironmentData extends IBaseWorkflowEnvironmentData
Data related to the current workflow execution, such as the form record or the locale.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Benutzer
getEffectiveUser()
IFormDataAdapter
getFormDataAdapter()
Vorgang
getFormRecord()
IXForm
getXForm()
IXFormRenderConfig
getXFormRenderConfig()
boolean
isAnonymize()
-
Methods inherited from interface de.xima.fc.interfaces.workflow.execution.IBaseEnvironmentData
getClient, getEntityContext, getLocale, getUser
-
Methods inherited from interface de.xima.fc.interfaces.workflow.params.IBaseWorkflowEnvironmentData
getProject, getWorkflowVersion
-
-
-
-
Method Detail
-
getFormDataAdapter
IFormDataAdapter getFormDataAdapter()
- Returns:
- The
IFormDataAdapter
for the current form record that can be used to access the current form data. Note that changes to the form data (IFormDataAdapter.getRequestDataMap()
are saved automatically when workflow execution finishes and the form record is saved to the database. UseIWorkflowFormHandler.persistFormRecord()
if you need to save the changes immediately.
-
getFormRecord
Vorgang getFormRecord()
- Returns:
- The current
Vorgang
for which the workflow is executed.
-
getXFormRenderConfig
IXFormRenderConfig getXFormRenderConfig()
- Returns:
- The configuration that was used for rendering the form for the current form record.
-
isAnonymize
boolean isAnonymize()
- Returns:
true
if data related to individual persons must be anonymized.
-
getEffectiveUser
default Benutzer getEffectiveUser()
- Returns:
- An anonymous user when
isAnonymize()
is set totrue
, or the actualIBaseEnvironmentData.getUser()
otherwise.
-
-