org.broadleafcommerce.openadmin.server.service.persistence.validation
Interface EntityValidatorService
- All Known Implementing Classes:
- BeanValidationEntityValidatorServiceImpl, EntityValidatorServiceImpl
public interface EntityValidatorService
- Author:
- Phillip Verheyden
validate
void validate(Entity entity,
Serializable instance,
Map<String,FieldMetadata> mergedProperties)
throws InstantiationException,
IllegalAccessException,
ClassNotFoundException
- Validate the given entity. Implementers should set
Entity.setValidationFailure(boolean) appropriately.
- Parameters:
entity - DTO representation of instanceinstance - actual domain representation of entitymergedProperties - all of the merged properties including metadata
- Throws:
InstantiationException
IllegalAccessException
ClassNotFoundException
Copyright © 2013. All Rights Reserved.