|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.tools.campaigns.CampaignInitiativeDetailsDataBean
The CampaignInitiativeDetailsDataBean class extends the CampaignInitiativeDataBean class to create a detailed databean for a campaign initiative.
Inner Class Summary | |
static class |
CampaignInitiativeDetailsDataBean.WhenChoice
The WhenChoice inner class defines the WHICH condition of the campaign initiative. |
Field Summary | |
protected java.util.Vector |
_availableCollateral
Campaign initiative WHAT condition available general ad copies. |
protected java.util.Vector |
_availableCouponCollateral
Campaign initiative WHAT condition available coupon advertisement. |
protected java.util.Vector |
_availableDiscountCollateral
Campaign initiative WHAT condition available discount advertisement. |
protected java.util.Vector |
_availableSegments
Campaign initiative available segments. |
protected java.lang.String |
_categoryLanguageDescription
Campaign initiative WHAT condition language description for category. |
protected java.lang.String |
_currency
Campaign initiative currency to use in the condition. |
protected java.util.Vector |
_daysOfTheWeek
Campaign initiative WHEN condition selected days of the week. |
protected boolean |
_everyday
Campaign initiative WHEN condition everyday flag. |
protected java.lang.Integer |
_languageId
Campaign initiative language to use in the condition. |
protected java.util.Vector |
_productAttributes
Campaign initiative WHAT condition product attributes. |
protected java.lang.String |
_productLanguageDescription
Campaign initiative WHAT condition language description for product. |
protected java.util.Vector |
_productSkus
Campaign initiative WHAT condition selected product SKU. |
protected java.util.Vector |
_selectedCategories
Campaign initiative WHAT condition selected categories. |
protected java.util.Vector |
_selectedCollateral
Campaign initiative WHAT condition selected general ad copies. |
protected java.util.Vector |
_selectedCouponCollateral
Campaign initiative WHAT condition selected coupon advertisement. |
protected java.lang.String |
_selectedDiscountCode
Campaign initiative WHAT condition selected discount advertisement code. |
protected java.util.Vector |
_selectedDiscountCollateral
Campaign initiative WHAT condition selected discount advertisement. |
protected java.lang.String |
_selectedDiscountUsage
Campaign initiative WHAT condition selected discount advertisement details. |
protected java.util.Vector |
_selectedSegments
Campaign initiative selected segments. |
protected boolean |
_targetAllShoppers
Campaign initiative target all shoppers flag. |
protected java.lang.String |
_whatType
Campaign initiative WHAT type. |
protected java.util.Vector |
_whenChoices
Campaign initiative WHEN conditions. |
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
CampaignInitiativeDetailsDataBean()
|
Method Summary | |
java.util.Vector |
getAvailableCollateral()
Gets the campaign initiative available general ad copies. |
java.util.Vector |
getAvailableCouponCollateral()
Gets the campaign initiative available coupon ad copies. |
java.util.Vector |
getAvailableDiscountCollateral()
Gets the campaign initiative available discount ad copies. |
java.util.Vector |
getAvailableSegments()
Gets the campaign initiative available segments. |
java.lang.Integer |
getCampaignId()
Gets the campaign ID of the initiative. |
java.lang.String |
getCampaignName()
Gets the campaign name of the initiative. |
java.lang.String |
getCategoryLanguageDescription()
Gets the campaign initiative category language description. |
java.lang.String |
getCurrency()
Gets the currency used in this campaign initiative. |
java.util.Vector |
getDaysOfTheWeek()
Gets the days of the week used in this campaign initiative WHEN condition. |
java.lang.String |
getDescription()
Gets the campaign initiative description. |
boolean |
getDisabled()
Gets the campaign initiative disable flag. |
boolean |
getEveryday()
Gets the everyday flag used in this campaign initiative WHEN condition. |
java.lang.Integer |
getId()
Gets the campaign initiative ID. |
java.lang.String |
getInitiativeName()
Gets the campaign initiative name. |
java.lang.Integer |
getLanguageId()
Gets the language ID used in this campaign initiative. |
java.lang.Long |
getLastUpdateDate()
Gets the campaign initiative last updated date. |
java.lang.String |
getLastUpdatedBy()
Gets the campaign initiative last updated user. |
java.util.Vector |
getProductAttributes()
Gets the product attributes used in this campaign initiative WHAT condition. |
java.lang.String |
getProductLanguageDescription()
Gets the description of the product language used in this campaign initiative WHAT condition. |
java.util.Vector |
getProductSkus()
Gets the product SKUs used in this campaign initiative WHAT condition. |
java.util.Vector |
getSelectedCategories()
Gets the selected categories in this campaign initiative WHAT condition. |
java.util.Vector |
getSelectedCollateral()
Gets the selected campaign initiative general ad copies. |
java.util.Vector |
getSelectedCouponCollateral()
Gets the selected campaign initiative coupon ad copies. |
java.lang.String |
getSelectedDiscountCode()
Gets the code of the discount used in the selected discount ad copies in the campaign initiative WHAT condition. |
java.util.Vector |
getSelectedDiscountCollateral()
Gets the selected campaign initiative discount ad copies. |
java.lang.String |
getSelectedDiscountUsage()
Gets the details of the discount used in the selected discount ad copies in the campaign initiative WHAT condition. |
java.util.Vector |
getSelectedSegments()
Gets the selected segments in this campaign initiative WHO condition. |
java.lang.Integer |
getSellType()
Gets the campaign initiative sell type. |
boolean |
getTargetAllShoppers()
Gets the target all shoppers flag used in the campaign initiative WHO condition. |
java.lang.String |
getWhatType()
Gets the type of the campaign initiative WHAT condition. |
java.util.Vector |
getWhenChoices()
Gets the choices of the campaign initiative WHICH condition. |
void |
populate()
Populate the databean. |
protected void |
populateCollateral()
Populate all the selected and available collateral of this initiative. |
protected void |
populateCondition(Condition condition)
Populate the details of the condition. |
protected void |
populateCouponCollateral()
Populate the selected and available coupon collateral of this initiative. |
protected void |
populateDiscountCollateral()
Populate the selected and available discount collateral of this initiative. |
protected void |
populateGeneralCollateral()
Populate the selected and available general collateral of this initiative. |
protected void |
populateOpenCondition(OpenCondition condition)
Populate the details of the open condition. |
protected void |
populateRule()
Populate the details of the initiative business rule. |
protected void |
populateSegments()
Populate the selected segments of this campaign initiative. |
protected void |
populateSimpleCondition(SimpleCondition condition)
Populate the details of the simple condition. |
void |
setCategoryLanguageDescription(java.lang.String newCategoryLanguageDescription)
Sets the campaign initiative category language description. |
void |
setProductLanguageDescription(java.lang.String newProductLanguageDescription)
Sets the campaign initiative product language description. |
void |
setXML(java.util.Hashtable xml)
Sets the XML. |
Field Detail |
protected java.util.Vector _availableCollateral
protected java.util.Vector _availableCouponCollateral
protected java.util.Vector _availableDiscountCollateral
protected java.util.Vector _availableSegments
protected java.lang.String _categoryLanguageDescription
protected java.lang.String _currency
protected java.util.Vector _daysOfTheWeek
protected boolean _everyday
protected java.lang.Integer _languageId
protected java.util.Vector _productAttributes
protected java.lang.String _productLanguageDescription
protected java.util.Vector _productSkus
protected java.util.Vector _selectedCategories
protected java.util.Vector _selectedCollateral
protected java.util.Vector _selectedCouponCollateral
protected java.lang.String _selectedDiscountCode
protected java.util.Vector _selectedDiscountCollateral
protected java.lang.String _selectedDiscountUsage
protected java.util.Vector _selectedSegments
protected boolean _targetAllShoppers
protected java.lang.String _whatType
protected java.util.Vector _whenChoices
public static final java.lang.String COPYRIGHT
Constructor Detail |
public CampaignInitiativeDetailsDataBean()
Method Detail |
public java.util.Vector getAvailableCollateral()
public java.util.Vector getAvailableCouponCollateral()
public java.util.Vector getAvailableDiscountCollateral()
public java.util.Vector getAvailableSegments()
public java.lang.Integer getCampaignId()
public java.lang.String getCampaignName()
public java.lang.String getCategoryLanguageDescription()
public java.lang.String getCurrency()
public java.util.Vector getDaysOfTheWeek()
public java.lang.String getDescription()
public boolean getDisabled()
public boolean getEveryday()
public java.lang.Integer getId()
public java.lang.String getInitiativeName()
public java.lang.Integer getLanguageId()
public java.lang.Long getLastUpdateDate()
public java.lang.String getLastUpdatedBy()
public java.util.Vector getProductAttributes()
public java.lang.String getProductLanguageDescription()
public java.util.Vector getProductSkus()
public java.util.Vector getSelectedCategories()
public java.util.Vector getSelectedCollateral()
public java.util.Vector getSelectedCouponCollateral()
public java.lang.String getSelectedDiscountCode()
public java.util.Vector getSelectedDiscountCollateral()
public java.lang.String getSelectedDiscountUsage()
public java.util.Vector getSelectedSegments()
public java.lang.Integer getSellType()
public boolean getTargetAllShoppers()
public java.lang.String getWhatType()
public java.util.Vector getWhenChoices()
public void populate() throws java.lang.Exception
protected void populateCollateral()
protected void populateCondition(Condition condition)
condition
- Condition definition.protected void populateCouponCollateral()
protected void populateDiscountCollateral()
protected void populateGeneralCollateral()
protected void populateOpenCondition(OpenCondition condition)
condition
- Open condition definition.protected void populateRule()
protected void populateSegments()
protected void populateSimpleCondition(SimpleCondition condition)
condition
- Simple condition definition.public void setCategoryLanguageDescription(java.lang.String newCategoryLanguageDescription)
newCategoryLanguageDescription
- The campaign category language description.public void setProductLanguageDescription(java.lang.String newProductLanguageDescription)
newProductLanguageDescription
- The campaign product language description.public void setXML(java.util.Hashtable xml)
xml
- The xml that describes this campaign initiative.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |