public class UpdateECouponPromotionTaskCmdImpl extends TaskCommandImpl implements UpdateECouponPromotionTaskCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Deprecated.
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
UpdateECouponPromotionTaskCmdImpl()
Deprecated.
UpdateECouponPromotionTaskCmdImpl constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getError()
Deprecated.
Gets the error.
|
ECMessage |
getErrorMessage()
Deprecated.
Gets the error message.
|
java.lang.String |
getErrorMessageString()
Deprecated.
Gets the error message string.
|
java.lang.Integer |
getLanguageId()
Deprecated.
Gets the language ID.
|
java.lang.Integer |
getPromoId()
Deprecated.
Gets the coupon promotion ID.
|
java.util.Hashtable |
getXml()
Deprecated.
Gets the coupon promotion XML.
|
void |
performExecute()
Deprecated.
Updates the coupon promotion general parameters, shopper viewable description, purchase condition, discount type and
amount for the specified promotion ID using the coupon promotion parameters in the input XML.
|
void |
setLanguageId(java.lang.Integer newLanguageId)
Deprecated.
Sets the language ID.
|
void |
setLocale(java.util.Locale newLocale)
Deprecated.
Sets the locale.
|
void |
setPromoId(java.lang.Integer newPromoId)
Deprecated.
Sets the coupon promotion ID.
|
void |
setStoreId(java.lang.Integer newStoreId)
Deprecated.
Sets the store ID.
|
void |
setXml(java.util.Hashtable newXml)
Deprecated.
Sets the coupon promotion XML.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setCommandContext
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public UpdateECouponPromotionTaskCmdImpl()
public java.lang.String getError()
getError
in interface UpdateECouponPromotionTaskCmd
public ECMessage getErrorMessage()
getErrorMessage
in interface UpdateECouponPromotionTaskCmd
public java.lang.String getErrorMessageString()
getErrorMessageString
in interface UpdateECouponPromotionTaskCmd
public java.lang.Integer getLanguageId()
public java.lang.Integer getPromoId()
public java.util.Hashtable getXml()
public void performExecute() throws ECException, ECSystemException, ECApplicationException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
ECSystemException
ECApplicationException
- Behaviour
The command does the following
public void setLanguageId(java.lang.Integer newLanguageId)
setLanguageId
in interface UpdateECouponPromotionTaskCmd
newLanguageId
- language IDpublic void setLocale(java.util.Locale newLocale)
setLocale
in interface UpdateECouponPromotionTaskCmd
newLocale
- localepublic void setPromoId(java.lang.Integer newPromoId)
setPromoId
in interface UpdateECouponPromotionTaskCmd
newPromoId
- coupon promotion IDpublic void setStoreId(java.lang.Integer newStoreId)
setStoreId
in interface UpdateECouponPromotionTaskCmd
newStoreId
- store IDpublic void setXml(java.util.Hashtable newXml)
setXml
in interface UpdateECouponPromotionTaskCmd
newXmlFile
- coupon promotion XML