Interface EntityValidator
- All Superinterfaces:
EntitiesValidator
- All Known Implementing Classes:
AbsenceReportContractValidator
,AbstractEntityValidator
,AbstractInactiveAccountValidator
,AbstractInactiveCostCenterValidator
,AbstractOrderAccountValidator
,AccountTypeValidator
,AccountUniqueNumberValidator
,AccountVatSettingsValidator
,AffiliationQueryValidator
,AnswerOptionIdUniqueValidator
,ArticleStatusValidator
,AutoIntrusionMandatoryRelationValidator
,BalancedWageValidator
,BusinessAddressValidator
,BusinessUnitCostAccountingValidator
,BusinessUnitDependentDefaultFlagValidator
,BusinessUnitFinanceFlagValidator
,BusinessUnitHierarchyValidator
,CaseRegistrationValidator
,CheckEventOnModuleGroupValidator
,ContingentEstimationValidator
,ContingentValidator
,CostAccountingValidator
,CostCenterUniqueNumberValidator
,DeactivationValidator
,DebitAccountDebitorValidator
,DefaultSearchFilterValidator
,DiscountValidator
,DonationStatusValidator
,DonationUserOrganisationValidator
,EffortDurationEntityValidator
,EffortProjectionUniqueUserTypeValidator
,EffortProjectionUserOrTypeRelationEntityValidator
,EqualAddressAddressEntityExistsValidator
,EqualUserUserEntityExistsValidator
,EsrAccountBesrValidator
,EvaluationTemplateAddressDaysValidator
,EventDismissValidator
,EventOverbookedValidator
,EventRelationshipValidator
,ExamSumValidator
,ExpenseProjectionEntityValidator
,FixatedQuestionnaireValidator
,IdenticalRuleCheckValidator
,InactiveAccountValidator
,InactiveAccountValidator
,InactiveCostCenterValidator
,InactiveCostCenterValidator
,InputNodePointsMaxValidator
,LicenceTimeValidator
,MailBoxValidator
,MailFormConfValidator
,MembershipTypeValidator
,NewLicenceBirthdayRangeValidator
,OfftimeEventValidator
,OrderAccountValidator
,OrderAddressValidator
,OrderBillingDateValidator
,OrderPositionAccountValidator
,OrderPositionDebitorStatusValidator
,OrderPositionValidator
,OrderStatusDateValidator
,OwnSalaryValidator
,ParentSelectedValidator
,PathUniquenessValidator
,PeriodDatesValidator
,PriceCategoryValidator
,PromotionCodeValidator
,PublishedContentExistsValidator
,QuestionFieldTypeValidator
,QuestionValidator
,ReferenceCodeUniqueValidator
,RegistrationAnswerOptionValidator
,RequirementRuleValidator
,ReservationLessonWageValidator
,RuleValidator
,SalaryDefaultFlagValidator
,SchoolingContributionValidator
,SeminarRegistrationValidator
,SeminarRelationValidator
,SeminarStartValidator
,SingleRegistrationFromFlowValidator
,StandardBooleanRequiresFieldEntityValidator
,StandardDesignatedRelationEntityValidator
,StandardEvaluationTemplateNoModuleValidator
,StandardEvaluationTemplateValidator
,StandardFieldOrRelationEntityValidator
,StandardMandatoryEntityValidator
,StandardMandatoryGroupValidator
,StandardRelationCountEntityValidator
,StandardStateEntityValidator
,StandardTimeEntityValidator
,StornoVoucherDateValidator
,SurveyCategoryDefinitionValidator
,SurveyCategoryQuestionValidator
,SurveyPointsValidator
,SurveyQuestionTypeValidator
,TimereportCodeValidator
,TimereportRecordEntityValidator
,UniqueBusinessUnitCorporateDesignValidator
,UserDefaultSearchFilterValidator
,UsernameAsciiValidator
,ValidFromDateValidator
,VatCodeBusinessUnitValidator
,VatCodeValidator
,VatRateValidator
,VoucherTypeStatusValidator
,VoucherValidator
,WageScaleConditionValidator
,WageScaleModifierValidator
,WageViewConfValidator
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.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(Entity entity, EntityValidationResult validationResult) Deprecated.useEntitiesValidator.validate(List, Map)
insteaddefault void
Deprecated.add default implementation for the newEntitiesValidator.validate(List, Map)
method to maintain backwards compatibility.Methods inherited from interface ch.tocco.nice2.persist.core.api.validation.EntitiesValidator
addMyself, getName
-
Method Details
-
validate
Deprecated.useEntitiesValidator.validate(List, Map)
insteadValidate the entity at hand.- Parameters:
entity
- the entity to be validatedvalidationResult
- the EntityValidationResult to write the result of the validation to.EntityValidationResult
for more details on how to construct the EntityValidationResult.
-
validate
Deprecated.add default implementation for the newEntitiesValidator.validate(List, Map)
method to maintain backwards compatibility.- Specified by:
validate
in interfaceEntitiesValidator
- Parameters:
entities
- the entities to be validatedvalidationResults
- a map of EntityValidationResults, contains anEntityValidationResult
for each entity. SeeEntityValidationResult
for more details on how to use the EntityValidationResult
-
EntitiesValidator
instead