Class GiftRegistryAnnouncementHistoryDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, Delegator, Protectable,

    public class GiftRegistryAnnouncementHistoryDataBean
    implements SmartDataBean, InputDataBean
    Used to retrieve announcement history for a gift registry from grannhist and gremllist database tables given an announcementId. Announcement history consists of announcement's receivers, sender, date and announcement message.
    See Also:
    Serialized Form
    • Field Detail


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

      • GiftRegistryAnnouncementHistoryDataBean

        public GiftRegistryAnnouncementHistoryDataBean()
        Default constructor
    • Method Detail

      • setRequestProperties

        public void setRequestProperties(TypedProperty param)
        Sets the request properties within this bean.
        Specified by:
        setRequestProperties in interface InputDataBean
        requestProperties - the set of properties passed to the JSP page that invokes this data bean,
        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. You must set the announcementId using the setAnnouncementId method before running the populate() method
        Specified by:
        populate in interface SmartDataBean
        java.lang.Exception - if there is a problem populating the data bean.
      • getAnnouncementId

        public java.lang.Long getAnnouncementId()
        Gets the announcement ID.
        The announcement ID.
      • setAnnouncementId

        public void setAnnouncementId(java.lang.Long newAnnouncementId)
        Sets the announcement ID to populate this bean. This is a required parameter to populate this bean.
        newAnnouncementId - - The Announcement ID
      • getAnnouncementEmailDataBeans

        public GiftRegistryAnnouncementEmailDataBean[] getAnnouncementEmailDataBeans()
        Gets a list of announcement e-mail data beans that represent recipient e-mail information for a particular announcement
        An array of GiftRegistryAnnouncementEmailDataBean.