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.
|
emptyString
Constructor and Description |
---|
GiftRegistryItemCatalogEntryListDataBean()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
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)
|
public static final java.lang.String COPYRIGHT
public GiftRegistryItemCatalogEntryListDataBean()
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
CommandContext
object.public void setCommandContext(CommandContext commandContext)
setCommandContext
in interface SmartDataBean
commandContext
- The command context..public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public void setRequestProperties(TypedProperty param) throws java.lang.Exception
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.public void populate() throws java.lang.Exception
populate
in interface SmartDataBean
java.lang.Exception
- if there is a problem populating the data bean with data.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)
maxPrice
- - the highest price within a price rangepublic java.lang.String getMinimumPrice()
public void setMinimumPrice(java.lang.String minPrice)
minPrice
- - the lowest price within a price rangepublic void setCalculateTotal(boolean bCalculate)
bCalculate
- - a boolean whether or not the total is calculatedpublic FormattedMonetaryAmountDataBean getTotalPrice()
public java.lang.String getExternalId()
public java.lang.Long getGiftRegistryId()
public void setExternalId(java.lang.String string)
externalId
- - the gift registry external identifier for all channelspublic void setGiftRegistryId(java.lang.Long longValue)
giftRegistryId
- - the gift registry IDpublic java.lang.String getSortBy()
public void setSortBy(java.lang.String string)
string
-