java.lang.Object | +--com.ibm.commerce.beans.InputDataBeanImpl | +--com.ibm.commerce.beans.SmartDataBeanImpl | +--com.ibm.commerce.tools.campaigns.beansrc.CampaignInitiativeDataBeanBase | +--com.ibm.commerce.tools.campaigns.CampaignInitiativeDataBean | +--com.ibm.commerce.tools.campaigns.beansrc.CampaignInitiativeDetailsDataBeanBase | +--com.ibm.commerce.tools.campaigns.CampaignInitiativeDetailsDataBean
This class extends the CampaignInitiativeDataBean
class to
create a detailed data bean for a campaign initiative.
Nested 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
java.lang.Integer |
_defaultLanguageId Default language of the current store. |
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 |
_productAttributesCGName Campaign initiative WHAT condition product attributes name. |
protected
java.lang.String |
_productLanguageDescription Campaign initiative WHAT condition language description for product. |
protected
java.util.Vector |
_productNames Campaign initiative WHAT condition selected product name. |
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.lang.String |
_selectedCategoriesCGName Campaign initiative WHAT condition selected categories name. |
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
java.lang.String |
_sellContentType Campaign initiative content type for cross-sell and up-sell. |
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 IBM copyright notice field. |
static java.lang.String |
FIND_CATENTRY_NAME Constant used to identify the method findNameByIdentifier is performing a search on catalog entry. |
static java.lang.String |
FIND_CATGROUP_NAME Constant used to identify the method findNameByIdentifier is performing a search on catalog group. |
protected
java.lang.String |
memberIds Member IDs for all the related stores in the store path. |
Fields inherited from class com.ibm.commerce.tools.campaigns. CampaignInitiativeDataBean |
_campaignId,
_campaignName,
_description,
_disabled,
_id,
_initiativeName,
_lastUpdateDate,
_lastUpdatedBy,
_ruleXML,
_sellType,
_status,
_storeId,
_xml |
Fields inherited from class com.ibm.commerce.beans. SmartDataBeanImpl |
commandContext |
Fields inherited from class com.ibm.commerce.beans. InputDataBeanImpl |
requestProperties |
Fields inherited from interface com.ibm.commerce.beans. DataBean |
emptyString |
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.Integer |
getDefaultLanguageId() Gets the default language ID of the current store. |
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 |
getProductAttributesCGName() Gets the product attributes name 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 |
getProductNames() Gets the product names 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.lang.String |
getSelectedCategoriesCGName() Gets the selected categories name 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.String |
getSellContentType() Gets the campaign initiative content type for cross-sell and up-sell. |
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() Populates the data bean that includes all the data related to this campaign initiative. |
protected
void |
populateCatalogEntry() Populates all the names of the catalog entries used by this initiative. |
protected
void |
populateCategory() Populates all the names of the categories used by this initiative. |
protected
void |
populateCollateral() Populates all the selected and available collateral of this initiative. |
protected
void |
populateCondition(
Condition condition) Populates the details of the condition. |
protected
void |
populateCouponCollateral() Populates the selected and available coupon collateral of this initiative. |
protected
void |
populateDiscountCollateral() Populates the selected and available discount collateral of this initiative. |
protected
void |
populateGeneralCollateral() Populates the selected and available general collateral of this initiative. |
protected
void |
populateOpenCondition(
OpenCondition condition) Populates the details of the open condition. |
protected
void |
populateRule() Populates the details of the initiative business rule. |
protected
void |
populateSegments() Populates the selected segments of this campaign initiative. |
protected
void |
populateSimpleCondition(
SimpleCondition condition) Populates 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. |
Methods inherited from class com.ibm.commerce.tools.campaigns.beansrc. CampaignInitiativeDetailsDataBeanBase |
getDelegate,
getOwner |
Methods inherited from class com.ibm.commerce.tools.campaigns. CampaignInitiativeDataBean |
getStatus,
getStoreId,
setId |
Methods inherited from class com.ibm.commerce.beans. SmartDataBeanImpl |
fulfills,
getCommandContext,
getResources,
setCommandContext |
Methods inherited from class com.ibm.commerce.beans. InputDataBeanImpl |
getRequestProperties,
setRequestProperties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.beans. InputDataBean |
getRequestProperties,
setRequestProperties |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
protected boolean _targetAllShoppers
protected java.util.Vector _selectedSegments
protected java.util.Vector _availableSegments
protected java.util.Vector _whenChoices
protected java.util.Vector _productAttributes
protected java.lang.String _productAttributesCGName
protected java.util.Vector _productSkus
protected java.util.Vector _productNames
protected java.lang.String _whatType
protected java.lang.String _categoryLanguageDescription
protected java.lang.String _productLanguageDescription
protected java.util.Vector _selectedCollateral
protected java.util.Vector _availableCollateral
protected boolean _everyday
protected java.util.Vector _daysOfTheWeek
protected java.util.Vector _selectedCategories
protected java.lang.String _selectedCategoriesCGName
protected java.lang.String _currency
protected java.lang.Integer _defaultLanguageId
protected java.lang.Integer _languageId
protected java.lang.String _selectedDiscountUsage
protected java.lang.String _selectedDiscountCode
protected java.util.Vector _selectedDiscountCollateral
protected java.util.Vector _availableDiscountCollateral
protected java.util.Vector _selectedCouponCollateral
protected java.util.Vector _availableCouponCollateral
protected java.lang.String _sellContentType
public static final java.lang.String FIND_CATENTRY_NAME
public static final java.lang.String FIND_CATGROUP_NAME
protected java.lang.String memberIds
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()
getCampaignId
in class
CampaignInitiativeDataBean
public java.lang.String getCampaignName()
getCampaignName
in class
CampaignInitiativeDataBean
public java.lang.String getCategoryLanguageDescription()
public java.lang.String getCurrency()
public java.util.Vector getDaysOfTheWeek()
public java.lang.String getDescription()
getDescription
in class
CampaignInitiativeDataBean
public boolean getDisabled()
getDisabled
in class
CampaignInitiativeDataBean
public boolean getEveryday()
public java.lang.Integer getId()
getId
in class
CampaignInitiativeDataBean
public java.lang.String getInitiativeName()
getInitiativeName
in class
CampaignInitiativeDataBean
public java.lang.Integer getLanguageId()
public java.lang.Integer getDefaultLanguageId()
public java.lang.Long getLastUpdateDate()
getLastUpdateDate
in class
CampaignInitiativeDataBean
public java.lang.String getLastUpdatedBy()
getLastUpdatedBy
in class
CampaignInitiativeDataBean
public java.util.Vector getProductAttributes()
public java.lang.String getProductAttributesCGName()
public java.lang.String getProductLanguageDescription()
public java.util.Vector getProductSkus()
public java.util.Vector getProductNames()
public java.util.Vector getSelectedCategories()
public java.lang.String getSelectedCategoriesCGName()
public java.util.Vector getSelectedCollateral()
public java.util.Vector getSelectedCouponCollateral()
public java.lang.String getSelectedDiscountUsage()
public java.lang.String getSelectedDiscountCode()
public java.util.Vector getSelectedDiscountCollateral()
public java.util.Vector getSelectedSegments()
public java.lang.String getSellContentType()
public java.lang.Integer getSellType()
getSellType
in class
CampaignInitiativeDataBean
public boolean getTargetAllShoppers()
public java.lang.String getWhatType()
public java.util.Vector getWhenChoices()
public void populate() throws java.lang.Exception
populate
in interface
SmartDataBean
populate
in class
CampaignInitiativeDataBean
java.lang.Exception
- Thrown whenever an exception is
encountered.protected void populateCatalogEntry()
protected void populateCategory()
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)
setXML
in class
CampaignInitiativeDataBean
xml
- The XML that describes this campaign
initiative.