public class PostGiftRegistryAnnouncementBOD extends AbstractBusinessObjectDocument implements BusinessObjectDocument
BusinessObjectDocument
for posting a gift registry announcement. This BOD represents service request
of posting a gift registry announcement. It is up to the command that processes this BOD to decide how an announcement
should be post, and what the announcement looks like. This BOD contains only data that is needed for posting announcement.
Only GiftRegistryAnnouncementVO can be used for nouns in this BOD.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
PostGiftRegistryAnnouncementBOD()
Default constructor
|
PostGiftRegistryAnnouncementBOD(ActivityToken aToken,
DataArea dataArea)
Constructs the object by specifying a token and
DataArea |
Modifier and Type | Method and Description |
---|---|
GiftRegistryAnnouncementVO[] |
getGiftRegistryAnnouncements()
Gets all the gift registry announcements stored in the data area
|
void |
setGiftRegistryAnnouncement(GiftRegistryAnnouncementVO[] giftRegistryAnnouncements)
Sets gift registry announcements in the data area of this BOD
|
getAction, getApplicationArea, getDataArea, getValue, setActivityToken, setDataArea, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAction, getApplicationArea, getDataArea, getValue, setActivityToken, setDataArea
public static final java.lang.String COPYRIGHT
public PostGiftRegistryAnnouncementBOD()
public PostGiftRegistryAnnouncementBOD(ActivityToken aToken, DataArea dataArea)
DataArea
aToken
- an activity token that uniquely identifies the activity to which this service BOD belongsdataArea
- A DataArea
instance that contains verb and nounspublic GiftRegistryAnnouncementVO[] getGiftRegistryAnnouncements()
public void setGiftRegistryAnnouncement(GiftRegistryAnnouncementVO[] giftRegistryAnnouncements)
The
- nouns to be assigned to this BOD