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, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public static java.lang.String ERRTASK_NAME
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 interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- if guest customer can not be created.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