public class StoreAddressDataBean extends StoreAddressDataBeanBase implements StoreAddressInputDataBean, StoreAddressSmartDataBean
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME
The fully qualified name of this class.
|
static java.lang.String |
COPYRIGHT
IBM copyright statement
|
| Constructor and Description |
|---|
StoreAddressDataBean() |
| Modifier and Type | Method and Description |
|---|---|
com.ibm.commerce.command.CommandContext |
getCommandContext()
This method gets the command context set within this bean.
|
java.lang.String |
getCountryDisplayName()
This method returns the display name for the country described
by the getCountry() method, in the language from the command context.
|
static java.lang.String |
getCountryDisplayName(java.lang.Integer anLanguageId,
java.lang.String astrCountryAbbreviation)
This method returns the country name for the specified country abbreviation, in the
language specified.
|
java.lang.String |
getDataBeanKeyStoreAddressId()
This method gets the store address id.
|
com.ibm.commerce.datatype.TypedProperty |
getRequestProperties()
This method gets the request property set within this bean.
|
java.lang.String |
getStateProvDisplayName()
This method returns the display name for the state/province described
by the getState() method, in the language from the command context.
|
static java.lang.String |
getStateProvDisplayName(java.lang.Integer anLanguageId,
java.lang.String astrCountryAbbreviation,
java.lang.String astrStateProvAbbreviation)
This method returns the state/province name for the specified state/province abbreviation,
country abbreviation, and language specified.
|
void |
populate()
This method loads the data for this bean.
|
void |
setCommandContext(com.ibm.commerce.command.CommandContext aCommandContext)
This method sets the command context within this bean.
|
void |
setDataBeanKeyStoreAddressId(java.lang.String aStoreAddressId)
This method sets the store address id (this is the only mandatory parameter that must be set before activating this bean.
|
void |
setRequestProperties(com.ibm.commerce.datatype.TypedProperty aRequestProperty)
This method sets the request property within this bean.
|
getDelegatefindByMemberIdAndNickName, getAddress1, getAddress2, getAddress3, getAddressField1, getAddressField2, getAddressField3, getBusinessTitle, getCity, getCountry, getEmail1, getEmail2, getEntity, getFax1, getFax2, getField1, getField2, getFirstName, getLastName, getMemberId, getMemberIdInEntityType, getMiddleName, getNickName, getPersonTitle, getPhone1, getPhone2, getShippingGeoCode, getState, getStoreAddressId, getStoreAddressIdInEntityType, getTaxGeoCode, getURL, getZipCode, instantiateEntity, setAddress1, setAddress2, setAddress3, setAddressField1, setAddressField2, setAddressField3, setBusinessTitle, setCity, setCountry, setEmail1, setEmail2, setFax1, setFax2, setField1, setField2, setFirstName, setInitKey_storeAddressId, setInitKey_storeAddressId, setLastName, setMemberId, setMemberId, setMiddleName, setNickName, setPersonTitle, setPhone1, setPhone2, setShippingGeoCode, setState, setTaxGeoCode, setURL, setZipCodepublic static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
public com.ibm.commerce.command.CommandContext getCommandContext()
getCommandContext in interface com.ibm.commerce.beans.SmartDataBeanpublic java.lang.String getCountryDisplayName()
public static java.lang.String getCountryDisplayName(java.lang.Integer anLanguageId,
java.lang.String astrCountryAbbreviation)
anLanguageId - The language Id.astrCountryAbbreviation - The country abbreviation.public java.lang.String getDataBeanKeyStoreAddressId()
getDataBeanKeyStoreAddressId in interface StoreAddressSmartDataBeanpublic com.ibm.commerce.datatype.TypedProperty getRequestProperties()
getRequestProperties in interface com.ibm.commerce.beans.InputDataBeanpublic java.lang.String getStateProvDisplayName()
public static java.lang.String getStateProvDisplayName(java.lang.Integer anLanguageId,
java.lang.String astrCountryAbbreviation,
java.lang.String astrStateProvAbbreviation)
anLanguageId - The language Id.astrCountryAbbreviation - The country abbreviation.astrStateProvAbbreviation - The state/province abbreviation.public void populate()
DataBeanManager.activate() executes.populate in interface com.ibm.commerce.beans.SmartDataBeanjava.lang.Exception - The java.lang.Exception exception.public void setCommandContext(com.ibm.commerce.command.CommandContext aCommandContext)
setCommandContext in interface com.ibm.commerce.beans.SmartDataBeanaCommandContext - The command context to set within this bean.public void setDataBeanKeyStoreAddressId(java.lang.String aStoreAddressId)
setDataBeanKeyStoreAddressId in interface StoreAddressInputDataBeanaStoreAddressId - The store address id.public void setRequestProperties(com.ibm.commerce.datatype.TypedProperty aRequestProperty)
setRequestProperties in interface com.ibm.commerce.beans.InputDataBeanaRequestProperty - The request property to set within this bean.