com.ibm.commerce.usermanagement.commands
Class UserRegistrationCmdImpl

com.ibm.commerce.command.AbstractECTargetableCommand
  |
  +--com.ibm.commerce.command.ControllerCommandImpl
        |
        +--com.ibm.commerce.usermanagement.commands.UserRegistrationCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, Protectable, UserRegistrationCmd
Direct Known Subclasses:
UserRegistrationAddCmdImpl, UserRegistrationAdminCmdImpl, UserRegistrationUpdateCmdImpl

public class UserRegistrationCmdImpl
extends ControllerCommandImpl
implements UserRegistrationCmd

Implementation class for the UserRegistrationCmd is the base command for the following user registration commands:


Field Summary
protected  UserAccessBean abUser
           
protected  UserRegistryAccessBean abUserRegistry
           
protected  boolean bToolsFramework
           
static java.lang.String CLASSNAME
           
static java.lang.String COPYRIGHT
           
protected  OrganizationAccessBean iabParentOrgEntity
           
protected  com.ibm.commerce.member.helpers.UserManageBean imbUser
           
protected  java.lang.Integer inAge
           
protected  java.lang.Integer inChildren
           
protected  java.lang.Integer inDemographicsField6
           
protected  java.lang.Integer inHousehold
           
protected  java.lang.Integer inIncome
           
protected  java.lang.Long inOrganizationId
           
protected  java.lang.Long inOrganizationUnitId
           
protected  java.lang.Integer inPackageSuppression
           
protected  java.lang.Integer inPasswordExpired
           
protected  java.lang.Integer inPreferredLanguage
           
protected  java.lang.Integer inPrimary
           
protected  java.lang.Integer inPublishPhone1
           
protected  java.lang.Integer inPublishPhone2
           
protected  java.lang.Integer inUserStatus
           
protected  java.lang.String istrAddress1
           
protected  java.lang.String istrAddress2
           
protected  java.lang.String istrAddress3
           
protected  java.lang.String istrAddressField1
           
protected  java.lang.String istrAddressField2
           
protected  java.lang.String istrAddressField3
           
protected  java.lang.String istrAddressType
           
protected  java.lang.String istrAge
           
protected  java.lang.String istrAlternateId
           
protected  java.lang.String istrAuthenticateMode
           
protected  java.lang.String istrBestCallingTime
           
protected  java.lang.String istrBillingCode
           
protected  java.lang.String istrBillingCodeType
           
protected  java.lang.String istrBusinessTitle
           
protected  java.lang.String istrChallengeAnswer
           
protected  java.lang.String istrChallengeQuestion
           
protected  java.lang.String istrChildren
           
protected  java.lang.String istrCity
           
protected  java.lang.String istrCompanyName
           
protected  java.lang.String istrCountry
           
protected  java.lang.String istrDemographicsField1
           
protected  java.lang.String istrDemographicsField2
           
protected  java.lang.String istrDemographicsField3
           
protected  java.lang.String istrDemographicsField4
           
protected  java.lang.String istrDemographicsField5
           
protected  java.lang.String istrDemographicsField6
           
protected  java.lang.String istrDemographicsField7
           
protected  java.lang.String istrDepartmentNumber
           
protected  java.lang.String istrDescription
           
protected  java.lang.String istrDisplayName
           
protected  java.lang.String istrDistinguishedName
           
protected  java.lang.String istrEmail1
           
protected  java.lang.String istrEmail2
           
protected  java.lang.String istrEmployeeId
           
protected  java.lang.String istrEmployeeType
           
protected  java.lang.String istrEncipheredMerchantKey
           
protected  java.lang.String istrFax1
           
protected  java.lang.String istrFax2
           
protected  java.lang.String istrFirstName
           
protected  java.lang.String istrGender
           
protected  java.lang.String istrHobbies
           
protected  java.lang.String istrHousehold
           
protected  java.lang.String istrIncome
           
protected  java.lang.String istrIncomeCurrency
           
protected  java.lang.String istrLastName
           
protected  java.lang.String istrLogonId
           
protected  java.lang.String istrLogonPassword
           
protected  java.lang.String istrLogonPasswordVerify
           
protected  java.lang.String istrManager
           
protected  java.lang.String istrMaritalStatus
           
protected  java.lang.String istrMerchantKey
           
protected  java.lang.String istrMiddleName
           
protected  java.lang.String istrNickName
           
protected  java.lang.String istrOfficeAddress
           
protected  java.lang.String istrOldLogonId
           
protected  java.lang.String istrOrderBefore
           
protected  java.lang.String istrOrganizationId
           
protected  java.lang.String istrOrganizationName
           
protected  java.lang.String istrOrganizationUnitId
           
protected  java.lang.String istrOrganizationUnitName
           
protected  java.lang.String istrPackageSuppression
           
protected  java.lang.String istrPasswordExpired
           
protected  java.lang.String istrPersonTitle
           
protected  java.lang.String istrPhone1
           
protected  java.lang.String istrPhone1Type
           
protected  java.lang.String istrPhone2
           
protected  java.lang.String istrPhone2Type
           
protected  java.lang.String istrPhoto
           
protected  java.lang.String istrPreferredCommunication
           
protected  java.lang.String istrPreferredCurrency
           
protected  java.lang.String istrPreferredDelivery
           
protected  java.lang.String istrPreferredLanguage
           
protected  java.lang.String istrPreferredMeasure
           
protected  java.lang.String istrPrimary
           
protected  java.lang.String istrProfileType
           
protected  java.lang.String istrPublishPhone1
           
protected  java.lang.String istrPublishPhone2
           
protected  java.lang.String istrRegisterType
           
protected  java.lang.String istrSecretary
           
protected  java.lang.String istrSelfAddress
           
protected  java.lang.String istrShippingGeoCode
           
protected  java.lang.String istrState
           
protected  java.lang.String istrStatus
           
protected  java.lang.String istrTaxGeoCode
           
protected  java.lang.String istrTaxPayerId
           
protected  java.lang.String istrTimeZone
           
protected  java.lang.String istrURL
           
protected  java.lang.String istrUserField1
           
protected  java.lang.String istrUserField2
           
protected  java.lang.String istrUserField3
           
protected  java.lang.String istrUserProfileField1
           
protected  java.lang.String istrUserProfileField2
           
protected  java.lang.String istrUserStatus
           
protected  java.lang.String istrWorkingUserId
           
protected  java.lang.String istrZipCode
           
protected  java.sql.Timestamp itmCreatedTimestamp
           
protected  java.sql.Timestamp itmLastLogon
           
protected  java.sql.Timestamp itmLastOrder
           
protected  java.sql.Timestamp itmRegistration
           
protected  java.sql.Timestamp itmRegistrationCancel
           
protected  java.sql.Timestamp itmRegistrationUpdate
           
 
Fields inherited from class com.ibm.commerce.command.ControllerCommandImpl
requestProperties, responseProperties, retriable, viewReqProperties
 
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
NAME
 
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
 
Constructor Summary
UserRegistrationCmdImpl()
           
 
Method Summary
 void checkAddParameters()
           
 void checkCommonParameters()
           
 void checkSelfRegistrationParameters()
           
 void checkUpdateParameters()
           
 void formulateDN(TypedProperty aProperties)
           
 java.lang.String getAddress1()
          Gets the first line of the address.
 java.lang.String getAddress2()
          Gets the second line of the address.
 java.lang.String getAddress3()
          Gets the third line of the address
 java.lang.String getAddressType()
          Gets the type of addresses.
 java.lang.String getAuthenticateMode()
          Gets the authenticate mode.
 java.lang.String getBestCallingTime()
          Gets the indicator for the best time to call the individual.
 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 getBusinessTitle()
          Gets the business title of the person to which this address applies, eg.
 java.lang.String getCity()
          Gets the city name.
 java.lang.String getCountry()
          Gets the country name.
 java.sql.Timestamp getCreatedTimestamp()
          Gets the date and time when the address was created.
 java.lang.String getEmail1()
          Gets the e-mail or URL address 1 of the individual.
 java.lang.String getEmail2()
          Gets the e-mail or URL address 2 of the individual.
protected  java.lang.String getEncipheredMerchantKey()
           
 java.lang.String getFax1()
          Gets the facsimile number 1 of the individual.
 java.lang.String getFax2()
          Gets the facsimile number 2 of the individual.
 java.lang.String getFirstName()
          Gets the first name of the individual.
 java.lang.String getLastName()
          Gets the last name of the individual.
