com.ibm.commerce.user.beans
Class AddressDataBean

java.lang.Object
  |
  +--com.ibm.commerce.user.beans.AddressDataBean

public class AddressDataBean
extends java.lang.Object

The bean representing a address.

The following code can be used to create and active a AddressDataBean:

  AddressDataBean bnAddress = new AddressDataBean();
  com.ibm.commerce.beans.DataBeanManager.activate(bnAddress, request);
The addressDataBean will try to get the addressId and nickName parameter from request. If addressId is not null, it will find this address using the addressId. If addressId is null, it will find this address using the nickName. Users can also direclty call setAddressId(String) and setNickName(String) methods to set addressId and NickName directly, overwriting the values get from request.
  AddressDataBean bnAddress = new AddressDataBean();
  bnAddress.setAddressId(istrAddressId);
  com.ibm.commerce.beans.DataBeanManager.activate(bnAddress, request);
If the specified address is found, the findAddress() method will return true, otherwise return false.

Field Summary
static java.lang.String CLASSNAME
          The full qualified name of this class.
static java.lang.String COPYRIGHT
          IBM copyright notice field.
protected  CommandContext iCommandContext
          The command context within this bean.
protected  java.lang.String iDataBeanKeyAddressId
          The key of this data bean.
protected  AddressManageBean imbAddress
          The address manage bean.
protected  TypedProperty iRequestProperties
          The request properties within this bean.
protected  java.lang.String istrMemberId
          The member id of the owner of this address
protected  java.lang.String istrNickName
          The nick name of this address
protected  java.lang.String istrStoreDirectory
          The store directory.
 
Constructor Summary
AddressDataBean()
          The default constructor for AddressDataBean.
AddressDataBean(java.lang.String astrAddressId)
          The constructor for AddressDataBean.
 
