com.ibm.commerce.ruleservice.admin.commands
Class RuleServiceDetailsCommandBase
com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.ControllerCommandImpl
|
+--com.ibm.commerce.tools.command.ToolsControllerCommandImpl
|
+--com.ibm.commerce.ruleservice.admin.commands.RuleServiceAdministrationCommandBase
|
+--com.ibm.commerce.ruleservice.admin.commands.RuleServiceDetailsCommandBase
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, Protectable, RuleServiceAdminCommand, ToolsControllerCommand
- Direct Known Subclasses:
- AddRuleServiceCommandImpl, EditRuleServiceCommandImpl
- public abstract class RuleServiceDetailsCommandBase
- extends RuleServiceAdministrationCommandBase
A base for commands that operate on the details of
a rule service.
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties |
NUMBER_OF_AGENTS_URL_PARAM_NAME
public static final java.lang.String NUMBER_OF_AGENTS_URL_PARAM_NAME
numberOfAgents
protected java.lang.Integer numberOfAgents
PROJECT_PATH_URL_PARAM_NAME
public static final java.lang.String PROJECT_PATH_URL_PARAM_NAME
projectPath
protected java.lang.String projectPath
sessionTimeout
protected java.lang.Long sessionTimeout
TIMEOUT_URL_PARAM_NAME
public static final java.lang.String TIMEOUT_URL_PARAM_NAME
RuleServiceDetailsCommandBase
public RuleServiceDetailsCommandBase()
RuleServiceDetailsCommandBase
public RuleServiceDetailsCommandBase(RuleServiceResourceProxy aRuleServiceResourceProxy)
createPersonalizationRuleServiceDetailsCommand
protected abstract PersonalizationRuleServiceDetailsCommand createPersonalizationRuleServiceDetailsCommand()
throws ECException
- Subclasses implement this to return the appropriate
command instance.
doPerformExecute
protected void doPerformExecute()
throws ECException
- Instantiates the command, sets it parameters, then
executes it. All exceptions are propagated to the
WCS command framework.
- Overrides:
doPerformExecute
in class RuleServiceAdministrationCommandBase
getNumberOfAgents
protected java.lang.Integer getNumberOfAgents()
getProjectPath
protected java.lang.String getProjectPath()
getSessionTimeout
protected java.lang.Long getSessionTimeout()
setNumberOfAgents
protected void setNumberOfAgents(java.lang.Integer newNumberOfAgents)
setProjectPath
protected void setProjectPath(java.lang.String newProjectPath)
setRequestProperties
public void setRequestProperties(TypedProperty reqProps)
throws ECApplicationException
- Retrieves input parameters from the request properties.
- Overrides:
setRequestProperties
in class RuleServiceAdministrationCommandBase
- Following copied from interface:
com.ibm.commerce.command.ControllerCommand
- Parameters:
requestProperties
- com.ibm.commerce.datatype.TypedProperty- Throws:
com.ibm.commerce.exception.ECException.
-
setSessionTimeout
protected void setSessionTimeout(java.lang.Long newSessionTimeout)