com.ibm.commerce.giftregistry.beans

Class GiftRegistryAnnouncementEmailDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, Delegator, java.io.Serializable


    public class GiftRegistryAnnouncementEmailDataBean
    extends com.ibm.commerce.giftregistry.beans.GiftRegistryAnnouncementEmailDataBeanBase
    implements SmartDataBean, InputDataBean
    Extends GiftRegistryAnnouncementEmailDataBeanBase and provides a JSP friendly way of accessing announcement templates from the database. Used to retrieve a gift registry announcement e-mail data from grannhist, granntmplt and gremllist database tables.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • GiftRegistryAnnouncementEmailDataBean

        public GiftRegistryAnnouncementEmailDataBean()
        Generates an empty GiftRegistryAnnouncementEmailDataBean
    • Method Detail

      • setRequestProperties

        public void setRequestProperties(TypedProperty param)
        Sets the request properties within this bean.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        requestProperties - the set of properties passed to the JSP page that invokes this data bean,
        Throws:
        java.lang.Exception - if there is a problem when setting the request properties. This particular method should not throw any exception because it just stores the request properties.
      • populate

        public void populate()
        Loads data into the data bean when the DataBeanManager.activate() runs.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        java.lang.Exception - if there is a problem populating the data bean.
      • getType

        public java.lang.Integer getType()
        Returns the type of e-mail address sent for this announcement. the type of the e-mail address. The types are supported out of box:
        • 0: Normal address
        • 1: the recipient is carbon copied
        • 2: the recipient is blind carbon copied
        Overrides:
        getType in class GiftRegistryAnnouncementEmailListAccessBean
        Returns:
        type