protected  java.lang.String getMerchantKey()
           
 java.lang.String getMiddleName()
          Gets the middle name of the individual.
 java.lang.String getOfficeAddress()
          Gets the desktop delivery or office address associated with a shipping address.
 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 getOrganizationUnitName()
          Gets the name of the organizational unit to which this contact info applies if this is a business contact.
 java.lang.Integer getPackageSuppression()
          Gets the Package inserts suppression flag.
 java.lang.String getPersonTitle()
          Gets the title of the person to which this address applies.
 java.lang.String getPhone1()
          Gets the phone number 1.
 java.lang.String getPhone1Type()
          Gets the type of the phone 1.
 java.lang.String getPhone2()
          Gets the phone number 2.
 java.lang.String getPhone2Type()
          Gets the type of the phone 2.
 java.lang.Integer getPrimary()
          Gets a integer indicating whether the address is a primary address.
 java.lang.String getProfileType()
          Gets the profile type of the user.
 java.lang.Integer getPublishPhone1()
          Gets a integer indicating whether or not publish phone 1 number.
 java.lang.Integer getPublishPhone2()
          Gets a integer indicating whether or not publish phone 2 number.
 TypedProperty getRequestProperties()
          Gets the request properties set by the setRequestProperties() method.
 AccessVector getResources()
          Gets the access vector accessed by this command.
 java.lang.String getState()
          Gets the name of the state, province, or equivalent where the individual resides.
 java.lang.String getStatus()
          Gets the temporary or permanent address, 'Permanent' really means 'current' address, 'Temporary' really means 'historical' address.
 java.lang.String getURL()
           
 TypedProperty getViewInputProperties()
          Retrieves the request properties set by the setRequestProperties() method that will be passed onto the view command.
 java.lang.String getWorkingUserId()
          Gets the current userId the command is working on.
 java.lang.String getZipCode()
          Gets the zip code or equivalent postal code of the individual's adddres.
protected  boolean isAlphaNumeric(java.lang.String param)
           
 boolean isLogonIdExist(java.lang.String astrLogonId)
          This method check if the logon id already exists in the database or ldap server
 boolean isLogonIdExist(java.lang.String astrLogonId, java.lang.String astrAuthenticateMode)
          This method check if the logon id already exists in the database or ldap server
 boolean isLogonIdUnique(java.lang.String astrLogonId)
           
 boolean isReadyToCallExecute()
          isReadyToCallExecute method is called by the Targettable Command frame work before the execution of the command.
 void performExecute()
          Contains the actual business logic of the command It should be implemented by all the command writer.
 void reset()
          Reset all instance variables of the command to initial state so it can be used again.
 void setAddress1(java.lang.String astrAddress1)
          Sets the first line of the address.
 void setAddress2(java.lang.String astrAddress2)
          Sets the second line of the address.
 void setAddress3(java.lang.String astrAddress3)
          Sets the third line of the address.
 void setAddressField1(java.lang.String astrAddressField1)
          Sets the customizable address field 1.
 void setAddressField2(java.lang.String astrAddressField2)
          Sets the customizable address field 2.
 void setAddressField3(java.lang.String astrAddressField3)
          Sets the customizable address field 3.
 void setAddressType(java.lang.String astrAddressType)
          Sets the type of addresses.
 void setAge(java.lang.Integer anAge)
          Sets The age of the user.
 void setAge(java.lang.String astrAge)
          Sets The age of the user.
 void setAlternateId(java.lang.String astrAlternateId)
          Sets the special ID assigned by this business user's O or OU to this business user (eg.
 void setAuthenticateMode(java.lang.String astrAuthenticateMode)
          Sets the authenticate mode.
 void setBestCallingTime(java.lang.String astrBestCallingTime)
          Sets the indicator for the best time to call the individual.
 void setBillingCode(java.lang.String astrBillingCode)
          Sets the code to identify shipping/billing address for BPF.
 void setBillingCodeType(java.lang.String astrBillingCodeType)
          Sets the code designating the system/method of code structure used for BACODE (for BPF).
 void setBillingCodeTypeType(java.lang.String astrBillingCodeType)
           
 void setBusinessTitle(java.lang.String astrBusinessTitle)
          Sets the business title of the person to which this address applies, eg.
 void setChallengeAnswer(java.lang.String astrChallengeAnswer)
          Sets the answer to the challenge question.
 void setChallengeQuestion(java.lang.String astrChallengeQuestion)
          Sets the challenge question for the user.
 void setChildren(java.lang.Integer anChildren)
          Sets number of children.
 void setChildren(java.lang.String astrChildren)
          Sets number of children.
 void setCity(java.lang.String astrCity)
          Sets the city name.
 void setCompanyName(java.lang.String astrCompanyName)
          Sets the name of the company for which the user works
 void setCountry(java.lang.String astrCountry)
          Sets the country name.
 void setCreatedTimestamp(java.sql.Timestamp atmCreatedTimestamp)
          Sets the date and time when the address was created.
 void setDemographicsField1(java.lang.String astrDemographicsField1)
          Sets the demographic field1 reserved for customization.
 void setDemographicsField2(java.lang.String astrDemographicsField2)
          Sets the demographic field2 reserved for customization.
 void setDemographicsField3(java.lang.String astrDemographicsField3)
          Sets the demographic field3 reserved for customization.
 void setDemographicsField4(java.lang.String astrDemographicsField4)
          Sets the demographic field4 reserved for customization.
 void setDemographicsField5(java.lang.String astrDemographicsField5)
          Sets the demographic field5 reserved for customization.
 void setDemographicsField6(java.lang.Integer anDemographicsField6)
          Sets the demographic field6 reserved for customization.
 void setDemographicsField6(java.lang.String astrDemographicsField6)
          Sets the demographic field6 reserved for customization.
 void setDemographicsField7(java.lang.String astrDemographicsField7)
          Sets the demographic field7 reserved for customization.
 void setDepartmentNumber(java.lang.String astrDepartmentNumber)
          Sets the department number where the member works (BUSPROF table).
 void setDescription(java.lang.String astrDescription)
          Sets the Description (USERPROF table).
 void setDisplayName(java.lang.String astrDisplayName)
          Sets the display name of the entry (USERPROF).
 void setDistinguishedName(java.lang.String astrDistinguishedName)
          Sets the distinguished name of the entry (USERS table).
 void setEmail1(java.lang.String astrEmail1)
          Sets the email or URL address 1 of the individual.
 void setEmail2(java.lang.String astrEmail2)
          Sets the email or URL address 2 of the individual.
 void setEmployeeId(java.lang.String astrEmployeeId)
          Sets the employee identification (BUSPROF table).
 void setEmployeeType(java.lang.String astrEmployeeType)
          Sets the employee type.
 void setEncipheredMerchantKey(java.lang.String strEncipheredMerchantKey)
          Sets the Enciphered Merchant Key to be used in the encryption of the password.
 void setFax1(java.lang.String astrFax1)
          Sets the facsimile number 1.
 void setFax2(java.lang.String astrFax2)
          Sets the facsimile number 2.
 void setFirstName(java.lang.String astrFirstName)
          Sets the first name of the individual.
 void setGender(java.lang.String astrGender)
          Sets the gender associated with this user.
 void setHobbies(java.lang.String astrHobbies)
          Sets the main interests and hobbies of this person.
 void setHousehold(java.lang.Integer anHousehold)
          Sets the number of people within the household of this user.
 void setHousehold(java.lang.String astrHousehold)
          Sets the number of people within the household of this person.
 void setIncome(java.lang.Integer anIncome)
          Sets the annual income category for this person.
 void setIncome(java.lang.String astrIncome)
          Sets the annual income category for this person.
 void setIncomeCurrency(java.lang.String astrIncomeCurrency)
          Sets the currency of income (USERDEMO table).
 void setLastName(java.lang.String astrLastName)
          Sets the last name of the individual.
 void setLogonId(java.lang.String astrLogonId)
          Sets the user's unique login Id.
 void setLogonPassword(java.lang.String astrLogonPassword)
          Sets the user's logon password.
 void setLogonPasswordVerify(java.lang.String astrLogonPasswordVerify)
          Sets the user's verify logon password.
 void setLogonPasswordVerifyVerify(java.lang.String astrLogonPasswordVerify)
           
 void setManager(java.lang.String astrManager)
          Sets business user's manager's name.
 void setMaritalStatus(java.lang.String astrMaritalStatus)
          Sets the Marital Status associated with this user.
 void setMerchantKey(java.lang.String strMerchantKey)
          Sets the Merchant Key to be used in the encryption of the password.
 void setMiddleName(java.lang.String astrMiddleName)
          Sets the middle name of the individual.
 void setNickName(java.lang.String astrNickName)
           
 void setOfficeAddress(java.lang.String astrOfficeAddress)
          Sets the office address.
 void setOrderBefore(java.lang.String astrOrderBefore)
          Sets the indicator of whether or not the user has previously placed an order.
 void setOrganizationId(java.lang.Long anOrganizationId)
          Sets the identifies the Organization to which this business profile is associated with (BUSPROF table).
 void setOrganizationId(java.lang.String astrOrganizationId)
          Sets the identifies the Organization to which this business profile is associated with (BUSPROF table).
 void setOrganizationName(java.lang.String astrOrganizationName)
          Sets the name of the organization to which this address informatoin applies if this is a business address.
 void setOrganizationUnitId(java.lang.Long anOrganizationUnitId)
          Sets the identifies the Organization Unit to which this business profile is associated with (BUSPROF table).
 void setOrganizationUnitId(java.lang.String astrOrganizationUnitId)
          Sets the identifies the Organization Unit to which this business profile is associated with (BUSPROF table).
 void setOrganizationUnitName(java.lang.String astrOrganizationUnitName)
          Sets the name of the organization unit to which this address informatoin applies if this is a business address.
 void setPackageSuppression(java.lang.Integer anPackageSuppression)
          Sets the Package inserts suppression flag.
 void setPackageSuppression(java.lang.String astrPackageSuppression)
          Sets the Package inserts suppression flag.
 void setPasswordExpired(java.lang.Integer anPasswordExpired)
          Sets the indicator Whether user password has expired
 void setPasswordExpired(java.lang.String astrPasswordExpired)
          Sets the indicator Whether user password has expired
 void setPersonTitle(java.lang.String astrPersonTitle)
          Sets the title of the person to which this address applies
 void setPhone1(java.lang.String astrPhone1)
          Sets the phone number 1.
 void setPhone1Type(java.lang.String astrPhone1Type)
          Sets the type of the phone 1
 void setPhone2(java.lang.String astrPhone2)
          Sets the phone number 2.
 void setPhone2Type(java.lang.String astrPhone2Type)
          Sets the type of the phone 2
 void setPhoto(java.lang.String astrPhoto)
          Sets the URL or path to the photo of the user.
 void setPreferredCommunication(java.lang.String astrPreferredCommunication)
          Sets the preferred method of communication.
 void setPreferredCurrency(java.lang.String astrPreferredCurrency)
          Sets the preferred currency in 3-character alphabetic code as per ISO 4217.
 void setPreferredDelivery(java.lang.String astrPreferredDelivery)
          Sets the preferred delivery method (USERPROF table).
 void setPreferredLanguage(java.lang.Integer anPreferredLanguage)
          Sets the preferred language.
 void setPreferredLanguage(java.lang.String astrPreferredLanguage)
          Sets the preferred language.
 void setPreferredMeasure(java.lang.String astrPreferredMeasure)
          Sets the preferred measurement system.
 void setPrimary(java.lang.Integer anPrimary)
          Sets a integer indicating whether the address is a primary address.
 void setPrimary(java.lang.String astrPrimary)
          Sets a integer indicating whether the address is a primary address.
 void setProfileType(java.lang.String astrProfileType)
          Sets the profile type of the user.
 void setPublishPhone1(java.lang.Integer anPublishPhone1)
          Sets a integer indicating whether or not publish phone 1 number.
 void setPublishPhone1(java.lang.String astrPublishPhone1)
          Sets a string indicating whether or not publish phone 1 number.
 void setPublishPhone2(java.lang.Integer anPublishPhone2)
          Sets a integer indicating whether or not publish phone 2 number.
 void setPublishPhone2(java.lang.String astrPublishPhone2)
          Sets a string indicating whether or not publish phone 2 number.
 void setRequestProperties(TypedProperty reqProperties)
          The WebController calls this method before invoking the execute method in this command to set the request properties for this command.
 void setSecretary(java.lang.String astrSecretary)
          Sets business user's secretary's name
 void setShippingGeoCode(java.lang.String astrShippingGeoCode)
          Sets the shipping geographic code.
 void setState(java.lang.String astrState)
          Sets the name of the state, province, or equivalent where the individual resides.
 void setStatus(java.lang.String astrStatus)
          Sets the temporary or permanent address, 'Permanent' really means 'current' address, 'Temporary' really means 'historical' address.
 void setTaxGeoCode(java.lang.String astrTaxGeoCode)
          Sets the Tax geographic code.
 void setTaxPayerId(java.lang.String astrTaxPayerId)
          Set the tax payer id.
 void setTimeZone(java.lang.String astrTimeZone)
          Sets the time zone.
 void setURL(java.lang.String astrURL)
          Set the URL that is called when the command successfully completes.
 void setUserField1(java.lang.String astrUserField1)
          Sets user field 1 reserved for customization (USERS table).
 void setUserField2(java.lang.String astrUserField2)
          Sets user field 2 reserved for customization (USERS table).
 void setUserField3(java.lang.String astrUserField3)
          Sets user field 3 reserved for customization (USERS table).
 void setUserProfileField1(java.lang.String astrUserProfileField1)
          Sets userprofile field 1 reserved for customization (USERPROF table).
 void setUserProfileField2(java.lang.String astrUserProfileField2)
          Sets userprofile field 2 reserved for customization (USERPROF table).
 void setUserStatus(java.lang.Integer anUserStatus)
          Sets the user's status.
 void setUserStatus(java.lang.String astrUserStatus)
          Sets the user's status.
 void setWorkingUserId(java.lang.String astrUserId)
          Sets the current userId the command is working on.
 void setZipCode(java.lang.String astrZipCode)
          Sets the zip code or equivalent postal code of the individual's adddres.
