com.ibm.commerce.giftregistry.beans

Class GiftRegistryAnnouncementHistoryListDataBean

  • java.lang.Object
    • com.ibm.commerce.giftregistry.beans.GiftRegistryAnnouncementHistoryListDataBean
  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, java.io.Serializable


    public class GiftRegistryAnnouncementHistoryListDataBean
    extends java.lang.Object
    implements SmartDataBean, InputDataBean
    This data bean acts as a convenience method for JSP developers. It can be initialized by passing in a giftRegistryId or an externalId from a JSP file. This bean will populate and return an array of GiftRegistryAnnouncementHistoryDataBean's that belong to this registry. getGiftRegistryAnnouncementHistoryDataBeans() returns all the GiftRegistryAnnouncementHistoryDataBean's in the gift registry
    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

      • GiftRegistryAnnouncementHistoryListDataBean

        public GiftRegistryAnnouncementHistoryListDataBean()
        Generates an empty GiftRegistryAnnouncementHistoryListDataBean
    • Method Detail

      • setRequestProperties

        public void setRequestProperties(TypedProperty param)
                                  throws java.lang.Exception
        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.
      • getCommandContext

        public CommandContext getCommandContext()
        Gets the command context set within this bean.
        Specified by:
        getCommandContext in interface SmartDataBean
        Returns:
        The command context as CommandContext object.
      • setCommandContext

        public void setCommandContext(CommandContext commandContext)
        Sets the command context.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        commandContext - The command context..
      • populate

        public void populate()
                      throws java.lang.Exception
        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 with data.
      • getGiftRegistryAnnouncementHistoryDataBeans

        public GiftRegistryAnnouncementHistoryDataBean[] getGiftRegistryAnnouncementHistoryDataBeans()
        Returns all GiftRegistryAnnouncementHistoryDataBeans in the gift registry
        Returns:
        array of GiftRegistryAnnouncementHistoryDataBeans
      • getExternalId

        public java.lang.String getExternalId()
        Gets the unique gift registry identifier for all channels.
        Returns:
        The unique gift registry identifier for all channels.
      • getGiftRegistryId

        public java.lang.Long getGiftRegistryId()
        Gets the gift registry ID
        Returns:
        The gift registry ID
      • setExternalId

        public void setExternalId(java.lang.String string)
        Sets the unique gift registry identifier for all channels.
        Parameters:
        externalId - - the unique gift registry identifier for all channels.
      • setGiftRegistryId

        public void setGiftRegistryId(java.lang.Long newValue)
        Sets the gift registry ID
        Parameters:
        giftRegistryId - - the gift registry ID