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:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description MidpointFormValidatorImpl() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<SimpleValidationError>validateAssignment(AssignmentType assignment)Performs a validation on an instance of AssignmentType that represents an assignment in midPoint.Collection<SimpleValidationError>validateObject(PrismObject<? extends ObjectType> object, Collection<ObjectDelta<? extends ObjectType>> deltas)Performs a validation on an instance of object. 
 - 
 
- 
- 
Method Detail
- 
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
public Collection<SimpleValidationError> validateAssignment(AssignmentType assignment)
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
 
 
 - 
 
 -