protected  void UpdateCredentials(java.lang.String astrLogonId, java.lang.String astrLogonPassword)
           
protected  void UpdatePreferredCurrency(java.lang.String astrPreferredCurrency)
           
protected  void UpdatePreferredLanguage(java.lang.String astrPreferredLanguage)
           
 void validateParameters()
          Performs server side parameter checking.
 
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl
fulfills, getForUserId, getGeneric, getOwner, getResolvedRequestProperties, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
 
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties
 
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
execute, getGeneric, getResolvedRequestProperties, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
 
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

abUser

protected UserAccessBean abUser

abUserRegistry

protected UserRegistryAccessBean abUserRegistry

bToolsFramework

protected boolean bToolsFramework

CLASSNAME

public static final java.lang.String CLASSNAME

COPYRIGHT

public static final java.lang.String COPYRIGHT

iabParentOrgEntity

protected OrganizationAccessBean iabParentOrgEntity

imbUser

protected com.ibm.commerce.member.helpers.UserManageBean imbUser

inAge

protected java.lang.Integer inAge

inChildren

protected java.lang.Integer inChildren

inDemographicsField6

protected java.lang.Integer inDemographicsField6

inHousehold

protected java.lang.Integer inHousehold

inIncome

protected java.lang.Integer inIncome

inOrganizationId

protected java.lang.Long inOrganizationId

inOrganizationUnitId

protected java.lang.Long inOrganizationUnitId

inPackageSuppression

protected java.lang.Integer inPackageSuppression

inPasswordExpired

protected java.lang.Integer inPasswordExpired

inPreferredLanguage

protected java.lang.Integer inPreferredLanguage

inPrimary

protected java.lang.Integer inPrimary

inPublishPhone1

protected java.lang.Integer inPublishPhone1

inPublishPhone2

protected java.lang.Integer inPublishPhone2

inUserStatus

protected java.lang.Integer inUserStatus

istrAddress1

protected java.lang.String istrAddress1

istrAddress2

protected java.lang.String istrAddress2

istrAddress3

protected java.lang.String istrAddress3

istrAddressField1

protected java.lang.String istrAddressField1

istrAddressField2

protected java.lang.String istrAddressField2

istrAddressField3

protected java.lang.String istrAddressField3

istrAddressType

protected java.lang.String istrAddressType

istrAge

protected java.lang.String istrAge

istrAlternateId

protected java.lang.String istrAlternateId

istrAuthenticateMode

protected java.lang.String istrAuthenticateMode

istrBestCallingTime

protected java.lang.String istrBestCallingTime

istrBillingCode

protected java.lang.String istrBillingCode

istrBillingCodeType

protected java.lang.String istrBillingCodeType

istrBusinessTitle

protected java.lang.String istrBusinessTitle

istrChallengeAnswer

protected java.lang.String istrChallengeAnswer

istrChallengeQuestion

protected java.lang.String istrChallengeQuestion

istrChildren

protected java.lang.String istrChildren

istrCity

protected java.lang.String istrCity

istrCompanyName

protected java.lang.String istrCompanyName

istrCountry

protected java.lang.String istrCountry

istrDemographicsField1

protected java.lang.String istrDemographicsField1

istrDemographicsField2

protected java.lang.String istrDemographicsField2

istrDemographicsField3

protected java.lang.String istrDemographicsField3

istrDemographicsField4

protected java.lang.String istrDemographicsField4

istrDemographicsField5

protected java.lang.String istrDemographicsField5

istrDemographicsField6

protected java.lang.String istrDemographicsField6

istrDemographicsField7

protected java.lang.String istrDemographicsField7

istrDepartmentNumber

protected java.lang.String istrDepartmentNumber

istrDescription

protected java.lang.String istrDescription

istrDisplayName

protected java.lang.String istrDisplayName

istrDistinguishedName

protected java.lang.String istrDistinguishedName

istrEmail1

protected java.lang.String istrEmail1

istrEmail2

protected java.lang.String istrEmail2

istrEmployeeId

protected java.lang.String istrEmployeeId

istrEmployeeType

protected java.lang.String istrEmployeeType

istrEncipheredMerchantKey

protected java.lang.String istrEncipheredMerchantKey

istrFax1

protected java.lang.String istrFax1

istrFax2

protected java.lang.String istrFax2

istrFirstName

protected java.lang.String istrFirstName

istrGender

protected java.lang.String istrGender

istrHobbies

protected java.lang.String istrHobbies

istrHousehold

protected java.lang.String istrHousehold

istrIncome

protected java.lang.String istrIncome

istrIncomeCurrency

protected java.lang.String istrIncomeCurrency

istrLastName

protected java.lang.String istrLastName

istrLogonId

protected java.lang.String istrLogonId

istrLogonPassword

protected java.lang.String istrLogonPassword

istrLogonPasswordVerify

protected java.lang.String istrLogonPasswordVerify

istrManager

protected java.lang.String istrManager

istrMaritalStatus

protected java.lang.String istrMaritalStatus

istrMerchantKey

protected java.lang.String istrMerchantKey

istrMiddleName

protected java.lang.String istrMiddleName

istrNickName

protected java.lang.String istrNickName

istrOfficeAddress

protected java.lang.String istrOfficeAddress

istrOldLogonId

