Class AbstractEntityValidator

java.lang.Object
ch.tocco.nice2.persist.core.api.validation.AbstractEntityValidator
All Implemented Interfaces:
EntitiesValidator, EntityValidator
Direct Known Subclasses:
AbsenceReportContractValidator, 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, InputNodePointsMaxValidator, LicenceTimeValidator, MailBoxValidator, MailFormConfValidator, MembershipTypeValidator, NewLicenceBirthdayRangeValidator, OfftimeEventValidator, OrderAddressValidator, OrderBillingDateValidator, 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 public abstract class AbstractEntityValidator extends Object implements EntityValidator
Deprecated.
Default implementation for EntityValidator
  • Constructor Details

    • AbstractEntityValidator

      public AbstractEntityValidator()
      Deprecated.
  • Method Details

    • addMyself

      public boolean addMyself(EntityModel model)
      Deprecated.
      Description copied from interface: EntitiesValidator
      Implement this method to return true if the Validator should add itself to the EntityModel at hand. This method can be useful, if a validator is being used for all models meeting a certain requirement (e.g. model has a field of type X, entity is a lookup entity, etc.). The method is called for each entity model at application startup when building the entity model.
      Specified by:
      addMyself in interface EntitiesValidator
      Parameters:
      model - the EntityModel
      Returns:
      true to add the Validator to the EntityModel at hand
    • getName

      public final String getName()
      Deprecated.
      Specified by:
      getName in interface EntitiesValidator