Method Summary
 boolean findAddress()
          Returns a boolean value indicating whether the address is found according to addressId or nickName specified.
 java.lang.String getAddress1()
          Gets the first line of the address.
 java.lang.String getAddress1URL()
          Gets the name of Address1 url parameter.
 java.lang.String getAddress2()
          Gets the second line of the address.
 java.lang.String getAddress2URL()
          Gets the name of Address2 url parameter.
 java.lang.String getAddress3()
          Gets the third line of the address.
 java.lang.String getAddress3URL()
          Gets the name of Address3 url parameter.
 java.lang.String getAddressField1()
          Gets the name of Address3 url parameter.
 java.lang.String getAddressField1URL()
          Gets the name of AddressId url parameter.
 java.lang.String getAddressField2()
          Gets the customizable address field 2.
 java.lang.String getAddressField2URL()
          Gets the name of AddressId url parameter.
 java.lang.String getAddressField3()
          Gets the customizable address field 3.
 java.lang.String getAddressField3URL()
          Gets the name of AddressId url parameter.
 java.lang.String getAddressId()
          Gets the address id for this address.
 java.lang.String getAddressIdURL()
          Gets the name of AddressId url parameter.
 java.lang.String getAddressType()
          Gets the type of addresses.
 java.lang.String getAddressTypeURL()
          Gets the name of AddressType url parameter.
 java.lang.String getAttribute(java.lang.String astrAttributeName)
          Gets attribute value according to the specifid attribute name.
  TypedProperty getAttributes()
          Gets the TypedProperty which contains all attributes of this address.
 java.lang.String getBestCallingTime()
          Gets the indicator for the best time to call the individual.
 java.lang.String getBestCallingTimeURL()
          Gets the name of BestCallingTime url parameter.
 java.lang.String getBillingCode()
          Gets the code to identify shipping/billing address for BPF.
 java.lang.String getBillingCodeType()
          Gets the code designating the system/method of code structure used for BACODE (for BPF).
 java.lang.String getBillingCodeTypeURL()
          Gets the name of BillingCodeType url parameter.
 java.lang.String getBillingCodeURL()
          Gets the name of BillingCode url parameter.
 java.lang.String getBusinessTitle()
          Gets the business title of the person to which this address applies, eg.
 java.lang.String getBusinessTitleURL()
          Gets the name of BusinessTitle url parameter.
 java.lang.String getCity()
          Gets the city name.
 java.lang.String getCityURL()
          Gets the name of City url parameter.
  CommandContext getCommandContext()
          Returns the command's context within this bean.
 java.lang.String getCountry()
          Gets the country name.
 java.lang.String getCountryURL()
          Gets the name of Country url parameter.
 java.lang.String getCreatedTime()
          Gets the date and time when the address was created.
 java.lang.String getCreatedTimestamp()
          Gets the date and time when the address was created.
 java.lang.String getDataBeanKeyAddressId()
          Gets the address Id
 com.ibm.commerce.security.Protectable getDelegate()
          Returns the Protectable object whose access control policies will indirectly control the access control for this object
 java.lang.String getEmail1()
          Gets the e-mail or URL address 1 of the individual.
 java.lang.String getEmail1URL()
          Gets the name of Email1 URL parameter.
 java.lang.String getEmail2()
          Gets the e-mail or URL address 2 of the individual.
 java.lang.String getEmail2URL()
          Gets the name of Email2 URL parameter.
 java.lang.String getFax1()
          Gets the facsimile number 1 of the individual.
 java.lang.String getFax1URL()
          Gets the name of Fax1 URL parameter.
 java.lang.String getFax2()
          Gets the facsimile number 2 of the individual.
 java.lang.String getFax2URL()
          Gets the name of Fax2 URL parameter.
 java.lang.String getFirstName()
          Gets the first name of the individual.
 java.lang.String getFirstNameURL()
          Gets the name of FirstName URL parameter.
 java.lang.String getLastCreate()
          Gets the date and time when the address was created.
 java.lang.String getLastCreateURL()
          Gets the name of FirstName URL parameter.
 java.lang.String getLastName()
          Gets the last name of the individual.
 java.lang.String getLastNameURL()
          Gets the name of LastName URL parameter.
 java.lang.String getMemberId()
          Gets the member Id this address belongs to.
 java.lang.String getMiddleName()
          Gets the middle name of the individual.
 java.lang.String getMiddleNameURL()
          Gets the name of MiddleName URL parameter.
 java.lang.String getNickName()
          Gets the nick name of the address.
 java.lang.String getNickNameURL()
          Gets the name of NickName URL parameter.
 java.lang.String getOfficeAddress()
          Gets the desktop delivery or office address associated with a shipping address.
 java.lang.String getOfficeAddressURL()
          Gets the name of OfficeAddress URL parameter.
 java.lang.String getOrganizationName()
          Gets the name of the organization to which this address informatoin applies if this is a business address.
 java.lang.String getOrganizationNameURL()
          Gets the name of OrganizationName URL parameter.
 java.lang.String getOrganizationUnitName()
          Gets the name of the organizational unit to which this contact info applies if this is a business contact.
 java.lang.String getOrganizationUnitNameURL()
          Gets the name of OrganizationUnitName URL parameter.
 java.lang.String getPackageSuppression()
          Gets the Package inserts suppression flag.
 java.lang.String getPackageSuppressionURL()
          Gets the name of PackageSuppression URL parameter.
 java.lang.String getPersonTitle()
          Gets the title of the person to which this address applies.
 java.lang.String getPersonTitleURL()
          Gets the name of PersonTitle URL parameter.
 java.lang.String getPhone1()
          Gets the phone number 1.
 java.lang.String getPhone1Type()
          Gets the type of the phone 1.
 java.lang.String getPhone1TypeURL()
          Gets the name of Phone1Type URL parameter.
 java.lang.String getPhone1URL()
          Gets the name of Phone1 URL parameter.
 java.lang.String getPhone2()
          Gets the phone number 2.
 java.lang.String getPhone2Type()
          Gets the type of the phone 2.
 java.lang.String getPhone2TypeURL()
          Gets the name of Phone2Type URL parameter.
 java.lang.String getPhone2URL()
          Gets the name of Phone2 URL parameter.
 java.lang.String getPrimary()
          Gets a integer indicating whether the address is a primary address.
 java.lang.String getPrimaryURL()
          Gets the name of Primary URL parameter.
 java.lang.String getPublishPhone1()
          Gets a integer indicating whether or not publish phone 1 number.
 java.lang.String getPublishPhone1URL()
          Gets the name of PublishPhone1 URL parameter.
 java.lang.String getPublishPhone2()
          Gets a integer indicating whether or not publish phone 2 number.
 java.lang.String getPublishPhone2URL()
          Gets the name of PublishPhone2 URL parameter.
  TypedProperty getRequestProperties()
          Returns the request properties within this bean.
 java.util.List getRetrieveProperties()
          Gets a list of property names need to retrieve.
 java.lang.String getState()
          Gets the name of the state, province, or equivalent where the individual resides.
 java.lang.String getStateURL()
          Gets the name of State URL parameter.
 java.lang.String getStatus()
          Gets the temporary or permanent address, 'Permanent' really means 'current' address, 'Temporary' really means 'historical' address.
 java.lang.String getStatusURL()
          Gets the name of State URL parameter.
 java.lang.String getStoreDirectory()
          Gets the name of the store directory, which is used in getUserRegistrationProperties for the path to the property file.
 java.lang.String getStoreIdURL()
          Gets the name of StoreId URL parameter.
 java.lang.String getUrlURL()
          Gets the name of Url URL parameter.
 java.lang.String getZipCode()
          Gets the zip code or equivalent postal code of the individual's adddres.
 java.lang.String getZipCodeURL()
          Gets the name of ZipCode URL parameter.
 void populate()
          Fetches and populates information needed by the bean.
 void setAddressId(java.lang.String astrAddressId)
          Sets the address Id If the address Id is not set, UserRegistrationDataBean will try to find the address according to the NickName and MemberId.
 void setCommandContext( CommandContext acommandContext)
          Sets the command context to this bean.
 void setDataBeanKeyAddressId(java.lang.String aAddressId)
          Sets the address Id.
 void setMemberId(java.lang.String astrMemberId)
          Sets the MemberId If the AddressId is not set, The DataBean will try to find the address according to the MemberId and Nick Name.
 void setNickName(java.lang.String astrNickName)
          Sets the Nick Name.
 void setRequestProperties( TypedProperty aRequestProperty)
          Sets the request properties to this bean.
 void setRetrieveProperties(java.util.List propertyNames)
          Sets the property names need to retrieve.
 void setStoreDirectory(java.lang.String astrStoreDirectory)
          Sets the name of store directory, which is used as the path to the find the property file in getAddressProperties method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values