protected java.lang.String istrOldLogonId

istrOrderBefore

protected java.lang.String istrOrderBefore

istrOrganizationId

protected java.lang.String istrOrganizationId

istrOrganizationName

protected java.lang.String istrOrganizationName

istrOrganizationUnitId

protected java.lang.String istrOrganizationUnitId

istrOrganizationUnitName

protected java.lang.String istrOrganizationUnitName

istrPackageSuppression

protected java.lang.String istrPackageSuppression

istrPasswordExpired

protected java.lang.String istrPasswordExpired

istrPersonTitle

protected java.lang.String istrPersonTitle

istrPhone1

protected java.lang.String istrPhone1

istrPhone1Type

protected java.lang.String istrPhone1Type

istrPhone2

protected java.lang.String istrPhone2

istrPhone2Type

protected java.lang.String istrPhone2Type

istrPhoto

protected java.lang.String istrPhoto

istrPreferredCommunication

protected java.lang.String istrPreferredCommunication

istrPreferredCurrency

protected java.lang.String istrPreferredCurrency

istrPreferredDelivery

protected java.lang.String istrPreferredDelivery

istrPreferredLanguage

protected java.lang.String istrPreferredLanguage

istrPreferredMeasure

protected java.lang.String istrPreferredMeasure

istrPrimary

protected java.lang.String istrPrimary

istrProfileType

protected java.lang.String istrProfileType

istrPublishPhone1

protected java.lang.String istrPublishPhone1

istrPublishPhone2

protected java.lang.String istrPublishPhone2

istrRegisterType

protected java.lang.String istrRegisterType

istrSecretary

protected java.lang.String istrSecretary

istrSelfAddress

protected java.lang.String istrSelfAddress

istrShippingGeoCode

protected java.lang.String istrShippingGeoCode

istrState

protected java.lang.String istrState

istrStatus

protected java.lang.String istrStatus

istrTaxGeoCode

protected java.lang.String istrTaxGeoCode

istrTaxPayerId

protected java.lang.String istrTaxPayerId

istrTimeZone

protected java.lang.String istrTimeZone

istrURL

protected java.lang.String istrURL

istrUserField1

protected java.lang.String istrUserField1

istrUserField2

protected java.lang.String istrUserField2

istrUserField3

protected java.lang.String istrUserField3

istrUserProfileField1

protected java.lang.String istrUserProfileField1

istrUserProfileField2

protected java.lang.String istrUserProfileField2

istrUserStatus

protected java.lang.String istrUserStatus

istrWorkingUserId

protected java.lang.String istrWorkingUserId

istrZipCode

protected java.lang.String istrZipCode

itmCreatedTimestamp

protected java.sql.Timestamp itmCreatedTimestamp

itmLastLogon

protected java.sql.Timestamp itmLastLogon

itmLastOrder

protected java.sql.Timestamp itmLastOrder

itmRegistration

protected java.sql.Timestamp itmRegistration

itmRegistrationCancel

protected java.sql.Timestamp itmRegistrationCancel

itmRegistrationUpdate

protected java.sql.Timestamp itmRegistrationUpdate
Constructor Detail

UserRegistrationCmdImpl

public UserRegistrationCmdImpl()
Method Detail

checkAddParameters

public void checkAddParameters()
                        throws ECException

checkCommonParameters

public void checkCommonParameters()
                           throws ECException

checkSelfRegistrationParameters

public void checkSelfRegistrationParameters()
                                     throws ECException

checkUpdateParameters

public void checkUpdateParameters()
                           throws ECException

formulateDN

public void formulateDN(TypedProperty aProperties)
                 throws ECException

getAddress1

public java.lang.String getAddress1()
Description copied from interface: UserRegistrationCmd
Gets the first line of the address.
Specified by:
getAddress1 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The first line of the address

getAddress2

public java.lang.String getAddress2()
Description copied from interface: UserRegistrationCmd
Gets the second line of the address.
Specified by:
getAddress2 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The second line of the address

getAddress3

public java.lang.String getAddress3()
Description copied from interface: UserRegistrationCmd
Gets the third line of the address
Specified by:
getAddress3 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The third line of the address

getAddressType

public java.lang.String getAddressType()
Description copied from interface: UserRegistrationCmd
Gets the type of addresses.
Specified by:
getAddressType in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The type of addresses For example:
  • SB - shipto and billto (default)
  • R - residential
  • M - mailing
  • B - billto
  • S - shipto

getAuthenticateMode

public java.lang.String getAuthenticateMode()
Description copied from interface: UserRegistrationCmd
Gets the authenticate mode.
Specified by:
getAuthenticateMode in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The authenticate mode.
  • DB - use WCS Database to authenticate
  • LDAP - use LDAP server (such as IBM SecureWay) to authenticate

getBestCallingTime

public java.lang.String getBestCallingTime()
Description copied from interface: UserRegistrationCmd
Gets the indicator for the best time to call the individual.
Specified by:
getBestCallingTime in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The best time to call For example:
  • D - Daytime
  • E - Evening

getBillingCode

public java.lang.String getBillingCode()
Description copied from interface: UserRegistrationCmd
Gets the code to identify shipping/billing address for BPF.
Specified by:
getBillingCode in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The shipping billing code

getBillingCodeType

public java.lang.String getBillingCodeType()
Description copied from interface: UserRegistrationCmd
Gets the code designating the system/method of code structure used for BACODE (for BPF).
Specified by:
getBillingCodeType in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The shipping billing code type

getBusinessTitle

public java.lang.String getBusinessTitle()
Description copied from interface: UserRegistrationCmd
Gets the business title of the person to which this address applies, eg. Manager, Vice President.
Specified by:
getBusinessTitle in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The business title For example:
  • P - President
  • M - Manager

getCity

public java.lang.String getCity()
Description copied from interface: UserRegistrationCmd
Gets the city name.
Specified by:
getCity in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The city name

getCountry

public java.lang.String getCountry()
Description copied from interface: UserRegistrationCmd
Gets the country name.
Specified by:
getCountry in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The country name

getCreatedTimestamp

public java.sql.Timestamp getCreatedTimestamp()
Description copied from interface: UserRegistrationCmd
Gets the date and time when the address was created.
Specified by:
getCreatedTimestamp in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The date and time when the address was created

getEmail1

public java.lang.String getEmail1()
Description copied from interface: UserRegistrationCmd
Gets the e-mail or URL address 1 of the individual.
Specified by:
getEmail1 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The e-mail or URL address 1 of the individual

getEmail2

public java.lang.String getEmail2()
Description copied from interface: UserRegistrationCmd
Gets the e-mail or URL address 2 of the individual.
Specified by:
getEmail2 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The e-mail or URL address 2 of the individual

getEncipheredMerchantKey

protected java.lang.String getEncipheredMerchantKey()

getFax1

public java.lang.String getFax1()
Description copied from interface: UserRegistrationCmd
Gets the facsimile number 1 of the individual.
Specified by:
getFax1 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The facsimile number 1

getFax2

public java.lang.String getFax2()
Description copied from interface: UserRegistrationCmd
Gets the facsimile number 2 of the individual.
Specified by:
getFax2 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The facsimile number 2

getFirstName

public java.lang.String getFirstName()
Description copied from interface: UserRegistrationCmd
Gets the first name of the individual.
Specified by:
getFirstName in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The first name

getLastName

public java.lang.String getLastName()
Description copied from interface: UserRegistrationCmd
Gets the last name of the individual.
Specified by:
getLastName in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The last name

getMerchantKey

protected java.lang.String getMerchantKey()

getMiddleName

public java.lang.String getMiddleName()
Description copied from interface: UserRegistrationCmd
Gets the middle name of the individual.
Specified by:
getMiddleName in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The middle name

getOfficeAddress

public java.lang.String getOfficeAddress()
Description copied from interface: UserRegistrationCmd
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.
Specified by:
getOfficeAddress in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The office address.

getOrganizationName

public java.lang.String getOrganizationName()
Description copied from interface: UserRegistrationCmd
Gets the name of the organization to which this address informatoin applies if this is a business address.
Specified by:
getOrganizationName in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The name of the organization

getOrganizationUnitName

public java.lang.String getOrganizationUnitName()
Description copied from interface: UserRegistrationCmd
Gets the name of the organizational unit to which this contact info applies if this is a business contact.
Specified by:
getOrganizationUnitName in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The the name of the organizational unit.

getPackageSuppression

public java.lang.Integer getPackageSuppression()
Description copied from interface: UserRegistrationCmd
Gets the Package inserts suppression flag.
Specified by:
getPackageSuppression in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The package suppression flag
  • 1 - include
  • 0 - do not include

getPersonTitle

public java.lang.String getPersonTitle()
Description copied from interface: UserRegistrationCmd
Gets the title of the person to which this address applies.
Specified by:
getPersonTitle in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The person title For example:
  • N - Not provided (default)
  • Mr - Mr.
  • Mrs - Mrs.
  • Ms - Ms.
  • Dr - Dr.
  • Prof- Prof.

getPhone1

public java.lang.String getPhone1()
Description copied from interface: UserRegistrationCmd
Gets the phone number 1.
Specified by:
getPhone1 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
the phone number 1

getPhone1Type

