@Component(value="blEntityFormValidator") public class EntityFormValidator extends Object
| Constructor and Description |
|---|
EntityFormValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
validate(EntityForm form,
Entity entity,
org.springframework.validation.Errors errors)
Validates the form DTO against the passed in entity
|
public boolean validate(EntityForm form, Entity entity, org.springframework.validation.Errors errors)
form - the form DTOentity - value obtained after attempting to save via AdminEntityService#updateEntity(EntityForm, String)Copyright © 2014. All Rights Reserved.