Class RequestWorkflowEnvironmentData
- java.lang.Object
 - 
- de.xima.fc.workflow.designer.logic.RequestWorkflowEnvironmentData
 
 
- 
- All Implemented Interfaces:
 IBaseEnvironmentData,IWorkflowValidationEnvironmentData,IBaseWorkflowEnvironmentData
public class RequestWorkflowEnvironmentData extends Object implements IWorkflowValidationEnvironmentData
Implementation ofIBaseWorkflowEnvironmentDatathat takes the data from the current designer view scope.- Since:
 - 7.0.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Constructor Summary
Constructors Constructor Description RequestWorkflowEnvironmentData()A new instance that takes the data from the current designer view scope.RequestWorkflowEnvironmentData(IEntityContext ec)A new instance that takes the data from the current designer view scope. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MandantgetClient()IEntityContextgetEntityContext()LocalegetLocale()ProjektgetProject()BenutzergetUser()Deprecated.UsegetUserModel()instead.IUsergetUserModel()WorkflowVersiongetWorkflowVersion() 
 - 
 
- 
- 
Constructor Detail
- 
RequestWorkflowEnvironmentData
public RequestWorkflowEnvironmentData()
A new instance that takes the data from the current designer view scope. Uses the default request entity context. 
- 
RequestWorkflowEnvironmentData
public RequestWorkflowEnvironmentData(IEntityContext ec)
A new instance that takes the data from the current designer view scope. Uses the given entity context.- Parameters:
 ec- Entity context to use.
 
 - 
 
- 
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.
 
 
- 
getUserModel
public IUser getUserModel()
- Specified by:
 getUserModelin interfaceIBaseEnvironmentData- Returns:
 - The user of the active context that should be used for protocol entries etc.
 
 
- 
getUser
@Deprecated public Benutzer getUser()
Deprecated.UsegetUserModel()instead.- 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.
 
 
 - 
 
 -