public java.lang.String getPhone1Type()
Description copied from interface: UserRegistrationCmd
Gets the type of the phone 1.
Specified by:
getPhone1Type in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The type of phone1 For Example:
  • PHN - standard phone
  • TTY - teletypewriter for people who have a hearing impairment

getPhone2

public java.lang.String getPhone2()
Description copied from interface: UserRegistrationCmd
Gets the phone number 2.
Specified by:
getPhone2 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
the phone number 2

getPhone2Type

public java.lang.String getPhone2Type()
Description copied from interface: UserRegistrationCmd
Gets the type of the phone 2.
Specified by:
getPhone2Type in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The type of phone2 For Example:
  • PHN - standard phone
  • TTY - teletypewriter for people who have a hearing impairment

getPrimary

public java.lang.Integer getPrimary()
Description copied from interface: UserRegistrationCmd
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.
Specified by:
getPrimary in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
A integer indicating whether the address is a primary address
  • 1 - primary (or default) address
  • 0 - not primary address

getProfileType

public java.lang.String getProfileType()
Description copied from interface: UserRegistrationCmd
Gets the profile type of the user.
Specified by:
getProfileType in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The profile type of the user
  • C - Non-business user
  • B - Business user

getPublishPhone1

public java.lang.Integer getPublishPhone1()
Description copied from interface: UserRegistrationCmd
Gets a integer indicating whether or not publish phone 1 number.
Specified by:
getPublishPhone1 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
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

getPublishPhone2

public java.lang.Integer getPublishPhone2()
Description copied from interface: UserRegistrationCmd
Gets a integer indicating whether or not publish phone 2 number.
Specified by:
getPublishPhone2 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
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

getRequestProperties

public TypedProperty getRequestProperties()
Description copied from interface: ControllerCommand
Gets the request properties set by the setRequestProperties() method.
Specified by:
getRequestProperties in interface ControllerCommand
Overrides:
getRequestProperties in class ControllerCommandImpl
Following copied from interface: com.ibm.commerce.command.ControllerCommand
Returns:
com.ibm.commerce.datatype.TypeProperty

getResources

public AccessVector getResources()
                          throws ECException
Description copied from interface: ECCommand
Gets the access vector accessed by this command. The default implementation returns null indicating that no protectable resource is accessed by this command. It is the responsibilities of the command writer to return the protectable primary resource(s) and the corresponding actions accessed by this command.

Specified by:
getResources in interface ECCommand
Overrides:
getResources in class AbstractECTargetableCommand
Following copied from interface: com.ibm.commerce.command.ECCommand
Returns:
AccessVector - a vector of resource action pairs

getState

public java.lang.String getState()
Description copied from interface: UserRegistrationCmd
Gets the name of the state, province, or equivalent where the individual resides.
Specified by:
getState in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The name of the state

getStatus

public java.lang.String getStatus()
Description copied from interface: UserRegistrationCmd
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.
Specified by:
getStatus in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The status of the address
  • P - permanent address
  • T - temporary address

getURL

public java.lang.String getURL()

getViewInputProperties

public TypedProperty getViewInputProperties()
Description copied from interface: ControllerCommand
Retrieves the request properties set by the setRequestProperties() method that will be passed onto the view command. Command writer can overwrite this method to return all, part or non of the request properties to be passed to the view command
Specified by:
getViewInputProperties in interface ControllerCommand
Overrides:
getViewInputProperties in class ControllerCommandImpl
Following copied from interface: com.ibm.commerce.command.ControllerCommand
Returns:
com.ibm.commerce.datatype.TypeProperty

getWorkingUserId

public java.lang.String getWorkingUserId()
Description copied from interface: UserRegistrationCmd
Gets the current userId the command is working on. For UserRegistrationAdd/Upate, the working userId is the current userId in command context. For UserRegistrationAdminAdd/Update, the working userId is created/specified.
Specified by:
getWorkingUserId in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The current userId the command is working on

getZipCode

public java.lang.String getZipCode()
Description copied from interface: UserRegistrationCmd
Gets the zip code or equivalent postal code of the individual's adddres.
Specified by:
getZipCode in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Returns:
The zip code

isAlphaNumeric

protected boolean isAlphaNumeric(java.lang.String param)

isLogonIdExist

public boolean isLogonIdExist(java.lang.String astrLogonId)
This method check if the logon id already exists in the database or ldap server
Parameters:
astrLogonId - The logon id to check
Returns:
boolean
  • true - the logon id is found in the database or ldap server
  • false - the logon id does not exist in the database and ldap srever

isLogonIdExist

public boolean isLogonIdExist(java.lang.String astrLogonId,
                              java.lang.String astrAuthenticateMode)
This method check if the logon id already exists in the database or ldap server
Parameters:
astrLogonId - The logon id to check
Returns:
boolean
  • true - the logon id is found in the database or ldap server
  • false - the logon id does not exist in the database and ldap srever

isLogonIdUnique

public boolean isLogonIdUnique(java.lang.String astrLogonId)
                        throws ECException

isReadyToCallExecute

public boolean isReadyToCallExecute()
Description copied from class: AbstractECTargetableCommand
isReadyToCallExecute method is called by the Targettable Command frame work before the execution of the command. The default implementation is to return true.

Overrides:
isReadyToCallExecute in class AbstractECTargetableCommand
Following copied from class: com.ibm.commerce.command.AbstractECTargetableCommand
Returns:
boolean - true if we can execute the command false if we canot execute the command

performExecute

public void performExecute()
                    throws ECException
Description copied from interface: ECCommand
Contains the actual business logic of the command It should be implemented by all the command writer.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
com.ibm.commerce.command.CommandException - The superclass for all ECExceptions.

reset

public void reset()
Description copied from interface: UserRegistrationCmd
Reset all instance variables of the command to initial state so it can be used again.
Specified by:
reset in interface UserRegistrationCmd
Overrides:
reset in class AbstractECTargetableCommand

setAddress1

public void setAddress1(java.lang.String astrAddress1)
Description copied from interface: UserRegistrationCmd
Sets the first line of the address.
Specified by:
setAddress1 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrAddress1 - The first line of the address

setAddress2

public void setAddress2(java.lang.String astrAddress2)
Description copied from interface: UserRegistrationCmd
Sets the second line of the address.
Specified by:
setAddress2 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrAddress2 - The second line of the address

setAddress3

public void setAddress3(java.lang.String astrAddress3)
Description copied from interface: UserRegistrationCmd
Sets the third line of the address.
Specified by:
setAddress3 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrAddress3 - The third line of the address

setAddressField1

public void setAddressField1(java.lang.String astrAddressField1)
Description copied from interface: UserRegistrationCmd
Sets the customizable address field 1.
Specified by:
setAddressField1 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrField1 - The customizable address field 1

setAddressField2

public void setAddressField2(java.lang.String astrAddressField2)
Description copied from interface: UserRegistrationCmd
Sets the customizable address field 2.
Specified by:
setAddressField2 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrField1 - The customizable address field 2

setAddressField3

public void setAddressField3(java.lang.String astrAddressField3)
Description copied from interface: UserRegistrationCmd
Sets the customizable address field 3.
Specified by:
setAddressField3 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrField1 - The customizable address field 3

setAddressType

public void setAddressType(java.lang.String astrAddressType)
Description copied from interface: UserRegistrationCmd
Sets the type of addresses.
Specified by:
setAddressType in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
The - type of addresses For example:
  • R - residential
  • M - mailing
  • B - billto
  • S - shipto

setAge

public void setAge(java.lang.Integer anAge)
Description copied from interface: UserRegistrationCmd
Sets The age of the user.
Specified by:
setAge in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
anAge - The age of the memeber For example:
  • 0 - Not provided (default),
  • 1 - 0-9 years,
  • 2 - 10-19 years,
  • 3 - 20-29 years,
  • 4 - 30-39 years,
  • 5 - 40-49 years,
  • 6 - 50-59 years,
  • 7 - 60 years or older

setAge

public void setAge(java.lang.String astrAge)
Description copied from interface: UserRegistrationCmd
Sets The age of the user.
Specified by:
setAge in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrAge - The age of the memeber For example:
  • 0 - Not provided (default),
  • 1 - 0-9 years,
  • 2 - 10-19 years,
  • 3 - 20-29 years,
  • 4 - 30-39 years,
  • 5 - 40-49 years,
  • 6 - 50-59 years,
  • 7 - 60 years or older

setAlternateId

public void setAlternateId(java.lang.String astrAlternateId)
Description copied from interface: UserRegistrationCmd
Sets the special ID assigned by this business user's O or OU to this business user (eg. the SBREQID in SHBTB table in BPF)
Specified by:
setAlternateId in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrAlternateId - The special ID assigned by this business user's O or OU to this business user

setAuthenticateMode

public void setAuthenticateMode(java.lang.String astrAuthenticateMode)
Description copied from interface: UserRegistrationCmd
Sets the authenticate mode.
Specified by:
setAuthenticateMode in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrAuthenticateMode - The authenticate mode.
  • DB - use WCS Database to authenticate
  • LDAP - use LDAP server (such as IBM SecureWay) to authenticate

setBestCallingTime

public void setBestCallingTime(java.lang.String astrBestCallingTime)
Description copied from interface: UserRegistrationCmd
Sets the indicator for the best time to call the individual.
Specified by:
setBestCallingTime in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrBestCallingTime - The best calling time For example:
  • D - Daytime
  • E - Evening

setBillingCode

