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, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, reset, 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, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getForUserId, getResourceOwners, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void setRequestProperties(TypedProperty reqProperties) throws ECException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
reqProperties
- the TypedProperty object containing the request properties of the commandECException
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
- If the storeId parameter is not specified.public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
public void setOrderId(java.lang.Long passedOrderId)
passedOrderId
- public void setXtensibleCodeCheck(java.lang.String passedXTensibleCodeCheck)
passedXTensibleCodeCheck
- public boolean isBlocked()
isBlocked
in interface InitiateIsBlockedOrderCheckCmd