Package de.xima.fc.workflow.model
Class PojoBaseWorkflowEnvironmentData
- java.lang.Object
-
- de.xima.fc.workflow.model.PojoBaseWorkflowEnvironmentData
-
- All Implemented Interfaces:
IBaseEnvironmentData,IBaseWorkflowEnvironmentData
public class PojoBaseWorkflowEnvironmentData extends Object implements IBaseWorkflowEnvironmentData
POJO implementation ofIWorkflowValidationEnvironmentData.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description PojoBaseWorkflowEnvironmentData(Mandant client, Projekt project, WorkflowVersion workflowVersion, IUser user, Locale locale, IEntityContext ec)Creates a new POJO implementation ofIWorkflowValidationEnvironmentDatawith the given values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MandantgetClient()IEntityContextgetEntityContext()LocalegetLocale()ProjektgetProject()IUsergetUserModel()WorkflowVersiongetWorkflowVersion()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.interfaces.workflow.execution.IBaseEnvironmentData
getUser
-
-
-
-
Constructor Detail
-
PojoBaseWorkflowEnvironmentData
public PojoBaseWorkflowEnvironmentData(Mandant client, Projekt project, WorkflowVersion workflowVersion, IUser user, Locale locale, IEntityContext ec)
Creates a new POJO implementation ofIWorkflowValidationEnvironmentDatawith 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:
getClientin interfaceIBaseEnvironmentData- Returns:
- The
Mandantof the current context.
-
getProject
public Projekt getProject()
- Specified by:
getProjectin interfaceIBaseWorkflowEnvironmentData- Returns:
- The current project to which the workflow belongs.
-
getUserModel
public IUser getUserModel()
- Specified by:
getUserModelin interfaceIBaseEnvironmentData- Returns:
- The user of the active context that should be used for protocol entries etc.
-
getLocale
public Locale getLocale()
- Specified by:
getLocalein interfaceIBaseEnvironmentData- Returns:
- The locale to use for locale-sensitive actions.
-
getEntityContext
public IEntityContext getEntityContext()
- Specified by:
getEntityContextin interfaceIBaseEnvironmentData- Returns:
- The current entity context that may be used for database interactions.
-
getWorkflowVersion
public WorkflowVersion getWorkflowVersion()
- Specified by:
getWorkflowVersionin interfaceIBaseWorkflowEnvironmentData- Returns:
- The current workflow version that is being validated.
-
-