com.ibm.commerce.utf.commands
Class CloseAllExpiredRFQsCmdImpl

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

public class CloseAllExpiredRFQsCmdImpl
extends TaskCommandImpl
implements CloseAllExpiredRFQsCmd

TaskCommand class implementaion for closing all expired RFQs.

See Also:


Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.utf.commands.CloseAllExpiredRFQsCmd
COPYRIGHT, defaultCommandClassName, NAME, siteStoreId
 
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 setStoreId(java.lang.Integer storeId)
          Sets the store identifier number.
 
Methods inherited from class com.ibm.commerce.command.AbstractECCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Constructor Detail

CloseAllExpiredRFQsCmdImpl

public CloseAllExpiredRFQsCmdImpl()
CloseAllExpiredRFQsCmdImpl constructor comment.
Method Detail

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 AbstractECCommand
Returns:
AccessVector - a vector of resource action pairs

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 AbstractECCommand
Throws:
ECException. -  

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.