public class GiftRegistryItemCatalogEntryListDataBean extends java.lang.Object implements SmartDataBean, InputDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
GiftRegistryItemCatalogEntryListDataBean()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
protected void | findGiftRegistryItems()
Searches a gift registry and populates two vectors with GiftRegistryItemCatalogEntryDataBean values.
|
CommandContext | getCommandContext()
Gets the command context set within this bean.
|
java.lang.String | getExternalId()
Gets the gift registry external identifier for all channels
|
java.util.Enumeration | getGiftRegisrtyItemBeans()
Returns all GiftRegistryItemCatalogEntryDataBean values in the gift registry.
|
java.lang.Long | getGiftRegistryId()
Gets the gift registry ID
|
java.util.Enumeration | getGiftRegistryItemBeansInCatalog()
Returns all GiftRegistryItemCatalogEntryDataBean values in the gift registry that are found in the online catalog
|
java.util.Enumeration | getGiftRegistryItemBeansNotInCatalog()
Returns all GiftRegistryItemCatalogEntryDataBean values in the gift registry that are not in the online catalog
|
java.lang.String | getMaximumPrice()
Gets the highest price of a price range
|
java.lang.String | getMinimumPrice()
Gets the lowest price within a price range
|
TypedProperty | getRequestProperties()
Returns the request properties of the data bean.
|
java.lang.String | getSortBy()
Gets the requested way to sort the catalog entries
|
FormattedMonetaryAmountDataBean | getTotalPrice()
Gets the formatted total price.
|
void | populate()
Populates the data bean with data elements.
|
void | setCalculateTotal(boolean bCalculate)
Specifies whether or not the total is calculated
|
void | setCommandContext(CommandContext commandContext)
Sets the command context.
|
void | setExternalId(java.lang.String string)
Sets the gift registry external identifier for all channels
|
void | setGiftRegistryId(java.lang.Long longValue)
Sets the gift registry ID
|
void | setMaximumPrice(java.lang.String maxPrice)
Sets the highest price within a price range
|
void | setMinimumPrice(java.lang.String minPrice)
Set the lowest price within a price range
|
void | setRequestProperties(TypedProperty param)
Sets the request properties within this bean.
|
void | setSortBy(java.lang.String string)
Sets the requested way to sort the catalog entries Possible values include: 1 - 'quantityBought' ( most bought first) 2 - 'quantityRequested' (most requested first) 3 - 'quantityNeeded' (most needed first) 4 - 'partNumber' (alphabetically) 5 - 'price' (lowest price first)
|
protected void | sortGiftRegistryItemBeans()
Sorts the beans by calling GiftRegistryItemCatalogEntryDataBeanQuickSortCompare.
|
public static final java.lang.String COPYRIGHT
public GiftRegistryItemCatalogEntryListDataBean()
public CommandContext getCommandContext()
public void setCommandContext(CommandContext commandContext)
public TypedProperty getRequestProperties()
public void setRequestProperties(TypedProperty param) throws java.lang.Exception
public void populate() throws java.lang.Exception
protected void sortGiftRegistryItemBeans()
public java.util.Enumeration getGiftRegisrtyItemBeans()
public java.util.Enumeration getGiftRegistryItemBeansInCatalog()
public java.util.Enumeration getGiftRegistryItemBeansNotInCatalog()
public java.lang.String getMaximumPrice()
public void setMaximumPrice(java.lang.String maxPrice)
public java.lang.String getMinimumPrice()
public void setMinimumPrice(java.lang.String minPrice)
public void setCalculateTotal(boolean bCalculate)
public FormattedMonetaryAmountDataBean getTotalPrice()
protected void findGiftRegistryItems() throws ECSystemException
public java.lang.String getExternalId()
public java.lang.Long getGiftRegistryId()
public void setExternalId(java.lang.String string)
public void setGiftRegistryId(java.lang.Long longValue)
public java.lang.String getSortBy()
public void setSortBy(java.lang.String string)