com.ibm.commerce.rules.commands
Class CreatePersonalizationRuleServiceCommandJitImpl

java.lang.Object
  |
  +--com.ibm.commerce.command.AbstractECCommand
        |
        +--com.ibm.commerce.command.TaskCommandImpl
              |
              +--com.ibm.commerce.rules.commands.PersonalizationRuleServiceCommandBase
                    |
                    +--com.ibm.commerce.rules.commands.PersonalizationRuleServiceDetailsCommandBase
                          |
                          +--com.ibm.commerce.rules.commands.CreatePersonalizationRuleServiceCommandJitImpl
All Implemented Interfaces:
CreatePersonalizationRuleServiceCommand, ECCommand, PersonalizationRuleServiceCommand, PersonalizationRuleServiceDetailsCommand, TaskCommand

public class CreatePersonalizationRuleServiceCommandJitImpl
extends PersonalizationRuleServiceDetailsCommandBase
implements CreatePersonalizationRuleServiceCommand

This "just in time" implementation creates the new rule service configuration and marks it "to be added" so that the personalization rule server can add it at its next opportunity.


Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.rules.commands.CreatePersonalizationRuleServiceCommand
defaultCommandClassName
 
Constructor Summary
CreatePersonalizationRuleServiceCommandJitImpl()
           
CreatePersonalizationRuleServiceCommandJitImpl(java.lang.String aPersonalizationRuleServerName, RulesSystemDataModel aRulesSystemDataModel)
           
 
Method Summary
protected  void doPerformExecute()
          A primitive method that does the "real work" of the command.
protected  RuleServiceConfiguration getRuleServiceConfiguration()
           
 void validateParameters()
          Performs server side parameter checking.
 
Methods inherited from class com.ibm.commerce.rules.commands.PersonalizationRuleServiceDetailsCommandBase
getAgents, getEnabled, getProjectPath, getSessionTimeout, reset, setAgents, setEnabled, setProjectPath, setRuleServiceConfigurationProperties, setSessionTimeout
 
Methods inherited from class com.ibm.commerce.rules.commands.PersonalizationRuleServiceCommandBase
doCheckParameter, getDefaultPersonalizationRuleServerName, getDefaultRulesSystemDataModel, getPersonalizationRuleServerName, getRuleServiceKey, getRulesSystemDataModel, getServiceName, performExecute, setServiceName, unsetParameters
 
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.rules.commands.PersonalizationRuleServiceDetailsCommand
setAgents, setEnabled, setProjectPath, setSessionTimeout
 
Methods inherited from interface com.ibm.commerce.rules.commands.PersonalizationRuleServiceCommand
setServiceName
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Constructor Detail

CreatePersonalizationRuleServiceCommandJitImpl

public CreatePersonalizationRuleServiceCommandJitImpl()

CreatePersonalizationRuleServiceCommandJitImpl

public CreatePersonalizationRuleServiceCommandJitImpl(java.lang.String aPersonalizationRuleServerName,
                                                      RulesSystemDataModel aRulesSystemDataModel)
Method Detail

doPerformExecute

protected void doPerformExecute()
                         throws ECException
Description copied from class: PersonalizationRuleServiceCommandBase
A primitive method that does the "real work" of the command. Called by performExecute.
Overrides:
doPerformExecute in class PersonalizationRuleServiceCommandBase
See Also:
PersonalizationRuleServiceCommandBase

getRuleServiceConfiguration

protected RuleServiceConfiguration getRuleServiceConfiguration()
                                                        throws ParameterNotFoundException
Overrides:
getRuleServiceConfiguration in class PersonalizationRuleServiceDetailsCommandBase

validateParameters

public void validateParameters()
                        throws ECException
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 PersonalizationRuleServiceCommandBase
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
ECException. -