com.ibm.commerce.usermanagement.commands

Interface ResellerRegistrationAddCmd

  • 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
    All Known Subinterfaces:
    BuyerRegistrationAddCmd
    All Known Implementing Classes:
    BuyerRegistrationAddCmdImpl, ResellerRegistrationAddCmdImpl


    public interface ResellerRegistrationAddCmd
    extends ControllerCommand
    This command is used to perform reseller organization registration. The implementation calls the organization registration command and the user registration command. Due to this, the parameters on the request properties are prefixed with org_ and usr_ in order to differentiate the parameters. The non prefixed names of attributes are same as for commands OrgEntityAddCmd and UserRegistrationAddCmd.

    Behavior

    • Will pass the properties prefixed with org_ to the ResellerOrgEntityRegistrationAdd , and the properties prefixed with usr_ to the ResellerUserRegistrationAdd . The result is the creation of a new Reseller organization, and a user under that organization.

    Exception Conditions

    • Command ResellerOrgEntityRegistrationAdd cannot be resolved (_ERR_CMD_CMD_NOT_FOUND).
    • Command ResellerUserRegistrationAdd cannot be resolved (_ERR_CMD_CMD_NOT_FOUND).
    • If the response orgEntityId from creating the OrgEntity is null. (_ERR_MISSING_CMD_PARAMETER)
    • If the response userId from creating the User is null. (_ERR_MISSING_CMD_PARAMETER)
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String NAME
        This the name of this interface.
        See Also:
        Constant Field Values