com.ibm.commerce.usermanagement.commands

Class UserRegistrationCmdImpl

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
      • CLASSNAME

        public static final java.lang.String CLASSNAME
        The name of this implementation of the command.
        See Also:
        Constant Field Values
    • Constructor Detail

      • UserRegistrationCmdImpl

        public UserRegistrationCmdImpl()
    • Method Detail

      • checkAddParameters

        public void checkAddParameters()
                                throws ECException
        Checks the parameters specified if the user is being added.
        Throws:
        ECException - If there are any missing or invalid parameters.
      • checkCommonParameters

        public void checkCommonParameters()
                                   throws ECException
        Checks the common parameter which are the same no matter whether the user is being updated or added.
        Throws:
        ECException - If there are any missing or invalid parameters.
      • checkSelfRegistrationParameters

        public void checkSelfRegistrationParameters()
                                             throws ECException
        Checks the parameters specified if the user is registering him/her self.
        Throws:
        ECException - If there are any invalid or missing parameters.
      • checkUpdateParameters

        public void checkUpdateParameters()
                                   throws ECException
        Check the parameters specified when the user is being updated.
        Throws:
        ECException - If there are invalid or missing parameters specified.
      • formulateDN

        public void formulateDN(TypedProperty aProperties)
                         throws ECException
        Create the Distinguish name of the member based on the information specified. The distinguish name is based on the parent member and the user's relative distinguish name.
        Parameters:
        aProperties - the parameter of the user.
        Throws:
        ECException - If the parent member does not exist or the distinguish name is already in use.
      • getAddress1

        public java.lang.String getAddress1()
        Returns the first line of the address.
        Specified by:
        getAddress1 in interface UserRegistrationCmd
        Returns:
        The first line of the address.
      • getAddress2

        public java.lang.String getAddress2()
        Returns the second line of the address.
        Specified by:
        getAddress2 in interface UserRegistrationCmd
        Returns:
        The second line of the address.
      • getAddress3

        public java.lang.String getAddress3()
        Returns the third line of the address.
        Specified by:
        getAddress3 in interface UserRegistrationCmd
        Returns:
        The third line of the address.
      • getAddressType

        public java.lang.String getAddressType()
        Returns the type of the address.
        Specified by:
        getAddressType in interface UserRegistrationCmd
        Returns:
        The type of the address.
      • getAuthenticateMode

        public java.lang.String getAuthenticateMode()
        The authentication mode.
        Specified by:
        getAuthenticateMode in interface UserRegistrationCmd
        Returns:
        The authentication mode.
      • getBestCallingTime

        public java.lang.String getBestCallingTime()
        Returns the best calling time.
        Specified by:
        getBestCallingTime in interface UserRegistrationCmd
        Returns:
        The best calling time.
      • getBillingCode

        public java.lang.String getBillingCode()
        Returns the billing code.
        Specified by:
        getBillingCode in interface UserRegistrationCmd
        Returns:
        The billing code.
      • getBillingCodeType

        public java.lang.String getBillingCodeType()
        Returns the billing code type.
        Specified by:
        getBillingCodeType in interface UserRegistrationCmd
        Returns:
        The billing code type.
      • getBusinessTitle

        public java.lang.String getBusinessTitle()
        Returns the business title.
        Specified by:
        getBusinessTitle in interface UserRegistrationCmd
        Returns:
        The business title.
      • getCity

        public java.lang.String getCity()
        Returns the city.
        Specified by:
        getCity in interface UserRegistrationCmd
        Returns:
        The name of the city.
      • getCountry

        public java.lang.String getCountry()
        Returns the country.
        Specified by:
        getCountry in interface UserRegistrationCmd
        Returns:
        The name of the country.
      • getCreatedTimestamp

        public java.sql.Timestamp getCreatedTimestamp()
        Deprecated. LASTCREATETIMESTAMP handling moved to the EJB.
        Returns when the user was created.
        Specified by:
        getCreatedTimestamp in interface UserRegistrationCmd
        Returns:
        The creation date of the user.
      • getEmail1

        public java.lang.String getEmail1()
        Returns the primary email address of the user.
        Specified by:
        getEmail1 in interface UserRegistrationCmd
        Returns:
        The primary email address.
      • getEmail2

        public java.lang.String getEmail2()
        Returns the secondary email address of the user.
        Specified by:
        getEmail2 in interface UserRegistrationCmd
        Returns:
        The secondary email address.
      • getFax1

        public java.lang.String getFax1()
        Returns the primary fax number.
        Specified by:
        getFax1 in interface UserRegistrationCmd
        Returns:
        The primary fax number.
      • getFax2

        public java.lang.String getFax2()
        Returns the secondary fax number.
        Specified by:
        getFax2 in interface UserRegistrationCmd
        Returns:
        The secondary fax number.
      • getMobilePhone1

        public java.lang.String getMobilePhone1()
        Returns the primary mobile phone.
        Specified by:
        getMobilePhone1 in interface UserRegistrationCmd
        Returns:
        The primary mobile phone.
      • getMobilePhone1Country

        public java.lang.String getMobilePhone1Country()
        Returns the primary mobile phone country.
        Specified by:
        getMobilePhone1Country in interface UserRegistrationCmd
        Returns:
        The primary mobile phone country.
      • getFirstName

        public java.lang.String getFirstName()
        Returns the first name.
        Specified by:
        getFirstName in interface UserRegistrationCmd
        Returns:
        The first name.
      • getLastName

        public java.lang.String getLastName()
        Returns the last name.
        Specified by:
        getLastName in interface UserRegistrationCmd
        Returns:
        The last name.
      • getMiddleName

        public java.lang.String getMiddleName()
        Returns the middle name.
        Specified by:
        getMiddleName in interface UserRegistrationCmd
        Returns:
        The middle name.
      • getOfficeAddress

        public java.lang.String getOfficeAddress()
        Returns the office address.
        Specified by:
        getOfficeAddress in interface UserRegistrationCmd
        Returns:
        The office address.
      • getOrganizationName

        public java.lang.String getOrganizationName()
        Returns the organization name.
        Specified by:
        getOrganizationName in interface UserRegistrationCmd
        Returns:
        The organization name.
      • getOrganizationUnitName

        public java.lang.String getOrganizationUnitName()
        Returns the organizational unit name.
        Specified by:
        getOrganizationUnitName in interface UserRegistrationCmd
        Returns:
        The organizational unit name.
      • getPackageSuppression

        public java.lang.Integer getPackageSuppression()
        Returns the package suppression field.
        Specified by:
        getPackageSuppression in interface UserRegistrationCmd
        Returns:
        The package suppression field.
      • getPersonTitle

        public java.lang.String getPersonTitle()
        Returns the person's title.
        Specified by:
        getPersonTitle in interface UserRegistrationCmd
        Returns:
        The person's title.
      • getPhone1

        public java.lang.String getPhone1()
        Returns the primary phone number.
        Specified by:
        getPhone1 in interface UserRegistrationCmd
        Returns:
        The primary phone number.
      • getPhone1Type

        public java.lang.String getPhone1Type()
        Returns the primary phone type.
        Specified by:
        getPhone1Type in interface UserRegistrationCmd
        Returns:
        The phone type.
      • getPhone2

        public java.lang.String getPhone2()
        Returns the secondary phone number.
        Specified by:
        getPhone2 in interface UserRegistrationCmd
        Returns:
        The secondary phone number.
      • getPhone2Type

        public java.lang.String getPhone2Type()
        Returns the secondary phone type.
        Specified by:
        getPhone2Type in interface UserRegistrationCmd
        Returns:
        The phone type.
      • getPrimary

        public java.lang.Integer getPrimary()
        Returns the primary address.
        Specified by:
        getPrimary in interface UserRegistrationCmd
        Returns:
        The identifier of the primary address.
      • getProfileType

        public java.lang.String getProfileType()
        Returns the profile type.
        Specified by:
        getProfileType in interface UserRegistrationCmd
        Returns:
        The profile type.
      • getPublishPhone1

        public java.lang.Integer getPublishPhone1()
        Returns whether the primary phone number can be published.
        Specified by:
        getPublishPhone1 in interface UserRegistrationCmd
        Returns:
        Whether the phone number can be published.
      • getPublishPhone2

        public java.lang.Integer getPublishPhone2()
        Returns whether the secondary phone number can be published.
        Specified by:
        getPublishPhone2 in interface UserRegistrationCmd
        Returns:
        Wether the phone number can be published.
      • getState

        public java.lang.String getState()
        Returns the current state of the user.
        Specified by:
        getState in interface UserRegistrationCmd
        Returns:
        The current state of the user.
      • getStatus

        public java.lang.String getStatus()
        Returns the status of the user.
        Specified by:
        getStatus in interface UserRegistrationCmd
        Returns:
        The status of the user.
      • getURL

        public java.lang.String getURL()
        Returns the URL to go to after the command executes.
        Returns:
        The URL to go to after execution.
      • getWorkingUserId

        public java.lang.String getWorkingUserId()
        Get the user identifier of the user being created or updated.
        Specified by:
        getWorkingUserId in interface UserRegistrationCmd
        Returns:
        An user identifier.
      • getZipCode

        public java.lang.String getZipCode()
        Returns the zip/postal code.
        Specified by:
        getZipCode in interface UserRegistrationCmd
        Returns:
        The zip/postal code.
      • 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 server
      • 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
        astrAuthenticateMode - Authentication Mode
        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 server
      • isLogonIdUnique

        public boolean isLogonIdUnique(java.lang.String astrLogonId)
                                throws ECException
        Determines whether the specified logon id is unique.
        Parameters:
        astrLogonId - the logon id to test.
        Returns:
        Whether the logon id is unique.
        Throws:
        ECException - If there was a problem checking the logon id.
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        Indicates whether the command is ready to be executed.
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Overrides:
        isReadyToCallExecute in class AbstractECTargetableCommand
        Returns:
        Is the command ready to execute.
      • reset

        public void reset()
        Resets the state of the command so it can be reused to add/update another user.
        Specified by:
        reset in interface UserRegistrationCmd
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • setAddress1

        public void setAddress1(java.lang.String astrAddress1)
        Sets the first line of the address.
        Specified by:
        setAddress1 in interface UserRegistrationCmd
        Parameters:
        astrAddress1 - the first line of the address.
      • setAddress2

        public void setAddress2(java.lang.String astrAddress2)
        Sets the second line of the address.
        Specified by:
        setAddress2 in interface UserRegistrationCmd
        Parameters:
        astrAddress2 - the second line of the address.
      • setAddress3

        public void setAddress3(java.lang.String astrAddress3)
        Sets the third line of the address.
        Specified by:
        setAddress3 in interface UserRegistrationCmd
        Parameters:
        astrAddress3 - the third line of the address.
      • setAddressField1

        public void setAddressField1(java.lang.String astrAddressField1)
        Sets the address field.
        Specified by:
        setAddressField1 in interface UserRegistrationCmd
        Parameters:
        astrAddressField1 - the address field.
      • setAddressField2

        public void setAddressField2(java.lang.String astrAddressField2)
        Sets address field 2.
        Specified by:
        setAddressField2 in interface UserRegistrationCmd
        Parameters:
        astrAddressField2 - address field 2.
      • setAddressField3

        public void setAddressField3(java.lang.String astrAddressField3)
        Sets address field 3.
        Specified by:
        setAddressField3 in interface UserRegistrationCmd
        Parameters:
        astrAddressField3 - address field 3.
      • setAddressType

        public void setAddressType(java.lang.String astrAddressType)
        Sets the address type.
        Specified by:
        setAddressType in interface UserRegistrationCmd
        Parameters:
        astrAddressType - the address type.
      • setAge

        public void setAge(java.lang.Integer anAge)
        Sets the age.
        Specified by:
        setAge in interface UserRegistrationCmd
        Parameters:
        anAge - the age.
      • setAge

        public void setAge(java.lang.String astrAge)
        Sets the age.
        Specified by:
        setAge in interface UserRegistrationCmd
        Parameters:
        astrAge - the age.
      • setAlternateId

        public void setAlternateId(java.lang.String astrAlternateId)
        Sets the alternate identifier of the user.
        Specified by:
        setAlternateId in interface UserRegistrationCmd
        Parameters:
        astrAlternateId - the alternate identifier.
      • setAuthenticateMode

        public void setAuthenticateMode(java.lang.String astrAuthenticateMode)
        Sets the authentication mode.
        Specified by:
        setAuthenticateMode in interface UserRegistrationCmd
        Parameters:
        astrAuthenticateMode - the authentication mode.
      • setBestCallingTime

        public void setBestCallingTime(java.lang.String astrBestCallingTime)
        Sets the best calling time.
        Specified by:
        setBestCallingTime in interface UserRegistrationCmd
        Parameters:
        astrBestCallingTime - the best calling time.
      • setBillingCode

        public void setBillingCode(java.lang.String astrBillingCode)
        Sets the billing code.
        Specified by:
        setBillingCode in interface UserRegistrationCmd
        Parameters:
        astrBillingCode - the billing code.
      • setBillingCodeType

        public void setBillingCodeType(java.lang.String astrBillingCodeType)
        Sets the billing code type.
        Specified by:
        setBillingCodeType in interface UserRegistrationCmd
        Parameters:
        astrBillingCodeType - the billing code type.
      • setBillingCodeTypeType

        public void setBillingCodeTypeType(java.lang.String astrBillingCodeType)
        Sets the billing code type.
        Parameters:
        astrBillingCodeType - the billing code type.
      • setBusinessTitle

        public void setBusinessTitle(java.lang.String astrBusinessTitle)
        Sets the business title.
        Specified by:
        setBusinessTitle in interface UserRegistrationCmd
        Parameters:
        astrBusinessTitle - the business title.
      • setChallengeAnswer

        public void setChallengeAnswer(java.lang.String astrChallengeAnswer)
        Sets the challenge answer.
        Specified by:
        setChallengeAnswer in interface UserRegistrationCmd
        Parameters:
        astrChallengeAnswer - the challenge answer.
      • setChallengeQuestion

        public void setChallengeQuestion(java.lang.String astrChallengeQuestion)
        Sets the challenge question.
        Specified by:
        setChallengeQuestion in interface UserRegistrationCmd
        Parameters:
        astrChallengeQuestion - the challenge question.
      • setChildren

        public void setChildren(java.lang.Integer anChildren)
        Sets the number of children.
        Specified by:
        setChildren in interface UserRegistrationCmd
        Parameters:
        anChildren - the number of children.
      • setChildren

        public void setChildren(java.lang.String astrChildren)
        Sets the number of children.
        Specified by:
        setChildren in interface UserRegistrationCmd
        Parameters:
        astrChildren - the number of children.
      • setCity

        public void setCity(java.lang.String astrCity)
        Sets the name of the city.
        Specified by:
        setCity in interface UserRegistrationCmd
        Parameters:
        astrCity - the name of the city.
      • setCompanyName

        public void setCompanyName(java.lang.String astrCompanyName)
        Sets the name of the company.
        Specified by:
        setCompanyName in interface UserRegistrationCmd
        Parameters:
        astrCompanyName - the company name.
      • setCountry

        public void setCountry(java.lang.String astrCountry)
        Sets the name of the country.
        Specified by:
        setCountry in interface UserRegistrationCmd
        Parameters:
        astrCountry - the name of the country.
      • setCreatedTimestamp

        public void setCreatedTimestamp(java.sql.Timestamp atmCreatedTimestamp)
        Deprecated. LASTCREATETIMESTAMP handling moved to the EJB.
        Sets when the user was created.
        Specified by:
        setCreatedTimestamp in interface UserRegistrationCmd
        Parameters:
        atmCreatedTimestamp - the date and time the user was created.
      • setDemographicsField1

        public void setDemographicsField1(java.lang.String astrDemographicsField1)
        Sets demographic field 1.
        Specified by:
        setDemographicsField1 in interface UserRegistrationCmd
        Parameters:
        astrDemographicsField1 - demographic field 1.
      • setDemographicsField2

        public void setDemographicsField2(java.lang.String astrDemographicsField2)
        Sets demographic field 2.
        Specified by:
        setDemographicsField2 in interface UserRegistrationCmd
        Parameters:
        astrDemographicsField2 - demographic field 2.
      • setDemographicsField3

        public void setDemographicsField3(java.lang.String astrDemographicsField3)
        Sets demographic field 3.
        Specified by:
        setDemographicsField3 in interface UserRegistrationCmd
        Parameters:
        astrDemographicsField3 - demographic field 3.
      • setDemographicsField4

        public void setDemographicsField4(java.lang.String astrDemographicsField4)
        Sets demographic field 4.
        Specified by:
        setDemographicsField4 in interface UserRegistrationCmd
        Parameters:
        astrDemographicsField4 - demographic field 4.
      • setDemographicsField5

        public void setDemographicsField5(java.lang.String astrDemographicsField5)
        Sets demographic field 5.
        Specified by:
        setDemographicsField5 in interface UserRegistrationCmd
        Parameters:
        astrDemographicsField5 - demographic field 5.
      • setDemographicsField6

        public void setDemographicsField6(java.lang.Integer anDemographicsField6)
        Sets demographic field 6.
        Specified by:
        setDemographicsField6 in interface UserRegistrationCmd
        Parameters:
        anDemographicsField6 - demographic field 6.
      • setDemographicsField6

        public void setDemographicsField6(java.lang.String astrDemographicsField6)
        Sets demographic field 6.
        Specified by:
        setDemographicsField6 in interface UserRegistrationCmd
        Parameters:
        astrDemographicsField6 - demographic field 6.
      • setDemographicsField7

        public void setDemographicsField7(java.lang.String astrDemographicsField7)
        Sets demographic field 7.
        Specified by:
        setDemographicsField7 in interface UserRegistrationCmd
        Parameters:
        astrDemographicsField7 - demographic field 7.
      • setDepartmentNumber

        public void setDepartmentNumber(java.lang.String astrDepartmentNumber)
        Sets the department number.
        Specified by:
        setDepartmentNumber in interface UserRegistrationCmd
        Parameters:
        astrDepartmentNumber - the department number.
      • setDescription

        public void setDescription(java.lang.String astrDescription)
        Sets the description.
        Specified by:
        setDescription in interface UserRegistrationCmd
        Parameters:
        astrDescription - the description.
      • setDisplayName

        public void setDisplayName(java.lang.String astrDisplayName)
        Sets the display name.
        Specified by:
        setDisplayName in interface UserRegistrationCmd
        Parameters:
        astrDisplayName - the display name.
      • setDistinguishedName

        public void setDistinguishedName(java.lang.String astrDistinguishedName)
        Sets the distinguished name.
        Specified by:
        setDistinguishedName in interface UserRegistrationCmd
        Parameters:
        astrDistinguishedName - the distinguished name.
      • setEmail1

        public void setEmail1(java.lang.String astrEmail1)
        Sets the primary email address.
        Specified by:
        setEmail1 in interface UserRegistrationCmd
        Parameters:
        astrEmail1 - an email address.
      • setEmail2

        public void setEmail2(java.lang.String astrEmail2)
        Sets the secondary email address.
        Specified by:
        setEmail2 in interface UserRegistrationCmd
        Parameters:
        astrEmail2 - an email address.
      • setEmployeeId

        public void setEmployeeId(java.lang.String astrEmployeeId)
        Sets the employee identifier.
        Specified by:
        setEmployeeId in interface UserRegistrationCmd
        Parameters:
        astrEmployeeId - the employee identifier.
      • setEmployeeType

        public void setEmployeeType(java.lang.String astrEmployeeType)
        Sets the employee type.
        Specified by:
        setEmployeeType in interface UserRegistrationCmd
        Parameters:
        astrEmployeeType - the employee type.
      • setEncipheredMerchantKey

        public void setEncipheredMerchantKey(java.lang.String strEncipheredMerchantKey)
        Deprecated. in version 6.0. This is no longer used.
        Sets the enciphered merchant key.
        Specified by:
        setEncipheredMerchantKey in interface UserRegistrationCmd
        Parameters:
        strEncipheredMerchantKey - the enciphered merchant key.
      • setFax1

        public void setFax1(java.lang.String astrFax1)
        Sets the primary fax number.
        Specified by:
        setFax1 in interface UserRegistrationCmd
        Parameters:
        astrFax1 - a fax number.
      • setFax2

        public void setFax2(java.lang.String astrFax2)
        Sets the secondary fax number.
        Specified by:
        setFax2 in interface UserRegistrationCmd
        Parameters:
        astrFax2 - a fax number.
      • setMobilePhone1

        public void setMobilePhone1(java.lang.String astrMobilePhone1)
        Sets the primary mobile phone.
        Specified by:
        setMobilePhone1 in interface UserRegistrationCmd
        Parameters:
        astrMobilePhone1 - a mobile phone.
      • setMobilePhone1Country

        public void setMobilePhone1Country(java.lang.String astrMobilePhone1Country)
        Sets the primary mobile phone country.
        Specified by:
        setMobilePhone1Country in interface UserRegistrationCmd
        Parameters:
        astrMobilePhone1Country - a mobile phone country.
      • setFirstName

        public void setFirstName(java.lang.String astrFirstName)
        Sets the first name.
        Specified by:
        setFirstName in interface UserRegistrationCmd
        Parameters:
        astrFirstName - the first name.
      • setGender

        public void setGender(java.lang.String astrGender)
        Sets the gender.
        Specified by:
        setGender in interface UserRegistrationCmd
        Parameters:
        astrGender - the gender.
      • setHobbies

        public void setHobbies(java.lang.String astrHobbies)
        Sets the hobbies.
        Specified by:
        setHobbies in interface UserRegistrationCmd
        Parameters:
        astrHobbies - the user's hobbies.
      • setDateOfBirth

        public void setDateOfBirth(java.sql.Date astrDateOfBirth)
        Sets the date of birth.
        Specified by:
        setDateOfBirth in interface UserRegistrationCmd
        Parameters:
        astrDateOfBirth - the user's date of birth.
      • setHousehold

        public void setHousehold(java.lang.Integer anHousehold)
        Sets the number of people in the user's household.
        Specified by:
        setHousehold in interface UserRegistrationCmd
        Parameters:
        anHousehold - the number of people in the household.
      • setHousehold

        public void setHousehold(java.lang.String astrHousehold)
        Sets the number of people in the user's household.
        Specified by:
        setHousehold in interface UserRegistrationCmd
        Parameters:
        astrHousehold - the number of people in the household.
      • setIncome

        public void setIncome(java.lang.Integer anIncome)
        Sets the user's income.
        Specified by:
        setIncome in interface UserRegistrationCmd
        Parameters:
        anIncome - the user's income.
      • setIncome

        public void setIncome(java.lang.String astrIncome)
        Sets the user's income.
        Specified by:
        setIncome in interface UserRegistrationCmd
        Parameters:
        astrIncome - the user's income.
      • setIncomeCurrency

        public void setIncomeCurrency(java.lang.String astrIncomeCurrency)
        Sets the currency of the user's income.
        Specified by:
        setIncomeCurrency in interface UserRegistrationCmd
        Parameters:
        astrIncomeCurrency - the currency.
      • setLastName

        public void setLastName(java.lang.String astrLastName)
        Sets the last name.
        Specified by:
        setLastName in interface UserRegistrationCmd
        Parameters:
        astrLastName - the last name.
      • setLogonId

        public void setLogonId(java.lang.String astrLogonId)
        Sets the logon ID.
        Specified by:
        setLogonId in interface UserRegistrationCmd
        Parameters:
        astrLogonId - the logon ID.
      • setLogonPassword

        public void setLogonPassword(java.lang.String astrLogonPassword)
        Sets the logon password.
        Specified by:
        setLogonPassword in interface UserRegistrationCmd
        Parameters:
        astrLogonPassword - the logon password.
      • setLogonPasswordVerify

        public void setLogonPasswordVerify(java.lang.String astrLogonPasswordVerify)
        Sets the password value for verification.
        Specified by:
        setLogonPasswordVerify in interface UserRegistrationCmd
        Parameters:
        astrLogonPasswordVerify - the logon password.
      • setLogonPasswordVerifyVerify

        public void setLogonPasswordVerifyVerify(java.lang.String astrLogonPasswordVerify)
        Sets the logon password for verification.
        Parameters:
        astrLogonPasswordVerify - the logon password.
      • setManager

        public void setManager(java.lang.String astrManager)
        Sets the manager.
        Specified by:
        setManager in interface UserRegistrationCmd
        Parameters:
        astrManager - the manager.
      • setMaritalStatus

        public void setMaritalStatus(java.lang.String astrMaritalStatus)
        Sets the marital status.
        Specified by:
        setMaritalStatus in interface UserRegistrationCmd
        Parameters:
        astrMaritalStatus - the marital status.
      • setMerchantKey

        public void setMerchantKey(java.lang.String strMerchantKey)
        Deprecated. in version 6.0. This is no longer used.
        Sets the merchant key.
        Specified by:
        setMerchantKey in interface UserRegistrationCmd
        Parameters:
        strMerchantKey - the merchant key.
      • setMiddleName

        public void setMiddleName(java.lang.String astrMiddleName)
        Sets the middle name.
        Specified by:
        setMiddleName in interface UserRegistrationCmd
        Parameters:
        astrMiddleName - the middle name.
      • setNickName

        public void setNickName(java.lang.String astrNickName)
        Sets the nickname.
        Parameters:
        astrNickName - the nickname.
      • setOfficeAddress

        public void setOfficeAddress(java.lang.String astrOfficeAddress)
        Sets the office address.
        Specified by:
        setOfficeAddress in interface UserRegistrationCmd
        Parameters:
        astrOfficeAddress - the office address.
      • setOrderBefore

        public void setOrderBefore(java.lang.String astrOrderBefore)
        Sets whether the user has placed an order before.
        Specified by:
        setOrderBefore in interface UserRegistrationCmd
        Parameters:
        astrOrderBefore - whether the user has placed an order before.
      • setOrganizationId

        public void setOrganizationId(java.lang.Long anOrganizationId)
        Sets the organization ID of the user.
        Specified by:
        setOrganizationId in interface UserRegistrationCmd
        Parameters:
        anOrganizationId - an organization ID.
      • setOrganizationId

        public void setOrganizationId(java.lang.String astrOrganizationId)
        Sets the organization ID of the user.
        Specified by:
        setOrganizationId in interface UserRegistrationCmd
        Parameters:
        astrOrganizationId - an organization ID.
      • setOrganizationName

        public void setOrganizationName(java.lang.String astrOrganizationName)
        Sets the organization name.
        Specified by:
        setOrganizationName in interface UserRegistrationCmd
        Parameters:
        astrOrganizationName - the organization name.
      • setOrganizationUnitId

        public void setOrganizationUnitId(java.lang.Long anOrganizationUnitId)
        Sets the organizational unit.
        Specified by:
        setOrganizationUnitId in interface UserRegistrationCmd
        Parameters:
        anOrganizationUnitId - the organizational unit.
      • setOrganizationUnitId

        public void setOrganizationUnitId(java.lang.String astrOrganizationUnitId)
        Sets the organizational unit.
        Specified by:
        setOrganizationUnitId in interface UserRegistrationCmd
        Parameters:
        astrOrganizationUnitId - the organizational unit.
      • setOrganizationUnitName

        public void setOrganizationUnitName(java.lang.String astrOrganizationUnitName)
        Sets the name of the organizational unit.
        Specified by:
        setOrganizationUnitName in interface UserRegistrationCmd
        Parameters:
        astrOrganizationUnitName - the organizational unit name.
      • setPackageSuppression

        public void setPackageSuppression(java.lang.Integer anPackageSuppression)
        Sets the package suppression flag.
        Specified by:
        setPackageSuppression in interface UserRegistrationCmd
        Parameters:
        anPackageSuppression - the package suppression flag.
      • setPackageSuppression

        public void setPackageSuppression(java.lang.String astrPackageSuppression)
        Sets the package suppression flag.
        Specified by:
        setPackageSuppression in interface UserRegistrationCmd
        Parameters:
        astrPackageSuppression - the package suppression flag.
      • setPasswordExpired

        public void setPasswordExpired(java.lang.Integer anPasswordExpired)
        Sets whether the password expired.
        Specified by:
        setPasswordExpired in interface UserRegistrationCmd
        Parameters:
        anPasswordExpired - whether the password expired.
      • setPasswordExpired

        public void setPasswordExpired(java.lang.String astrPasswordExpired)
        Sets whether the password expired.
        Specified by:
        setPasswordExpired in interface UserRegistrationCmd
        Parameters:
        astrPasswordExpired - whether the password expired.
      • setPersonTitle

        public void setPersonTitle(java.lang.String astrPersonTitle)
        Sets the person's title.
        Specified by:
        setPersonTitle in interface UserRegistrationCmd
        Parameters:
        astrPersonTitle - the person's title.
      • setPhone1

        public void setPhone1(java.lang.String astrPhone1)
        Sets the primary phone number.
        Specified by:
        setPhone1 in interface UserRegistrationCmd
        Parameters:
        astrPhone1 - a phone number.
      • setPhone1Type

        public void setPhone1Type(java.lang.String astrPhone1Type)
        Sets the primary phone type.
        Specified by:
        setPhone1Type in interface UserRegistrationCmd
        Parameters:
        astrPhone1Type - the phone type.
      • setPhone2

        public void setPhone2(java.lang.String astrPhone2)
        Sets the secondary phone number.
        Specified by:
        setPhone2 in interface UserRegistrationCmd
        Parameters:
        astrPhone2 - a phone number.
      • setPhone2Type

        public void setPhone2Type(java.lang.String astrPhone2Type)
        Sets the secondary phone type.
        Specified by:
        setPhone2Type in interface UserRegistrationCmd
        Parameters:
        astrPhone2Type - a phone type.
      • setPhoto

        public void setPhoto(java.lang.String astrPhoto)
        Sets the photo.
        Specified by:
        setPhoto in interface UserRegistrationCmd
        Parameters:
        astrPhoto - the photo.
      • setPreferredCommunication

        public void setPreferredCommunication(java.lang.String astrPreferredCommunication)
        Sets the preferred method of communication.
        Specified by:
        setPreferredCommunication in interface UserRegistrationCmd
        Parameters:
        astrPreferredCommunication - preferred method of communication.
      • setPreferredCurrency

        public void setPreferredCurrency(java.lang.String astrPreferredCurrency)
        Sets the preferred currency.
        Specified by:
        setPreferredCurrency in interface UserRegistrationCmd
        Parameters:
        astrPreferredCurrency - the preferred currency.
      • setPreferredDelivery

        public void setPreferredDelivery(java.lang.String astrPreferredDelivery)
        Sets the preferred delivery.
        Specified by:
        setPreferredDelivery in interface UserRegistrationCmd
        Parameters:
        astrPreferredDelivery - the preferred delivery.
      • setPreferredLanguage

        public void setPreferredLanguage(java.lang.Integer anPreferredLanguage)
        Sets the preferred language.
        Specified by:
        setPreferredLanguage in interface UserRegistrationCmd
        Parameters:
        anPreferredLanguage - the preferred language.
      • setPreferredLanguage

        public void setPreferredLanguage(java.lang.String astrPreferredLanguage)
        Sets the preferred language.
        Specified by:
        setPreferredLanguage in interface UserRegistrationCmd
        Parameters:
        astrPreferredLanguage - the preferred language.
      • setPreferredMeasure

        public void setPreferredMeasure(java.lang.String astrPreferredMeasure)
        Sets the preferred unit of measurement.
        Specified by:
        setPreferredMeasure in interface UserRegistrationCmd
        Parameters:
        astrPreferredMeasure - the preferred unit of measurement.
      • setPrimary

        public void setPrimary(java.lang.Integer anPrimary)
        Sets whether the address is primary: 1 for true; 0 for false.
        Specified by:
        setPrimary in interface UserRegistrationCmd
        Parameters:
        anPrimary - whether the address is primary.
      • setPrimary

        public void setPrimary(java.lang.String astrPrimary)
        Sets whether the address is primary: 1 for true; 0 for false.
        Specified by:
        setPrimary in interface UserRegistrationCmd
        Parameters:
        astrPrimary - whether the address is primary.
      • setProfileType

        public void setProfileType(java.lang.String astrProfileType)
        Sets the profile type.
        Specified by:
        setProfileType in interface UserRegistrationCmd
        Parameters:
        astrProfileType - the profile type.
      • setPublishPhone1

        public void setPublishPhone1(java.lang.Integer anPublishPhone1)
        Sets whether to publish the primary phone number.
        Specified by:
        setPublishPhone1 in interface UserRegistrationCmd
        Parameters:
        anPublishPhone1 - whether to publish the phone number.
      • setPublishPhone1

        public void setPublishPhone1(java.lang.String astrPublishPhone1)
        Sets whether to publish the primary phone number.
        Specified by:
        setPublishPhone1 in interface UserRegistrationCmd
        Parameters:
        astrPublishPhone1 - whether to publish the phone number.
      • setPublishPhone2

        public void setPublishPhone2(java.lang.Integer anPublishPhone2)
        Sets whether to publish the secondary phone number.
        Specified by:
        setPublishPhone2 in interface UserRegistrationCmd
        Parameters:
        anPublishPhone2 - whether to publish the phone number.
      • setPublishPhone2

        public void setPublishPhone2(java.lang.String astrPublishPhone2)
        Sets whether to publish the secondary phone number.
        Specified by:
        setPublishPhone2 in interface UserRegistrationCmd
        Parameters:
        astrPublishPhone2 - whether to publish the phone number.
      • setReceiveSMSNotification

        public void setReceiveSMSNotification(java.lang.String astrReceiveSMSNotification)
        Sets the receive SMS notification.
        Specified by:
        setReceiveSMSNotification in interface UserRegistrationCmd
        Parameters:
        astrReceiveSMSNotification - the receive SMS notification.
      • setSecretary

        public void setSecretary(java.lang.String astrSecretary)
        Sets the name of the secretary.
        Specified by:
        setSecretary in interface UserRegistrationCmd
        Parameters:
        astrSecretary - the name of the secretary.
      • setShippingGeoCode

        public void setShippingGeoCode(java.lang.String astrShippingGeoCode)
        Sets the shipping code.
        Specified by:
        setShippingGeoCode in interface UserRegistrationCmd
        Parameters:
        astrShippingGeoCode - the shipping code.
      • setState

        public void setState(java.lang.String astrState)
        Sets the state of user.
        Specified by:
        setState in interface UserRegistrationCmd
        Parameters:
        astrState - the state of the user.
      • setStatus

        public void setStatus(java.lang.String astrStatus)
        Sets the status of the user.
        Specified by:
        setStatus in interface UserRegistrationCmd
        Parameters:
        astrStatus - the status of the user.
      • setTaxGeoCode

        public void setTaxGeoCode(java.lang.String astrTaxGeoCode)
        Sets the tax geography code.
        Specified by:
        setTaxGeoCode in interface UserRegistrationCmd
        Parameters:
        astrTaxGeoCode - the tax code.
      • setTaxPayerId

        public void setTaxPayerId(java.lang.String astrTaxPayerId)
        Sets the tax payer identifier.
        Specified by:
        setTaxPayerId in interface UserRegistrationCmd
        Parameters:
        astrTaxPayerId - the tax payer identifier.
      • setTimeZone

        public void setTimeZone(java.lang.String astrTimeZone)
        Sets the time zone.
        Specified by:
        setTimeZone in interface UserRegistrationCmd
        Parameters:
        astrTimeZone - the time zone.
      • setURL

        public void setURL(java.lang.String astrURL)
        Sets the URL to go to after execution.
        Specified by:
        setURL in interface UserRegistrationCmd
        Parameters:
        astrURL - the URL to go to after executing.
      • setUserField1

        public void setUserField1(java.lang.String astrUserField1)
        Sets user field 1.
        Specified by:
        setUserField1 in interface UserRegistrationCmd
        Parameters:
        astrUserField1 - user field 1.
      • setUserField2

        public void setUserField2(java.lang.String astrUserField2)
        Sets user field 2.
        Specified by:
        setUserField2 in interface UserRegistrationCmd
        Parameters:
        astrUserField2 - user field 2.
      • setUserField3

        public void setUserField3(java.lang.String astrUserField3)
        Sets user field 3.
        Specified by:
        setUserField3 in interface UserRegistrationCmd
        Parameters:
        astrUserField3 - user field 3.
      • setUserProfileField1

        public void setUserProfileField1(java.lang.String astrUserProfileField1)
        Sets user profile field 1.
        Specified by:
        setUserProfileField1 in interface UserRegistrationCmd
        Parameters:
        astrUserProfileField1 - user profile field 1.
      • setUserProfileField2

        public void setUserProfileField2(java.lang.String astrUserProfileField2)
        Sets user profile field 2.
        Specified by:
        setUserProfileField2 in interface UserRegistrationCmd
        Parameters:
        astrUserProfileField2 - user profile field 2.
      • setUserStatus

        public void setUserStatus(java.lang.Integer anUserStatus)
        Sets the user status.
        Specified by:
        setUserStatus in interface UserRegistrationCmd
        Parameters:
        anUserStatus - the user status.
      • setUserStatus

        public void setUserStatus(java.lang.String astrUserStatus)
        Sets the user status.
        Specified by:
        setUserStatus in interface UserRegistrationCmd
        Parameters:
        astrUserStatus - the user status.
      • setWorkingUserId

        public void setWorkingUserId(java.lang.String astrUserId)
        Sets the working user identifier.
        Specified by:
        setWorkingUserId in interface UserRegistrationCmd
        Parameters:
        astrUserId - the user identifier.
      • setZipCode

        public void setZipCode(java.lang.String astrZipCode)
        Sets the zip/postal code.
        Specified by:
        setZipCode in interface UserRegistrationCmd
        Parameters:
        astrZipCode - the zip/postal code.