Class MidpointFormValidatorImpl
java.lang.Object
com.evolveum.midpoint.web.util.validation.MidpointFormValidatorImpl
- All Implemented Interfaces:
 MidpointFormValidator,Serializable
public class MidpointFormValidatorImpl
extends Object
implements MidpointFormValidator, Serializable
This is a simple implementation of MidpointFormValidator interface
- Author:
 - shood
 - See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvalidateAssignment(AssignmentType assignment) Performs a validation on an instance of AssignmentType that represents an assignment in midPoint.validateObject(PrismObject<? extends ObjectType> object, Collection<ObjectDelta<? extends ObjectType>> deltas) Performs a validation on an instance of object. 
- 
Constructor Details
- 
MidpointFormValidatorImpl
public MidpointFormValidatorImpl() 
 - 
 - 
Method Details
- 
validateObject
public Collection<SimpleValidationError> validateObject(PrismObject<? extends ObjectType> object, Collection<ObjectDelta<? extends ObjectType>> deltas) Description copied from interface:MidpointFormValidatorPerforms a validation on an instance of object. Entire data of the object are accessible for validation purposes as well as a collection of ObjectDelta instances - the collection of current changes made by user prior to validation.- Specified by:
 validateObjectin interfaceMidpointFormValidator- Parameters:
 object- An object to validatedeltas- A collection of ObjectDelta instances - a representation of changes made by user- Returns:
 - A collection of SimpleValidationError instances
 
 - 
validateAssignment
Description copied from interface:MidpointFormValidatorPerforms a validation on an instance of AssignmentType that represents an assignment in midPoint.- Specified by:
 validateAssignmentin interfaceMidpointFormValidator- Parameters:
 assignment- An object to validate- Returns:
 - A collection of SimpleValidationError instances
 
 
 -