public class GiftRegistryDataBean extends GiftRegistryAccessBean implements SmartDataBean, InputDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
GiftRegistryDataBean()
Generates an empty GiftRegistryDataBean
|
GiftRegistryDataBean(GiftRegistryAccessBean object)
Populates this data bean given its access bean
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer | getAcceptGiftCard()
Get the gift registry acceptGiftCard value
|
GiftRegistryAnnouncementHistoryDataBean[] | getAnnouncements()
Gets a list of announcement history beans
|
CommandContext | getCommandContext()
Gets the command context set within this bean.
|
java.sql.Timestamp | getCreatedTime()
The time at which the gift registry was created.
|
java.lang.String | getDescription()
Gets the gift registry description
|
java.sql.Date | getEventDate()
Gets the gift registry eventDate date
|
java.lang.String | getEventTypeDescription()
Gets the description of the event
|
java.lang.Integer | getEventTypeId()
Gets the gift registry eventTypeId
|
java.lang.String | getEventTypeName()
Gets the gift registry event type name
|
java.lang.String | getExternalId()
Gets the gift registry external ID
|
java.lang.Integer | getField1()
Gets the gift registry field1 value
|
java.lang.Integer | getField2()
Gets the gift registry field2 value
|
java.lang.String | getField3()
Gets the gift registry field3 value
|
java.lang.String | getField4()
Gets the gift registry field4 value
|
java.lang.String | getField5()
Gets the gift registry field5 value
|
java.lang.String | getGiftGiverPassword()
Gets the gift giver password for this registry
|
java.lang.Long | getGiftRegistryId()
Get the registry ID
|
GiftRegistryAddressDataBean | getGiftRegistryPrePostShipAddress()
Gets the appropriate shipping address (post-event or pre-event) by comparing the current time + shipping offset with the event date.
|
java.lang.String | getGuestAccessKey()
Gets the Guest's access key on this registry
|
java.lang.Integer | getGuestAccessOption()
Gets the gift registry guestAccessOption value: 0: The gift registry is public.
|
java.lang.String | getInEligiblePostEventProgramMsg()
Gets the String value that indicates the registry is eligible for a post event program or not
|
java.lang.String | getIsEligible()
Gets the isEligible value
|
GiftRegistryItemDataBean[] | getItems()
Returns all the items in this gift registry.
|
java.sql.Timestamp | getLastUpdate()
Gets the last updated timestamp of a gift registry
|
java.lang.String | getLocation()
Get the location of where the gift registry was created, for example (OnLine, store1, store2 and so forth.).
|
java.lang.String | getMessageForGuest()
Gets the gift registry's message for guest.
|
java.lang.String | getName()
Gets the gift registry's name
|
java.lang.Integer | getOptForEmail()
Gets the value of the option for e-mail of the gift registry: 0: The registrant does not want to receive e-mail. 1: The registrant wants to receive e-mail.
|
java.lang.Long | getPostEventAddressId()
Get the post-event address ID
|
java.lang.String | getPostShippingPreference()
Gets the registry post event shipping address reference: R: Registrant C: Co-registrant CU: 2nd co-registrant O: Other
|
java.lang.Long | getPreEventAddressId()
Get the pre-event address ID
|
java.lang.String | getPreShippingPreference()
Returns the registry pre event shipping address reference: R: Registrant C: Co-registrant CU: 2nd co-registrant O: Other
|
java.lang.String | getRegistrantAccessKey()
Gets the gift registry registrant's access key value
|
java.lang.String | getRegistrantCity()
Gets the registrant's city for this registry
|
java.lang.String | getRegistrantPassword()
Gets the registrant password for this registry
|
GiftRegistryRegistrantDataBean[] | getRegistrants()
Returns all the registrants related to this gift registry.
|
java.lang.String | getRegistrantState()
Gets the registrant's state for this registry
|
TypedProperty | getRequestProperties()
Returns the request properties of the data bean.
|
java.lang.Integer | getShippingOffset()
Gets the shipping offset.
|
java.lang.Integer | getStatus()
Gets the gift registry status: 0: The gift registry is not active (that is, it is disabled).
|
java.lang.Integer | getStoreId()
Gets the store ID to which this gift registry belongs.
|
java.lang.Integer | getType()
Gets the gift registry type
|
java.lang.String | isEligibleForPostEventProgram()
Checks the registry is eligible for a post event program or not
|
void | populate()
Populates the data bean with data elements.
|
void | setCommandContext(CommandContext commandContext)
Sets the command context.
|
void | setExternalId(java.lang.String newValue)
Sets the gift registry externalId value
|
void | setGiftRegistryId(java.lang.Long newValue)
Sets the gift registry Id.
|
void | setRegistrantAccessKey(java.lang.String newValue)
Sets the gift registry access key value
|
void | setRequestProperties(TypedProperty param)
Sets the request properties within this bean.
|
void | setShippingOffset(java.lang.Integer offset)
Sets the shipping offset.
|
public static final java.lang.String COPYRIGHT
public GiftRegistryDataBean()
public GiftRegistryDataBean(GiftRegistryAccessBean object) throws ECSystemException
public TypedProperty getRequestProperties()
public void setRequestProperties(TypedProperty param) throws java.lang.Exception
public CommandContext getCommandContext()
public void setCommandContext(CommandContext commandContext)
public void populate() throws java.lang.Exception
public java.lang.Integer getAcceptGiftCard()
public java.lang.String getRegistrantAccessKey()
public java.lang.String getLocation()
public java.sql.Timestamp getCreatedTime()
public java.lang.String getDescription()
public java.sql.Date getEventDate()
public java.lang.Integer getEventTypeId()
public java.lang.String getEventTypeName()
public java.lang.String getExternalId()
public java.lang.Integer getField1()
public java.lang.Integer getField2()
public java.lang.String getField3()
public java.lang.String getField4()
public java.lang.String getField5()
public java.lang.Integer getGuestAccessOption()
public java.sql.Timestamp getLastUpdate()
public java.lang.String getMessageForGuest()
public java.lang.String getName()
public java.lang.Integer getOptForEmail()
public java.lang.Long getPostEventAddressId()
public java.lang.Long getPreEventAddressId()
public java.lang.Integer getStatus()
public java.lang.Integer getStoreId()
public java.lang.Integer getType()
public java.lang.Long getGiftRegistryId()
public java.lang.String getGuestAccessKey()
public java.lang.String getIsEligible()
public void setRegistrantAccessKey(java.lang.String newValue)
public void setExternalId(java.lang.String newValue)
public void setGiftRegistryId(java.lang.Long newValue)
public GiftRegistryItemDataBean[] getItems()
public GiftRegistryRegistrantDataBean[] getRegistrants()
public GiftRegistryAnnouncementHistoryDataBean[] getAnnouncements()
public java.lang.String getEventTypeDescription()
public java.lang.String isEligibleForPostEventProgram()
public java.lang.String getInEligiblePostEventProgramMsg()
public java.lang.String getRegistrantPassword()
public java.lang.String getGiftGiverPassword()
public java.lang.String getPreShippingPreference()
public java.lang.String getPostShippingPreference()
public java.lang.Integer getShippingOffset()
public void setShippingOffset(java.lang.Integer offset)
public GiftRegistryAddressDataBean getGiftRegistryPrePostShipAddress()
public java.lang.String getRegistrantCity()
public java.lang.String getRegistrantState()