public class GiftRegistryAnnouncementHistoryDataBean extends com.ibm.commerce.giftregistry.beans.GiftRegistryAnnouncementHistoryDataBeanBase implements SmartDataBean, InputDataBean
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
emptyString| Constructor and Description |
|---|
GiftRegistryAnnouncementHistoryDataBean()
Default constructor
|
GiftRegistryAnnouncementHistoryDataBean(GiftRegistryAnnouncementHistoryAccessBean object)
Creates this data bean based on its parent access bean
|
| Modifier and Type | Method and Description |
|---|---|
GiftRegistryAnnouncementEmailDataBean[] |
getAnnouncementEmailDataBeans()
Gets a list of announcement e-mail data beans that represent recipient e-mail information for a particular announcement
|
java.lang.Long |
getAnnouncementId()
Gets the announcement ID.
|
java.lang.String |
getField1()
Gets the customizable field 1 of the announcement history.
|
java.lang.String |
getField2()
Gets the customizable field 2 of the announcement history.
|
java.lang.Long |
getGiftRegistryId()
Returns the gift registry ID to which this announcement history belongs
|
java.lang.String |
getMessage()
Gets the customizable field 3 of the announcement history.
|
TypedProperty |
getRequestProperties()
Returns the request properties of the data bean.
|
java.lang.String |
getSenderEmail()
Gets the e-mail address of the sender of the announcement
|
java.lang.String |
getSenderName()
Gets the name of the sender of this announcement history
|
java.sql.Date |
getSentDate()
Gets the sent date of this announcement
|
void |
populate()
Loads data into the data bean when the
DataBeanManager.activate() runs. |
void |
setAnnouncementId(java.lang.Long newAnnouncementId)
Sets the announcement ID to populate this bean.
|
void |
setRequestProperties(TypedProperty param)
Sets the request properties within this bean.
|
getCommandContext, getDelegate, setCommandContextfindAnnouncementByGiftRegistryIdOrderBySentDate, fulfills, getAnnounceHistoryId, getEntity, getOwner, getUserRelationship, instantiateEntity, setAnnounceHistoryId, setField1, setField2, setGiftRegistryId, setInitKey_announceHistoryId, setMessage, setSenderEmail, setSenderName, setSentDate, 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 GiftRegistryAnnouncementHistoryDataBean()
public GiftRegistryAnnouncementHistoryDataBean(GiftRegistryAnnouncementHistoryAccessBean object) throws ECSystemException
GiftRegistryAnnouncementAccessBean - 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()
DataBeanManager.activate() runs.
You must set the announcementId using the setAnnouncementId method before running the populate() methodpopulate in interface SmartDataBeanjava.lang.Exception - if there is a problem populating the data bean.public java.lang.Long getGiftRegistryId()
getGiftRegistryId in class GiftRegistryAnnouncementHistoryAccessBeanpublic java.lang.Long getAnnouncementId()
public void setAnnouncementId(java.lang.Long newAnnouncementId)
newAnnouncementId - - The Announcement IDpublic java.lang.String getField1()
getField1 in class GiftRegistryAnnouncementHistoryAccessBeanpublic java.lang.String getField2()
getField2 in class GiftRegistryAnnouncementHistoryAccessBeanpublic java.lang.String getMessage()
getMessage in class GiftRegistryAnnouncementHistoryAccessBeanpublic java.lang.String getSenderEmail()
getSenderEmail in class GiftRegistryAnnouncementHistoryAccessBeanpublic java.lang.String getSenderName()
getSenderName in class GiftRegistryAnnouncementHistoryAccessBeanpublic java.sql.Date getSentDate()
getSentDate in class GiftRegistryAnnouncementHistoryAccessBeanpublic GiftRegistryAnnouncementEmailDataBean[] getAnnouncementEmailDataBeans()
GiftRegistryAnnouncementEmailDataBean.