Interface IWorkflowLocalBeanValidationContext
- All Superinterfaces:
IBaseEnvironmentData, IBaseWorkflowEnvironmentData, IWorkflowLocalValidationContext, IWorkflowValidationContext, IWorkflowValidationEnvironmentData
- All Known Implementing Classes:
DefaultWorkflowValidationContext, FacesWorkflowLocalValidationContext, InjectableValidationContext
Validation context that can be used (such as by being
injected into an IChoiceProviding set on
a SingleChoice constraint annotation) during Jakarta bean API validation.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionTheElementKeyof the current workflow node or trigger that is selected in the current workflow process. null when no such element exists.Gets the key of the current workflow task containing the element (node or trigger) that is currently selected in the current workflow process. null when no such task exists.Methods inherited from interface IBaseEnvironmentData
getClient, getEntityContext, getLocale, getUser, getUserModelMethods inherited from interface IBaseWorkflowEnvironmentData
getProject, getWorkflowVersionMethods inherited from interface IWorkflowLocalValidationContext
associateValue, resultBuilderMethods inherited from interface IWorkflowValidationContext
getProvider
-
Method Details
-
getCurrentElementKey
ElementKey getCurrentElementKey()TheElementKeyof the current workflow node or trigger that is selected in the current workflow process. null when no such element exists.- Returns:
- The key of the selected element.
-
getCurrentTaskKey
UUID getCurrentTaskKey()Gets the key of the current workflow task containing the element (node or trigger) that is currently selected in the current workflow process. null when no such task exists.- Returns:
- The key of the task containing the selected element.
-