public class InitiateIsBlockedOrderCheckCmdImpl extends ControllerCommandImpl implements InitiateIsBlockedOrderCheckCmd
InitiateIsBlockedOrderCheckCmd
controller command.
| Name | Description |
|---|---|
orderId |
The order ID to check the block status for. Mandatory. |
xTensibleCodeCheck |
This parameter indicates whether to call the User Extensible code as part of order block checking. Mandatory. |
NotifyBlockCmd to create a block for each block reason.
defaultCommandClassName, NAME| Constructor and Description |
|---|
InitiateIsBlockedOrderCheckCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
AccessVector |
getResources()
Returns the resources accessed by this command.
|
boolean |
isBlocked()
This method returns value indicating whether extensible code blocked the Order or not.
|
boolean |
isReadyToCallExecute()
This method is called by the Command Framework to check if all basic mandatory
parameters have been set for this command.
|
void |
performExecute()
Executes the business logic of this command implementation.
|
void |
setOrderId(java.lang.Long passedOrderId)
Sets the order ID for checking the block status.
|
void |
setRequestProperties(TypedProperty reqProperties)
The WebController calls the setRequestProperties method before invoking the execute method in this command.
|
void |
setXtensibleCodeCheck(java.lang.String passedXTensibleCodeCheck)
Indicates whether to call the User Extensible code as part of order block checking.
|
void |
validateParameters()
Checks that parameter storeId is specified.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getForUserId, getResourceOwners, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECExceptionpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void setRequestProperties(TypedProperty reqProperties) throws ECException
setRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplreqProperties - the TypedProperty object containing the request properties of the commandECExceptionpublic void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException - If the storeId parameter is not specified.public boolean isReadyToCallExecute()
isReadyToCallExecute in interface com.ibm.websphere.command.CommandisReadyToCallExecute in class AbstractECTargetableCommandpublic void setOrderId(java.lang.Long passedOrderId)
passedOrderId - public void setXtensibleCodeCheck(java.lang.String passedXTensibleCodeCheck)
passedXTensibleCodeCheck - public boolean isBlocked()
isBlocked in interface InitiateIsBlockedOrderCheckCmd