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, 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 ReleaseToFulfillmentCmdImpl()
public AccessVector getResources() throws ECException
StoreAccessBean
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
- 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 ControllerCommand
isGeneric
in class ControllerCommandImpl
public 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
ECSystemException
- 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_EXCEPTIONECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
reqParms
- the command request propertiesECApplicationException
- for failurespublic void validateParameters() throws ECException
Parameters
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECSystemException
- 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