com.ibm.commerce.giftregistry.beans

Class GiftRegistryItemPurchaseRecordCatalogEntryDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, Delegator, Protectable, java.io.Serializable


    public class GiftRegistryItemPurchaseRecordCatalogEntryDataBean
    extends GiftRegistryItemPurchaseRecordDataBean
    implements SmartDataBean, InputDataBean
    This bean is a GiftRegistryItemPurchaseRecordDataBean, with the extension being that it may have a corresponding CatalogEntryDataBean associated with it. The partNumber and partAuxKey for GiftRegistryItemPurchaseRecordDataBean may match a corresponding partNumber and memberId for CatalogEntryDataBean. If this is the case, then this gift registry purchase record is in the online catalog and can be displayed as a catalog entry. The method getCatalogEntryDataBean() returns this beans corresponding catalog entry if it exists. This data bean acts as a convenience method for JSP developers. It can be initialized by passing in a giftRegistryItemPurchaseRecordId from a JSP file. A JSP file can also use GiftRegistryItemPurchaseRecordCatalogEntryListDataBean to return a list of values for GiftRegistryItemPurchaseRecordCatalogEntryDataBean.
    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

      • GiftRegistryItemPurchaseRecordCatalogEntryDataBean

        public GiftRegistryItemPurchaseRecordCatalogEntryDataBean()
        Default constructor
    • Method Detail

      • setCatalogEntryDataBean

        public void setCatalogEntryDataBean(CatalogEntryDataBean catEntDataBean)
        Sets the corresponding CatalogEntryDataBean that represents this giftRegistryItem in the catalog
        Parameters:
        catEntDataBean - - catalog entry data bean
      • getCatalogEntryDataBean

        public CatalogEntryDataBean getCatalogEntryDataBean()
        Returns the corresponding CatalogEntryDataBean associated with this RegistryItemPurchaseRecord. The partNumber and partAuxKey for GiftRegistryItemPurchaseRecordDataBean may match a corresponding partNumber and memberId for CatalogEntryDataBean. If this is the case, then this giftRegistryItem is in the online catalog and can be displayed as a catalog entry. This method returns this corresponding catalog entry if it exists.
        Returns:
        The corresponding CatalogEntryDataBean