Class DebitorInformationValidator
java.lang.Object
ch.tocco.nice2.persist.core.api.validation.AbstractEntitiesValidator
ch.tocco.nice2.optional.finance.impl.validator.DebitorInformationValidator
- All Implemented Interfaces:
EntitiesValidator
checks for one default on the related entities
-
Constructor Summary
ConstructorDescriptionDebitorInformationValidator
(Context context, QueryBuilderFactory queryBuilderFactory, BusinessUnitManager businessUnitManager) -
Method Summary
Methods inherited from class ch.tocco.nice2.persist.core.api.validation.AbstractEntitiesValidator
addMyself, getName
-
Constructor Details
-
DebitorInformationValidator
public DebitorInformationValidator(Context context, QueryBuilderFactory queryBuilderFactory, BusinessUnitManager businessUnitManager)
-
-
Method Details
-
validate
public void validate(List<Entity> debitorInformationEntities, Map<Entity, EntityValidationResult> validationResults) Description copied from interface:EntitiesValidator
Validate all entities (of one entity model) that where changed in a transaction- Parameters:
debitorInformationEntities
- the entities to be validatedvalidationResults
- a map of EntityValidationResults, contains anEntityValidationResult
for each entity. SeeEntityValidationResult
for more details on how to use the EntityValidationResult
-