public static class EMarketingSpot.Category
extends com.ibm.commerce.catalog.beans.CategoryDataBean
CategoryDataBean
to provide a class that also contains information
about the intitiative that recommended the category.Constructor and Description |
---|
Category() |
Category(com.ibm.commerce.catalog.objects.CatalogGroupAccessBean catalogAccessBean,
com.ibm.commerce.command.CommandContext commandContext)
Constructs an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.experimentation.runtime.CampaignInitiative |
getCampaignInitiative()
Gets the campaign initiative data object.
|
java.lang.String |
getCatalogId()
Gets the catalog ID.
|
java.util.Vector |
getCatalogIds()
Gets all of the catalog IDs for all the related stores in the store path.
|
java.lang.Integer |
getInitiativeId()
Gets the initiative ID.
|
java.lang.Integer |
getInitiativeScheduleId()
Gets the initiative schedule ID.
|
boolean |
isTopCategory()
Gets the flag that determines whether this category is at the top level or not.
|
void |
setCampaignInitiative(com.ibm.commerce.experimentation.runtime.CampaignInitiative campaignInitiative)
Sets the campaign initiative data object.
|
void |
setInitiativeId(java.lang.Integer initiativeId)
Sets the initiative ID.
|
void |
setInitiativeScheduleId(java.lang.Integer initiativeScheduleId)
Sets the initiative schedule ID.
|
getAllAttachments, getAttachmentsByUsage, getAttachmentUsages, getBundles, getCatalogEntryDataBeans, getCategoryAccessories, getCategoryAttributes, getCategoryCrossSells, getCategoryId, getCategoryUpSells, getCommandContext, getDeepFetch, getDescription, getDynamicKits, getExclusionPSIds, getFilterEnabled, getIdentifier, getInclusionPSIds, getItems, getObjectPath, getPackages, getParentCategories, getProducts, getRequestProperties, getSubCategories, hasSubCategories, isAdminMode, isChildCategory, isMerchandisingAssociated, populate, setAdminMode, setAttachmentUsage, setCatalogId, setCategoryId, setCommandContext, setDeepFetch, setDescription, setExclusionPSIds, setFilterEnabled, setIdentifier, setInclusionPSIds, setRequestProperties
findByCatalogGroupIds, findByCatalogGroupIdsNoCache, findByCatalogId, findByCatalogIdAndProductSetId, findByCatalogIdAndProductSetIdAndStore, findByCatalogIdAndStore, findByCatalogIdAndStoreNoCache, findByCatalogIdNoCache, findByChildGroupId, findByChildGroupIdAndStore, findByChildGroupIdAndStoreNoCache, findByChildGroupIdNoCache, findByIdentifierAndStore, findByIdentifierAndStoreNoCache, findByKeyAndStore, findByKeyAndStoreNoCache, findByMemberIdAndCategoryId, findByMemberIdAndCategoryIdNoCache, findByMemberIdAndIdentifier, findByMemberIdAndIdentifierNoCache, findByParentGroupId, findByParentGroupIdAndStore, findByParentGroupIdAndStoreNoCache, findByParentGroupIdNoCache, findEntitledCatalogGroupsByCatalog, findEntitledCatalogGroupsByCatalogAndStore, findEntitledChildCatalogGroupsByCatalogAndParentGroup, findEntitledChildCatalogGroupsByCatalogAndParentGroupAndStore, fulfills, getAttributes, getAttributes, getCatalogEntries, getCatalogEntries, getCatalogEntries, getCatalogEntriesByStore, getCatalogEntriesByStore, getCatalogEntriesByStore, getCatalogEntriesByStore, getCatalogEntriesByStore, getCatalogEntriesByStoreOrderByPartNumber, getCatalogEntriesByStoreOrderByPartNumber, getCatalogGroupReferenceNumber, getCatalogGroupReferenceNumberInEntityType, getCategoryAccessory, getCategoryAccessory, getCategoryAccessoryByStore, getCategoryAccessoryByStore, getCategoryCrossSell, getCategoryCrossSell, getCategoryCrossSellByStore, getCategoryCrossSellByStore, getCategoryUpSell, getCategoryUpSell, getCategoryUpSellByStore, getCategoryUpSellByStore, getDescription, getDescription, getDescriptionNoCache, getEntitledSubCatalogGroups, getEntitledSubCatalogGroupsByStore, getEntitledSubCatalogGroupsByStore, getEntity, getField1, getField2, getLanguage_id, getLanguage_idInEntityType, getLastUpdate, getLastUpdateInEntityType, getMarkForDelete, getMarkForDeleteInEntityType, getMemberId, getMemberIdInEntityType, getNumSubCatEntries, getNumSubCatEntriesByStore, getNumSubCatGroups, getNumSubCatGroupsByStore, getOid, getOwner, getParentCatalogGroups, getProductSetIds, getSubCatalogGroups, getSubCatalogGroupsByStore, getTemplateFileName, getTemplateFileName, getTemplateFileName, getTemplateFileName, instantiateEntity, isCatalogGroupInStore, setField1, setField2, setInitKey_catalogGroupReferenceNumber, setInitKey_catalogGroupReferenceNumber, setlanguage_id, setlanguage_id, setLastUpdate, setLastUpdate, setMarkForDelete, setMarkForDelete, setMemberId, setMemberId, setOid
public Category()
public Category(com.ibm.commerce.catalog.objects.CatalogGroupAccessBean catalogAccessBean, com.ibm.commerce.command.CommandContext commandContext)
catalogAccessBean
- An instance of CatalogGroupAccessBean
.commandContext
- The command context that is currently in use.public com.ibm.commerce.experimentation.runtime.CampaignInitiative getCampaignInitiative()
public java.lang.String getCatalogId()
getCatalogId
in interface com.ibm.commerce.catalog.beans.CategorySmartDataBean
getCatalogId
in class com.ibm.commerce.catalog.beans.CategoryDataBean
public java.util.Vector getCatalogIds()
java.lang.Exception
- Thrown whenever an exception is encountered while retrieving related
catalogs and stores using the catalog and store access beans.public java.lang.Integer getInitiativeId()
public java.lang.Integer getInitiativeScheduleId()
public boolean isTopCategory()
public void setCampaignInitiative(com.ibm.commerce.experimentation.runtime.CampaignInitiative campaignInitiative)
campaignInitiative
- Campaign initiative data object.public void setInitiativeId(java.lang.Integer initiativeId)
initiativeId
- The initiative ID.public void setInitiativeScheduleId(java.lang.Integer initiativeScheduleId)
initiativeScheduleId
- The initiative schedule ID.