public class ShipInfoPrepareCmdImpl extends ShipInfoBaseCmdImpl implements ShipInfoPrepareCmd
ShipInfoPrepareCmd
controller command.
Output parameters:
None
Behaviour:
- 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 ORDERITEM
record. Such a circumstance can occur for example when
users delete shipping addresses for which they have already created SHIPINFO
data. The command delegates
to the task command PrepareShipInfoCmd
to perform the actual work.
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
ShipInfoPrepareCmdImpl()
Call super class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
Executes the main business logic of the command.
|
void |
validateParameters()
Validates the input parameters.
|
getAddressIdsPassed, getKeysPassed, getResources, reset, setRequestProperties, setStoreId
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, 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
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public ShipInfoPrepareCmdImpl()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- in case of errorspublic void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class ShipInfoBaseCmdImpl
ECApplicationException
- The _ERR_BAD_MISSING_CMD_PARAMETER message is passed, with
the name of the invalid or missing property name.
ECException
- ECCommand.validateParameters()