com.ibm.commerce.rules.commands
Class PopulateJustInTimeServiceManagerCommandImpl

java.lang.Object
  |
  +--com.ibm.commerce.command.AbstractECCommand
        |
        +--com.ibm.commerce.command.TaskCommandImpl
              |
              +--com.ibm.commerce.rules.commands.PopulateJustInTimeServiceManagerCommandImpl
All Implemented Interfaces:
ECCommand, PopulateJustInTimeServiceManagerCommand, TaskCommand

public class PopulateJustInTimeServiceManagerCommandImpl
extends TaskCommandImpl
implements PopulateJustInTimeServiceManagerCommand

The base implementation of PopulateJustInTimeServiceManagerCommand. Populates the just-in-time service manager with an entry for each rule service configuration found in the data model.


Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.rules.commands.PopulateJustInTimeServiceManagerCommand
COPYRIGHT, defaultCommandClassName
 
Constructor Summary
PopulateJustInTimeServiceManagerCommandImpl()
           
PopulateJustInTimeServiceManagerCommandImpl(RulesSystemDataModel aRulesSystemDataModel)
           
 
Method Summary
 JustInTimeServiceManager getJustInTimeServiceManager()
           
protected  RulesSystemDataModel getRulesSystemDataModel()
           
 void performExecute()
          Contains the actual business logic of the command It should be implemented by all the command writer.
 void reset()
          This method is called after a command has been executed to reset its states variables.
 void setJustInTimeServiceManager(JustInTimeServiceManager aJustInTimeServiceManager)
           
 void validateParameters()
          Performs server side parameter checking.
 
Methods inherited from class com.ibm.commerce.command.AbstractECCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties
 
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, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties
 

Constructor Detail

PopulateJustInTimeServiceManagerCommandImpl

public PopulateJustInTimeServiceManagerCommandImpl()

PopulateJustInTimeServiceManagerCommandImpl

public PopulateJustInTimeServiceManagerCommandImpl(RulesSystemDataModel aRulesSystemDataModel)
See Also:
PersonalizationRuleServiceCommandBase
Method Detail

getJustInTimeServiceManager

public JustInTimeServiceManager getJustInTimeServiceManager()
Specified by:
getJustInTimeServiceManager in interface PopulateJustInTimeServiceManagerCommand

getRulesSystemDataModel

protected RulesSystemDataModel getRulesSystemDataModel()

performExecute

public void performExecute()
                    throws ECException,
                           ECSystemException,
                           InvalidParameterValueException
Description copied from interface: ECCommand
Contains the actual business logic of the command It should be implemented by all the command writer.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECCommand
See Also:
PersonalizationRuleServiceCommandBase

reset

public void reset()
Description copied from class: AbstractECCommand
This method is called after a command has been executed to reset its states variables. After the call to reset, we should be able to execute the command again.
Overrides:
reset in class AbstractECCommand
See Also:
PersonalizationRuleServiceCommandBase

setJustInTimeServiceManager

public void setJustInTimeServiceManager(JustInTimeServiceManager aJustInTimeServiceManager)
Specified by:
setJustInTimeServiceManager in interface PopulateJustInTimeServiceManagerCommand

validateParameters

public void validateParameters()
                        throws InvalidParameterValueException
Description copied from interface: ECCommand
Performs server side parameter checking. This method replaces the checkParameters() method in a previous version of the code.

Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECCommand
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
ECException. -