com.ibm.commerce.user.beans
Class UserRegistrationDataBean

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

public class UserRegistrationDataBean
extends java.lang.Object

The bean representing the registration information of a member.

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

  UserRegistrationDataBean bnRegister = new UserRegistrationDataBean();
  com.ibm.commerce.beans.DataBeanManager.activate(bnRegister, request);
The UserRegisrationDataBean will automatially get userId from commandContext. Users can also call setUserId(Long) or setUserId(String) to set the userId directly to overwrite the userId get from commandContext:
  UserRegistrationDataBean bnRegister = new UserRegistrationDataBean();
  bnRegister.setUserId(istrUserId);
  com.ibm.commerce.beans.DataBeanManager.activate(bnRegister, request);
If the specified user is found, the findUser() 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 static java.lang.String[][] CurrencyList
          The currency list.
protected  boolean ibUserFound
          Whether the specified user is found.
protected  CommandContext iCommandContext
          The command context within this bean.
protected  java.lang.String iDataBeanKeyMemberId
          The key of this data bean (member id).
protected  UserManageBean imbUser
          The user manage bean.
protected  TypedProperty iRequestProperties
          The request properties within this bean.
protected static java.lang.String istrLanguageIdForCurrency
          The language used for currency description.
protected static java.lang.String istrLanguageIdForLanguage
          The language used for currency description.
protected  java.lang.String istrStoreDirectory
          The store directory.
protected static java.lang.String[][] LanguageList
          The language list.
protected  java.lang.String strProfileType
          The profile type of the user
 
Constructor Summary
UserRegistrationDataBean()
          RegisterDataBean constructor
 
