public class ReleaseExpiredAllocationsCmdImpl extends ControllerCommandImpl implements ReleaseExpiredAllocationsCmd
ReleaseExpiredAllocationsCmd interface.
DeallocateExistingInventoryCmd.
DeallocateExpectedInventoryCmd.
defaultCommandClassName, NAME| Constructor and Description |
|---|
ReleaseExpiredAllocationsCmdImpl()
This is the class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AccessVector |
getResources()
This method returns command resources for access control.
|
boolean |
isGeneric()
This method returns false if this command can't be run by a generic user.
|
boolean |
isReadyToCallExecute()
This method returns true if this command is ready to be executed.
|
void |
performExecute()
This method releases order item allocations for a given store that have exceeded their expiration times.
|
void |
reset()
This method resets instance variables.
|
void |
setRequestProperties(TypedProperty reqParms)
This method sets the request properties of this command implementation.
|
void |
validateParameters()
This method 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 ReleaseExpiredAllocationsCmdImpl()
public AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECException - for failures obtaining the StoreAccessBeanpublic 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 AbstractECTargetableCommandECException.ECExceptionpublic 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 - input request properties.ECApplicationException - for failurespublic void validateParameters()
throws ECException
Parameters
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandcom.ibm.commerce.exception.ECException. - If the store id has not been specified, it throws
com.ibm.commerce.exception.ECSystemException
with ECMessage._ERR_DIDNT_SET_MERCHANT
ECException