com.ibm.commerce.giftregistry.beans

Class GiftRegistryItemDataBean

    • Field Detail

      • COPYRIGHT

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

      • GiftRegistryItemDataBean

        public GiftRegistryItemDataBean()
        Creates an empty GiftRegistryItemDataBean
    • 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()
                      throws java.lang.Exception
        Loads data into the data bean when the DataBeanManager.activate() runs. You must set the GiftRegistryItemId using the setGiftRegistryItemId 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.
      • getLocation

        public java.lang.String getLocation()
        Gets the location this item was added from, for example (OnLine, Store1, Store2 and so forth.)
        Overrides:
        getLocation in class GiftRegistryItemAccessBean
        Returns:
        The location this item was added from.
      • getCreateTime

        public java.sql.Timestamp getCreateTime()
        Gets the date of when this item was added to the registry
        Overrides:
        getCreateTime in class GiftRegistryItemAccessBean
        Returns:
        The date of when this item was added to the registry
      • getField1

        public java.lang.Integer getField1()
        Gets the customizable field1 value.
        Overrides:
        getField1 in class GiftRegistryItemAccessBean
        Returns:
        The customizable field1 value.
      • getField2

        public java.lang.Integer getField2()
        Gets the customizable field2 value.
        Overrides:
        getField2 in class GiftRegistryItemAccessBean
        Returns:
        The customizable field2 value.
      • getField3

        public java.lang.String getField3()
        Gets the customizable field3value.
        Overrides:
        getField3 in class GiftRegistryItemAccessBean
        Returns:
        The customizable field3 value.
      • getField4

        public java.lang.String getField4()
        Gets the customizable field4 value.
        Overrides:
        getField4 in class GiftRegistryItemAccessBean
        Returns:
        The customizable field4 value.
      • getField5

        public java.lang.String getField5()
        Gets the customizable field5 value.
        Overrides:
        getField5 in class GiftRegistryItemAccessBean
        Returns:
        The customizable field5 value.
      • getLastUpdate

        public java.sql.Timestamp getLastUpdate()
        Gets the timestamp of the last time this item was updated
        Overrides:
        getLastUpdate in class GiftRegistryItemAccessBean
        Returns:
        The timestamp of the last time this item was updated
      • getPartAuxKey

        public java.lang.String getPartAuxKey()
        Gets the part auxiliary key of this item
        Overrides:
        getPartAuxKey in class GiftRegistryItemAccessBean
        Returns:
        The part auxiliary key of this item
      • getQuantityRequested

        public java.lang.Integer getQuantityRequested()
        Gets the quantity requested for this item
        Overrides:
        getQuantityRequested in class GiftRegistryItemAccessBean
        Returns:
        The quantity requested for this item
      • getGiftRegistryItemId

        public java.lang.Long getGiftRegistryItemId()
        Gets the gift registry item Id
        Returns:
        The gift registry item Id
      • setGiftRegistryItemId

        public void setGiftRegistryItemId(java.lang.Long newValue)
        Sets the gift registry item Id. Only valid before initialization
        Parameters:
        GiftItemId - - the gift registry item Id