Interface IWorkflowExecutionEnvironmentData
- All Superinterfaces:
IBaseEnvironmentData
,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
Methods inherited from interface de.xima.fc.interfaces.workflow.execution.IBaseEnvironmentData
getClient, getEntityContext, getLocale, getUser, getUserModel
Methods inherited from interface de.xima.fc.interfaces.workflow.params.IBaseWorkflowEnvironmentData
getProject, getWorkflowVersion
-
Method Details
-
getClock
Clock getClock()- Returns:
- The clock to use for obtaining the current time.
- Since:
- 8.0.0
-
getEffectiveUser
Deprecated.UsegetEffectiveUserModel()
instead.- Returns:
- An anonymous user when
isAnonymize()
is set totrue
, or the actualIBaseEnvironmentData.getUser()
otherwise.
-
getEffectiveUserModel
- Returns:
- An anonymous user when
isAnonymize()
is set totrue
, or the actualIBaseEnvironmentData.getUserModel()
otherwise.
-
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.
-
getXForm
IXForm getXForm()- Returns:
- The
IXForm
for the current form record.
-
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.
-
getEffectiveUserModel()
instead.