public void setBillingCode(java.lang.String astrBillingCode)
Description copied from interface: UserRegistrationCmd
Sets the code to identify shipping/billing address for BPF.
Specified by:
setBillingCode in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrBillingCode - The shipping billing code

setBillingCodeType

public void setBillingCodeType(java.lang.String astrBillingCodeType)
Description copied from interface: UserRegistrationCmd
Sets the code designating the system/method of code structure used for BACODE (for BPF).
Specified by:
setBillingCodeType in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrBillingCodeType - The shipping billing code type

setBillingCodeTypeType

public void setBillingCodeTypeType(java.lang.String astrBillingCodeType)

setBusinessTitle

public void setBusinessTitle(java.lang.String astrBusinessTitle)
Description copied from interface: UserRegistrationCmd
Sets the business title of the person to which this address applies, eg. Manager, Vice President.
Specified by:
setBusinessTitle in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrBusinessTitle - The business title For example:
  • P - President
  • M - Manager

setChallengeAnswer

public void setChallengeAnswer(java.lang.String astrChallengeAnswer)
Description copied from interface: UserRegistrationCmd
Sets the answer to the challenge question.
Specified by:
setChallengeAnswer in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrAnswer - The answer to the challenge question

setChallengeQuestion

public void setChallengeQuestion(java.lang.String astrChallengeQuestion)
Description copied from interface: UserRegistrationCmd
Sets the challenge question for the user.
Specified by:
setChallengeQuestion in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrQuestion - The challenge question

setChildren

public void setChildren(java.lang.Integer anChildren)
Description copied from interface: UserRegistrationCmd
Sets number of children.
Specified by:
setChildren in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
anchildren - The number of children

setChildren

public void setChildren(java.lang.String astrChildren)
Description copied from interface: UserRegistrationCmd
Sets number of children.
Specified by:
setChildren in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
anchildren - The number of children

setCity

public void setCity(java.lang.String astrCity)
Description copied from interface: UserRegistrationCmd
Sets the city name.
Specified by:
setCity in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrCity - The city name

setCompanyName

public void setCompanyName(java.lang.String astrCompanyName)
Description copied from interface: UserRegistrationCmd
Sets the name of the company for which the user works
Specified by:
setCompanyName in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrCompanyName - The name of the company

setCountry

public void setCountry(java.lang.String astrCountry)
Description copied from interface: UserRegistrationCmd
Sets the country name.
Specified by:
setCountry in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrCountry - The country name

setCreatedTimestamp

public void setCreatedTimestamp(java.sql.Timestamp atmCreatedTimestamp)
Description copied from interface: UserRegistrationCmd
Sets the date and time when the address was created.
Specified by:
setCreatedTimestamp in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
atmCreatedTimestamp - The date and time when the address was created

setDemographicsField1

public void setDemographicsField1(java.lang.String astrDemographicsField1)
Description copied from interface: UserRegistrationCmd
Sets the demographic field1 reserved for customization.
Specified by:
setDemographicsField1 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrDemographicsField1 - The demographic field1 reserved for customization

setDemographicsField2

public void setDemographicsField2(java.lang.String astrDemographicsField2)
Description copied from interface: UserRegistrationCmd
Sets the demographic field2 reserved for customization.
Specified by:
setDemographicsField2 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrDemographicsField2 - The demographic field2 reserved for customization

setDemographicsField3

public void setDemographicsField3(java.lang.String astrDemographicsField3)
Description copied from interface: UserRegistrationCmd
Sets the demographic field3 reserved for customization.
Specified by:
setDemographicsField3 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrDemographicsField3 - The demographic field3 reserved for customization

setDemographicsField4

public void setDemographicsField4(java.lang.String astrDemographicsField4)
Description copied from interface: UserRegistrationCmd
Sets the demographic field4 reserved for customization.
Specified by:
setDemographicsField4 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrDemographicsField4 - The demographic field4 reserved for customization

setDemographicsField5

public void setDemographicsField5(java.lang.String astrDemographicsField5)
Description copied from interface: UserRegistrationCmd
Sets the demographic field5 reserved for customization.
Specified by:
setDemographicsField5 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrDemographicsField5 - Thedemographic field5 reserved for customization

setDemographicsField6

public void setDemographicsField6(java.lang.Integer anDemographicsField6)
Description copied from interface: UserRegistrationCmd
Sets the demographic field6 reserved for customization.
Specified by:
setDemographicsField6 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
anDemographicsField6 - The demographic field6 reserved for customization

setDemographicsField6

public void setDemographicsField6(java.lang.String astrDemographicsField6)
Description copied from interface: UserRegistrationCmd
Sets the demographic field6 reserved for customization.
Specified by:
setDemographicsField6 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrDemographicsField6 - The demographic field6 reserved for customization

setDemographicsField7

public void setDemographicsField7(java.lang.String astrDemographicsField7)
Description copied from interface: UserRegistrationCmd
Sets the demographic field7 reserved for customization.
Specified by:
setDemographicsField7 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrDemographicsField7 - The demographic field7 reserved for customization

setDepartmentNumber

public void setDepartmentNumber(java.lang.String astrDepartmentNumber)
Description copied from interface: UserRegistrationCmd
Sets the department number where the member works (BUSPROF table).
Specified by:
setDepartmentNumber in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrDepartmentNumber - The department number where the member works

setDescription

public void setDescription(java.lang.String astrDescription)
Description copied from interface: UserRegistrationCmd
Sets the Description (USERPROF table). LDAP has a description attribute for various person type of objects, and o/ou, and groupOfNames
Specified by:
setDescription in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrDescription - The Description

setDisplayName

public void setDisplayName(java.lang.String astrDisplayName)
Description copied from interface: UserRegistrationCmd
Sets 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.
Specified by:
setDisplayName in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrDisplayName - The display name of the entry

setDistinguishedName

public void setDistinguishedName(java.lang.String astrDistinguishedName)
Description copied from interface: UserRegistrationCmd
Sets the distinguished name of the entry (USERS table). Used for coordination with LDAP.
Specified by:
setDistinguishedName in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrRegistrationType - The distinguished name of the entry

setEmail1

public void setEmail1(java.lang.String astrEmail1)
Description copied from interface: UserRegistrationCmd
Sets the email or URL address 1 of the individual.
Specified by:
setEmail1 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrEmail1 - The email or URL address 1

setEmail2

public void setEmail2(java.lang.String astrEmail2)
Description copied from interface: UserRegistrationCmd
Sets the email or URL address 2 of the individual.
Specified by:
setEmail2 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrEmail2 - The email or URL address 2

setEmployeeId

public void setEmployeeId(java.lang.String astrEmployeeId)
Description copied from interface: UserRegistrationCmd
Sets the employee identification (BUSPROF table).
Specified by:
setEmployeeId in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrEmployeeId - The employee identification

setEmployeeType

public void setEmployeeType(java.lang.String astrEmployeeType)
Description copied from interface: UserRegistrationCmd
Sets the employee type. Such as regular, partime, special partime.
Specified by:
setEmployeeType in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrEmployeeType - The employee type

setEncipheredMerchantKey

public void setEncipheredMerchantKey(java.lang.String strEncipheredMerchantKey)
Description copied from interface: UserRegistrationCmd
Sets the Enciphered Merchant Key to be used in the encryption of the password. This command task will implicitly decrypt the enciphered Merchant Key.
Specified by:
setEncipheredMerchantKey in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
strEncipheredMerchantKey - The Enciphered Merchant Key.

setFax1

public void setFax1(java.lang.String astrFax1)
Description copied from interface: UserRegistrationCmd
Sets the facsimile number 1.
Specified by:
setFax1 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrFax1 - The facsimile number 1

setFax2

public void setFax2(java.lang.String astrFax2)
Description copied from interface: UserRegistrationCmd
Sets the facsimile number 2.
Specified by:
setFax2 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrFax1 - The facsimile number 2

setFirstName

public void setFirstName(java.lang.String astrFirstName)
Description copied from interface: UserRegistrationCmd
Sets the first name of the individual.
Specified by:
setFirstName in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrFirstName - The first name

setGender

public void setGender(java.lang.String astrGender)
Description copied from interface: UserRegistrationCmd
Sets the gender associated with this user.
Specified by:
setGender in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrGender - The gender associated with this user For example:
  • N - Not provided (default)
  • F - Female
  • M - Male

setHobbies

public void setHobbies(java.lang.String astrHobbies)
Description copied from interface: UserRegistrationCmd
Sets the main interests and hobbies of this person.
Specified by:
setHobbies in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrInterests - The main intests and hobbies of this person

setHousehold

public void setHousehold(java.lang.Integer anHousehold)
Description copied from interface: UserRegistrationCmd
Sets the number of people within the household of this user.
Specified by:
setHousehold in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
anHouseHold - The number of people within the household

setHousehold

public void setHousehold(java.lang.String astrHousehold)
Description copied from interface: UserRegistrationCmd
Sets the number of people within the household of this person.
Specified by:
setHousehold in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
anHouseHold - The number of people within the household.

setIncome

public void setIncome(java.lang.Integer anIncome)
Description copied from interface: UserRegistrationCmd
Sets the annual income category for this person.
Specified by:
setIncome in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
anIncome - The annual income category for this person For example:
  • 0 - Not provided (default)
  • 1 - $0 - $19,999
  • 2 - $20,000 - $39,999
  • 3 - $40,000 - $59,999
  • 4 - $60,000 or more

