com.ibm.commerce.rules.commands
Class PersonalizationRuleServiceDetailsCommandBase

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
All Implemented Interfaces:
ECCommand, PersonalizationRuleServiceCommand, TaskCommand
Direct Known Subclasses:
ChangePersonalizationRuleServiceCommandJitImpl, CreatePersonalizationRuleServiceCommandJitImpl

public abstract class PersonalizationRuleServiceDetailsCommandBase
extends PersonalizationRuleServiceCommandBase

Common behavior of commands that operate on the configuration details of a personalization rule service.

These commands have additional input parameters:

This class has several constructors, which can be used as described in the documentation for PersonalizationRuleServiceCommandBase.


Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.rules.commands.PersonalizationRuleServiceCommand
COPYRIGHT
 
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
 
Constructor Summary
PersonalizationRuleServiceDetailsCommandBase()
           
PersonalizationRuleServiceDetailsCommandBase(RulesSystemDataModel aRulesSystemDataModel)
           
PersonalizationRuleServiceDetailsCommandBase(java.lang.String aPersonalizationRuleServerName, RulesSystemDataModel aRulesSystemDataModel)
           
 
Method Summary
protected  java.lang.Number getAgents()
           
protected  java.lang.Boolean getEnabled()
           
protected  java.io.File getProjectPath()
           
protected abstract  RuleServiceConfiguration getRuleServiceConfiguration()
           
protected  java.lang.Number getSessionTimeout()
           
 void reset()
          This method should be called after a command has been executed to reset its states variables.
 void setAgents(java.lang.Number newAgents)
           
 void setEnabled(java.lang.Boolean newEnabled)
           
 void setProjectPath(java.io.File newProjectPath)
           
protected  void setRuleServiceConfigurationProperties(RuleServiceConfiguration aRuleServiceConfiguration)
          Alters the specified rule service configuration with any values that have been set as input to this command.
 void setSessionTimeout(java.lang.Number newSessionTimeout)
           
 
Methods inherited from class com.ibm.commerce.rules.commands.PersonalizationRuleServiceCommandBase
doCheckParameter, doPerformExecute, getDefaultPersonalizationRuleServerName, getDefaultRulesSystemDataModel, getPersonalizationRuleServerName, getRuleServiceKey, getRulesSystemDataModel, getServiceName, performExecute, setServiceName, unsetParameters, validateParameters
 
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

PersonalizationRuleServiceDetailsCommandBase

public PersonalizationRuleServiceDetailsCommandBase()

PersonalizationRuleServiceDetailsCommandBase

public PersonalizationRuleServiceDetailsCommandBase(RulesSystemDataModel aRulesSystemDataModel)

PersonalizationRuleServiceDetailsCommandBase

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

getAgents

protected java.lang.Number getAgents()

getEnabled

protected java.lang.Boolean getEnabled()

getProjectPath

protected java.io.File getProjectPath()

getRuleServiceConfiguration

protected abstract RuleServiceConfiguration getRuleServiceConfiguration()
                                                                 throws ParameterNotFoundException

getSessionTimeout

protected java.lang.Number getSessionTimeout()

reset

public void reset()
This method should be 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 PersonalizationRuleServiceCommandBase
Following copied from class: com.ibm.commerce.rules.commands.PersonalizationRuleServiceCommandBase
See Also:
ECCommand

setAgents

public void setAgents(java.lang.Number newAgents)

setEnabled

public void setEnabled(java.lang.Boolean newEnabled)

setProjectPath

public void setProjectPath(java.io.File newProjectPath)

setRuleServiceConfigurationProperties

protected void setRuleServiceConfigurationProperties(RuleServiceConfiguration aRuleServiceConfiguration)
Alters the specified rule service configuration with any values that have been set as input to this command.
Parameters:
aRuleServiceConfiguration - The rule service configuration to update with the input parameters to this command. Only parameters that have been set are changed in this rule service configuration.

setSessionTimeout

public void setSessionTimeout(java.lang.Number newSessionTimeout)