Class InputDataLogicValidator
java.lang.Object
ch.tocco.nice2.persist.core.api.validation.AbstractEntitiesValidator
ch.tocco.nice2.optional.qualification.impl.validator.InputDataLogicValidator
- All Implemented Interfaces:
EntitiesValidator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setAvailableContributions
(List<NamedInputDataLogicContribution> contributions) void
Validate all entities (of one entity model) that where changed in a transactionMethods inherited from class ch.tocco.nice2.persist.core.api.validation.AbstractEntitiesValidator
addMyself, getName
-
Constructor Details
-
InputDataLogicValidator
public InputDataLogicValidator(org.slf4j.Logger logger)
-
-
Method Details
-
validate
public void validate(List<Entity> logicConfigs, Map<Entity, EntityValidationResult> validationResults) Description copied from interface:EntitiesValidator
Validate all entities (of one entity model) that where changed in a transaction- Parameters:
logicConfigs
- the entities to be validatedvalidationResults
- a map of EntityValidationResults, contains anEntityValidationResult
for each entity. SeeEntityValidationResult
for more details on how to use the EntityValidationResult
-
setAvailableContributions
@Autowired @Lazy public void setAvailableContributions(List<NamedInputDataLogicContribution> contributions)
-