com.ibm.commerce.utf.commands
Class ActivateAllDueRFQsCmdImpl

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

public class ActivateAllDueRFQsCmdImpl
extends TaskCommandImpl
implements ActivateAllDueRFQsCmd

TaskCommand class implementaion for activatin RFQs that are in the FUTURE state and the start time has passed.

See Also:


Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.utf.commands.ActivateAllDueRFQsCmd
COPYRIGHT, defaultCommandClassName, NAME, siteStoreId
 
Constructor Summary
ActivateAllDueRFQsCmdImpl()
           
 
Method Summary
 AccessVector getResources()
          Gets the access vector accessed by this command.
 void performExecute()
          Sets all RFQs in the FUTURE state who's start time has passed to the ACTIVE state.
 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

ActivateAllDueRFQsCmdImpl

public ActivateAllDueRFQsCmdImpl()
Method Detail

getResources

public AccessVector getResources()
                          throws ECException
Gets the access vector accessed by this command. The vector includes all the RFQs to be activated.

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
Sets all RFQs in the FUTURE state who's start time has passed to the ACTIVE state.

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 ActivateAllDueRFQsCmd
Parameters:
storeId - the store identifier number.