CLASSNAME

public static final java.lang.String CLASSNAME
The full qualified name of this class.
See Also:
Constant Field Values

iDataBeanKeyAddressId

protected java.lang.String iDataBeanKeyAddressId
The key of this data bean.

istrNickName

protected java.lang.String istrNickName
The nick name of this address

istrMemberId

protected java.lang.String istrMemberId
The member id of the owner of this address

iCommandContext

protected CommandContext iCommandContext
The command context within this bean.

iRequestProperties

protected TypedProperty iRequestProperties
The request properties within this bean.

imbAddress

protected AddressManageBean imbAddress
The address manage bean.

istrStoreDirectory

protected java.lang.String istrStoreDirectory
The store directory.
Constructor Detail

AddressDataBean

public AddressDataBean()
The default constructor for AddressDataBean.

AddressDataBean

public AddressDataBean(java.lang.String astrAddressId)
The constructor for AddressDataBean. It will set the addressId for the AddressDataBean.
Parameters:
astrAddressId - The AddressId
Method Detail

findAddress

public boolean findAddress()
Returns a boolean value indicating whether the address is found according to addressId or nickName specified. True - The specified address is found False - Can not find the specified address
Returns:
A boolean value indicating whether the specified address is found

getAddress1

public java.lang.String getAddress1()
Gets the first line of the address.
Returns:
The first line of the address

getAddress1URL