Method Summary
 boolean findUser()
          Returns a boolean value indicating whether the user is found according to the userId specified.
  AddressAccessBean getAddress()
          Return the register address (User's own address).
 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.
  AddressBookAccessBean getAddressBook()
          Gets the AddressBookAccessBean of this member.
 java.lang.String getAddressField1()
          Gets the customizable address field 1.
 java.lang.String getAddressField1URL()
          Gets the name of Address3 url parameter.
 java.lang.String getAddressField2()
          Gets the customizable address field 2.
 java.lang.String getAddressField2URL()
          Gets the name of Address3 url parameter.
 java.lang.String getAddressField3()
          Gets the customizable address field 3.
 java.lang.String getAddressField3URL()
          Gets the name of Address3 url parameter.
 java.lang.String getAddressId()
          Gets the address id for this registration address.
 java.lang.String getAddressIdURL()
          Gets the name of AddressId url parameter.
 java.lang.String getAddressType()
          Gets the address type for this registration address.
 java.lang.String getAddressTypeURL()
          Gets the name of AddressType url parameter.
 java.lang.String getAge()
          Gets a integer which indicats the age of the user.
 java.lang.String getAgeURL()
          Gets the name of Age url parameter.
 java.lang.String getAlternateId()
          Gets the special ID assigned by this business user's O or OU to this business user .
 java.lang.String getAlternateIdURL()
          Gets the name of AlternateId url parameter.
 java.lang.Long[] getAncestors()
          Get a list of all ancestor orgentities of this user.
 java.lang.String getAttribute(java.lang.String astrAttributeName)
          Gets attribute value according to the specifid attribute name.
 java.util.Vector getAttribute(java.lang.String astrAttributeName, java.lang.String astrStoreEntityId)
          Gets the Vector which contains values of the multiple-valued or context-based attribute according to the the specifid attribute name and optional StoreEntityId.
  TypedProperty getAttributes()
          Gets the TypedProperty which contains all attributes for this user.
 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 indicator for the best time to call the individual.
 java.lang.String getBillingCodeType()
          Gets the indicator for the best time to call the individual.
 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 getChallengeAnswer()
          Gets the answer to the challenge question.
 java.lang.String getChallengeAnswerURL()
          Gets the name of ChallengeAnswer url parameter.
 java.lang.String getChallengeQuestion()
          Gets the challenge question for the user.
 java.lang.String getChallengeQuestionURL()
          Gets the name of ChallengeQuestion url parameter.
 java.lang.String getChildrenURL()
          Gets the name of Children url parameter.
 java.lang.String getCity()
          Gets the city name.
 java.lang.String getCityURL()
          Gets the name of City url parameter.
  CommandContext getCommandContext()
          Gets the command context.
 java.lang.String getCompanyName()
          Gets the name of the company for which the user works
 java.lang.String getCompanyNameURL()
          Gets the name of CompanyName url parameter.
 java.lang.String getCountry()
          Gets the country name.
 java.lang.String getCountryURL()
          Gets the name of Country url parameter.
 java.lang.String[][] getCurrencyList()
          Return a two dimension String array which contains all currency information in the SETCURR table.
 java.lang.String getDataBeanKeyMemberId()
          Gets the user id.
 com.ibm.commerce.security.Protectable getDelegate()
          getDelegate method comment.
 java.lang.String getDemoField1URL()
          Gets the name of DemoField1 url parameter.
 java.lang.String getDemoField2URL()
          Gets the name of DemoField2 url parameter.
 java.lang.String getDemoField3URL()
          Gets the name of DemoField3 url parameter.
 java.lang.String getDemoField4URL()
          Gets the name of DemoField4 url parameter.
 java.lang.String getDemoField5URL()
          Gets the name of DemoField5 url parameter.
 java.lang.String getDemoField6URL()
          Gets the name of DemoField6 url parameter.
 java.lang.String getDemoField7URL()
          Gets the name of DemoField7 url parameter.
  DemographicsAccessBean getDemographics()
          Gets the DemographicsAccessBean of this member.
 java.lang.String getDemographicsField1()
          Gets the demographic field1 reserved for customization.
 java.lang.String getDemographicsField2()
          Gets the demographic field2 reserved for customization.
 java.lang.String getDemographicsField3()
          Gets the demographic field3 reserved for customization.
 java.lang.String getDemographicsField4()
          Gets the demographic field4 reserved for customization.
 java.lang.String getDemographicsField5()
          Gets the demographic field5 reserved for customization.
 java.lang.String getDemographicsField6()
          Gets the demographic field6 reserved for customization.
 java.lang.String getDemographicsField7()
          Gets the demographic field7 reserved for customization.
 java.lang.String getDepartmentNumber()
          Gets the department number where the member works (BUSPROF table).
 java.lang.String getDepartmentNumberURL()
          Gets the name of DepartmentNumber url parameter.
 java.lang.String getDescription()
          Gets the Description (USERPROF table).
 java.lang.String getDescriptionURL()
          Gets the name of Description url parameter.
 java.lang.String getDisplayName()
          Gets the display name of the entry (USERPROF).
 java.lang.String getDisplayNameURL()
          Gets the name of DisplayName url parameter.
 java.lang.String getDistinguishedName()
          Sets the distinguished name of the entry (USERS table).
 java.lang.String getDistinguishedNameURL()
          Gets the name of DistinguishedName url parameter.
 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 getEmployeeId()
          Gets the employee identification (BUSPROF table).
 java.lang.String getEmployeeIdURL()
          Gets the name of EmployeeId URL parameter.
 java.lang.String getEmployeeType()
          Gets the employee type.
 java.lang.String getEmployeeTypeURL()
          Gets the name of EmployeeType 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 getGender()
          Gets the gender associated with this user.
 java.lang.String getGenderURL()
          Gets the name of Gender URL parameter.
 java.lang.String getHobbies()
          Gets the main interests and hobbies of this person.
 java.lang.String getHobbiesURL()
          Gets the name of Hobbies URL parameter.
 java.lang.String getHousehold()
          Gets the number of people within the household of this user.
 java.lang.String getHouseholdURL()
          Gets the name of Household URL parameter.
 java.lang.String getIncome()
          Gets the annual income category for this person.
 java.lang.String getIncomeURL()
          Gets the name of Income URL parameter.
 java.lang.String[][] getLanguageList()
          Return a two dimension String array which contains all language information in the LANGUAGE and LANGUAGEDS tables.
 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 getLastOrder()
          Get the data and time when last order happened.
 java.lang.String getLastOrderTime()
          Get the data and time when last order happened.
 java.lang.String getLastOrderTimeURL()
          Gets the name of LastName URL parameter.
 java.lang.String getLastSession()
          Get the data and time of uesr session.
 java.lang.String getLastSessionURL()
          Gets the name of LastSession URL parameter.
 java.lang.String getLogonId()
          Gets the user's unique login Id.
 java.lang.String getLogonIdURL()
          Gets the name of LogonId URL parameter.
 java.lang.String getLogonPassword()
          Gets the user's logon password (encrypted).
 java.lang.String getLogonPasswordURL()
          Gets the name of LogonPassword URL parameter.
 java.lang.String getLogonPasswordVerifyURL()
          Gets the name of LogonPasswordVerify URL parameter.
 java.lang.String getManager()
          Gets business user's manager's name.
 java.lang.String getManagerURL()
          Gets the name of Manager URL parameter.
 java.lang.String getMaritalStatus()
          Gets the Marital Status associated with this user.
 java.lang.String getMaritalStatusURL()
          Gets the name of MaritalStatus URL parameter.
 java.lang.String getMemberId()
          Get the memberId This method is deprecated.
 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 registration address.
 java.lang.String getNickNameURL()
          Gets the name of NickName URL parameter.
 java.lang.String getNumberOfChildren()
          Gets number of children.
 java.lang.String getNumberOfChildrenURL()
          Gets the name of NumberOfChildren url parameter.
 java.lang.String getOfficeAddress()
          Gets number of children.
 java.lang.String getOfficeAddressURL()
          Gets the name of OfficeAddress URL parameter.
 java.lang.String getOrganizationId()
          Gets the identifies the Organization to which this business profile is associated with (BUSPROF table).
 java.lang.String getOrganizationIdURL()
          Gets the name of OrganizationId URL parameter.
 java.lang.String[][] getOrganizationList()
          Returns a two dimension String array which contains all organizations information in the ORGENTITY table.
 java.lang.String getOrganizationName()
          Gets the identifies the Organization to which this business profile is associated with (BUSPROF table).
 java.lang.String getOrganizationNameURL()
          Gets the name of OrganizationName URL parameter.
 java.lang.String getOrganizationUnitId()
          Gets the identifies the Organization to which this business profile is associated with (BUSPROF table).
 java.lang.String getOrganizationUnitIdURL()
          Gets the name of OrganizationUnitId URL parameter.
 java.lang.String[][] getOrganizationUnitList()
          Return a two dimension String array which contains all organizational units information in the ORGENTITY table First column: Organizational Unit Ids (ORGENTITY Table) Second column: Organizational Unit Names (ORGENTITY Table)
 java.lang.String getOrganizationUnitName()
          Gets the identifies the Organization to which this business profile is associated with (BUSPROF table).
 java.lang.String getOrganizationUnitNameURL()
          Gets the name of OrganizationUnitName URL parameter.
 java.util.Vector getOrgEntityListUserAdmin()
          Get all organizations that this user is an administrator for.
 java.util.Vector getOrgEntityUserAdmin()
          Get all organizations that this user is an administrator for.
 java.lang.String getPackageSuppression()
          Gets the identifies the Organization to which this business profile is associated with (BUSPROF table).
 java.lang.String getPackageSuppressionURL()
          Gets the name of PackageSuppression URL parameter.
 java.lang.String getParentMember()
          Get the Distinguished Name of the parent orgentity.
 java.lang.String getParentMemberId()
          Gets the memberId of the parent orgentity.
 java.lang.String getParentMemberIdURL()
          Gets the name of ParentMemberId URL parameter.
 java.lang.String getParentMemberURL()
          Gets the name of ParentMember 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 getPhoto()
          Gets the URL or path to the photo of the user.
 java.lang.String getPhotoURL()
          Gets the name of Photo URL parameter.
 java.lang.String getPreferredCommunication()
          Gets the preferred method of communication.
 java.lang.String getPreferredCommunicationURL()
          Gets the name of PreferredCommunication URL parameter.
 java.lang.String getPreferredCurrency()
          Sets the preferred currency in 3-character alphabetic code as per ISO 4217.
 java.lang.String getPreferredCurrencyURL()
          Gets the name of PreferredCurrency URL parameter.
 java.lang.String getPreferredDelivery()
          Gets the preferred delivery method (USERPROF table).
 java.lang.String getPreferredDeliveryURL()
          Gets the name of PreferredDelivery URL parameter.
 java.lang.String getPreferredLanguage()
          Gets the preferred language.
 java.lang.String getPreferredLanguageId()
          Gets the preferred language.
 java.lang.String getPreferredLanguageIdURL()
          Gets the name of PreferredLanguage URL parameter.
 java.lang.String getPreferredLanguageURL()
          Gets the name of PreferredLanguage URL parameter.
 java.lang.String getPreferredMeasure()
          Gets the preferred measurement system.
 java.lang.String getPreferredMeasureURL()
          Gets the name of PreferredMeasure URL parameter.
 java.lang.String getPreviousLastSession()
          Get the date and time when the user previous last visited the WCS site.
 java.lang.String getPreviousLastSessionURL()
          Gets the name of PreviousLastSession 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 getProfileType()
          Gets the identifies whether there is a profile and what type of profile this user has.
 java.lang.String getProfileTypeURL()
          Gets the name of ProfileType 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.
 java.lang.String getRegisterType()
          Gets the register type of a member.
 java.lang.String getRegisterTypeURL()
          Gets the name of RegisterType URL parameter.
 java.lang.String getRegistration()
          Gets the data and time when regstration happened.
 java.lang.String getRegistrationCancel()
          Gets the data and time when registration was canceled.
 java.lang.String getRegistrationCancelTime()
          Gets the data and time when registration was canceled.
 java.lang.String getRegistrationCancelTimeURL()
          Gets the name of RegisterType URL parameter.
 java.lang.String getRegistrationCancelURL()
          Gets the name of RegistrationCancel URL parameter.
 java.lang.String getRegistrationTime()
          Gets the data and time when regstration happened.
 java.lang.String getRegistrationTimeURL()
          Gets the name of RegisterType URL parameter.
 java.lang.String getRegistrationUpdate()
          Gets the data and time when the registration inforamtion was last updated.
 java.lang.String getRegistrationUpdateTime()
          Gets the data and time when the registration inforamtion was last updated.
 java.lang.String getRegistrationUpdateTimeURL()
          Gets the name of RegistrationUpdateTime URL parameter.
 java.lang.String getRegistrationUpdateURL()
          Gets the name of RegistrationUpdate URL parameter.
 java.lang.String getRegistrationURL()
          Gets the name of Registrtion URL parameter.
  TypedProperty getRequestProperties()
           
 java.util.List getRetrieveProperties()
          Gets a list of property names need to retrieve.
 java.lang.Integer[] getRoles()
          Get all roles played by this user.
 java.lang.Integer[] getRoles(java.lang.String astrOrgEntityId)
          Get all roles played by this user in the specified organization or organizational unit.
 java.lang.Integer[] getRolesForOrgEntityAndAncestors(java.lang.String astrOrgEntityId)
          Get all roles assigned to this user for the specified orgEntity and all of its ancestor orgEntities.
 java.lang.String getSecretary()
          Gets business user's secretary's name
 java.lang.String getSecretaryURL()
          Gets the name of Secretary URL parameter.
 java.lang.String[][] getSortedCurrencyList()
          Return a two dimension String array which contains all currency information in the SETCURR table sorted in alphabetically order of the currency description.
 java.lang.String[][] getSortedLanguageList()
          Return a two dimension String array which contains all language information in the LANGUAGE and LANGUAGEDS tables sorted in alphabetically order of the language description.
 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 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 getType()
          Get the type of the member.
 java.lang.String getUrlURL()
          Gets the name of Url URL parameter.
 java.lang.String getUserField1()
          Gets user field 1 reserved for customization (USERS table).
 java.lang.String getUserField1URL()
          Gets the name of UserField1 URL parameter.
 java.lang.String getUserField2()
          Gets user field 2 reserved for customization (USERS table).
 java.lang.String getUserField2URL()
          Gets the name of UserField2 URL parameter.
 java.lang.String getUserField3()
          Gets user field 3 reserved for customization (USERS table).
 java.lang.String getUserField3URL()
          Gets the name of UserField3 URL parameter.
 java.lang.String getUserId()
          Gets the userId
  UserProfileAccessBean getUserProfile()
          Gets the UserProfileAccessBean of this member.
 java.lang.String getUserProfileField1()
          Gets userprofile field 1 reserved for customization (USERPROF table).
 java.lang.String getUserProfileField1URL()
          Gets the name of UserProfileField1 URL parameter.
 java.lang.String getUserProfileField2()
          Gets userprofile field 2 reserved for customization (USERPROF table).
 java.lang.String getUserProfileField2URL()
          Gets the name of UserProfileField2 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.
 boolean isMemberInRole(java.lang.String astrRoleName)
          Gets a boolean value which indicates whether this user plays the specified role.
 boolean isMemberInRole(java.lang.String astrRoleName, java.lang.Long anOrgEntityId)
          Gets a boolean value which indicates whether this user plays the specified role in the specified organization or organizational unit.
 boolean isMemberInRole(java.lang.String astrRoleName, java.lang.String astrOrgEntityId)
          Gets a boolean value which indicates whether this user plays the specified role in the specified organization or organizational unit.
 void populate()
           
 void setCommandContext( CommandContext acommandContext)
           
 void setDataBeanKeyMemberId(java.lang.String aUserId)
          Set the user Id.
 void setProfileType(java.lang.String astrProfileType)
          Sets the profile type for the UserRegistrationDataBean.
 void setRequestProperties( TypedProperty aRequestProperty)
           
 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 getUserRegistrationProperties method.
 void setUserId(java.lang.String aUserId)
          Sets the key(user id) of this data bean.
 
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

iDataBeanKeyMemberId

protected java.lang.String iDataBeanKeyMemberId
The key of this data bean (member id).

iCommandContext

protected CommandContext iCommandContext
The command context within this bean.

iRequestProperties

protected TypedProperty iRequestProperties
The request properties within this bean.

imbUser

protected UserManageBean imbUser
The user manage bean.

ibUserFound

protected boolean ibUserFound
Whether the specified user is found.

istrStoreDirectory

protected java.lang.String istrStoreDirectory
The store directory.

CurrencyList

protected static java.lang.String[][] CurrencyList
The currency list.

LanguageList

protected static java.lang.String[][] LanguageList
The language list.

istrLanguageIdForCurrency

protected static java.lang.String istrLanguageIdForCurrency
The language used for currency description.

istrLanguageIdForLanguage

protected static java.lang.String istrLanguageIdForLanguage
The language used for currency description.

strProfileType

protected java.lang.String strProfileType
The profile type of the user
Constructor Detail

UserRegistrationDataBean

public UserRegistrationDataBean()
RegisterDataBean constructor
Method Detail

findUser

public boolean findUser()
Returns a boolean value indicating whether the user is found according to the userId specified. True - The specified user is found False - Can not find the specified user
Returns:
A boolean value indicating whether the specified user is found

getAddress

public AddressAccessBean getAddress()
Return the register address (User's own address).
Returns:
AddressAccessBean The register address

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

getAddressBook

public AddressBookAccessBean getAddressBook()
Gets the AddressBookAccessBean of this member.
Returns:
The AddressBookAccessBean of this member

getAddressField1

public java.lang.String getAddressField1()
Gets the customizable address field 1.
Returns:
astrField1 The customizable addressfield 1

getAddressField1URL

public java.lang.String getAddressField1URL()
Gets the name of Address3 url parameter.
Returns:
The name of Address3 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 Address3 url parameter.
Returns:
The name of Address3 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 Address3 url parameter.
Returns:
The name of Address3 url parameter

getAddressId

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

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 address type for this registration address.
Returns:
The address type of the registration address

getAddressTypeURL

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

getAge

public java.lang.String getAge()
Gets a integer which indicats the age of the user.

getAgeURL

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

getAlternateId

public java.lang.String getAlternateId()
Gets the special ID assigned by this business user's O or OU to this business user . (eg. the SBREQID in SHBTB table in BPF)
Returns:
The special ID assigned by this business user's O or OU to this business user

getAlternateIdURL

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

getAncestors

public java.lang.Long[] getAncestors()
Get a list of all ancestor orgentities of this user.
Returns:
A list of all ancestor orgentities of this user

getAttribute

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

getAttribute

public java.util.Vector getAttribute(java.lang.String astrAttributeName,
                                     java.lang.String astrStoreEntityId)
Gets the Vector which contains values of the multiple-valued or context-based attribute according to the the specifid attribute name and optional StoreEntityId. If StoreEntityId is null, the method returns store-independent multiple values. For example:
 getAttribute("ReferredBy", null)
 - returns the ReferredBy attribute, which may have multiple values.
Parameters:
astrStoreEntityId - The StoreEntityId
Returns:
The Vector which contains values of the multiple-valued or context-based attribute

getAttributes

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

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 indicator for the best time to call the individual.
Returns:
The best time to call For example:
  • D - Daytime
  • E - Evening

getBillingCodeType

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

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

getChallengeAnswer

public java.lang.String getChallengeAnswer()
Gets the answer to the challenge question.
Returns:
The answer to the challenge question

getChallengeAnswerURL

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

getChallengeQuestion

public java.lang.String getChallengeQuestion()
Gets the challenge question for the user.
Returns:
The challenge question

getChallengeQuestionURL

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

getChildrenURL

public java.lang.String getChildrenURL()
Gets the name of Children url parameter.
Returns:
The name of Children 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()
Gets the command context.
Returns:
The command context

getCompanyName

public java.lang.String getCompanyName()
Gets the name of the company for which the user works
Returns:
The name of the company

getCompanyNameURL

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

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

getCurrencyList

public java.lang.String[][] getCurrencyList()
Return a two dimension String array which contains all currency information in the SETCURR table. First column: Currency Code (SETCURR Table) Second column: Currency Name (SETCURR Table) This method is deprecated. getCurrencyList() method in CurrencyListDataBean should be used instead.
Returns:
String[][] Two dimension String array which contains currency code and currency name from SETCURR talbes

getDataBeanKeyMemberId

public java.lang.String getDataBeanKeyMemberId()
Gets the user id.
Returns:
The user id

getDelegate

public com.ibm.commerce.security.Protectable getDelegate()
                                                  throws java.lang.Exception
getDelegate method comment.
java.lang.Exception

getDemoField1URL

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

getDemoField2URL

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

getDemoField3URL

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

getDemoField4URL

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

getDemoField5URL

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

getDemoField6URL

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

getDemoField7URL

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

getDemographics

public DemographicsAccessBean getDemographics()
Gets the DemographicsAccessBean of this member.
Returns:
The DemographicsAccessBean of this member

getDemographicsField1

public java.lang.String getDemographicsField1()
Gets the demographic field1 reserved for customization.
Returns:
The demographic field1

getDemographicsField2

public java.lang.String getDemographicsField2()
Gets the demographic field2 reserved for customization.
Returns:
The demographic field2

getDemographicsField3

public java.lang.String getDemographicsField3()
Gets the demographic field3 reserved for customization.
Returns:
The demographic field3

getDemographicsField4

public java.lang.String getDemographicsField4()
Gets the demographic field4 reserved for customization.
Returns:
The demographic field4

getDemographicsField5

public java.lang.String getDemographicsField5()
Gets the demographic field5 reserved for customization.
Returns:
The demographic field5

getDemographicsField6

public java.lang.String getDemographicsField6()
Gets the demographic field6 reserved for customization.
Returns:
The demographic field6

getDemographicsField7

public java.lang.String getDemographicsField7()
Gets the demographic field7 reserved for customization.
Returns:
The demographic field7

getDepartmentNumber

public java.lang.String getDepartmentNumber()
Gets the department number where the member works (BUSPROF table).
Returns:
The department number where the member works

getDepartmentNumberURL

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

getDescription

public java.lang.String getDescription()
Gets the Description (USERPROF table). LDAP has a description attribute for various person type of objects, and o/ou, and groupOfNames
Returns:
The Description

getDescriptionURL

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

getDisplayName

public java.lang.String getDisplayName()
Gets the display name of the entry (USERPROF). A name used in displaying an entry in a one line summary list. This is the displayName attribute from ePerson auxiliary class in LDAP.
Returns:
The display name of the entry

getDisplayNameURL

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

getDistinguishedName

public java.lang.String getDistinguishedName()
Sets the distinguished name of the entry (USERS table). Used for coordination with LDAP.
Returns:
The distinguished name of the entry

getDistinguishedNameURL

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

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

getEmployeeId

public java.lang.String getEmployeeId()
Gets the employee identification (BUSPROF table).
Returns:
The employee identification

getEmployeeIdURL

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

getEmployeeType

public java.lang.String getEmployeeType()
Gets the employee type. Such as regular, partime, special partime.
Returns:
The employee type

getEmployeeTypeURL

public java.lang.String getEmployeeTypeURL()
Gets the name of EmployeeType URL parameter.
Returns:
The name of EmployeeType 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

getGender

public java.lang.String getGender()
Gets the gender associated with this user.
Returns:
The gender associated with this user For example:
  • N - Not provided (default)
  • F - Female
  • M - Male

getGenderURL

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

getHobbies

public java.lang.String getHobbies()
Gets the main interests and hobbies of this person.
Returns:
The main intests and hobbies of this person

getHobbiesURL

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

getHousehold

public java.lang.String getHousehold()
Gets the number of people within the household of this user.
Returns:
The number of people within the household

getHouseholdURL

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

getIncome

public java.lang.String getIncome()
Gets the annual income category for this person.

getIncomeURL

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

getLanguageList

public java.lang.String[][] getLanguageList()
Return a two dimension String array which contains all language information in the LANGUAGE and LANGUAGEDS tables. First column: Language Ids (LANGUAGE Table) Second column: Language Descriptions (LANGUAGEDS Table) This method is deprecated. getLanguageList() method in LanguageListDataBean should be used instead.
Returns:
String[][] A two dimension String array which contains languages ids and languages de ecriptions from the LANGUAGE and LANGUAGEDS talbes

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

getLastOrder

public java.lang.String getLastOrder()
Get the data and time when last order happened. This method is deprecated. getLastOrderTime() should be used instead.
Returns:
The data and time when last order happened

getLastOrderTime

public java.lang.String getLastOrderTime()
Get the data and time when last order happened.
Returns:
The data and time when last order happened

getLastOrderTimeURL

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

getLastSession

public java.lang.String getLastSession()
Get the data and time of uesr session.
Returns:
The data and time of uesr session

getLastSessionURL

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

getLogonId

public java.lang.String getLogonId()
Gets the user's unique login Id. The Id can only contain alphanumeric characters or the symbols '@' and '.'.
Returns:
The user's login Id

getLogonIdURL

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

getLogonPassword

public java.lang.String getLogonPassword()
Gets the user's logon password (encrypted).
Returns:
The logon password (encrypted)

getLogonPasswordURL

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

getLogonPasswordVerifyURL

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

getManager

public java.lang.String getManager()
Gets business user's manager's name.
Returns:
The name of manager

getManagerURL

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

getMaritalStatus

public java.lang.String getMaritalStatus()
Gets the Marital Status associated with this user.
Returns:
The marital status value For example:
  • S - Single
  • M - Married
  • C - Common Law
  • P - Separated
  • D - Divorced
  • W - Widowed
  • O - Other
  • N - Not Provided

getMaritalStatusURL

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

getMemberId

public java.lang.String getMemberId()
Get the memberId This method is deprecated. getUserId() should be used instead.
Returns:
The memberId

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 registration address.
Returns:
The nick name of the registration address

getNickNameURL

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

getNumberOfChildren

public java.lang.String getNumberOfChildren()
Gets number of children.
Returns:
The number of children

getNumberOfChildrenURL

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

getOfficeAddress

public java.lang.String getOfficeAddress()
Gets number of children.
Returns:
The number of children

getOfficeAddressURL

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

getOrganizationId

public java.lang.String getOrganizationId()
Gets the identifies the Organization to which this business profile is associated with (BUSPROF table). Foreign key to the ORGENTITY table.
Returns:
The identifies the Organization to which this business profile is associated with

getOrganizationIdURL

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

getOrganizationList

public java.lang.String[][] getOrganizationList()
Returns a two dimension String array which contains all organizations information in the ORGENTITY table. First column: Organization Ids (ORGENTITY Table) Second column: Organization Names (ORGENTITY Table)
Returns:
String[][] A two dimension String array which contains all organization information in the ORGENTITY table

getOrganizationName

public java.lang.String getOrganizationName()
Gets the identifies the Organization to which this business profile is associated with (BUSPROF table). Foreign key to the ORGENTITY table.
Returns:
The identifies the Organization to which this business profile is associated with

getOrganizationNameURL

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

getOrganizationUnitId

public java.lang.String getOrganizationUnitId()
Gets the identifies the Organization to which this business profile is associated with (BUSPROF table). Foreign key to the ORGENTITY table.
Returns:
The identifies the Organization to which this business profile is associated with

getOrganizationUnitIdURL

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

getOrganizationUnitList

public java.lang.String[][] getOrganizationUnitList()
Return a two dimension String array which contains all organizational units information in the ORGENTITY table First column: Organizational Unit Ids (ORGENTITY Table) Second column: Organizational Unit Names (ORGENTITY Table)
Returns:
String[][] A two dimension String array which contains all organizational units information in the ORGENTITY table

getOrganizationUnitName

public java.lang.String getOrganizationUnitName()
Gets the identifies the Organization to which this business profile is associated with (BUSPROF table). Foreign key to the ORGENTITY table.
Returns:
The identifies the Organization to which this business profile is associated with

getOrganizationUnitNameURL

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

getOrgEntityListUserAdmin

public java.util.Vector getOrgEntityListUserAdmin()
Get all organizations that this user is an administrator for.
Returns:
All roles organizations that this user is an administrator for.

getOrgEntityUserAdmin

public java.util.Vector getOrgEntityUserAdmin()
Get all organizations that this user is an administrator for.
Returns:
All roles organizations that this user is an administrator for.

getPackageSuppression

public java.lang.String getPackageSuppression()
Gets the identifies the Organization to which this business profile is associated with (BUSPROF table). Foreign key to the ORGENTITY table.
Returns:
The identifies the Organization to which this business profile is associated with

getPackageSuppressionURL

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

getParentMember

public java.lang.String getParentMember()
Get the Distinguished Name of the parent orgentity.
Returns:
The Distinguished Name of the parent orgentity

getParentMemberId

public java.lang.String getParentMemberId()
Gets the memberId of the parent orgentity.
Returns:
The memberId of the parent orgentity

getParentMemberIdURL

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

getParentMemberURL

public java.lang.String getParentMemberURL()
Gets the name of ParentMember URL parameter.
Returns:
The name of ParentMember 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

getPhoto

public java.lang.String getPhoto()
Gets the URL or path to the photo of the user.
Returns:
The URL or path to the photo of the user

getPhotoURL

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

getPreferredCommunication

public java.lang.String getPreferredCommunication()
Gets the preferred method of communication.
Returns:
The preferred method of communication

getPreferredCommunicationURL

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

getPreferredCurrency

public java.lang.String getPreferredCurrency()
Sets the preferred currency in 3-character alphabetic code as per ISO 4217. Foreign key to SETCURR table.

getPreferredCurrencyURL

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

getPreferredDelivery

public java.lang.String getPreferredDelivery()
Gets the preferred delivery method (USERPROF table).
Returns:
The preferred delivery method.

getPreferredDeliveryURL

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

getPreferredLanguage

public java.lang.String getPreferredLanguage()
Gets the preferred language. Foreign key relationship to LANGUAGE table.
Returns:
The preferred language

getPreferredLanguageId

public java.lang.String getPreferredLanguageId()
Gets the preferred language. Foreign key relationship to LANGUAGE table. This method is deprecated. getPreferredLanguage() method should be used instead.
Returns:
The preferred language

getPreferredLanguageIdURL

public java.lang.String getPreferredLanguageIdURL()
Gets the name of PreferredLanguage URL parameter. This method is deprecated. getPreferredLanguageIdURL() method should be used instead.
Returns:
The name of PreferredLanguage URL parameter

getPreferredLanguageURL

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

getPreferredMeasure

public java.lang.String getPreferredMeasure()
Gets the preferred measurement system.
Returns:
The preferred measurement system

getPreferredMeasureURL

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

getPreviousLastSession

public java.lang.String getPreviousLastSession()
Get the date and time when the user previous last visited the WCS site. Last visited means last logon to the WCS site .
Returns:
The data and time when the user previous last visited

getPreviousLastSessionURL

public java.lang.String getPreviousLastSessionURL()
Gets the name of PreviousLastSession URL parameter.
Returns:
The name of PreviousLastSession 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

getProfileType

public java.lang.String getProfileType()
Gets the identifies whether there is a profile and what type of profile this user has.
Returns:
The profile type
  • C - customer profile
  • B - business profile

getProfileTypeURL

public java.lang.String getProfileTypeURL()
Gets the name of ProfileType URL parameter.
Returns:
The name of ProfileType 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

getRegisterType

public java.lang.String getRegisterType()
Gets the register type of a member.
Returns:
The registration type
  • G - GuestUser (a user who does not provide any profile information)
  • R - RegisteredUser (a user who provides profile information)
  • A - Administrator (registered and an administrator)
  • S - Site Administrator

getRegisterTypeURL

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

getRegistration

public java.lang.String getRegistration()
Gets the data and time when regstration happened.
Returns:
The data and time when regstration happened

getRegistrationCancel

public java.lang.String getRegistrationCancel()
Gets the data and time when registration was canceled.
Returns:
The data and time when registration was canceled

getRegistrationCancelTime

public java.lang.String getRegistrationCancelTime()
Gets the data and time when registration was canceled.
Returns:
The data and time when registration was canceled

getRegistrationCancelTimeURL

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

getRegistrationCancelURL

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

getRegistrationTime

public java.lang.String getRegistrationTime()
Gets the data and time when regstration happened.
Returns:
The data and time when regstration happened

getRegistrationTimeURL

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

getRegistrationUpdate

public java.lang.String getRegistrationUpdate()
Gets the data and time when the registration inforamtion was last updated.
Returns:
The data and time when the registration inforamtion was last updated.

getRegistrationUpdateTime

public java.lang.String getRegistrationUpdateTime()
Gets the data and time when the registration inforamtion was last updated.
Returns:
The data and time when the registration inforamtion was last updated.

getRegistrationUpdateTimeURL

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

getRegistrationUpdateURL

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

getRegistrationURL

public java.lang.String getRegistrationURL()
Gets the name of Registrtion URL parameter.
Returns:
The name of Registion URL parameter

getRequestProperties

public TypedProperty getRequestProperties()

getRoles

public java.lang.Integer[] getRoles()
Get all roles played by this user.
Returns:
All roles played by this user.

getRoles

public java.lang.Integer[] getRoles(java.lang.String astrOrgEntityId)
Get all roles played by this user in the specified organization or organizational unit.
Parameters:
astrOrgEntityId - The OrgEntityId of the specified organization or organizational unit
Returns:
All roles played by this user in the specified organization or organizational unit

getRolesForOrgEntityAndAncestors

public java.lang.Integer[] getRolesForOrgEntityAndAncestors(java.lang.String astrOrgEntityId)
Get all roles assigned to this user for the specified orgEntity and all of its ancestor orgEntities.
Parameters:
astrOrgEntityId - The OrgEntityId of the specified organization or organizational unit
Returns:
All roles assigned to this user for the specified orgEntity and all of its ancestor orgEntities

getSecretary

public java.lang.String getSecretary()
Gets business user's secretary's name
Returns:
The name of the secretary

getSecretaryURL

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

getSortedCurrencyList

public java.lang.String[][] getSortedCurrencyList()
Return a two dimension String array which contains all currency information in the SETCURR table sorted in alphabetically order of the currency description. First column: Currency Code (SETCURR Table) Second column: Currency Name (SETCURR Table) This method is depricated. CurrentListDataBean should be used instead.
Returns:
String[][] Two dimension String array which contains currency code and currency name from SETCURR talbes sorted in alphabetically order of the currency description.

getSortedLanguageList

public java.lang.String[][] getSortedLanguageList()
Return a two dimension String array which contains all language information in the LANGUAGE and LANGUAGEDS tables sorted in alphabetically order of the language description. First column: Language Ids (LANGUAGE Table) Second column: Language Descriptions (LANGUAGEDS Table) This method is depricated. LangaugeListDataBean should be used instead.
Returns:
String[][] A two dimension String array which contains languages ids and languages de ecriptions from the LANGUAGE and LANGUAGEDS talbes sorted in alphabetically order of the language description.

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

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 depricated. ResourceBundleDataBean should be used instead.
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

getType

public java.lang.String getType()
Get the type of the member.
Returns:
The type of the member

getUrlURL

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

getUserField1

public java.lang.String getUserField1()
Gets user field 1 reserved for customization (USERS table).
Returns:
Customizable user field 1

getUserField1URL

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

getUserField2

public java.lang.String getUserField2()
Gets user field 2 reserved for customization (USERS table).
Returns:
Customizable user field 2

getUserField2URL

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

getUserField3

public java.lang.String getUserField3()
Gets user field 3 reserved for customization (USERS table).
Returns:
Customizable user field 3

getUserField3URL

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

getUserId

public java.lang.String getUserId()
Gets the userId
Returns:
The userId

getUserProfile

public UserProfileAccessBean getUserProfile()
Gets the UserProfileAccessBean of this member.
Returns:
The UserProfileAccessBean of this member

getUserProfileField1

public java.lang.String getUserProfileField1()
Gets userprofile field 1 reserved for customization (USERPROF table).
Returns:
Customerizable userprofile field 1

getUserProfileField1URL

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

getUserProfileField2

public java.lang.String getUserProfileField2()
Gets userprofile field 2 reserved for customization (USERPROF table).
Returns:
Customerizable userprofile field 2

getUserProfileField2URL

public java.lang.String getUserProfileField2URL()
Gets the name of UserProfileField2 URL parameter.
Returns:
The name of UserProfileField2 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

isMemberInRole

public boolean isMemberInRole(java.lang.String astrRoleName)
Gets a boolean value which indicates whether this user plays the specified role.
Parameters:
astrRoleName - The name of the role
Returns:
A boolean value which indicates whether this user plays the specified role

isMemberInRole

public boolean isMemberInRole(java.lang.String astrRoleName,
                              java.lang.Long anOrgEntityId)
Gets a boolean value which indicates whether this user plays the specified role in the specified organization or organizational unit.
Parameters:
astrRoleName - The name of the role
anOrgEntityId - The OrgEntityId of the organization or organizational unit
Returns:
A boolean value which indicates whether this user plays the specified role

isMemberInRole

public boolean isMemberInRole(java.lang.String astrRoleName,
                              java.lang.String astrOrgEntityId)
Gets a boolean value which indicates whether this user plays the specified role in the specified organization or organizational unit.
Parameters:
astrRoleName - The name of the role
astrOrgEntityId - The OrgEntityId of the organization or organizational unit
Returns:
A boolean value which indicates whether this user plays the specified role

populate

public void populate()
              throws java.lang.Exception
java.lang.Exception

setCommandContext

public void setCommandContext(CommandContext acommandContext)

setDataBeanKeyMemberId

public void setDataBeanKeyMemberId(java.lang.String aUserId)
Set the user Id.

setProfileType

public void setProfileType(java.lang.String astrProfileType)
Sets the profile type for the UserRegistrationDataBean. Only 'C' (Customer) and 'B'(Business) are allowed. All other value will set the profile type to 'C'. This method is depricated.
Returns:
astrProfileType The profile type

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperty)
                          throws javax.ejb.CreateException,
                                 java.rmi.RemoteException,
                                 javax.naming.NamingException,
                                 javax.ejb.FinderException
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
javax.ejb.FinderException

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 getUserRegistrationProperties method. This method is depricated.
Parameters:
astrStoreDirectory - The name of store directory

setUserId

public void setUserId(java.lang.String aUserId)
Sets the key(user id) of this data bean.
Parameters:
aUserId - The key of this data bean.

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 user. 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 user. If the list is not null, the data bean will only retrieve the properties specified, which can improve performance.