com.ibm.commerce.giftregistry.beans

Class GiftRegistryEventTypeDataBean

    • Field Detail

      • COPYRIGHT

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

      • GiftRegistryEventTypeDataBean

        public GiftRegistryEventTypeDataBean()
        Generates an empty GiftRegistryEventTypeDataBean
    • Method Detail

      • 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()
        Loads data into the data bean when the DataBeanManager.activate() runs. You must set the eventTypeId using the setEventTypeId method before running the populate() method.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        java.lang.Exception - if there is a problem populating the data bean with data.
      • 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.
      • getDescription

        public GiftRegistryEventTypeDescriptionDataBean getDescription()
        Get the description for this event type by returning the GiftRegistryEventTypeDescriptionDataBean
        Returns:
        GiftRegistryEventTypeDescriptionDataBean - The data bean for gift registry event description
      • getField1

        public java.lang.String getField1()
        Gets the gift registry event type field 1 value
        Overrides:
        getField1 in class GiftRegistryEventTypeAccessBean
        Returns:
        The gift registry event type field1 value
      • getField2

        public java.lang.String getField2()
        Gets the gift registry event type field 2 value
        Overrides:
        getField2 in class GiftRegistryEventTypeAccessBean
        Returns:
        The gift registry event type field2 value
      • getField3

        public java.lang.String getField3()
        Gets the gift registry event type field 3 value
        Overrides:
        getField3 in class GiftRegistryEventTypeAccessBean
        Returns:
        The gift registry event type field3 value
      • getStatus

        public java.lang.Integer getStatus()
        Gets the current status of the eventType 0: The gift registry is not active (that is, it is disabled). Only the merchant can activate the registry. 1: The gift registry is active. 2: The gift registry is completed. 3: The gift registry has expired. 4: The gift registry is marked for deletion.
        Overrides:
        getStatus in class GiftRegistryEventTypeAccessBean
        Returns:
        The status of the eventType
      • setEventTypeId

        public void setEventTypeId(java.lang.Integer newValue)
        Sets the eventTypeId. Only valid before initialization
        Overrides:
        setEventTypeId in class GiftRegistryEventTypeAccessBean
        Parameters:
        EventTypeId - - event type ID