Package de.hybris.platform.sap.productconfig.frontend.validator
-
Interface Summary Interface Description ConflictChecker Utility class to update status information within a configuration object and generate corresponding UI errors.CsticValueValidator Interface for validating a characteristic value -
Class Summary Class Description ConflictCheckerImpl Default implementation ofConflictChecker.
Treats missing mandatory fields and conflicts as less severe than UI-Validation Errors, hence ensures thatGroupStatusType.ERRORis not overwritten by a conflict (@linkGroupStatusType.CONFLICTor a missing mandatory fieldGroupStatusType.WARNING.ConflictCheckerImplTest ConflictError A conflict error is a specific validation error indicating that the value of the cstic is in conflict with another cstic value.
Technical a conflict is not limited to be caused by exactly two cstics.CSticRelatedFieldError AFieldErrorwhich can be associated with a cstic on the UI.MandatoryFieldError A mandatory field error is a specific validation error indicating that on value was maintained on the UI for a cstic that is flagged mandatory by the configuration engine.
In contrast to other validation errors, it is still safe to send user input causing a mandatory field error to the configuration engine, hence it is treated within CPQ more like a 'warning'.
Object is immutable.MandatoryFieldErrorTest ProductConfigurationValidator CPQ UI Validator.
Will validate the user input received via HTTP.ProductConfigurationValidatorTest ValidatorTestData