setIncome

public void setIncome(java.lang.String astrIncome)
Description copied from interface: UserRegistrationCmd
Sets the annual income category for this person.
Specified by:
setIncome in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrIncome - The annual income category for this person. For example:
  • 0 - Not provided (default)
  • 1 - $0 - $19,999
  • 2 - $20,000 - $39,999
  • 3 - $40,000 - $59,999
  • 4 - $60,000 or more

setIncomeCurrency

public void setIncomeCurrency(java.lang.String astrIncomeCurrency)
Description copied from interface: UserRegistrationCmd
Sets the currency of income (USERDEMO table).
Specified by:
setIncomeCurrency in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrIncomeCurrency - The currency of income

setLastName

public void setLastName(java.lang.String astrLastName)
Description copied from interface: UserRegistrationCmd
Sets the last name of the individual.
Specified by:
setLastName in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrLastName - The last name

setLogonId

public void setLogonId(java.lang.String astrLogonId)
Description copied from interface: UserRegistrationCmd
Sets the user's unique login Id. The Id can only contain alphanumeric characters or the symbols '@' and '.'.
Specified by:
setLogonId in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrLogonId - The user's login Id

setLogonPassword

public void setLogonPassword(java.lang.String astrLogonPassword)
Description copied from interface: UserRegistrationCmd
Sets the user's logon password.
Specified by:
setLogonPassword in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrLogonPassword - The logon password

setLogonPasswordVerify

public void setLogonPasswordVerify(java.lang.String astrLogonPasswordVerify)
Description copied from interface: UserRegistrationCmd
Sets the user's verify logon password.
Specified by:
setLogonPasswordVerify in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrLogonPasswordVerify - The user's verify logon password

setLogonPasswordVerifyVerify

public void setLogonPasswordVerifyVerify(java.lang.String astrLogonPasswordVerify)

setManager

public void setManager(java.lang.String astrManager)
Description copied from interface: UserRegistrationCmd
Sets business user's manager's name.
Specified by:
setManager in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrManager - The name of manager

setMaritalStatus

public void setMaritalStatus(java.lang.String astrMaritalStatus)
Description copied from interface: UserRegistrationCmd
Sets the Marital Status associated with this user.
Specified by:
setMaritalStatus in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrMaritalStatus - The marital status value For example:
  • S - Single
  • M - Married
  • C - Common Law
  • P - Separated
  • D - Divorced
  • W - Widowed
  • O - Other
  • N - Not Provided

setMerchantKey

public void setMerchantKey(java.lang.String strMerchantKey)
Description copied from interface: UserRegistrationCmd
Sets the Merchant Key to be used in the encryption of the password.
Specified by:
setMerchantKey in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
strMerchantKey - The Merchant Key.

setMiddleName

public void setMiddleName(java.lang.String astrMiddleName)
Description copied from interface: UserRegistrationCmd
Sets the middle name of the individual.
Specified by:
setMiddleName in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrMiddleName - The middle name

setNickName

public void setNickName(java.lang.String astrNickName)

setOfficeAddress

public void setOfficeAddress(java.lang.String astrOfficeAddress)
Description copied from interface: UserRegistrationCmd
Sets the office address.
Specified by:
setOfficeAddress in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrOfficeAddress - The office address

setOrderBefore

public void setOrderBefore(java.lang.String astrOrderBefore)
Description copied from interface: UserRegistrationCmd
Sets the indicator of whether or not the user has previously placed an order. Supplied by the user.
Specified by:
setOrderBefore in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrOrderBefore - The indicator of whether or not the user has previously placed an order

setOrganizationId

public void setOrganizationId(java.lang.Long anOrganizationId)
Description copied from interface: UserRegistrationCmd
Sets the identifies the Organization to which this business profile is associated with (BUSPROF table). Foreign key to the ORGENTITY table.
Specified by:
setOrganizationId in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
anOrganizationId - The identifies the Organization to which this business profile is associated with

setOrganizationId

public void setOrganizationId(java.lang.String astrOrganizationId)
Description copied from interface: UserRegistrationCmd
Sets the identifies the Organization to which this business profile is associated with (BUSPROF table). Foreign key to the ORGENTITY table.
Specified by:
setOrganizationId in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrOrganizationId - The identifies the Organization to which this business profile is associated with

setOrganizationName

public void setOrganizationName(java.lang.String astrOrganizationName)
Description copied from interface: UserRegistrationCmd
Sets the name of the organization to which this address informatoin applies if this is a business address.
Specified by:
setOrganizationName in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrOrganizationName - The name of the organization

setOrganizationUnitId

public void setOrganizationUnitId(java.lang.Long anOrganizationUnitId)
Description copied from interface: UserRegistrationCmd
Sets the identifies the Organization Unit to which this business profile is associated with (BUSPROF table). Foreign key to the ORGENTITY table.
Specified by:
setOrganizationUnitId in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
anOrganizationUnitId - The identifies the Organization Unit to which this business profile is associated with

setOrganizationUnitId

public void setOrganizationUnitId(java.lang.String astrOrganizationUnitId)
Description copied from interface: UserRegistrationCmd
Sets the identifies the Organization Unit to which this business profile is associated with (BUSPROF table). Foreign key to the ORGENTITY table.
Specified by:
setOrganizationUnitId in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrOrganizationUnitId - The identifies the Organization Unit to which this business profile is associated with

setOrganizationUnitName

public void setOrganizationUnitName(java.lang.String astrOrganizationUnitName)
Description copied from interface: UserRegistrationCmd
Sets the name of the organization unit to which this address informatoin applies if this is a business address.
Specified by:
setOrganizationUnitName in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrOrganizationUnitName - The name of the organization unit

setPackageSuppression

public void setPackageSuppression(java.lang.Integer anPackageSuppression)
Description copied from interface: UserRegistrationCmd
Sets the Package inserts suppression flag.
Specified by:
setPackageSuppression in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
anPackageSuppression - The package suppression flag
  • 1 - include
  • 0 - do not include

setPackageSuppression

public void setPackageSuppression(java.lang.String astrPackageSuppression)
Description copied from interface: UserRegistrationCmd
Sets the Package inserts suppression flag.
Specified by:
setPackageSuppression in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrPackageSuppression - The package suppression flag
  • 1 - include
  • 0 - do not include

setPasswordExpired

public void setPasswordExpired(java.lang.Integer anPasswordExpired)
Description copied from interface: UserRegistrationCmd
Sets the indicator Whether user password has expired
Specified by:
setPasswordExpired in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
newIstrPasswordExpired - The indicator Whether user password has expired
  • 0 - not expired
  • 1 - expired

setPasswordExpired

public void setPasswordExpired(java.lang.String astrPasswordExpired)
Description copied from interface: UserRegistrationCmd
Sets the indicator Whether user password has expired
Specified by:
setPasswordExpired in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
newIstrPasswordExpired - The indicator Whether user password has expired
  • 0 - not expired
  • 1 - expired

setPersonTitle

public void setPersonTitle(java.lang.String astrPersonTitle)
Description copied from interface: UserRegistrationCmd
Sets the title of the person to which this address applies
Specified by:
setPersonTitle in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrPersonTitle - The person title
  • N - Not provided (default)
  • Mr.
  • Mrs.
  • Ms.
  • Dr.
  • Prof.
  • Rev.

setPhone1

public void setPhone1(java.lang.String astrPhone1)
Description copied from interface: UserRegistrationCmd
Sets the phone number 1.
Specified by:
setPhone1 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrPhone1 - The phone number 1

setPhone1Type

public void setPhone1Type(java.lang.String astrPhone1Type)
Description copied from interface: UserRegistrationCmd
Sets the type of the phone 1
Specified by:
setPhone1Type in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrPhone1Type - The type of phone1
  • PHN - standard phone
  • TTY - teletypewriter for people who have a hearing impairment

setPhone2

public void setPhone2(java.lang.String astrPhone2)
Description copied from interface: UserRegistrationCmd
Sets the phone number 2.
Specified by:
setPhone2 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrPhone2 - The phone number 2

setPhone2Type

public void setPhone2Type(java.lang.String astrPhone2Type)
Description copied from interface: UserRegistrationCmd
Sets the type of the phone 2
Specified by:
setPhone2Type in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrPhone2Type - The type of phone 2
  • PHN - standard phone
  • TTY - teletypewriter for people who have a hearing impairment

setPhoto

public void setPhoto(java.lang.String astrPhoto)
Description copied from interface: UserRegistrationCmd
Sets the URL or path to the photo of the user.
Specified by:
setPhoto in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrPhoto - The URL or path to the photo of the user

setPreferredCommunication

public void setPreferredCommunication(java.lang.String astrPreferredCommunication)
Description copied from interface: UserRegistrationCmd
Sets the preferred method of communication.
Specified by:
setPreferredCommunication in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrPreferredCommunication - The preferred method of communication

setPreferredCurrency

public void setPreferredCurrency(java.lang.String astrPreferredCurrency)
Description copied from interface: UserRegistrationCmd
Sets the preferred currency in 3-character alphabetic code as per ISO 4217. Foreign key to SETCURR table.
Specified by:
setPreferredCurrency in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrPreferredCurrency - The preferred currency

setPreferredDelivery

