public class CreateCouponDiscountCmdImpl extends TaskCommandImpl implements CreateCouponDiscountCmd, ECECouponConstant
Behaviour If any of the parameter to this command is missing then it throws ECSystemException.
The command uses the following access beans: CalculationCodeAccessBean, CalculationCodeDescriptionAccessBean, CalculationRangeAccessBean, CalculationRangeLookupResultAccessBean, CalculationRuleAccessBean, CalculationRuleMemberGroupRelationshipAccessBean, CalculationRuleScaleRelationshipAccessBean, CalculationScaleAccessBean, CatalogEntryCalculationCodeAccessBean, CatalogEntryAccessBean, CatalogEntryCalculationCodeAccessBean, StoreAccessBean, CatalogGroupAccessBean, CatalogGroupCalculationCodeAccessBean.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
Deprecated.
IBM Copyright notice field.
|
Constructor and Description |
---|
CreateCouponDiscountCmdImpl()
Deprecated.
CreateCouponDiscountCmdImpl calls super().
|
Modifier and Type | Method and Description |
---|---|
void | createCalCodeBean()
Deprecated.
Creates and populates the calculation code bean.
|
void | createCalDescBean()
Deprecated.
Creates and populates the calculation code description bean.
|
void | createCalRangeBean()
Deprecated.
Creates and populates the calculation code range bean
|
void | createCalRuleBean()
Deprecated.
Creates and populates the calculation rule bean
|
void | createCalRuleMgpBean()
Deprecated.
Creates and populates the calculation rule member group bean
|
void | createCalRuleScaleBean()
Deprecated.
Creates and populates the calculation rule scale bean
|
void | createCalScaleBean()
Deprecated.
Creates and populates the calculation scale bean
|
void | createCatencalcd()
Deprecated.
Creates and populates catalog entry to calculation code mapping.
|
java.lang.String | getAdminDescription()
Deprecated.
Gets the AdminsDescription.
|
java.util.Vector | getAssignedShopperGroups()
Deprecated.
Gets AssignedShopperGroups.
|
java.lang.Integer | getCalCodeId()
Deprecated.
Gets CalCodeId.
|
java.lang.String | getCode()
Deprecated.
Gets Code(Discount Name).
|
java.lang.String | getCurrency()
Deprecated.
Gets Currency.
|
java.lang.String | getDescription()
Deprecated.
Gets Description.
|
java.util.Vector | getDiscountValueVector()
Deprecated.
Gets DiscountValueVector.
|
java.lang.Integer | getDiscSubType()
Deprecated.
Gets DiscountSubType.
|
java.lang.Integer | getDiscType()
Deprecated.
Gets DiscountType
|
java.sql.Timestamp | getEndTimestamp()
Deprecated.
Gets EndTimestamp.
|
java.lang.Integer | getGroupBy()
Deprecated.
Gets GroupBy.
|
java.lang.Integer | getLangId()
Deprecated.
Gets LanguageId.
|
java.util.Vector | getProduct()
Deprecated.
Gets Product set for populating CatenCalCd.
|
java.util.Vector | getRangeFromVector()
Deprecated.
Gets RangeFromeVector.
|
java.lang.Integer | getRangeType()
Deprecated.
Gets Range Type
|
java.sql.Timestamp | getStartTimestamp()
Deprecated.
Gets StartTimestamp.
|
boolean | isReadyToCallExecute()
Deprecated.
Always returns true.
|
void | performExecute()
Deprecated.
This method populates all the calcode related tables for a coupon promotion discount.
|
void | setAdminDescription(java.lang.String newAdminDescription)
Deprecated.
Sets the AdminsDescription.
|
void | setAllShoppers(boolean newAllShoppers)
Deprecated.
Sets whether all shopper can avail this discount.
|
void | setAssignedShopperGroups(java.util.Vector newAssignedShopperGroups)
Deprecated.
Sets AssignedShopperGroups if all shoppers can not avail the discount.
|
void | setCalCodeId(java.lang.Integer newCalCodeId)
Deprecated.
Sets CalcodeId.
|
void | setCategory(java.util.Vector newCategory)
Deprecated.
Sets the categories to be included in catgpcalcd table
|
void | setCode(java.lang.String newCode)
Deprecated.
Sets the Discount Name.
|
void | setCurrency(java.lang.String newCurrency)
Deprecated.
Sets Currency for this calculation code.
|
void | setDescription(java.lang.String newDescription)
Deprecated.
Sets Description.
|
void | setDiscountValueVector(java.util.Vector newDiscountValueVector)
Deprecated.
Sets DiscountValueVector.
|
void | setDiscSubType(java.lang.Integer newDiscSubType)
Deprecated.
Sets the type of discount given.
|
void | setDiscType(java.lang.Integer newDiscType)
Deprecated.
Sets DiscountType.
|
void | setEndTimestamp(java.sql.Timestamp newEndTimestamp)
Deprecated.
Sets the end of validity period.
|
void | setGroupBy(java.lang.Integer newGroupBy)
Deprecated.
Sets GroupBy.
|
void | setHasDateTimeRange(boolean newHasDateTimeRange)
Deprecated.
Indicates whether this calculation code has a date time range.
|
void | setLangId(java.lang.Integer newLangId)
Deprecated.
Sets LanguageId.(Can be removed)
|
void | setProduct(java.util.Vector newProduct)
Deprecated.
Sets Product list to be included in Catentcalcd table.
|
void | setRangeFromVector(java.util.Vector newRangeFromVector)
Deprecated.
Sets RangeFromVector.
|
void | setRangeType(java.lang.Integer newRangeType)
Deprecated.
Sets RangeType.
|
void | setStartTimestamp(java.sql.Timestamp newStartTimestamp)
Deprecated.
Sets the start time of the calculcation code.
|
void | setStoreId(java.lang.Integer newStoreId)
Deprecated.
Sets StoreId(Can be removed).
|
public static final java.lang.String COPYRIGHT
public CreateCouponDiscountCmdImpl()
public void createCalCodeBean() throws ECSystemException
public void createCalDescBean() throws ECSystemException
public void createCalRangeBean() throws ECSystemException
public void createCalRuleBean() throws ECSystemException
public void createCalRuleMgpBean() throws ECSystemException
public void createCalRuleScaleBean() throws ECSystemException
public void createCalScaleBean() throws ECSystemException
public void createCatencalcd() throws ECSystemException
public java.lang.String getAdminDescription()
public java.util.Vector getAssignedShopperGroups()
public java.lang.Integer getCalCodeId()
public java.lang.String getCode()
public java.lang.String getCurrency()
public java.lang.String getDescription()
public java.util.Vector getDiscountValueVector()
public java.lang.Integer getDiscSubType()
public java.lang.Integer getDiscType()
public java.sql.Timestamp getEndTimestamp()
public java.lang.Integer getGroupBy()
public java.lang.Integer getLangId()
public java.util.Vector getProduct()
public java.util.Vector getRangeFromVector()
public java.lang.Integer getRangeType()
public java.sql.Timestamp getStartTimestamp()
public boolean isReadyToCallExecute()
public void performExecute() throws ECSystemException, ECException
public void setAdminDescription(java.lang.String newAdminDescription)
public void setAllShoppers(boolean newAllShoppers)
public void setAssignedShopperGroups(java.util.Vector newAssignedShopperGroups)
public void setCalCodeId(java.lang.Integer newCalCodeId)
public void setCategory(java.util.Vector newCategory)
public void setCode(java.lang.String newCode)
public void setCurrency(java.lang.String newCurrency)
public void setDescription(java.lang.String newDescription)
public void setDiscountValueVector(java.util.Vector newDiscountValueVector)
public void setDiscSubType(java.lang.Integer newDiscSubType)
public void setDiscType(java.lang.Integer newDiscType)
public void setEndTimestamp(java.sql.Timestamp newEndTimestamp)
public void setGroupBy(java.lang.Integer newGroupBy)
public void setHasDateTimeRange(boolean newHasDateTimeRange)
public void setLangId(java.lang.Integer newLangId)
public void setProduct(java.util.Vector newProduct)
public void setRangeFromVector(java.util.Vector newRangeFromVector)
public void setRangeType(java.lang.Integer newRangeType)
public void setStartTimestamp(java.sql.Timestamp newStartTimestamp)
public void setStoreId(java.lang.Integer newStoreId)