com.ibm.commerce.giftcenter.rules.validation

Class EventDateNotAfterMaxAdvanceDaysRuleValidator

  • All Implemented Interfaces:
    GiftListRulesValidator


    public class EventDateNotAfterMaxAdvanceDaysRuleValidator
    extends AbstractGiftListRulesValidator
    The EventDateNotAfterMaxAdvanceDaysRuleValidator class validates a gift registry event date to ensure the date is not later than a configured number of days in the future. The validation can occur 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)
      Validates the rule when the gift list object is being created.
      boolean validateOnUpdate(java.lang.Object noun, java.lang.Object nounPart, java.lang.Integer rule)
      Validates 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

      • EventDateNotAfterMaxAdvanceDaysRuleValidator

        public EventDateNotAfterMaxAdvanceDaysRuleValidator()