public class GiftRegistryRegistrantDataBean extends GiftRegistryRegistrantAccessBean implements SmartDataBean, InputDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
emptyString
Constructor and Description |
---|
GiftRegistryRegistrantDataBean()
Creates an empty data bean
|
GiftRegistryRegistrantDataBean(GiftRegistryRegistrantAccessBean object)
Populates this data bean given its access bean
|
Modifier and Type | Method and Description |
---|---|
GiftRegistryAddressDataBean |
getAddress()
Returns the address of the registrant
The GiftRegistryAddressDataBean is protected and results will only be
returned if proper authority is met
|
java.lang.Long |
getAddressId()
Gets the address ID of the registrant
|
CommandContext |
getCommandContext()
Gets the command context set within this bean.
|
java.lang.String |
getFirstName()
Gets the registrant's first name
|
java.lang.Long |
getGiftRegistryId()
Gets the gift registry ID to which this registrant belongs
|
java.lang.String |
getLastName()
Gets the registrant's last name
|
java.lang.Long |
getRegistrantId()
Get the Registrant ID
|
java.lang.String |
getRelation()
Gets the registrants relation to the other registrants
|
TypedProperty |
getRequestProperties()
Returns the request properties of the data bean.
|
java.lang.Integer |
getType()
Gets the registrant type
|
java.lang.String |
getUserId()
Gets the user ID of the registrant
Returns the user ID of the registrant
|
void |
populate()
Populates the data bean with data elements.
|
void |
setCommandContext(CommandContext commandContext)
Sets the command context.
|
void |
setRegistrantId(java.lang.Long newValue)
Sets the registrant ID.
|
void |
setRequestProperties(TypedProperty param)
Sets the request properties within this bean.
|
findRegistrantByAddressId, findRegistrantByGiftRegistryId, findRegistrantByGiftRegistryIdAndType, findRegistrantByUserId, getEntity, instantiateEntity, setAddressId, setGiftRegistryId, setInitKey_registrantId, setRelation, setType, setUserId
public static final java.lang.String COPYRIGHT
public GiftRegistryRegistrantDataBean()
public GiftRegistryRegistrantDataBean(GiftRegistryRegistrantAccessBean object) throws ECSystemException
GiftRegistryRegistrantAccessBean
- 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.Long getAddressId()
getAddressId
in class GiftRegistryRegistrantAccessBean
public java.lang.Long getGiftRegistryId()
getGiftRegistryId
in class GiftRegistryRegistrantAccessBean
public java.lang.Long getRegistrantId()
getRegistrantId
in class GiftRegistryRegistrantAccessBean
public java.lang.String getRelation()
getRelation
in class GiftRegistryRegistrantAccessBean
public java.lang.Integer getType()
getType
in class GiftRegistryRegistrantAccessBean
public java.lang.String getUserId()
getUserId
in class GiftRegistryRegistrantAccessBean
public void setRegistrantId(java.lang.Long newValue)
setRegistrantId
in class GiftRegistryRegistrantAccessBean
newValue
- - the registrant IDpublic GiftRegistryAddressDataBean getAddress()
public java.lang.String getFirstName()
public java.lang.String getLastName()