com.ibm.commerce.utf.commands
Class ActivateAllDueRFQsCmdImpl

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

public class ActivateAllDueRFQsCmdImpl
extends TaskCommandImpl
implements ActivateAllDueRFQsCmd

This is the default implementation of the ActivateAllDueRFQsCmd. 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. ActivateAllDueRFQsCmd
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
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 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

ActivateAllDueRFQsCmdImpl

public ActivateAllDueRFQsCmdImpl()
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 activated.
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
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 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 ActivateAllDueRFQsCmd
Parameters:
storeId - the store identifier number