public class OrderRetransferCmdImpl extends ControllerCommandImpl implements OrderRetransferCmd
OrderRetransferCmd
controller command.
TransferOrderIndependentOfEventCmd
task command to re-transfer the order to remote order management system one by one.
TransferOrderIndependentOfEventCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_GROUPING_SIDEBYSIDE_INTEGRATION
Name of the configuration grouping for the side-by-side integration flow.
|
static java.lang.String |
CONFIG_PROPERTY_EXPIRATION_TIME
Name of the configuration property for pending on transfer order expiration time.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
OrderRetransferCmdImpl()
This is the class constructor.
|
Modifier and Type | Method and Description |
---|---|
AccessVector |
getResources()
This method returns command resources for access control by instantiating an access vector
using the StoreAccessBean.
|
boolean |
isGeneric()
This method returns false to indicate that this command cannot be run by a generic user.
|
boolean |
isReadyToCallExecute()
This method returns true to indicate that this command is ready to be executed.
|
void |
performExecute()
This method performs the main business logic to re-transfer orders to remote order management system.
|
void |
reset()
Resets instance variables to their initial values.
|
void |
setRequestProperties(TypedProperty reqParms)
This method sets the command request properties.
|
void |
validateParameters()
This method extracts and validates the input parameters of the command implementation.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, 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, 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, isRetriable, mergeProperties, setGeneric, 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, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String CONFIG_GROUPING_SIDEBYSIDE_INTEGRATION
public static final java.lang.String CONFIG_PROPERTY_EXPIRATION_TIME
public OrderRetransferCmdImpl()
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
This command uses the following access bean:
ECException
public boolean isGeneric()
isGeneric
in interface ControllerCommand
isGeneric
in class ControllerCommandImpl
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
reqParms
- The type property of this command implementation.ECApplicationException
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
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