com.ibm.commerce.usermanagement.commands
Class BuyerRegistrationAddCmdImpl

java.lang.Object
  CacheableCommandImpl
      com.ibm.commerce.command.AbstractECTargetableCommand
          com.ibm.commerce.command.ControllerCommandImpl
              com.ibm.commerce.usermanagement.commands.ResellerRegistrationAddCmdImpl
                  com.ibm.commerce.usermanagement.commands.BuyerRegistrationAddCmdImpl
All Implemented Interfaces:
AccCommand, BuyerRegistrationAddCmd, ControllerCommand, ECCommand, ECTargetableCommand, Protectable, ResellerRegistrationAddCmd

public class BuyerRegistrationAddCmdImpl
extends ResellerRegistrationAddCmdImpl
implements BuyerRegistrationAddCmd

Implementation of a command performing buyer organization registration. Because this implementation calls organization registration command and user registration command, the parameters on request properties are prefixed with org_ and usr_ in order to separate the parameters. The non prefixed names of attributes are same as for commands OrgEntityAddCmd and UserRegistrationAddCmd.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
IBM copyright notice field.
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.BuyerRegistrationAddCmd
NAME
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
Constructor Summary
BuyerRegistrationAddCmdImpl()
Method Summary
void setRequestProperties(TypedProperty requestProperties)
Sets the request properties.
Methods inherited from class com.ibm.commerce.usermanagement.commands.ResellerRegistrationAddCmdImpl
assignRolesToMemberInOrg, createMemberGroupForApprovals, getUniqueUserId, isGeneric, isRetriable, performExecute, prepareRequestProperties, setRegisterTypeForUser, setResellerOrgParent, setViewInputProperties, validateParameters
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
execute
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, setAccCheck
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values
Constructor Detail

BuyerRegistrationAddCmdImpl

public BuyerRegistrationAddCmdImpl()
Method Detail

setRequestProperties

public void setRequestProperties(TypedProperty requestProperties)
                          throws ECException
Sets the request properties.
Specified by:
setRequestProperties in interface ControllerCommand
Overrides:
setRequestProperties in class ResellerRegistrationAddCmdImpl
Parameters:
requestProperties - the parameters passed to the command.
Throws:
ECException - if there are miss parameters or parameters with invalid data specified.

Feedback