Package ch.tocco.nice2.persist.core.api.validation
package ch.tocco.nice2.persist.core.api.validation
-
ClassDescriptionDefault implementation for
EntitiesValidator
Deprecated.EntityValidators need to implement this interface and be contributed to the configuration point "nice2.model.entity.EntityValidators" along with a filter describing which entity models will use the validator.Deprecated.useEntitiesValidator
insteadThe validator checks if a condition is valid for a list of entities.example: checks if an Effort entity is either linked to exactly one Task or one Case entityValidator witch checks that either all of the provided fields are empty or all of the provided fields are filled out.A persist task that applies the validators for a entity model to an entity.
AbstractEntitiesValidator
instead