public class ReleaseToFulfillmentCmdImpl extends ControllerCommandImpl implements ReleaseToFulfillmentCmd
ReleaseToFulfillmentCmd controller command.
| Name | Description |
|---|---|
storeId |
the store Id. |
ReleaseOrdersToFulfillmentCOCmd to release this order to fulfillment.StoreAccessBean OrderAccessBean OrderJDBCHelperAccessBean defaultCommandClassName, NAME| Constructor and Description |
|---|
ReleaseToFulfillmentCmdImpl()
This is the class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AccessVector |
getResources()
Returns the command resources for access control.
|
static void |
invokeOrderReleaseMessaging(java.lang.Long anOrderRn,
java.lang.Long allocationRn,
java.lang.Integer anStoreId,
CommandContext aProcessingContext,
TypedProperty ahshRequestProperties)
Invoke order release messaging.
|
boolean |
isGeneric()
Determine whether this command is generic.
|
boolean |
isReadyToCallExecute()
Determine whether it is ready to execute the command.
|
void |
performExecute()
Executes the business logic of this command implementation.
|
void |
reset()
Reset instance variables.
|
void |
setRequestProperties(TypedProperty reqParms)
Sets the request properties of the command implementation.
|
void |
validateParameters()
Extracts and validates the input parameters of this command implementation.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, 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, 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, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic ReleaseToFulfillmentCmdImpl()
public AccessVector getResources() throws ECException
StoreAccessBeangetResources in interface ECCommandgetResources in class AbstractECTargetableCommandECException - for a failure to obtain the StoreAccessBeanpublic static void invokeOrderReleaseMessaging(java.lang.Long anOrderRn,
java.lang.Long allocationRn,
java.lang.Integer anStoreId,
CommandContext aProcessingContext,
TypedProperty ahshRequestProperties)
throws ECException
anOrderRn - the order IdallocationRn - the allocation numberanStoreId - the store IdaProcessingContext - the command contextahshRequestProperties - the command request propertiesECException - for failurespublic boolean isGeneric()
isGeneric in interface ControllerCommandisGeneric in class ControllerCommandImplpublic boolean isReadyToCallExecute()
isReadyToCallExecute in interface com.ibm.websphere.command.CommandisReadyToCallExecute in class AbstractECTargetableCommandpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECSystemException - If it cannot commit the transaction started by the command
throws com.ibm.commerce.exception.ECSystemException
with ECMessage.STA_COMMIT_DB_FAILUREECSystemException - If the OrderJDBCHelper.findOrderToRelease has SQL exception
throws com.ibm.commerce.exception.ECSystemException
with ECMessage._ERR_FINDER_EXCEPTIONECSystemException - If the OrderJDBCHelper.findOrderToRelease has SQL exception
throws com.ibm.commerce.exception.ECSystemException
with ECMessage._ERR_SQL_EXCEPTIONECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplreqParms - the command request propertiesECApplicationException - for failurespublic void validateParameters()
throws ECException
Parameters
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECSystemException - If the store id has not been specified
throws com.ibm.commerce.exception.ECSystemException
with ECMessage._ERR_DIDNT_SET_MERCHANT
ECException - for failures -- if the storeId was not specified