com.ibm.commerce.giftcenter.rules.validation

Class ExceedMaxItemQuantityRuleValidator

  • All Implemented Interfaces:
    GiftListRulesValidator


    public class ExceedMaxItemQuantityRuleValidator
    extends AbstractGiftListRulesValidator
    /** The ExceedMaxItemQuantityRuleValidator class validates a gift list to ensure that the quantity of any gift item added to the list does not exceed a configured maximum number. The validation occurs when the gift registry is created or updated.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean validateOnCreate(java.lang.Object noun, java.lang.Object nounPart, java.lang.Integer rule)
      Validate the rule when the gift list object is being created.
      boolean validateOnUpdate(java.lang.Object noun, java.lang.Object nounPart, java.lang.Integer rule)
      Validate the rule when the gift list object is being updated.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ExceedMaxItemQuantityRuleValidator

        public ExceedMaxItemQuantityRuleValidator()