com.ibm.commerce.tools.optools.order.commands
Class CSRGuestCustomerAddCmdImpl

java.lang.Object
  |
  +--com.ibm.commerce.command.AbstractECCommand
        |
        +--com.ibm.commerce.command.TaskCommandImpl
              |
              +--com.ibm.commerce.tools.optools.order.commands.CSRGuestCustomerAddCmdImpl
All Implemented Interfaces:
CSRGuestCustomerAddCmd, ECCommand, TaskCommand

public class CSRGuestCustomerAddCmdImpl
extends TaskCommandImpl
implements CSRGuestCustomerAddCmd

This class will create a guest customer by using the access bean.


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String ERRTASK_NAME
           
 
Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.tools.optools.order.commands.CSRGuestCustomerAddCmd
defaultCommandClassName, NAME
 
Constructor Summary
CSRGuestCustomerAddCmdImpl()
           
 
Method Summary
 java.lang.String getCustomerId()
          Return customer ID.
 java.lang.Integer getLangId()
          Return language ID.
 void performExecute()
          This method perform the execution for creating a guest shopper.
protected  void setCustomerId(java.lang.String newCustomerId)
          Set customer ID.
 void setLangId(java.lang.Integer newLangId)
          Set the language ID.
 void validateParameters()
          Validate the language ID passed to the command.
 
Methods inherited from class com.ibm.commerce.command.AbstractECCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, 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.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

ERRTASK_NAME

public static java.lang.String ERRTASK_NAME
Constructor Detail

CSRGuestCustomerAddCmdImpl

public CSRGuestCustomerAddCmdImpl()
Method Detail

getCustomerId

public java.lang.String getCustomerId()
Return customer ID.
Specified by:
getCustomerId in interface CSRGuestCustomerAddCmd
Returns:
The customer ID.

getLangId

public java.lang.Integer getLangId()
Return language ID.
Returns:
The language ID.

performExecute

public void performExecute()
                    throws ECException
This method perform the execution for creating a guest shopper.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECCommand
Throws:
ECException -  

setCustomerId

protected void setCustomerId(java.lang.String newCustomerId)
Set customer ID.
Parameters:
newCustomerId - The customer ID.

setLangId

public void setLangId(java.lang.Integer newLangId)
Set the language ID.
Specified by:
setLangId in interface CSRGuestCustomerAddCmd
Parameters:
newLangId - The language ID.

validateParameters

public void validateParameters()
                        throws ECException
Validate the language ID passed to the command.
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECCommand
Throws:
ECException -