com.ibm.commerce.usermanagement.commands

Interface UserRegistrationUpdateCmd

  • All Superinterfaces:
    AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, UserRegistrationCmd
    All Known Implementing Classes:
    UserRegistrationUpdateCmdImpl


    public interface UserRegistrationUpdateCmd
    extends UserRegistrationCmd
    The UserRegistrationUpdate command updates the registration record for a registered user.

    To run this command, the user must log on as registered user first. If the current user is a guest user, this command will call UserRegistrationAdd command to register a new user.

    The information of the new user is stored in the MEMBER, USERS, USERREG, MBRREL, USERPROF, BUSPROF, USERDEMO and ADDRESS tables.

    Use this command with SSL (Secure Sockets Layer) to ensure that the information are encrypted. To do so type the command with the HTTPS secure protocol.

    Behavior

    • Calls an empty task command preUserRegistrationUpdateCmd. Store Developers can overwrite it change the input to the command.
    • Updates the record of the current registered user in USERS table.
    • If authentication mode is 'LDAP', user information may also be updated in LDAP Server.
    • If authentication mode is 'LDAP', logonId can not be changed.
    • If any field related to USERPROF, BUSPROF and USERDEMO is specified, updates each of these table. If there is no record, a new record will be created in these tables.
    • If any field related to ADDRESS table is specified, the self address (also called register address, with selfAddress field set to '1' and nickname is same as logonId) will also be updated. The old address will be marked as 'T' (temporary) and a new record will be created in the ADDRESS table.
      If this user does not have self address, a new self address will be created.
    • The parent member of the user can not be changed.
    • The profile type of the user can not be changed.
    • If logonPassword has been changed, calls a task command AuthenticationPolicyCmd to performs verification or update of a user credentials.
    • Check the required registration information parameters.
    • Calls a task command AuditUserRegistrationCmd to check the additional parameters. Store Developers need to add new code to the task command if they want a customizable check.
    • If the authentication mode is 'LDAP', the corresponding user entry in the LDAP server may also be updated.
    • If the command fails, the UserRegistrationErrorView view command is called. Upon successful completion, the specified URL is called.
    • Calls an empty task command postUserRegistrationUpdateCmd. Store Developers can overwrite it to perform additional operations.

    Exception Conditions

    • URL is null (_ERR_CMD_MISSING_PARAM).
    • The length of URL length equals 0 (_ERR_CMD_INVALID_PARAM).
    • logonId is not null but the its length equals 0(_ERR_CMD_INVALID_PARAM).
    • In LDAP mode, logonId is not null(_ERR_CMD_INVALID_PARAM).
    • logonPassword is not null but the its length equals 0 or greater than 70 (_ERR_CMD_INVALID_PARAM).
    • If logonPassword is not null but logonPasswordVerify is null (_ERR_CMD_MISSING_PARAM).
    • If logonPassword is not null but is not equal to logonPasswordVerify (EC_UREG_ERR_PASSWORDS_NOT_SAME).
    • preferredCurrency is not null and not a foreign key set to the SETCCURR table (_ERR_CMD_INVALID_PARAM).
    • preferredLanguage is not null and not a foreign key set to the LANGUAGE table (_ERR_CMD_INVALID_PARAM).
    • age, income, children, household, demographicField6, publishPhone1, publishPhone2, and packageSupression is not null and not an integer (_ERR_CMD_INVALID_PARAM).
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String REQUEST_PARAM_URL
        REQUIRED Request parameter: URL
        See Also:
        Constant Field Values
      • REQUEST_PARAM_LOGONID

        static final java.lang.String REQUEST_PARAM_LOGONID
        Request parameter: logonId
        See Also:
        Constant Field Values
      • REQUEST_PARAM_LOGONPASSWORD

        static final java.lang.String REQUEST_PARAM_LOGONPASSWORD
        Request parameter: logonPassword
        See Also:
        Constant Field Values
      • REQUEST_PARAM_LOGONPASSWORDVERIFY

        static final java.lang.String REQUEST_PARAM_LOGONPASSWORDVERIFY
        Request parameter: logonPasswordVerify
        See Also:
        Constant Field Values
      • REQUEST_PARAM_PREFERREDCURRENCY

        static final java.lang.String REQUEST_PARAM_PREFERREDCURRENCY
        Request parameter: preferredCurrency
        See Also:
        Constant Field Values
      • REQUEST_PARAM_PREFERREDLANGUAGE

        static final java.lang.String REQUEST_PARAM_PREFERREDLANGUAGE
        Request parameter: preferredLanguage
        See Also:
        Constant Field Values
      • REQUEST_PARAM_USERFIELD1

        static final java.lang.String REQUEST_PARAM_USERFIELD1
        Request parameter: userField1
        See Also:
        Constant Field Values
      • REQUEST_PARAM_USERFIELD2

        static final java.lang.String REQUEST_PARAM_USERFIELD2
        Request parameter: userField2
        See Also:
        Constant Field Values
      • REQUEST_PARAM_USERFIELD3

        static final java.lang.String REQUEST_PARAM_USERFIELD3
        Request parameter: userField3
        See Also:
        Constant Field Values
      • REQUEST_PARAM_CHALLENGEQUESTION

        static final java.lang.String REQUEST_PARAM_CHALLENGEQUESTION
        Request parameter: challengeQuestion
        See Also:
        Constant Field Values
      • REQUEST_PARAM_CHALLENGEANSWER

        static final java.lang.String REQUEST_PARAM_CHALLENGEANSWER
        Request parameter: challengeAnswer
        See Also:
        Constant Field Values
      • REQUEST_PARAM_DESCRIPTION

        static final java.lang.String REQUEST_PARAM_DESCRIPTION
        Request parameter: description
        See Also:
        Constant Field Values
      • REQUEST_PARAM_USERPROFILEFIELD1

        static final java.lang.String REQUEST_PARAM_USERPROFILEFIELD1
        Request parameter: userProfileField1
        See Also:
        Constant Field Values
      • REQUEST_PARAM_USERPROFILEFIELD2

        static final java.lang.String REQUEST_PARAM_USERPROFILEFIELD2
        Request parameter: userProfileField2
        See Also:
        Constant Field Values
      • REQUEST_PARAM_PHOTO

        static final java.lang.String REQUEST_PARAM_PHOTO
        Request parameter: photo
        See Also:
        Constant Field Values
      • REQUEST_PARAM_PREFERREDCOMMUNICATION

        static final java.lang.String REQUEST_PARAM_PREFERREDCOMMUNICATION
        Request parameter: preferredCommunication
        See Also:
        Constant Field Values
      • REQUEST_PARAM_PREFERREDDELIVERY

        static final java.lang.String REQUEST_PARAM_PREFERREDDELIVERY
        Request parameter: preferredDelivery
        See Also:
        Constant Field Values
      • REQUEST_PARAM_PREFERREDMEASURE

        static final java.lang.String REQUEST_PARAM_PREFERREDMEASURE
        Request parameter: preferredMeasure
        See Also:
        Constant Field Values
      • REQUEST_PARAM_RECEIVESMSNOTIFICATION

        static final java.lang.String REQUEST_PARAM_RECEIVESMSNOTIFICATION
        Request parameter: receiveSMSNotification
        See Also:
        Constant Field Values
      • REQUEST_PARAM_TAXPAYERID

        static final java.lang.String REQUEST_PARAM_TAXPAYERID
        Request parameter: taxPayerId
        See Also:
        Constant Field Values
      • REQUEST_PARAM_ALTERNATEID

        static final java.lang.String REQUEST_PARAM_ALTERNATEID
        Request parameter: alternateId
        See Also:
        Constant Field Values
      • REQUEST_PARAM_DEPARTMENTNUMBER

        static final java.lang.String REQUEST_PARAM_DEPARTMENTNUMBER
        Request parameter: departmentNumber
        See Also:
        Constant Field Values
      • REQUEST_PARAM_EMPLOYEEID

        static final java.lang.String REQUEST_PARAM_EMPLOYEEID
        Request parameter: employeeId
        See Also:
        Constant Field Values
      • REQUEST_PARAM_EMPLOYEETYPE

        static final java.lang.String REQUEST_PARAM_EMPLOYEETYPE
        Request parameter: employeeType
        See Also:
        Constant Field Values
      • REQUEST_PARAM_MANAGER

        static final java.lang.String REQUEST_PARAM_MANAGER
        Request parameter: manager
        See Also:
        Constant Field Values
      • REQUEST_PARAM_ORGANIZATIONID

        static final java.lang.String REQUEST_PARAM_ORGANIZATIONID
        Deprecated. 
        Request parameter: organizationId
        See Also:
        Constant Field Values
      • REQUEST_PARAM_ORGANIZATIONUNITID

        static final java.lang.String REQUEST_PARAM_ORGANIZATIONUNITID
        Deprecated. 
        Request parameter: organizationUnitId
        See Also:
        Constant Field Values
      • REQUEST_PARAM_SECRETARY

        static final java.lang.String REQUEST_PARAM_SECRETARY
        Request parameter: secretary
        See Also:
        Constant Field Values
      • REQUEST_PARAM_AGE

        static final java.lang.String REQUEST_PARAM_AGE
        Request parameter: age
        See Also:
        Constant Field Values
      • REQUEST_PARAM_NUMBEROFCHILDREN

        static final java.lang.String REQUEST_PARAM_NUMBEROFCHILDREN
        Request parameter: children
        See Also:
        Constant Field Values
      • REQUEST_PARAM_COMPANYNAME

        static final java.lang.String REQUEST_PARAM_COMPANYNAME
        Request parameter: companyName
        See Also:
        Constant Field Values
      • REQUEST_PARAM_DEMOGRAPHICFIELD1

        static final java.lang.String REQUEST_PARAM_DEMOGRAPHICFIELD1
        Request parameter: demographicField1
        See Also:
        Constant Field Values
      • REQUEST_PARAM_DEMOGRAPHICFIELD2

        static final java.lang.String REQUEST_PARAM_DEMOGRAPHICFIELD2
        Request parameter: demographicField2
        See Also:
        Constant Field Values
      • REQUEST_PARAM_DEMOGRAPHICFIELD3

        static final java.lang.String REQUEST_PARAM_DEMOGRAPHICFIELD3
        Request parameter: demographicField3
        See Also:
        Constant Field Values
      • REQUEST_PARAM_DEMOGRAPHICFIELD4

        static final java.lang.String REQUEST_PARAM_DEMOGRAPHICFIELD4
        Request parameter: demographicField4
        See Also:
        Constant Field Values
      • REQUEST_PARAM_DEMOGRAPHICFIELD5

        static final java.lang.String REQUEST_PARAM_DEMOGRAPHICFIELD5
        Request parameter: demographicField5
        See Also:
        Constant Field Values
      • REQUEST_PARAM_DEMOGRAPHICFIELD6

        static final java.lang.String REQUEST_PARAM_DEMOGRAPHICFIELD6
        Request parameter: demographicField6
        See Also:
        Constant Field Values
      • REQUEST_PARAM_DEMOGRAPHICFIELD7

        static final java.lang.String REQUEST_PARAM_DEMOGRAPHICFIELD7
        Request parameter: demographicField7
        See Also:
        Constant Field Values
      • REQUEST_PARAM_GENDER

        static final java.lang.String REQUEST_PARAM_GENDER
        Request parameter: gender
        See Also:
        Constant Field Values
      • REQUEST_PARAM_HOBBIES

        static final java.lang.String REQUEST_PARAM_HOBBIES
        Request parameter: hobbies
        See Also:
        Constant Field Values
      • REQUEST_PARAM_DATEOFBIRTH

        static final java.lang.String REQUEST_PARAM_DATEOFBIRTH
        Request parameter: dateOfBirth
        See Also:
        Constant Field Values
      • REQUEST_PARAM_HOUSEHOLD

        static final java.lang.String REQUEST_PARAM_HOUSEHOLD
        Request parameter: household
        See Also:
        Constant Field Values
      • REQUEST_PARAM_INCOME

        static final java.lang.String REQUEST_PARAM_INCOME
        Request parameter: income
        See Also:
        Constant Field Values
      • REQUEST_PARAM_INCOMECURRENCY

        static final java.lang.String REQUEST_PARAM_INCOMECURRENCY
        Request parameter: incomeCurrency
        See Also:
        Constant Field Values
      • REQUEST_PARAM_MARITALSTATUS

        static final java.lang.String REQUEST_PARAM_MARITALSTATUS
        Request parameter: maritalStatus
        See Also:
        Constant Field Values
      • REQUEST_PARAM_ORDERBEFORE

        static final java.lang.String REQUEST_PARAM_ORDERBEFORE
        Request parameter: orderBefore
        See Also:
        Constant Field Values
      • REQUEST_PARAM_TIMEZONE

        static final java.lang.String REQUEST_PARAM_TIMEZONE
        Request parameter: timeZone
        See Also:
        Constant Field Values
      • REQUEST_PARAM_ADDRESS1

        static final java.lang.String REQUEST_PARAM_ADDRESS1
        Request parameter: address1
        See Also:
        Constant Field Values
      • REQUEST_PARAM_ADDRESS2

        static final java.lang.String REQUEST_PARAM_ADDRESS2
        Request parameter: address2
        See Also:
        Constant Field Values
      • REQUEST_PARAM_ADDRESS3

        static final java.lang.String REQUEST_PARAM_ADDRESS3
        Request parameter: address3
        See Also:
        Constant Field Values
      • REQUEST_PARAM_ADDRESSFIELD1

        static final java.lang.String REQUEST_PARAM_ADDRESSFIELD1
        Request parameter: addressField1
        See Also:
        Constant Field Values
      • REQUEST_PARAM_ADDRESSFIELD2

        static final java.lang.String REQUEST_PARAM_ADDRESSFIELD2
        Request parameter: addressField2
        See Also:
        Constant Field Values
      • REQUEST_PARAM_ADDRESSFIELD3

        static final java.lang.String REQUEST_PARAM_ADDRESSFIELD3
        Request parameter: addressField3
        See Also:
        Constant Field Values
      • REQUEST_PARAM_ADDRESSTYPE

        static final java.lang.String REQUEST_PARAM_ADDRESSTYPE
        Request parameter: addressType
        See Also:
        Constant Field Values
      • REQUEST_PARAM_BESTCALLINGTIME

        static final java.lang.String REQUEST_PARAM_BESTCALLINGTIME
        Request parameter: bestCallingTime
        See Also:
        Constant Field Values
      • REQUEST_PARAM_BILLINGCODE

        static final java.lang.String REQUEST_PARAM_BILLINGCODE
        Request parameter: billingCode
        See Also:
        Constant Field Values
      • REQUEST_PARAM_BILLINGCODETYPE

        static final java.lang.String REQUEST_PARAM_BILLINGCODETYPE
        Request parameter: billingCodeType
        See Also:
        Constant Field Values
      • REQUEST_PARAM_CITY

        static final java.lang.String REQUEST_PARAM_CITY
        Request parameter: city
        See Also:
        Constant Field Values
      • REQUEST_PARAM_COUNTRY

        static final java.lang.String REQUEST_PARAM_COUNTRY
        Request parameter: country
        See Also:
        Constant Field Values
      • REQUEST_PARAM_EMAIL1

        static final java.lang.String REQUEST_PARAM_EMAIL1
        Request parameter: email1
        See Also:
        Constant Field Values
      • REQUEST_PARAM_EMAIL2

        static final java.lang.String REQUEST_PARAM_EMAIL2
        Request parameter: email2
        See Also:
        Constant Field Values
      • REQUEST_PARAM_FAX1

        static final java.lang.String REQUEST_PARAM_FAX1
        Request parameter: fax1
        See Also:
        Constant Field Values
      • REQUEST_PARAM_FAX2

        static final java.lang.String REQUEST_PARAM_FAX2
        Request parameter: fax2
        See Also:
        Constant Field Values
      • REQUEST_PARAM_MOBILEPHONE1

        static final java.lang.String REQUEST_PARAM_MOBILEPHONE1
        Request parameter: mobilePhone1
        See Also:
        Constant Field Values
      • REQUEST_PARAM_MOBILEPHONE1COUNTRY

        static final java.lang.String REQUEST_PARAM_MOBILEPHONE1COUNTRY
        Request parameter: mobilePhone1Country
        See Also:
        Constant Field Values
      • REQUEST_PARAM_FIRSTNAME

        static final java.lang.String REQUEST_PARAM_FIRSTNAME
        Request parameter: firstName
        See Also:
        Constant Field Values
      • REQUEST_PARAM_LASTNAME

        static final java.lang.String REQUEST_PARAM_LASTNAME
        Request parameter: lastName
        See Also:
        Constant Field Values
      • REQUEST_PARAM_MIDDLENAME

        static final java.lang.String REQUEST_PARAM_MIDDLENAME
        Request parameter: middleName
        See Also:
        Constant Field Values
      • REQUEST_PARAM_OFFICEADDRESS

        static final java.lang.String REQUEST_PARAM_OFFICEADDRESS
        Request parameter: officeAddress
        See Also:
        Constant Field Values
      • REQUEST_PARAM_ORGANIZATIONNAME

        static final java.lang.String REQUEST_PARAM_ORGANIZATIONNAME
        Deprecated. 
        Request parameter: organizationName
        See Also:
        Constant Field Values
      • REQUEST_PARAM_ORGANIZATIONUNITNAME

        static final java.lang.String REQUEST_PARAM_ORGANIZATIONUNITNAME
        Deprecated. 
        Request parameter: organizationUnitName
        See Also:
        Constant Field Values
      • REQUEST_PARAM_PACKAGESUPPRESSION

        static final java.lang.String REQUEST_PARAM_PACKAGESUPPRESSION
        Request parameter: packageSuppression
        See Also:
        Constant Field Values
      • REQUEST_PARAM_PERSONTITLE

        static final java.lang.String REQUEST_PARAM_PERSONTITLE
        Request parameter: personTitle
        See Also:
        Constant Field Values
      • REQUEST_PARAM_PHONE1

        static final java.lang.String REQUEST_PARAM_PHONE1
        Request parameter: phone1
        See Also:
        Constant Field Values
      • REQUEST_PARAM_PHONE1TYPE

        static final java.lang.String REQUEST_PARAM_PHONE1TYPE
        Request parameter: phone1Type
        See Also:
        Constant Field Values
      • REQUEST_PARAM_PHONE2

        static final java.lang.String REQUEST_PARAM_PHONE2
        Request parameter: phone2
        See Also:
        Constant Field Values
      • REQUEST_PARAM_PHONE2TYPE

        static final java.lang.String REQUEST_PARAM_PHONE2TYPE
        Request parameter: phone2Type
        See Also:
        Constant Field Values
      • REQUEST_PARAM_PUBLISHPHONE1

        static final java.lang.String REQUEST_PARAM_PUBLISHPHONE1
        Request parameter: publishPhone1
        See Also:
        Constant Field Values
      • REQUEST_PARAM_PUBLISHPHONE2

        static final java.lang.String REQUEST_PARAM_PUBLISHPHONE2
        Request parameter: publishPhone2
        See Also:
        Constant Field Values
      • REQUEST_PARAM_SHIPPINGGEOCODE

        static final java.lang.String REQUEST_PARAM_SHIPPINGGEOCODE
        Request parameter: shippingGeoCode
        See Also:
        Constant Field Values
      • REQUEST_PARAM_STATE

        static final java.lang.String REQUEST_PARAM_STATE
        Request parameter: state
        See Also:
        Constant Field Values
      • REQUEST_PARAM_TAXGEOCODE

        static final java.lang.String REQUEST_PARAM_TAXGEOCODE
        Request parameter: taxGeoCode
        See Also:
        Constant Field Values
      • REQUEST_PARAM_ZIPCODE

        static final java.lang.String REQUEST_PARAM_ZIPCODE
        Request parameter: zipCode
        See Also:
        Constant Field Values
      • RESPONSE_PARAM_USERID

        static final java.lang.String RESPONSE_PARAM_USERID
        Response parameter: userId
        See Also:
        Constant Field Values