public class CSRGuestCustomerAddCmdImpl extends TaskCommandImpl implements CSRGuestCustomerAddCmd
CSRGuestCustomerAddressCmd command.
This command uses the following AccessBean(s):
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
ERRTASK_NAME
Error handling view name for this command.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
CSRGuestCustomerAddCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
setLangId(java.lang.Integer newLangId)
Sets the language id.
|
void |
validateParameters()
Validates the language id passed to this command.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic static final java.lang.String COPYRIGHT
public static java.lang.String ERRTASK_NAME
public java.lang.String getCustomerId()
getCustomerId in interface CSRGuestCustomerAddCmdpublic java.lang.Integer getLangId()
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECException - if guest customer can not be created.public void setLangId(java.lang.Integer newLangId)
setLangId in interface CSRGuestCustomerAddCmdnewLangId - The language id.public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException - if language id is null