Class BeanWorkflowValidationEnvironmentData
java.lang.Object
de.xima.fc.workflow.designer.logic.BeanWorkflowValidationEnvironmentData
- All Implemented Interfaces:
IBaseEnvironmentData
,IWorkflowValidationEnvironmentData
,IBaseWorkflowEnvironmentData
public class BeanWorkflowValidationEnvironmentData
extends Object
implements IWorkflowValidationEnvironmentData
AN implementation of
IWorkflowValidationEnvironmentData
that lazily reads the data from the context beans
(session bean, locale bean etc.).- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionBeanWorkflowValidationEnvironmentData
(javax.faces.context.FacesContext facesContext) Creates a new instance that uses the given faces context for locating the beans that hold the data. -
Method Summary
-
Constructor Details
-
BeanWorkflowValidationEnvironmentData
public BeanWorkflowValidationEnvironmentData(javax.faces.context.FacesContext facesContext) Creates a new instance that uses the given faces context for locating the beans that hold the data.- Parameters:
facesContext
- Faces context to use for locating the beans.
-
-
Method Details
-
getClient
- Specified by:
getClient
in interfaceIBaseEnvironmentData
- Returns:
- The
Mandant
of the current context.
-
getEntityContext
- Specified by:
getEntityContext
in interfaceIBaseEnvironmentData
- Returns:
- The current entity context that may be used for database interactions.
-
getLocale
- Specified by:
getLocale
in interfaceIBaseEnvironmentData
- Returns:
- The locale to use for locale-sensitive actions.
-
getProject
- Specified by:
getProject
in interfaceIBaseWorkflowEnvironmentData
- Returns:
- The current project to which the workflow belongs.
-
getUserModel
- Specified by:
getUserModel
in interfaceIBaseEnvironmentData
- Returns:
- The user of the active context that should be used for protocol entries etc.
-
getUser
Deprecated.UsegetUserModel()
instead.- Specified by:
getUser
in interfaceIBaseEnvironmentData
- Returns:
- The user of the active context that should be used for protocol entries etc.
-
getWorkflowVersion
- Specified by:
getWorkflowVersion
in interfaceIBaseWorkflowEnvironmentData
- Returns:
- The current workflow version that is being validated.
-
getUserModel()
instead.