public java.lang.String getAddress1URL()
Gets the name of Address1 url parameter.
Returns:
The name of Address1 url parameter

getAddress2

public java.lang.String getAddress2()
Gets the second line of the address.
Returns:
The second line of the address

getAddress2URL

public java.lang.String getAddress2URL()
Gets the name of Address2 url parameter.
Returns:
The name of Address2 url parameter

getAddress3

public java.lang.String getAddress3()
Gets the third line of the address.
Returns:
The third line of the address

getAddress3URL

public java.lang.String getAddress3URL()
Gets the name of Address3 url parameter.
Returns:
The name of Address3 url parameter

getAddressField1

public java.lang.String getAddressField1()
Gets the name of Address3 url parameter.
Returns:
The name of Address3 url parameter

getAddressField1URL

public java.lang.String getAddressField1URL()
Gets the name of AddressId url parameter.
Returns:
The name of AddressId url parameter

getAddressField2

public java.lang.String getAddressField2()
Gets the customizable address field 2.
Returns:
astrField2 The customizable addressfield 2

getAddressField2URL

public java.lang.String getAddressField2URL()
Gets the name of AddressId url parameter.
Returns:
The name of AddressId url parameter

getAddressField3

public java.lang.String getAddressField3()
Gets the customizable address field 3.
Returns:
astrField3 The customizable addressfield 3

getAddressField3URL

public java.lang.String getAddressField3URL()
Gets the name of AddressId url parameter.
Returns:
The name of AddressId url parameter

getAddressId

public java.lang.String getAddressId()
Gets the address id for this address.
Returns:
The address id

getAddressIdURL

public java.lang.String getAddressIdURL()
Gets the name of AddressId url parameter.
Returns:
The name of AddressId url parameter

getAddressType

public java.lang.String getAddressType()
Gets the type of addresses.
Returns:
The type of addresses For example:
  • R - residential
  • M - mailing
  • B - billto
  • S - shipto

getAddressTypeURL

public java.lang.String getAddressTypeURL()
Gets the name of AddressType url parameter.
Returns:
The name of AddressType url parameter

getAttribute

public java.lang.String getAttribute(java.lang.String astrAttributeName)
Gets attribute value according to the specifid attribute name. All address attributes can be get by using this method. For example:
 getAttribute("lastName")
 - returns the last name. This method is same as getLastName().
Returns:
The value of the attribute

getAttributes

public TypedProperty getAttributes()
Gets the TypedProperty which contains all attributes of this address.
Returns:
The TypedProperty which contains all attributes this address.

getBestCallingTime

public java.lang.String getBestCallingTime()
Gets the indicator for the best time to call the individual.
Returns:
The best time to call For example:
  • D - Daytime
  • E - Evening

getBestCallingTimeURL

public java.lang.String getBestCallingTimeURL()
Gets the name of BestCallingTime url parameter.
Returns:
The name of BestCallingTime url parameter

getBillingCode

public java.lang.String getBillingCode()
Gets the code to identify shipping/billing address for BPF.
Returns:
The shipping billing code

getBillingCodeType

public java.lang.String getBillingCodeType()
Gets the code designating the system/method of code structure used for BACODE (for BPF).
Returns:
The shipping billing code type

getBillingCodeTypeURL

public java.lang.String getBillingCodeTypeURL()
Gets the name of BillingCodeType url parameter.
Returns:
The name of BillingCodeType url parameter

getBillingCodeURL

public java.lang.String getBillingCodeURL()
Gets the name of BillingCode url parameter.
Returns:
The name of BillingCode url parameter

getBusinessTitle

public java.lang.String getBusinessTitle()
Gets the business title of the person to which this address applies, eg. Manager, Vice President.
Returns:
The business title For example:
  • P - President
  • M - Manager

getBusinessTitleURL

public java.lang.String getBusinessTitleURL()
Gets the name of BusinessTitle url parameter.
Returns:
The name of BusinessTitle url parameter

getCity

public java.lang.String getCity()
Gets the city name.
Returns:
The city name

getCityURL

