public class DemographicsDataBean
extends com.ibm.commerce.user.beansrc.DemographicsDataBeanBase
implements com.ibm.commerce.user.beans.DemographicsInputDataBean, com.ibm.commerce.user.beans.DemographicsSmartDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
emptyString
Constructor and Description |
---|
DemographicsDataBean() |
Modifier and Type | Method and Description |
---|---|
CommandContext |
getCommandContext()
Gets the command context set within this bean.
|
java.lang.String |
getDataBeanKeyUserId()
Gets the key (user id) of this data bean.
|
TypedProperty |
getRequestProperties()
Gets the request property set within this bean.
|
boolean |
isAgeAvailable()
Determines whether the age is defined.
|
boolean |
isGenderAvailable()
Determines whether the gender is defined.
|
void |
populate()
Fetches and populates information needed by the bean.
|
void |
setCommandContext(CommandContext aCommandContext)
Sets the command context within this bean.
|
void |
setDataBeanKeyUserId(java.lang.String aUserId)
Sets the key(user id) of this data bean.
|
void |
setRequestProperties(TypedProperty aRequestProperty)
Sets the request property within this bean.
|
getAge, getAgeInEntityType, getCompanyName, getDateOfBirth, getDateOfBirthInEntityType, getEntity, getField1, getField2, getField3, getField4, getField5, getField6, getField6InEntityType, getField7, getGender, getHobbies, getIncome, getIncomeCurrency, getIncomeInEntityType, getMaritalStatus, getNumberOfChildren, getNumberOfChildrenInEntityType, getNumberOfHouseholds, getNumberOfHouseholdsInEntityType, getOrderBefore, getTimezone, getUserId, getUserIdInEntityType, instantiateEntity, setAge, setAge, setCompanyName, setDateOfBirth, setDateOfBirth, setField1, setField2, setField3, setField4, setField5, setField6, setField6, setField7, setGender, setHobbies, setIncome, setIncome, setIncomeCurrency, setInitKey_userId, setInitKey_userId, setMaritalStatus, setNumberOfChildren, setNumberOfChildren, setNumberOfHouseholds, setNumberOfHouseholds, setOrderBefore, setTimezone, setUserId, setUserId
public static final java.lang.String COPYRIGHT
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public void setRequestProperties(TypedProperty aRequestProperty)
setRequestProperties
in interface InputDataBean
aRequestProperty
- com.ibm.commerce.datatype.TypedPropertypublic java.lang.String getDataBeanKeyUserId()
getDataBeanKeyUserId
in interface com.ibm.commerce.user.beans.DemographicsSmartDataBean
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
public void setCommandContext(CommandContext aCommandContext)
setCommandContext
in interface SmartDataBean
aCommandContext
- The command context.public void setDataBeanKeyUserId(java.lang.String aUserId)
setDataBeanKeyUserId
in interface com.ibm.commerce.user.beans.DemographicsInputDataBean
aUserId
- The key of this data bean.public void populate()
populate
in interface SmartDataBean
java.lang.Exception
- Any exception thrown during populating.public boolean isAgeAvailable()
public boolean isGenderAvailable()