com.ibm.commerce.marketing.beans
Class EMarketingSpot.Category

com.ibm.commerce.catalog.beans.CategoryDataBean
  |
  +--com.ibm.commerce.marketing.beans.EMarketingSpot.Category
Enclosing class:
EMarketingSpot

public static final class EMarketingSpot.Category
extends CategoryDataBean

Extends CategoryDataBean to provide a class that also contains information about the intitiative that recommended the item.


Constructor Summary
EMarketingSpot.Category(CatalogGroupAccessBean catalogAccessBean, CommandContext commandContext)
          Constructs an instance of this class.
 
Method Summary
 java.lang.String getCatalogId()
          Gets the catalog ID.
 java.lang.Integer getInitiativeId()
          Gets the initiative ID.
 void setInitiativeId(java.lang.Integer initiativeId)
          Sets the initiative ID.
 
Methods inherited from class com.ibm.commerce.catalog.beans.CategoryDataBean
getBundles, getCategoryAccessories, getCategoryAttributes, getCategoryCrossSells, getCategoryId, getCategoryUpSells, getCommandContext, getDescription, getDynamicKits, getExclusionPSIds, getFilterEnabled, getIdentifier, getInclusionPSIds, getItems, getPackages, getParentCategories, getProducts, getRequestProperties, getSubCategories, hasSubCategories, populate, setCatalogId, setCategoryId, setCommandContext, setExclusionPSIds, setFilterEnabled, setIdentifier, setInclusionPSIds, setRequestProperties
 

Constructor Detail

EMarketingSpot.Category

public EMarketingSpot.Category(CatalogGroupAccessBean catalogAccessBean,
                               CommandContext commandContext)
                        throws javax.ejb.CreateException,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException
Constructs an instance of this class.
Parameters:
catalogAccessBean - An instance of CatalogGroupAccessBean.
commandContext - The command context.
Method Detail

getCatalogId

public java.lang.String getCatalogId()
Gets the catalog ID.
Overrides:
getCatalogId in class CategoryDataBean
Returns:
The catalog ID.

getInitiativeId

public java.lang.Integer getInitiativeId()
Gets the initiative ID.
Returns:
The initiative ID.

setInitiativeId

public void setInitiativeId(java.lang.Integer initiativeId)
Sets the initiative ID.
Parameters:
initiativeId - The initiative ID.