public interface UpdateExperimentCmd extends TaskCommand
UpdateExperimentCmd interface must be implemented to provide a task
command that updates an experiment. Different implementations of this interface can be
provided for different stores.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
defaultCommandClassName
defaultCommandClassName is the default implementation class used by the
command factory to instantiate this command if the
com.ibm.commerce.tools.experimentation.commands.UpdateExperimentCmd
interface is not defined in the CMDREG table. |
static java.lang.String |
NAME
The name of this interface.
|
Modifier and Type | Method and Description |
---|---|
void |
setDescription(java.lang.String description)
This method sets the description of the experiment to be updated.
|
void |
setEndDate(java.sql.Timestamp endDate)
This method sets the end date of the experiment to be updated.
|
void |
setExperimentId(java.lang.Integer experimentId)
This method sets the ID of the experiment to be updated.
|
void |
setExpireCount(java.lang.Integer expireCount)
This method sets the expire count of the experiment to be updated, which is used to
determine the number of customers to display the experiment to before the experiment
expires.
|
void |
setExpTypeId(java.lang.Integer expTypeId)
This method sets the ID of the experiment type to which the experiment is assigned.
|
void |
setLastUpdate(java.sql.Timestamp lastUpdate)
This method sets the last updated date of the experiment to be updated.
|
void |
setLastUpdatedBy(java.lang.String lastUpdatedBy)
This method sets the logon ID of the user who updates the experiment.
|
void |
setName(java.lang.String name)
This method sets the name of the experiment to be updated.
|
void |
setPreferredElement(java.lang.Short preferredElement)
This method sets the preferred element of the experiment to be updated.
|
void |
setPriority(java.lang.Short priority)
This method sets the priority of the experiment to be updated.
|
void |
setResultScope(java.lang.String resultScope)
This method sets the result scope of the experiment to be updated.
|
void |
setRuleXml(java.lang.String ruleXml)
This method sets the rule XML document of the experiment to be updated.
|
void |
setStartDate(java.sql.Timestamp startDate)
This method sets the start date of the experiment to be updated.
|
void |
setStatus(java.lang.String status)
This method sets the status of the experiment to be updated.
|
void |
setStoreId(java.lang.Integer storeId)
This method sets the ID of the store to which the experiment to be updated belongs.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
defaultCommandClassName
is the default implementation class used by the
command factory to instantiate this command if the
com.ibm.commerce.tools.experimentation.commands.UpdateExperimentCmd
interface is not defined in the CMDREG table.void setDescription(java.lang.String description)
description
- The description of the experiment.void setEndDate(java.sql.Timestamp endDate)
endDate
- The end date of the experiment.void setExperimentId(java.lang.Integer experimentId)
experimentId
- The ID of experiment.void setExpireCount(java.lang.Integer expireCount)
expireCount
- The expire count of the experiment.void setExpTypeId(java.lang.Integer expTypeId)
expTypeId
- The ID of the experiment type.void setLastUpdate(java.sql.Timestamp lastUpdate)
lastUpdate
- The last updated date of experiment.void setLastUpdatedBy(java.lang.String lastUpdatedBy)
lastUpdatedBy
- The logon ID of user.void setName(java.lang.String name)
name
- The name of the experiment.void setPreferredElement(java.lang.Short preferredElement)
preferredElement
- The preferred element of the experiment.void setPriority(java.lang.Short priority)
priority
- The priority of the experiment.void setResultScope(java.lang.String resultScope)
resultScope
- The result scope of the experiment.void setRuleXml(java.lang.String ruleXml)
ruleXml
- The rule XML document of the experiment.void setStartDate(java.sql.Timestamp startDate)
startDate
- The start date of the experiment.void setStatus(java.lang.String status)
status
- The status of the experiment.void setStoreId(java.lang.Integer storeId)
storeId
- The ID of the store to which the experiment belongs.