public class UpdateShipInfoCmdImpl extends TaskCommandImpl implements UpdateShipInfoCmd
UpdateShipInfoCmd
task command.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
UpdateShipInfoCmdImpl()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
Executes the main business logic of the command.
|
void |
setAddressId(java.lang.String anAddressId)
The address ID of the
SHIPINFO record to update. |
void |
setOrderId(java.lang.String anOrderId)
The order ID of the
SHIPINFO record to update. |
void |
setShipCarrAccntNum(java.lang.String aShipCarrAccntNum)
The new shipping account number for the
SHIPINFO record. |
void |
setShipChargeTypeId(java.lang.String aShipChargeTypeId)
The new shipping charge type for the
SHIPINFO record. |
void |
setShipInstructions(java.lang.String aShipInstructions)
The new or updated shipping instructions for the
SHIPINFO record. |
void |
setShipModeId(java.lang.String aShipmodeId)
The shipping mode ID of the
SHIPINFO record to update. |
void |
setUpdateRequired(java.lang.String theVerificationRequired)
The type of update required to 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)
SHIPINFO
record to update.
setOrderId
in interface UpdateShipInfoCmd
anOrderId
- The order ID of the SHIPINFO
info record to update or create.public void setAddressId(java.lang.String anAddressId)
SHIPINFO
record to update.
setAddressId
in interface UpdateShipInfoCmd
anAddressId
- The address ID of the SHIPINFO
info record to update or create.public void setShipModeId(java.lang.String aShipmodeId)
SHIPINFO
record to update.
setShipModeId
in interface UpdateShipInfoCmd
aShipmodeId
- The SHIPINFO
ID of the SHIPINFO
info record to update or create.public void setShipInstructions(java.lang.String aShipInstructions)
SHIPINFO
record.
setShipInstructions
in interface UpdateShipInfoCmd
aShipInstructions
- The shipping instructions to insert or update the SHIPINFO
table with.public void setShipChargeTypeId(java.lang.String aShipChargeTypeId)
SHIPINFO
record.
setShipChargeTypeId
in interface UpdateShipInfoCmd
aShipChargeTypeId
- The new shipping charge type to insert or update the SHIPINFO
table with.public void setShipCarrAccntNum(java.lang.String aShipCarrAccntNum)
SHIPINFO
record.
setShipCarrAccntNum
in interface UpdateShipInfoCmd
aShipCarrAccntNum
- The new shipping account number to insert or update the SHIPINFO
table with.public void setUpdateRequired(java.lang.String theVerificationRequired)
SHIPINFO
table. That is to say whether shipping
instructions or shipping charge type/account number information is to be updated..
setUpdateRequired
in interface UpdateShipInfoCmd
theVerificationRequired
- Either ECConstants.EC_SHIPINFO_INSTRUCTS or
ECConstants.EC_SHIPINFO_CARRACCNTS