public interface MidpointFormValidator
A simple interface that aims to work as a custom validation plugin used in GUI. This plugin should be used BEFORE the changes made by user are sent for processing to model component.
This plugin serves as another form of validation process and can be used, when standard validation mechanism of GUI forms (usually aimed to validate one field at a time) is not enough. A classic use case may be a situation, when we need to examine the relationship between attributes edited via GUI before sending them for processing to model component.
Modifier and Type | Method and Description |
---|---|
Collection<SimpleValidationError> |
validateAssignment(com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentType assignment)
Performs a validation on an instance of AssignmentType that represents
an assignment in midPoint.
|
Collection<SimpleValidationError> |
validateObject(PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> object,
Collection<ObjectDelta<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>> deltas)
Performs a validation on an instance of object.
|
Collection<SimpleValidationError> validateObject(PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> object, Collection<ObjectDelta<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>> deltas)
object
- An object to validatedeltas
- A collection of ObjectDelta instances - a representation of changes made by userCollection<SimpleValidationError> validateAssignment(com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentType assignment)
assignment
- An object to validateCopyright © 2016 evolveum. All rights reserved.