public class ReleaseExpiredAllocationsCmdImpl extends ControllerCommandImpl implements ReleaseExpiredAllocationsCmd
Constructor and Description |
---|
ReleaseExpiredAllocationsCmdImpl()
This is the class constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Long[] | findStaleOrderItems()
Finds order items which are stale, i.e.
|
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.
|
protected boolean | verifyStaleOrderItem(java.lang.Long anOrderItemId)
Verifies that the order item is stale, i.e.
|
public ReleaseExpiredAllocationsCmdImpl()
public AccessVector getResources() throws ECException
public boolean isGeneric()
public boolean isReadyToCallExecute()
protected java.lang.Long[] findStaleOrderItems() throws ECException
protected boolean verifyStaleOrderItem(java.lang.Long anOrderItemId) throws ECException
public void performExecute() throws ECException
public void reset()
public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
public void validateParameters() throws ECException
Parameters