public class GiftRegistryDataBean extends GiftRegistryAccessBean implements SmartDataBean, InputDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
emptyString
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.
|
findGiftRegistryByAddressId, findGiftRegistryByEventTypeId, findGiftRegistryByExternalId, findGiftRegistryByExternalIdAndGuestAccessKey, findGiftRegistryByExternalIdAndRegistrantAccessKey, findGiftRegistryByExternalIdAndStoreId, findGiftRegistryByExternalIds, findGiftRegistryByGiftRegistryIds, findGiftRegistryByLocationAndStatusOrderByEventDate, fulfills, getAnnouncementHistory, getEntity, getEventTypeDescriptionInLanguage, getGiftRegistryItems, getGiftRegistryRegistrants, getOwner, getUserRelationship, instantiateEntity, setAcceptGiftCard, setCreatedTime, setDescription, setEventDate, setEventTypeDescription, setEventTypeId, setField1, setField2, setField3, setField4, setField5, setGuestAccessKey, setGuestAccessOption, setInitKey_giftRegistryId, setLastUpdate, setLocation, setMessageForGuest, setName, setOptForEmail, setPostEventAddressId, setPreEventAddressId, setStatus, setStoreId, setType, setUserRelationship
public static final java.lang.String COPYRIGHT
public GiftRegistryDataBean()
public GiftRegistryDataBean(GiftRegistryAccessBean object) throws ECSystemException
GiftRegistryAccessBean
- ECSystemException
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public void setRequestProperties(TypedProperty param)
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 CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
CommandContext
object.public void setCommandContext(CommandContext commandContext)
setCommandContext
in interface SmartDataBean
commandContext
- The command context..public void populate()
populate
in interface SmartDataBean
java.lang.Exception
- if there is a problem populating the data bean with data.public java.lang.Integer getAcceptGiftCard()
getAcceptGiftCard
in class GiftRegistryAccessBean
public java.lang.String getRegistrantAccessKey()
getRegistrantAccessKey
in class GiftRegistryAccessBean
public java.lang.String getLocation()
getLocation
in class GiftRegistryAccessBean
public java.sql.Timestamp getCreatedTime()
getCreatedTime
in class GiftRegistryAccessBean
public java.lang.String getDescription()
getDescription
in class GiftRegistryAccessBean
public java.sql.Date getEventDate()
getEventDate
in class GiftRegistryAccessBean
public java.lang.Integer getEventTypeId()
getEventTypeId
in class GiftRegistryAccessBean
public java.lang.String getEventTypeName()
public java.lang.String getExternalId()
getExternalId
in class GiftRegistryAccessBean
public java.lang.Integer getField1()
getField1
in class GiftRegistryAccessBean
public java.lang.Integer getField2()
getField2
in class GiftRegistryAccessBean
public java.lang.String getField3()
getField3
in class GiftRegistryAccessBean
public java.lang.String getField4()
getField4
in class GiftRegistryAccessBean
public java.lang.String getField5()
getField5
in class GiftRegistryAccessBean
public java.lang.Integer getGuestAccessOption()
getGuestAccessOption
in class GiftRegistryAccessBean
public java.sql.Timestamp getLastUpdate()
getLastUpdate
in class GiftRegistryAccessBean
public java.lang.String getMessageForGuest()
getMessageForGuest
in class GiftRegistryAccessBean
public java.lang.String getName()
getName
in class GiftRegistryAccessBean
public java.lang.Integer getOptForEmail()
getOptForEmail
in class GiftRegistryAccessBean
public java.lang.Long getPostEventAddressId()
getPostEventAddressId
in class GiftRegistryAccessBean
public java.lang.Long getPreEventAddressId()
getPreEventAddressId
in class GiftRegistryAccessBean
public java.lang.Integer getStatus()
getStatus
in class GiftRegistryAccessBean
public java.lang.Integer getStoreId()
getStoreId
in class GiftRegistryAccessBean
public java.lang.Integer getType()
getType
in class GiftRegistryAccessBean
public java.lang.Long getGiftRegistryId()
getGiftRegistryId
in class GiftRegistryAccessBean
public java.lang.String getGuestAccessKey()
getGuestAccessKey
in class GiftRegistryAccessBean
public java.lang.String getIsEligible()
public void setRegistrantAccessKey(java.lang.String newValue)
setRegistrantAccessKey
in class GiftRegistryAccessBean
newValue
- - the gift registry access key valuepublic void setExternalId(java.lang.String newValue)
setExternalId
in class GiftRegistryAccessBean
newValue
- - the gift registry externalId valuepublic void setGiftRegistryId(java.lang.Long newValue)
setGiftRegistryId
in class GiftRegistryAccessBean
newValue
- - the gift registry Idpublic GiftRegistryItemDataBean[] getItems()
public GiftRegistryRegistrantDataBean[] getRegistrants()
public GiftRegistryAnnouncementHistoryDataBean[] getAnnouncements()
public java.lang.String getEventTypeDescription()
getEventTypeDescription
in class GiftRegistryAccessBean
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)
offset
- Integer shipping offset in secondspublic GiftRegistryAddressDataBean getGiftRegistryPrePostShipAddress()
public java.lang.String getRegistrantCity()
public java.lang.String getRegistrantState()