public class PrepareShipInfoCmdImpl extends TaskCommandImpl implements PrepareShipInfoCmd
PrepareShipInfoCmd
task command.
Performs a verification between the SHIPINFO table and the ORDERITEMS table and checks for orphaned SHIPINFO records. Such records will be removed. An orphaned record is a SHIPINFO record which does not have a matching ORDERITEMS record. Such a circumstance can occur for example when users delete a shipping addresses for which they have already created SHIPINFO data.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
PrepareShipInfoCmdImpl()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
Executes the main business logic of the command.
|
void |
setOrderId(java.lang.String anOrderId)
The order ID we are performing the verification check for
|
void |
setVerificationRequired(java.lang.String aVerificationRequired)
The type of verification required on the SHIPINFO table.
|
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, validateParameters
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, validateParameters
public static final java.lang.String COPYRIGHT
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void setOrderId(java.lang.String anOrderId)
setOrderId
in interface PrepareShipInfoCmd
anOrderId
- The order ID of the SHIPINFO info record to verify.public void setVerificationRequired(java.lang.String aVerificationRequired)
setVerificationRequired
in interface PrepareShipInfoCmd
aVerificationRequired
- Type of verification required on the SHIPINFO table.
ECConstants.EC_SHIPINFO_INSTRUCTS
to verify instructions.
ECConstants.EC_SHIPINFO_CARRACCNTS
to verify account data.