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 ofIWorkflowValidationEnvironmentDatathat lazily reads the data from the context beans (session bean, locale bean etc.).- Since:
 - 7.0.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Constructor Summary
Constructors Constructor Description BeanWorkflowValidationEnvironmentData(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MandantgetClient()IEntityContextgetEntityContext()LocalegetLocale()ProjektgetProject()BenutzergetUser()WorkflowVersiongetWorkflowVersion() 
 - 
 
- 
- 
Constructor Detail
- 
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 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.
 
 
- 
getLocale
public Locale getLocale()
- Specified by:
 getLocalein interfaceIBaseEnvironmentData- Returns:
 - The locale to use for locale-sensitive actions.
 
 
- 
getProject
public Projekt getProject()
- Specified by:
 getProjectin interfaceIBaseWorkflowEnvironmentData- Returns:
 - The current project to which the workflow belongs.
 
 
- 
getUser
public Benutzer getUser()
- Specified by:
 getUserin interfaceIBaseEnvironmentData- Returns:
 - The user of the active context that should be used for protocol entries etc.
 
 
- 
getWorkflowVersion
public WorkflowVersion getWorkflowVersion()
- Specified by:
 getWorkflowVersionin interfaceIBaseWorkflowEnvironmentData- Returns:
 - The current workflow version that is being validated.
 
 
 - 
 
 -