public void setPreferredDelivery(java.lang.String astrPreferredDelivery)
Description copied from interface: UserRegistrationCmd
Sets the preferred delivery method (USERPROF table).
Specified by:
setPreferredDelivery in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrPreferredDelivery - The preferred delivery method.

setPreferredLanguage

public void setPreferredLanguage(java.lang.Integer anPreferredLanguage)
Description copied from interface: UserRegistrationCmd
Sets the preferred language. Foreign key relationship to LANGUAGE table.
Specified by:
setPreferredLanguage in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
anPreferredLanguage - The preferred language

setPreferredLanguage

public void setPreferredLanguage(java.lang.String astrPreferredLanguage)
Description copied from interface: UserRegistrationCmd
Sets the preferred language. Foreign key relationship to LANGUAGE table.
Specified by:
setPreferredLanguage in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrPreferredLanguage - The preferred language

setPreferredMeasure

public void setPreferredMeasure(java.lang.String astrPreferredMeasure)
Description copied from interface: UserRegistrationCmd
Sets the preferred measurement system.
Specified by:
setPreferredMeasure in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrPreferredMeasure - The preferred measurement system

setPrimary

public void setPrimary(java.lang.Integer anPrimary)
Description copied from interface: UserRegistrationCmd
Sets 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.
Specified by:
setPrimary in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
anPrimary - A integer indicating whether the address is a primary address
  • 1 - primary (or default) address
  • 0 - not primary address

setPrimary

public void setPrimary(java.lang.String astrPrimary)
Description copied from interface: UserRegistrationCmd
Sets 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.
Specified by:
setPrimary in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
anPrimary - A String indicating whether the address is a primary address
  • 1 - primary (or default) address
  • 0 - not primary address

setProfileType

public void setProfileType(java.lang.String astrProfileType)
Description copied from interface: UserRegistrationCmd
Sets the profile type of the user.
Specified by:
setProfileType in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrProfileType - The profile type of the user
  • C - Non-business user
  • B - Business user

setPublishPhone1

public void setPublishPhone1(java.lang.Integer anPublishPhone1)
Description copied from interface: UserRegistrationCmd
Sets a integer indicating whether or not publish phone 1 number.
Specified by:
setPublishPhone1 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
anPublishPhone1 - A integer indicating whether or not publish phone 1 number
  • 1 - publish the phone 1 number
  • 0 - not publish the the phone 1 number

setPublishPhone1

public void setPublishPhone1(java.lang.String astrPublishPhone1)
Description copied from interface: UserRegistrationCmd
Sets a string indicating whether or not publish phone 1 number.
Specified by:
setPublishPhone1 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrPublishPhone1 - A string indicating whether or not publish phone 1 number
  • 1 - publish the phone 1 number
  • 0 - not publish the the phone 1 number

setPublishPhone2

public void setPublishPhone2(java.lang.Integer anPublishPhone2)
Description copied from interface: UserRegistrationCmd
Sets a integer indicating whether or not publish phone 2 number.
Specified by:
setPublishPhone2 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
anPublishPhone2 - A integer indicating whether or not publish phone 2 number
  • 1 - publish the phone 2 number
  • 0 - not publish the the phone 2 number

setPublishPhone2

public void setPublishPhone2(java.lang.String astrPublishPhone2)
Description copied from interface: UserRegistrationCmd
Sets a string indicating whether or not publish phone 2 number.
Specified by:
setPublishPhone2 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrPublishPhone2 - A string indicating whether or not publish phone 2 number
  • 1 - publish the phone 2 number
  • 0 - not publish the the phone 2 number

setRequestProperties

public void setRequestProperties(TypedProperty reqProperties)
                          throws ECApplicationException
Description copied from interface: ControllerCommand
The WebController calls this method before invoking the execute method in this command to set the request properties for this command. It is the responsibility of the implementer of the ControllerCommand to extract the required input parameters from the request properties and perform parameter checking.
Specified by:
setRequestProperties in interface ControllerCommand
Overrides:
setRequestProperties in class ControllerCommandImpl
Following copied from interface: com.ibm.commerce.command.ControllerCommand
Parameters:
requestProperties - com.ibm.commerce.datatype.TypedProperty
Throws:
com.ibm.commerce.exception.ECException. -  

setSecretary

public void setSecretary(java.lang.String astrSecretary)
Description copied from interface: UserRegistrationCmd
Sets business user's secretary's name
Specified by:
setSecretary in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrSecretary - The name of the secretary

setShippingGeoCode

public void setShippingGeoCode(java.lang.String astrShippingGeoCode)
Description copied from interface: UserRegistrationCmd
Sets the shipping geographic code.
Specified by:
setShippingGeoCode in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrShippingGeoCode -  

setState

public void setState(java.lang.String astrState)
Description copied from interface: UserRegistrationCmd
Sets the name of the state, province, or equivalent where the individual resides.
Specified by:
setState in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrState - The name of the state

setStatus

public void setStatus(java.lang.String astrStatus)
Description copied from interface: UserRegistrationCmd
Sets the temporary or permanent address, 'Permanent' really means 'current' address, 'Temporary' really means 'historical' address.
Specified by:
setStatus in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrStatus - The status of the address
  • P - permanent address
  • T - temporary address

setTaxGeoCode

public void setTaxGeoCode(java.lang.String astrTaxGeoCode)
Description copied from interface: UserRegistrationCmd
Sets the Tax geographic code.
Specified by:
setTaxGeoCode in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrTaxGeoCode -  

setTaxPayerId

public void setTaxPayerId(java.lang.String astrTaxPayerId)
Description copied from interface: UserRegistrationCmd
Set the tax payer id.
Specified by:
setTaxPayerId in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrTaxPayerId - The tax payer id

setTimeZone

public void setTimeZone(java.lang.String astrTimeZone)
Description copied from interface: UserRegistrationCmd
Sets the time zone.
Specified by:
setTimeZone in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrTimeZone - The time zone

setURL

public void setURL(java.lang.String astrURL)
Description copied from interface: UserRegistrationCmd
Set the URL that is called when the command successfully completes.
Specified by:
setURL in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrURL - The URL

setUserField1

public void setUserField1(java.lang.String astrUserField1)
Description copied from interface: UserRegistrationCmd
Sets user field 1 reserved for customization (USERS table).
Specified by:
setUserField1 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrUserField1 - Customizable user field 1

setUserField2

public void setUserField2(java.lang.String astrUserField2)
Description copied from interface: UserRegistrationCmd
Sets user field 2 reserved for customization (USERS table).
Specified by:
setUserField2 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrUserField2 - Customizable user field 2

setUserField3

public void setUserField3(java.lang.String astrUserField3)
Description copied from interface: UserRegistrationCmd
Sets user field 3 reserved for customization (USERS table).
Specified by:
setUserField3 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrUserField3 - Customizable user field 3

setUserProfileField1

public void setUserProfileField1(java.lang.String astrUserProfileField1)
Description copied from interface: UserRegistrationCmd
Sets userprofile field 1 reserved for customization (USERPROF table).
Specified by:
setUserProfileField1 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrUserProfileField1 - Customerizable userprofile field 1

setUserProfileField2

public void setUserProfileField2(java.lang.String astrUserProfileField2)
Description copied from interface: UserRegistrationCmd
Sets userprofile field 2 reserved for customization (USERPROF table).
Specified by:
setUserProfileField2 in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrUserProfileField2 - Customerizable userprofile field 2

setUserStatus

public void setUserStatus(java.lang.Integer anUserStatus)
Description copied from interface: UserRegistrationCmd
Sets the user's status. This allows adminstrator to disable/enable a user's LogonId without removing the user from the system.
Specified by:
setUserStatus in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
anUserStatus - The user's status.
  • 1 - enabled
  • 0 - disabled

setUserStatus

public void setUserStatus(java.lang.String astrUserStatus)
Description copied from interface: UserRegistrationCmd
Sets the user's status. This allows adminstrator to disable/enable a user's LogonId without removing the user from the system.
Specified by:
setUserStatus in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrUserStatus - The user's status.
  • 1 - enabled
  • 0 - disabled

setWorkingUserId

public void setWorkingUserId(java.lang.String astrUserId)
Description copied from interface: UserRegistrationCmd
Sets the current userId the command is working on.
Specified by:
setWorkingUserId in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrUserId - The current userId the command is working on

setZipCode

public void setZipCode(java.lang.String astrZipCode)
Description copied from interface: UserRegistrationCmd
Sets the zip code or equivalent postal code of the individual's adddres.
Specified by:
setZipCode in interface UserRegistrationCmd
Following copied from interface: com.ibm.commerce.usermanagement.commands.UserRegistrationCmd
Parameters:
astrZipCode - The zip code

UpdateCredentials

protected void UpdateCredentials(java.lang.String astrLogonId,
                                 java.lang.String astrLogonPassword)
                          throws ECException

UpdatePreferredCurrency

protected void UpdatePreferredCurrency(java.lang.String astrPreferredCurrency)
                                throws ECException

UpdatePreferredLanguage

protected void UpdatePreferredLanguage(java.lang.String astrPreferredLanguage)
                                throws ECException

validateParameters

public void validateParameters()
                        throws ECException
Description copied from interface: ECCommand
Performs server side parameter checking. This method replaces the checkParameters() method in a previous version of the code.

Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECTargetableCommand
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
ECException. -