Package de.xima.fc.workflow.model
Class PojoWorkflowValidationEnvironmentData
- java.lang.Object
-
- de.xima.fc.workflow.model.PojoWorkflowValidationEnvironmentData
-
- All Implemented Interfaces:
IBaseEnvironmentData
,IWorkflowValidationEnvironmentData
,IBaseWorkflowEnvironmentData
public class PojoWorkflowValidationEnvironmentData extends Object implements IWorkflowValidationEnvironmentData
POJO implementation ofIWorkflowValidationEnvironmentData
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description PojoWorkflowValidationEnvironmentData(Mandant client, Projekt project, WorkflowVersion workflowVersion, Benutzer user, Locale locale, IEntityContext ec)
Creates a new POJO implementation ofIWorkflowValidationEnvironmentData
with the given values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mandant
getClient()
IEntityContext
getEntityContext()
Locale
getLocale()
Projekt
getProject()
Benutzer
getUser()
WorkflowVersion
getWorkflowVersion()
-
-
-
Constructor Detail
-
PojoWorkflowValidationEnvironmentData
public PojoWorkflowValidationEnvironmentData(Mandant client, Projekt project, WorkflowVersion workflowVersion, Benutzer user, Locale locale, IEntityContext ec)
Creates a new POJO implementation ofIWorkflowValidationEnvironmentData
with the given values.- Parameters:
client
- The value that will be returned byIBaseEnvironmentData.getClient()
.project
- The value that will be returned byIBaseWorkflowEnvironmentData.getProject()
.workflowVersion
- The value that will be returned byIBaseWorkflowEnvironmentData.getWorkflowVersion()
.user
- The value that will be returned byIBaseEnvironmentData.getUser()
.locale
- The value that will be returned byIBaseEnvironmentData.getLocale()
.ec
- The value that will be returned byIBaseEnvironmentData.getEntityContext()
.
-
-
Method Detail
-
getClient
public Mandant getClient()
- Specified by:
getClient
in interfaceIBaseEnvironmentData
- Returns:
- The
Mandant
of the current context.
-
getProject
public Projekt getProject()
- Specified by:
getProject
in interfaceIBaseWorkflowEnvironmentData
- Returns:
- The current project to which the workflow belongs.
-
getUser
public Benutzer getUser()
- Specified by:
getUser
in interfaceIBaseEnvironmentData
- Returns:
- The user of the active context that should be used for protocol entries etc.
-
getLocale
public Locale getLocale()
- Specified by:
getLocale
in interfaceIBaseEnvironmentData
- Returns:
- The locale to use for locale-sensitive actions.
-
getEntityContext
public IEntityContext getEntityContext()
- Specified by:
getEntityContext
in interfaceIBaseEnvironmentData
- Returns:
- The current entity context that may be used for database interactions.
-
getWorkflowVersion
public WorkflowVersion getWorkflowVersion()
- Specified by:
getWorkflowVersion
in interfaceIBaseWorkflowEnvironmentData
- Returns:
- The current workflow version that is being validated.
-
-