public java.lang.String getCityURL()
Gets the name of City url parameter.
Returns:
The name of City url parameter

getCommandContext

public CommandContext getCommandContext()
Returns the command's context within this bean.
Returns:
com.ibm.commerce.command.CommandContext

getCountry

public java.lang.String getCountry()
Gets the country name.
Returns:
The country name

getCountryURL

public java.lang.String getCountryURL()
Gets the name of Country url parameter.
Returns:
The name of Country url parameter

getCreatedTime

public java.lang.String getCreatedTime()
Gets the date and time when the address was created.
Returns:
The date and time when the address was created

getCreatedTimestamp

public java.lang.String getCreatedTimestamp()
Gets the date and time when the address was created.
Returns:
The date and time when the address was created

getDataBeanKeyAddressId

public java.lang.String getDataBeanKeyAddressId()
Gets the address Id
Returns:
The address Id.

getDelegate

public com.ibm.commerce.security.Protectable getDelegate()
                                                  throws java.lang.Exception
Returns the Protectable object whose access control policies will indirectly control the access control for this object
Returns:
The Protectable object whose access control policies will indirectly control the access control for this object
Throws:
java.lang.Exception

getEmail1

public java.lang.String getEmail1()
Gets the e-mail or URL address 1 of the individual.
Returns:
The e-mail or URL address 1 of the individual

getEmail1URL

public java.lang.String getEmail1URL()
Gets the name of Email1 URL parameter.
Returns:
The name of Email1 URL parameter

getEmail2

public java.lang.String getEmail2()
Gets the e-mail or URL address 2 of the individual.
Returns:
The e-mail or URL address 2 of the individual

getEmail2URL

public java.lang.String getEmail2URL()
Gets the name of Email2 URL parameter.
Returns:
The name of Email2 URL parameter

getFax1

public java.lang.String getFax1()
Gets the facsimile number 1 of the individual.
Returns:
The facsimile number 1

getFax1URL

public java.lang.String getFax1URL()
Gets the name of Fax1 URL parameter.
Returns:
The name of Fax1 URL parameter

getFax2

public java.lang.String getFax2()
Gets the facsimile number 2 of the individual.
Returns:
The facsimile number 2

getFax2URL

public java.lang.String getFax2URL()
Gets the name of Fax2 URL parameter.
Returns:
The name of Fax2 URL parameter

getFirstName

public java.lang.String getFirstName()
Gets the first name of the individual.
Returns:
The first name

getFirstNameURL

public java.lang.String getFirstNameURL()
Gets the name of FirstName URL parameter.
Returns:
The name of FirstName URL parameter

getLastCreate

public java.lang.String getLastCreate()
Gets the date and time when the address was created.
Returns:
The date and time when the address was created

getLastCreateURL

public java.lang.String getLastCreateURL()
Gets the name of FirstName URL parameter.
Returns:
The name of FirstName URL parameter

getLastName

public java.lang.String getLastName()
Gets the last name of the individual.
Returns:
The last name

getLastNameURL

public java.lang.String getLastNameURL()
Gets the name of LastName URL parameter.
Returns:
The name of LastName URL parameter

getMemberId

public java.lang.String getMemberId()
Gets the member Id this address belongs to.
Returns:
The member Id this address belongs to

getMiddleName

public java.lang.String getMiddleName()
Gets the middle name of the individual.
Returns:
The middle name

getMiddleNameURL

public java.lang.String getMiddleNameURL()
Gets the name of MiddleName URL parameter.
Returns:
The name of MiddleName URL parameter

getNickName

public java.lang.String getNickName()
Gets the nick name of the address.
Returns:
The nick name of the address

getNickNameURL

public java.lang.String getNickNameURL()
Gets the name of NickName URL parameter.
Returns:
The name of NickName URL parameter

getOfficeAddress

public java.lang.String getOfficeAddress()
Gets the desktop delivery or office address associated with a shipping address. Note this is an internal address, eg. Office number etc. Not a full-blown address with street number, city, province/state, country, postal code, etc.
Returns:
The office address.

getOfficeAddressURL

