com.ibm.commerce.giftregistry.registry

Interface ECGiftRegistryRuleConstants

  • All Known Implementing Classes:
    GiftRegistryRules


    public interface ECGiftRegistryRuleConstants
    This file specifies the gift registry rule constants used by the business rule registry code Behaviour:
    • Defines a constant rule value for each of the business rules that exists in the GRREGRULE database table. This is used so that the developer does not need to remember the name of the rule, but rather just the description of the rule.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      The IBM Copyright notice field.
      static java.lang.Integer EC_RULE_DAYS_COMPLETION_PROG_ELIGIBLE_PAST_EVENT
      EC_RULE_DAYS_COMPLETION_PROG_ELIGIBLE_PAST_EVENT - Registrants become eligible for the completion program discount at a preconfigured number of days past their event date.
      static java.lang.Integer EC_RULE_DAYS_COMPLETION_PROG_INELIGIBLE_PAST_EVENT
      EC_RULE_DAYS_COMPLETION_PROG_INELIGIBLE_PAST_EVENT - Registrants become illegible for the completion program discount at a preconfigured number of days past their event date.
      static java.lang.Integer EC_RULE_DAYS_EVENT_DATE_VALID_IN_FUTURE
      EC_RULE_DAYS_EVENT_DATE_VALID_IN_FUTURE - A registry can be created with an event date of a preconfigured number of days in the future (per event type)
      static java.lang.Integer EC_RULE_DAYS_EVENT_DATE_VALID_IN_PAST
      EC_RULE_DAYS_EVENT_DATE_VALID_IN_PAST - A registry can be created with an event date of a preconfigured number of days in the past (per event type).
      static java.lang.String EC_RULE_DEFAULT_EVENT_TYPE_NAME
      Default eventTypeName
      static java.lang.Integer EC_RULE_DEFAULT_STORE_ID
      Default storeId
      static java.lang.Integer EC_RULE_DISPLAY_ALL_PURCHASE_RECORDS
      EC_RULE_DISPLAY_ALL_PURCHASE_RECORDS - A value of 0 means all the purchased items will be displayed.
      static java.lang.Integer EC_RULE_EVENT_DATE_IN_PAST
      EC_RULE_EVENT_DATE_IN_PAST - In edit mode for registry profile, a value of 0 means the registry event date can be modified to a past date.
      static java.lang.Integer EC_RULE_GR_ITEMS_CAN_BE_REMOVED_WITH_PURCHASE_RECORDS
      EC_RULE_GR_ITEMS_CAN_BE_REMOVED_WITH_PURCHASE_RECORDS - A value of 0 means items with purchase records can be removed by the registrant.
      static java.lang.Integer EC_RULE_MAX_NUM_OF_GIFT_ITEM_QTY
      EC_RULE_MAX_NUM_OF_GIFT_ITEM_QTY - The maximum number of the same item added to the registry cannot exceed a preconfigured number.
      static java.lang.Integer EC_RULE_MAXIMUM_NUM_OF_REGISTRIES
      EC_RULE_MAXIMUM_NUM_OF_REGISTRIES - The maximum registries allowed per registrant should not exceed a preconfigured number.
      static java.lang.Integer EC_RULE_MAXIMUM_NUM_OF_SEARCH_RESULTS
      EC_RULE_MAXIMUM_NUM_OF_SEARCH_RESULTS - The maximum number of registry search results ( perfect + similar match) cannot exceed a preconfigured number.
      static java.lang.Integer EC_RULE_NUM_MILLISECONDS_PER_DAY
      EC_RULE_NUM_MILLISECONDS_PER_DAY - A constant Integer value used to convert time to days.
      static java.lang.Integer EC_RULE_TOTAL_NUM_OF_REGISTRY_ITEMS
      EC_RULE_TOTAL_NUM_OF_REGISTRY_ITEMS - The total number of items for a registry should not exceed a preconfigured number.
      static java.lang.Integer EC_RULE_UPDATE_QTY_LESS_THAN_QTY_PURCHASED
      EC_RULE_UPDATE_QTY_LESS_THAN_QTY_PURCHASED - A value of 0 means the updated requested quantity can be less than the quantity purchased.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        The IBM Copyright notice field.
        See Also:
        Constant Field Values
      • EC_RULE_DEFAULT_EVENT_TYPE_NAME

        static final java.lang.String EC_RULE_DEFAULT_EVENT_TYPE_NAME
        Default eventTypeName
        See Also:
        Constant Field Values
      • EC_RULE_DEFAULT_STORE_ID

        static final java.lang.Integer EC_RULE_DEFAULT_STORE_ID
        Default storeId
      • EC_RULE_MAXIMUM_NUM_OF_REGISTRIES

        static final java.lang.Integer EC_RULE_MAXIMUM_NUM_OF_REGISTRIES
        EC_RULE_MAXIMUM_NUM_OF_REGISTRIES - The maximum registries allowed per registrant should not exceed a preconfigured number.
      • EC_RULE_MAXIMUM_NUM_OF_SEARCH_RESULTS

        static final java.lang.Integer EC_RULE_MAXIMUM_NUM_OF_SEARCH_RESULTS
        EC_RULE_MAXIMUM_NUM_OF_SEARCH_RESULTS - The maximum number of registry search results ( perfect + similar match) cannot exceed a preconfigured number.
      • EC_RULE_EVENT_DATE_IN_PAST

        static final java.lang.Integer EC_RULE_EVENT_DATE_IN_PAST
        EC_RULE_EVENT_DATE_IN_PAST - In edit mode for registry profile, a value of 0 means the registry event date can be modified to a past date. A value of 1 means the registry event date cannot be modified to a past date.
      • EC_RULE_UPDATE_QTY_LESS_THAN_QTY_PURCHASED

        static final java.lang.Integer EC_RULE_UPDATE_QTY_LESS_THAN_QTY_PURCHASED
        EC_RULE_UPDATE_QTY_LESS_THAN_QTY_PURCHASED - A value of 0 means the updated requested quantity can be less than the quantity purchased. A value of 1 means the updated requested quantity cannot be less than the quantity purchased.
      • EC_RULE_GR_ITEMS_CAN_BE_REMOVED_WITH_PURCHASE_RECORDS

        static final java.lang.Integer EC_RULE_GR_ITEMS_CAN_BE_REMOVED_WITH_PURCHASE_RECORDS
        EC_RULE_GR_ITEMS_CAN_BE_REMOVED_WITH_PURCHASE_RECORDS - A value of 0 means items with purchase records can be removed by the registrant. A value of 1 means items with purchase records cannot be removed by the registrant.
      • EC_RULE_DISPLAY_ALL_PURCHASE_RECORDS

        static final java.lang.Integer EC_RULE_DISPLAY_ALL_PURCHASE_RECORDS
        EC_RULE_DISPLAY_ALL_PURCHASE_RECORDS - A value of 0 means all the purchased items will be displayed.
      • EC_RULE_TOTAL_NUM_OF_REGISTRY_ITEMS

        static final java.lang.Integer EC_RULE_TOTAL_NUM_OF_REGISTRY_ITEMS
        EC_RULE_TOTAL_NUM_OF_REGISTRY_ITEMS - The total number of items for a registry should not exceed a preconfigured number.
      • EC_RULE_MAX_NUM_OF_GIFT_ITEM_QTY

        static final java.lang.Integer EC_RULE_MAX_NUM_OF_GIFT_ITEM_QTY
        EC_RULE_MAX_NUM_OF_GIFT_ITEM_QTY - The maximum number of the same item added to the registry cannot exceed a preconfigured number.
      • EC_RULE_DAYS_COMPLETION_PROG_ELIGIBLE_PAST_EVENT

        static final java.lang.Integer EC_RULE_DAYS_COMPLETION_PROG_ELIGIBLE_PAST_EVENT
        EC_RULE_DAYS_COMPLETION_PROG_ELIGIBLE_PAST_EVENT - Registrants become eligible for the completion program discount at a preconfigured number of days past their event date.
      • EC_RULE_DAYS_COMPLETION_PROG_INELIGIBLE_PAST_EVENT

        static final java.lang.Integer EC_RULE_DAYS_COMPLETION_PROG_INELIGIBLE_PAST_EVENT
        EC_RULE_DAYS_COMPLETION_PROG_INELIGIBLE_PAST_EVENT - Registrants become illegible for the completion program discount at a preconfigured number of days past their event date.
      • EC_RULE_DAYS_EVENT_DATE_VALID_IN_PAST

        static final java.lang.Integer EC_RULE_DAYS_EVENT_DATE_VALID_IN_PAST
        EC_RULE_DAYS_EVENT_DATE_VALID_IN_PAST - A registry can be created with an event date of a preconfigured number of days in the past (per event type).
      • EC_RULE_DAYS_EVENT_DATE_VALID_IN_FUTURE

        static final java.lang.Integer EC_RULE_DAYS_EVENT_DATE_VALID_IN_FUTURE
        EC_RULE_DAYS_EVENT_DATE_VALID_IN_FUTURE - A registry can be created with an event date of a preconfigured number of days in the future (per event type)
      • EC_RULE_NUM_MILLISECONDS_PER_DAY

        static final java.lang.Integer EC_RULE_NUM_MILLISECONDS_PER_DAY
        EC_RULE_NUM_MILLISECONDS_PER_DAY - A constant Integer value used to convert time to days.