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 for
IFormDesignerEnvironmentData.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionFormDesignerEnvironmentData(IEntityContext entityContext, Mandant client, IUser user, Locale locale, Projekt project, FormVersion formVersion, WorkflowVersion workflowVersion) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.xima.fc.interfaces.workflow.execution.IBaseEnvironmentData
getUser
-
Constructor Details
-
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 Details
-
getClient
- Specified by:
getClientin interfaceIBaseEnvironmentData- Returns:
- The
Mandantof the current context.
-
getEntityContext
- Specified by:
getEntityContextin interfaceIBaseEnvironmentData- Returns:
- The current entity context that may be used for database interactions.
-
getFormVersion
- Specified by:
getFormVersionin interfaceIFormDesignerEnvironmentData- Returns:
- The form version of the project that is currently opened in the form designer.
-
getLocale
- Specified by:
getLocalein interfaceIBaseEnvironmentData- Returns:
- The locale to use for locale-sensitive actions.
-
getProject
- Specified by:
getProjectin interfaceIFormDesignerEnvironmentData- Returns:
- The project that is currently opened in the form designer.
-
getUserModel
- Specified by:
getUserModelin interfaceIBaseEnvironmentData- Returns:
- The user of the active context that should be used for protocol entries etc.
-
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.
-