public java.lang.String getOfficeAddressURL()
Gets the name of OfficeAddress URL parameter.
Returns:
The name of OfficeAddress URL parameter

getOrganizationName

public java.lang.String getOrganizationName()
Gets the name of the organization to which this address informatoin applies if this is a business address.
Returns:
The name of the organization

getOrganizationNameURL

public java.lang.String getOrganizationNameURL()
Gets the name of OrganizationName URL parameter.
Returns:
The name of OrganizationName URL parameter

getOrganizationUnitName

public java.lang.String getOrganizationUnitName()
Gets the name of the organizational unit to which this contact info applies if this is a business contact.
Returns:
The the name of the organizational unit.

getOrganizationUnitNameURL

public java.lang.String getOrganizationUnitNameURL()
Gets the name of OrganizationUnitName URL parameter.
Returns:
The name of OrganizationUnitName URL parameter

getPackageSuppression

public java.lang.String getPackageSuppression()
Gets the Package inserts suppression flag.
Returns:
The package suppression flag
  • 1 - include
  • 0 - do not include

getPackageSuppressionURL

public java.lang.String getPackageSuppressionURL()
Gets the name of PackageSuppression URL parameter.
Returns:
The name of PackageSuppression URL parameter

getPersonTitle

public java.lang.String getPersonTitle()
Gets the title of the person to which this address applies.
Returns:
The person title For example:
  • N - Not provided (default)
  • Mr - Mr.
  • Mrs - Mrs.
  • Ms - Ms.
  • Dr - Dr.
  • Prof- Prof.

getPersonTitleURL

public java.lang.String getPersonTitleURL()
Gets the name of PersonTitle URL parameter.
Returns:
The name of PersonTitle URL parameter

getPhone1

public java.lang.String getPhone1()
Gets the phone number 1.
Returns:
the phone number 1

getPhone1Type

public java.lang.String getPhone1Type()
Gets the type of the phone 1.
Returns:
The type of phone1 For Example:
  • PHN - standard phone
  • TTY - teletypewriter for people who have a hearing impairment

getPhone1TypeURL

public java.lang.String getPhone1TypeURL()
Gets the name of Phone1Type URL parameter.
Returns:
The name of Phone1Type URL parameter

getPhone1URL

public java.lang.String getPhone1URL()
Gets the name of Phone1 URL parameter.
Returns:
The name of Phone1 URL parameter

getPhone2

public java.lang.String getPhone2()
Gets the phone number 2.
Returns:
the phone number 2

getPhone2Type

public java.lang.String getPhone2Type()
Gets the type of the phone 2.
Returns:
The type of phone2 For Example:
  • PHN - standard phone
  • TTY - teletypewriter for people who have a hearing impairment

getPhone2TypeURL

public java.lang.String getPhone2TypeURL()
Gets the name of Phone2Type URL parameter.
Returns:
The name of Phone2Type URL parameter

getPhone2URL

public java.lang.String getPhone2URL()
Gets the name of Phone2 URL parameter.
Returns:
The name of Phone2 URL parameter

getPrimary

public java.lang.String getPrimary()
Gets a integer indicating whether the address is a primary address. This allows multiple addresses for each address type. (eg. Multiple billing addresses, multiple shipto addresses) and one of them to be designated as the 'primary billing address', 'primary shipto address', etc. Each address type can have one or none primary address.
Returns:
A integer indicating whether the address is a primary address
  • 1 - primary (or default) address
  • 0 - not primary address

getPrimaryURL

public java.lang.String getPrimaryURL()
Gets the name of Primary URL parameter.
Returns:
The name of Primary URL parameter

getPublishPhone1

public java.lang.String getPublishPhone1()
Gets a integer indicating whether or not publish phone 1 number.
Returns:
A integer indicating whether or not publish phone 1 number
  • 1 - publish the phone 1 number
  • 0 - not publish the the phone 1 number

getPublishPhone1URL

public java.lang.String getPublishPhone1URL()
Gets the name of PublishPhone1 URL parameter.
Returns:
The name of PublishPhone1 URL parameter

