Class TmaPoGroupImmediateChildrenValidator

All Implemented Interfaces:
javax.validation.ConstraintValidator<TmaPoGroupImmediateChildren,ItemModel>

public class TmaPoGroupImmediateChildrenValidator extends BasicConfigurableGuidedSellingValidator<TmaPoGroupImmediateChildren>
Validates the children of TmaProductOfferingGroup TmaProductOfferingGroupModel.getChildProductOfferings(). Allows only those Product Offerings to be added as a children of TmaProductOfferingGroup which are the children of its parent TmaBundledProductOffering.
Since:
6.7
  • Constructor Details

    • TmaPoGroupImmediateChildrenValidator

      public TmaPoGroupImmediateChildrenValidator()
  • Method Details

    • isValid

      public boolean isValid(ItemModel value, javax.validation.ConstraintValidatorContext context)