Class WorkflowValidationParams
- java.lang.Object
 - 
- de.xima.fc.workflow.processor.model.WorkflowValidationParams
 
 
- 
- All Implemented Interfaces:
 IBaseEnvironmentData,IWorkflowValidationEnvironmentData,IBaseWorkflowEnvironmentData
public final class WorkflowValidationParams extends Object implements IWorkflowValidationEnvironmentData
Parameters common to both theIWorkflowLocalHandlerValidationContextand theIWorkflowGlobalHandlerValidationContext.- Since:
 - 7.0.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkflowValidationParams.BuilderA builder for configuring the workflow validation context. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowBeanValidatorgetBeanValidator()MandantgetClient()WorkflowElementIndexgetElementIndex()IEntityContextgetEntityContext()WorkflowFlowAnalysisgetFlowAnalysis()Set<EWorkflowValidationGroup>getGroups()LocalegetLocale()WorkflowResourceBundleLocator.MutableWorkflowResourceBundleLocatorgetLocator()ProjektgetProject()IWorkflowProvidergetProvider()IUsergetUserModel()WorkflowVersiongetWorkflowVersion()booleanisOwnsEntityContext()- 
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 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getBeanValidator
public WorkflowBeanValidator getBeanValidator()
- Returns:
 - Bean validator for validating POJOs.
 
 
- 
getClient
public Mandant getClient()
- Specified by:
 getClientin interfaceIBaseEnvironmentData- Returns:
 - The client that owns the given 
getProject() 
 
- 
getElementIndex
public WorkflowElementIndex getElementIndex()
- Returns:
 - Element index with all nodes and triggers.
 
 
- 
getEntityContext
public IEntityContext getEntityContext()
- Specified by:
 getEntityContextin interfaceIBaseEnvironmentData- Returns:
 - The entity context for interacting with the database. It is passed on to the individual node and trigger handlers.
 
 
- 
getFlowAnalysis
public WorkflowFlowAnalysis getFlowAnalysis()
- Returns:
 - Result of analyzing the control flow of the tasks.
 
 
- 
getGroups
public Set<EWorkflowValidationGroup> getGroups()
- Returns:
 - List of groups indicating what should be validated.
 
 
- 
getLocale
public Locale getLocale()
- Specified by:
 getLocalein interfaceIBaseEnvironmentData- Returns:
 - The locale to use for generating validation error messages.
 
 
- 
getLocator
public WorkflowResourceBundleLocator.MutableWorkflowResourceBundleLocator getLocator()
- Returns:
 - Resource bundle locator to use for generating validation error messages.
 
 
- 
getProject
public Projekt getProject()
- Specified by:
 getProjectin interfaceIBaseWorkflowEnvironmentData- Returns:
 - The project that contains the workflow to be validated.
 
 
- 
getProvider
public IWorkflowProvider getProvider()
- Returns:
 - Workflow provider to use. Optional, when not given, create a new one.
 
 
- 
getUserModel
public IUser getUserModel()
- Specified by:
 getUserModelin interfaceIBaseEnvironmentData- Returns:
 - The current user who requested the validation.
 
 
- 
getWorkflowVersion
public WorkflowVersion getWorkflowVersion()
- Specified by:
 getWorkflowVersionin interfaceIBaseWorkflowEnvironmentData- Returns:
 - The current workflow version that is being validated.
 
 
- 
isOwnsEntityContext
public boolean isOwnsEntityContext()
- Returns:
 - Whether the validation context should assume ownership of the given entity context. If 
true, the entity context will be closed once the workflow context is closed. 
 
 - 
 
 -