Class GiftRegistryAnnouncementTemplateListDataBean

  • java.lang.Object
  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean,

    public class GiftRegistryAnnouncementTemplateListDataBean
    extends java.lang.Object
    implements SmartDataBean, InputDataBean
    The GiftRegistryAnnouncementTemplateListDataBean provides a JSP friendly way of accessing announcement templates from the database. This bean is activated by setting an eventTypeId and returns all templates associated with the particular event type. This bean constructs an array for GiftRegistryAnnouncementTemplateDataBean.
    See Also:
    Serialized Form
    • Field Detail


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

      • GiftRegistryAnnouncementTemplateListDataBean

        public GiftRegistryAnnouncementTemplateListDataBean()
        Default constructor
    • Method Detail

      • getCommandContext

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

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

        public void setRequestProperties(TypedProperty param)
                                  throws java.lang.Exception
        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()
                      throws java.lang.Exception
        Populates the data bean with data elements.
        Specified by:
        populate in interface SmartDataBean
        java.lang.Exception - if there is a problem populating the data bean with data.
      • getGiftRegistryAnnouncementTemplateDataBeans

        public java.util.Enumeration getGiftRegistryAnnouncementTemplateDataBeans()
        Returns all GiftRegistryAnnouncementTemplateDataBean values that correspond to the eventTypeId set in this bean
        Enumeration of GiftRegistryAnnouncementTemplateDataBeans
      • getEventTypeId

        public java.lang.Integer getEventTypeId()
        Gets the event type ID this template is associated with. All eventTypeId must be defined in grevnttype database table.
        The event type ID this template is associated with
      • setEventTypeId

        public void setEventTypeId(java.lang.Integer long1)
        Sets the event type ID for which this template is associated
        eventTypeId - - the event type ID for which template is associated with