Class FormDesignerEnvironmentData
- java.lang.Object
-
- de.xima.fc.gui.designer.form.utils.FormDesignerEnvironmentData
-
- All Implemented Interfaces:
IFormDesignerEnvironmentData
,IBaseEnvironmentData
public final class FormDesignerEnvironmentData extends Object implements IFormDesignerEnvironmentData
A new POJO forIFormDesignerEnvironmentData
.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description FormDesignerEnvironmentData(IEntityContext entityContext, Mandant client, IUser user, Locale locale, Projekt project, FormVersion formVersion, WorkflowVersion workflowVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mandant
getClient()
IEntityContext
getEntityContext()
FormVersion
getFormVersion()
Locale
getLocale()
Projekt
getProject()
IUser
getUserModel()
WorkflowVersion
getWorkflowVersion()
-
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
-
FormDesignerEnvironmentData
public FormDesignerEnvironmentData(IEntityContext entityContext, Mandant client, IUser user, Locale locale, Projekt project, FormVersion formVersion, WorkflowVersion workflowVersion)
- Parameters:
entityContext
- Value forIBaseEnvironmentData.getEntityContext()
client
- Value forIBaseEnvironmentData.getClient()
user
- Value forIBaseEnvironmentData.getUser()
locale
- Value forIBaseEnvironmentData.getLocale()
project
- Value forIFormDesignerEnvironmentData.getProject()
formVersion
- Value forIFormDesignerEnvironmentData.getFormVersion()
workflowVersion
- Value forIFormDesignerEnvironmentData.getWorkflowVersion()
-
-
Method Detail
-
getClient
public Mandant getClient()
- Specified by:
getClient
in interfaceIBaseEnvironmentData
- Returns:
- The
Mandant
of the current context.
-
getEntityContext
public IEntityContext getEntityContext()
- Specified by:
getEntityContext
in interfaceIBaseEnvironmentData
- Returns:
- The current entity context that may be used for database interactions.
-
getFormVersion
public FormVersion getFormVersion()
- Specified by:
getFormVersion
in interfaceIFormDesignerEnvironmentData
- Returns:
- The form version of the project that is currently opened in the form designer.
-
getLocale
public Locale getLocale()
- Specified by:
getLocale
in interfaceIBaseEnvironmentData
- Returns:
- The locale to use for locale-sensitive actions.
-
getProject
public Projekt getProject()
- Specified by:
getProject
in interfaceIFormDesignerEnvironmentData
- Returns:
- The project that is currently opened in the form designer.
-
getUserModel
public IUser getUserModel()
- Specified by:
getUserModel
in interfaceIBaseEnvironmentData
- Returns:
- The user of the active context that should be used for protocol entries etc.
-
getWorkflowVersion
public WorkflowVersion getWorkflowVersion()
- Specified by:
getWorkflowVersion
in interfaceIFormDesignerEnvironmentData
- Returns:
- The form version of the project that is currently opened in the form designer. May be
null
when the form uses the old workflow.
-
-