public class GiftRegistryItemDataBean extends com.ibm.commerce.giftregistry.beans.GiftRegistryItemDataBeanBase implements SmartDataBean, InputDataBean
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
emptyString| Constructor and Description |
|---|
GiftRegistryItemDataBean()
Creates an empty GiftRegistryItemDataBean
|
GiftRegistryItemDataBean(GiftRegistryItemAccessBean object)
Populates this data bean given its access bean
|
| Modifier and Type | Method and Description |
|---|---|
java.sql.Timestamp |
getCreateTime()
Gets the date of when this item was added to the registry
|
java.lang.Integer |
getField1()
Gets the customizable field1 value.
|
java.lang.Integer |
getField2()
Gets the customizable field2 value.
|
java.lang.String |
getField3()
Gets the customizable field3value.
|
java.lang.String |
getField4()
Gets the customizable field4 value.
|
java.lang.String |
getField5()
Gets the customizable field5 value.
|
java.lang.Long |
getGiftRegistryId()
Gets the gift registry ID
|
java.lang.Long |
getGiftRegistryItemId()
Gets the gift registry item Id
|
java.sql.Timestamp |
getLastUpdate()
Gets the timestamp of the last time this item was updated
|
java.lang.String |
getLocation()
Gets the location this item was added from, for example (OnLine, Store1, Store2 and so forth.)
|
java.lang.String |
getPartAuxKey()
Gets the part auxiliary key of this item
|
java.lang.String |
getPartNumber()
Gets the partNumber of this item
|
java.lang.Integer |
getQuantityBought()
Gets the quantity bought of this item
|
java.lang.Integer |
getQuantityRequested()
Gets the quantity requested for this item
|
TypedProperty |
getRequestProperties()
Returns the request properties of the data bean.
|
void |
populate()
Loads data into the data bean when the
DataBeanManager.activate() runs. |
void |
setGiftRegistryItemId(java.lang.Long newValue)
Sets the gift registry item Id.
|
void |
setRequestProperties(TypedProperty param)
Sets the request properties within this bean.
|
getCommandContext, getDelegate, setCommandContextfindGiftItemsByGiftRegistryId, findGiftItemsByGiftRegistryIdAndLocation, findGiftItemsByGiftRegistryIdAndPartNumber, findGiftItemsByGiftRegistryIdAndPartNumberAndPartAuxKey, findGiftItemsByGiftRegistryIdAndPartNumberAndPartAuxKeyOrderByQuantityBought, findGiftItemsByGiftRegistryIdAndPartNumberOrderByQuantityBought, findGiftItemsByGiftRegistryIdOrderByQuantityBought, fulfills, getEntity, getGiftItemId, getOwner, getUserRelationship, instantiateEntity, setCreateTime, setField1, setField2, setField3, setField4, setField5, setGiftItemId, setGiftRegistryId, setInitKey_giftItemId, setLastUpdate, setLocation, setPartAuxKey, setPartNumber, setQuantityBought, setQuantityRequested, setUserRelationshipcreateAccessBean, createAccessBean, createAccessBeanCollection, createAccessBeanCollection, createEntityCollection, detach, remove, setUseDataCache, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCommandContext, setCommandContextfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public GiftRegistryItemDataBean()
public GiftRegistryItemDataBean(GiftRegistryItemAccessBean object) throws ECSystemException
GiftRegistryItemAccessBean - ECSystemExceptionpublic TypedProperty getRequestProperties()
getRequestProperties in interface InputDataBeanpublic void setRequestProperties(TypedProperty param)
setRequestProperties in interface InputDataBeanrequestProperties - 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
DataBeanManager.activate() runs.
You must set the GiftRegistryItemId using the setGiftRegistryItemId method before running the populate() method.populate in interface SmartDataBeanjava.lang.Exception - if there is a problem populating the data bean with data.public java.lang.String getLocation()
getLocation in class GiftRegistryItemAccessBeanpublic java.sql.Timestamp getCreateTime()
getCreateTime in class GiftRegistryItemAccessBeanpublic java.lang.Integer getField1()
getField1 in class GiftRegistryItemAccessBeanpublic java.lang.Integer getField2()
getField2 in class GiftRegistryItemAccessBeanpublic java.lang.String getField3()
getField3 in class GiftRegistryItemAccessBeanpublic java.lang.String getField4()
getField4 in class GiftRegistryItemAccessBeanpublic java.lang.String getField5()
getField5 in class GiftRegistryItemAccessBeanpublic java.lang.Long getGiftRegistryId()
getGiftRegistryId in class GiftRegistryItemAccessBeanpublic java.sql.Timestamp getLastUpdate()
getLastUpdate in class GiftRegistryItemAccessBeanpublic java.lang.String getPartAuxKey()
getPartAuxKey in class GiftRegistryItemAccessBeanpublic java.lang.String getPartNumber()
getPartNumber in class GiftRegistryItemAccessBeanpublic java.lang.Integer getQuantityBought()
getQuantityBought in class GiftRegistryItemAccessBeanpublic java.lang.Integer getQuantityRequested()
getQuantityRequested in class GiftRegistryItemAccessBeanpublic java.lang.Long getGiftRegistryItemId()
public void setGiftRegistryItemId(java.lang.Long newValue)
GiftItemId - - the gift registry item Id