com.ibm.commerce.utf.commands
Class CloseAllExpiredRFQsCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.TaskCommandImpl
                    |
                    +--com.ibm.commerce.utf.commands.CloseAllExpiredRFQsCmdImpl
All Implemented Interfaces:
CloseAllExpiredRFQsCmd, ECCommand, ECTargetableCommand, TaskCommand

public class CloseAllExpiredRFQsCmdImpl
extends TaskCommandImpl
implements CloseAllExpiredRFQsCmd

This is the default implementation of the CloseAllExpiredRFQsCmd. This command uses the following AccessBeans:

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.utf.commands. CloseAllExpiredRFQsCmd
COPYRIGHT, defaultCommandClassName, NAME, siteStoreId
 
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand
COPYRIGHT
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Constructor Summary
CloseAllExpiredRFQsCmdImpl()
          CloseAllExpiredRFQsCmdImpl constructor comment.
 
Method Summary
  AccessVector getResources()
          Gets the access vector accessed by this command.
 void performExecute()
          Closes all ACTIVE and INEVALUATE state RFQs who's end time has passed.
 void reset()
          Reset the command.
 void setStoreId(java.lang.Integer storeId)
          Sets the store identifier number.
 
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloseAllExpiredRFQsCmdImpl

public CloseAllExpiredRFQsCmdImpl()
CloseAllExpiredRFQsCmdImpl constructor comment.
Method Detail

reset

public void reset()
Reset the command.
Overrides:
reset in class AbstractECTargetableCommand

getResources

public AccessVector getResources()
                          throws ECException
Gets the access vector accessed by this command. The vector includes all the RFQs to be closed.
Specified by:
getResources in interface ECCommand
Overrides:
getResources in class AbstractECTargetableCommand
Returns:
AccessVector - a vector of resource action pairs
Throws:
ECException
See Also:
ECCommand.getResources()

performExecute

public void performExecute()
                    throws ECException
Closes all ACTIVE and INEVALUATE state RFQs who's end time has passed.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException
See Also:
ECCommand.performExecute()

setStoreId

public void setStoreId(java.lang.Integer storeId)
Sets the store identifier number. If the store id is 0 then this command works on all RFQs for the site.
Specified by:
setStoreId in interface CloseAllExpiredRFQsCmd
Parameters:
storeId - the store identifier number.