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 Deprecated Methods Modifier and Type Method Description Clock
getClock()
default Benutzer
getEffectiveUser()
Deprecated.UsegetEffectiveUserModel()
instead.default IUser
getEffectiveUserModel()
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, getUserModel
-
Methods inherited from interface de.xima.fc.interfaces.workflow.params.IBaseWorkflowEnvironmentData
getProject, getWorkflowVersion
-
-
-
-
Method Detail
-
getClock
Clock getClock()
- Returns:
- The clock to use for obtaining the current time.
- Since:
- 8.0.0
-
getEffectiveUser
@Deprecated default Benutzer getEffectiveUser()
Deprecated.UsegetEffectiveUserModel()
instead.- Returns:
- An anonymous user when
isAnonymize()
is set totrue
, or the actualIBaseEnvironmentData.getUser()
otherwise.
-
getEffectiveUserModel
default IUser 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.
-
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.
-
-