java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.tools.optools.order.commands.CSRGuestCustomerAddCmdImpl
This is the default implementation of the
CSRGuestCustomerAddressCmd
command.
This command uses the following AccessBean(s):
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
static java.lang.String |
ERRTASK_NAME Error handling viewname for this command. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.tools.optools.order.commands. CSRGuestCustomerAddCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
CSRGuestCustomerAddCmdImpl() |
Method Summary | |
---|---|
java.lang.String |
getCustomerId() Returns customer id. |
java.lang.Integer |
getLangId() Returns language id. |
void |
performExecute() This method performs the execution for creating a guest customer. |
protected
void |
setCustomerId(java.lang.String newCustomerId) Sets customer id. |
void |
setLangId(java.lang.Integer newLangId) Sets the language id. |
void |
validateParameters() Validates the language id passed to this command. |
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 |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static java.lang.String ERRTASK_NAME
Constructor Detail |
---|
public CSRGuestCustomerAddCmdImpl()
Method Detail |
---|
public java.lang.String getCustomerId()
getCustomerId
in interface
CSRGuestCustomerAddCmd
public java.lang.Integer getLangId()
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
- if guest customer can not be
created.protected void setCustomerId(java.lang.String newCustomerId)
newCustomerId
- The customer id.public void setLangId(java.lang.Integer newLangId)
setLangId
in interface
CSRGuestCustomerAddCmd
newLangId
- The language id.public void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException
- if language id is null