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 MandantgetClient()IEntityContextgetEntityContext()FormVersiongetFormVersion()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
-
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:
getClientin interfaceIBaseEnvironmentData- Returns:
- The
Mandantof the current context.
-
getEntityContext
public IEntityContext getEntityContext()
- Specified by:
getEntityContextin interfaceIBaseEnvironmentData- Returns:
- The current entity context that may be used for database interactions.
-
getFormVersion
public FormVersion getFormVersion()
- Specified by:
getFormVersionin interfaceIFormDesignerEnvironmentData- Returns:
- The form version of the project that is currently opened in the form designer.
-
getLocale
public Locale getLocale()
- Specified by:
getLocalein interfaceIBaseEnvironmentData- Returns:
- The locale to use for locale-sensitive actions.
-
getProject
public Projekt getProject()
- Specified by:
getProjectin interfaceIFormDesignerEnvironmentData- Returns:
- The project that is currently opened in the form designer.
-
getUserModel
public IUser getUserModel()
- Specified by:
getUserModelin interfaceIBaseEnvironmentData- Returns:
- The user of the active context that should be used for protocol entries etc.
-
getWorkflowVersion
public WorkflowVersion getWorkflowVersion()
- Specified by:
getWorkflowVersionin interfaceIFormDesignerEnvironmentData- Returns:
- The form version of the project that is currently opened in the form designer. May be
nullwhen the form uses the old workflow.
-
-