public class ReleaseOrdersToFulfillmentCOCmdImpl extends TaskCommandImpl implements ReleaseOrdersToFulfillmentCOCmd
ReleaseOrdersToFulfillmentCOCmd
task command.
ReprepareOrderReleasesCmd
ResolveReleasesCmdImpl
ReservePaymentCmd
, for below return codes
EDPResults.STATUS_SUCCESS_INT
, invoke stored procedure shipItem
, if all
order items are all released to fulfillment, the order status will be updated to R
(shipped).
OrderConstants.TICKLER_FINANCIAL_TRANSACTION_ERROR
if there are any
ECSystemException
thrown in the ReservePaymentCmd
.
ReprepareOrderReleasesCmd
ResolveReleasesCmd
ReservePaymentCmd
CreateTicklerCmd
defaultCommandClassName, NAME
Constructor and Description |
---|
ReleaseOrdersToFulfillmentCOCmdImpl()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
isReadyToCallExecute()
This method returns true to indicate that this command is ready to be executed.
|
void |
performExecute()
This method executes the business logic of this command implementation.
|
void |
reset()
This method resets instance variables.
|
void |
setOrders(OrderAccessBean[] abOrders)
This method sets the Order Array to be released
|
void |
validateParameters()
This method validates command parameters.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, 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 ReleaseOrdersToFulfillmentCOCmdImpl()
public void setOrders(OrderAccessBean[] abOrders)
setOrders
in interface ReleaseOrdersToFulfillmentCOCmd
abOrders
- - Array of Order to be releasedpublic boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
- when order is not passed in.