getPublishPhone2

public java.lang.String getPublishPhone2()
Gets a integer indicating whether or not publish phone 2 number.
Returns:
A integer indicating whether or not publish phone 2 number
  • 1 - publish the phone 2 number
  • 0 - not publish the the phone 2 number

getPublishPhone2URL

public java.lang.String getPublishPhone2URL()
Gets the name of PublishPhone2 URL parameter.
Returns:
The name of PublishPhone2 URL parameter

getRequestProperties

public TypedProperty getRequestProperties()
Returns the request properties within this bean.
Returns:
com.ibm.commerce.datatype.TypedProperty

getState

public java.lang.String getState()
Gets the name of the state, province, or equivalent where the individual resides.
Returns:
The name of the state

getStateURL

public java.lang.String getStateURL()
Gets the name of State URL parameter.
Returns:
The name of State URL parameter

getStatus

public java.lang.String getStatus()
Gets the temporary or permanent address, 'Permanent' really means 'current' address, 'Temporary' really means 'historical' address. Each time a address is update, a new address will be created and the old address will become temporary address.
Returns:
The status of the address
  • P - permanent address
  • T - temporary address

getStatusURL

public java.lang.String getStatusURL()
Gets the name of State URL parameter.
Returns:
The name of State URL parameter

getStoreDirectory

public java.lang.String getStoreDirectory()
Gets the name of the store directory, which is used in getUserRegistrationProperties for the path to the property file. This method is deprecated.
Returns:
The name of the store directory

getStoreIdURL

public java.lang.String getStoreIdURL()
Gets the name of StoreId URL parameter.
Returns:
The name of StoreId URL parameter

getUrlURL

public java.lang.String getUrlURL()
Gets the name of Url URL parameter.
Returns:
The name of Url URL parameter

getZipCode

public java.lang.String getZipCode()
Gets the zip code or equivalent postal code of the individual's adddres.
Returns:
The zip code

getZipCodeURL

public java.lang.String getZipCodeURL()
Gets the name of ZipCode URL parameter.
Returns:
The name of ZipCode URL parameter

populate

public void populate()
              throws java.lang.Exception
Fetches and populates information needed by the bean.
Throws:
java.lang.Exception - Any exception thrown during populating.

setAddressId

public void setAddressId(java.lang.String astrAddressId)
Sets the address Id If the address Id is not set, UserRegistrationDataBean will try to find the address according to the NickName and MemberId.
Parameters:
astrAddressId - The address Id

setCommandContext

public void setCommandContext(CommandContext acommandContext)
Sets the command context to this bean.

setDataBeanKeyAddressId

public void setDataBeanKeyAddressId(java.lang.String aAddressId)
Sets the address Id.
Parameters:
aAddressId - The address Id

setMemberId

public void setMemberId(java.lang.String astrMemberId)
Sets the MemberId If the AddressId is not set, The DataBean will try to find the address according to the MemberId and Nick Name.
Parameters:
astrMemberId - The MemberId

setNickName

public void setNickName(java.lang.String astrNickName)
Sets the Nick Name. If the AddressId is not set, The DataBean will try to find the address according to the Nick Name and MemberId.
Parameters:
astrNickName - The Nickname

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperty)
Sets the request properties to this bean.

setStoreDirectory

public void setStoreDirectory(java.lang.String astrStoreDirectory)
Sets the name of store directory, which is used as the path to the find the property file in getAddressProperties method. This method is deprecated.
Parameters:
astrStoreDirectory - The name of store directory

setRetrieveProperties

public void setRetrieveProperties(java.util.List propertyNames)
Sets the property names need to retrieve. If not set, the data bean will retrieve all properties of this address. If set, the data bean will only retrieve the properties specified, which can improve performance.
Parameters:
propertyNames - The name of the properties need to retrieve.

getRetrieveProperties

public java.util.List getRetrieveProperties()
Gets a list of property names need to retrieve. If the list is null, the data bean will retrieve all properties of this address. If the list is not null, the data bean will only retrieve the properties specified, which can improve performance.