com.ibm.commerce.tools.epromotion.databeans

Class RLPromotionBean

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The copyright information.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RLPromotionBean

        public RLPromotionBean()
        RLPromotionBean constructor.
    • Method Detail

      • getAdminDesc

        public java.lang.String getAdminDesc()
        Gets administrator's description.
        Returns:
        Administrator's description.
      • getCalCodeId

        public java.lang.String getCalCodeId()
        Gets CALCODE ID.
        Returns:
        CALCODE ID.
      • getMemberGroupName

        public java.util.Vector getMemberGroupName()
        Gets the vector of member group for which the discount is assigned.
        Returns:
        The vector of member group for which the discount is assigned.
      • getRLPromotion

        public RLPromotion getRLPromotion()
        Gets the RLPromotion object.
        Returns:
        The RLPromotion object.
      • getRLPromotionType

        public java.lang.String getRLPromotionType()
        Return the promotion type to the user interface.
        Returns:
        The promotion type to the user interface.
      • getShopDesc

        public java.lang.String getShopDesc()
        Gets the customer viewable description.
        Returns:
        The customer viewable description.
      • getShopLongDesc

        public java.lang.String getShopLongDesc()
        Gets customer viewable long description.
        Returns:
        The customer viewable long description.
      • getActualRedemptionsForPromotion

        public int getActualRedemptionsForPromotion()
        Gets the actual redemptions for this promotion based on order.
        Returns:
        The actual redemptions for this promotion based on order.
      • populate

        public void populate()
                      throws java.lang.Exception
        Populate this databean from database and XML string to promotion summary page.
        Specified by:
        populate in interface SmartDataBean
        Overrides:
        populate in class SmartDataBeanImpl
        Throws:
        The - might be some exception thrown if request properties doesn't contain the value needs.
        java.lang.Exception - This method should never be thrown because there is no data retrieved to populate the data bean.
      • setCalCodeId

        public void setCalCodeId(java.lang.String newCalCodeId)
        Sets CALCODE ID.
        Parameters:
        String - type of CALCODE ID.
      • setRLPromotion

        public void setRLPromotion(RLPromotion rlp)
        Sets RLPromotion object.
        Parameters:
        RLPromotion - object.