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

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.catalog.objects.CatalogGroupAccessBean
          com.ibm.commerce.catalog.beans.CategoryDataBean
              com.ibm.commerce.marketing.beans.EMarketingSpot.Category
All Implemented Interfaces:
CatalogGroupAccessBeanData
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 category.

See Also:
Serialized Form

Field Summary
Fields inherited from class com.ibm.commerce.catalog.beans.CategoryDataBean
COPYRIGHT
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.util.Vector getCatalogIds()
Gets all the catalog IDs for all the related stores in the store path.
java.lang.Integer getInitiativeId()
Gets the initiative ID.
boolean isTopCategory()
Gets the flag that determines whether this category is at the top level or not.
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, getDeepFetch, getDescription, getDynamicKits, getExclusionPSIds, getFilterEnabled, getIdentifier, getInclusionPSIds, getItems, getObjectPath, getPackages, getParentCategories, getProducts, getRequestProperties, getSubCategories, hasSubCategories, isAdminMode, populate, setAdminMode, setCatalogId, setCategoryId, setCommandContext, setDeepFetch, setDescription, setExclusionPSIds, setFilterEnabled, setIdentifier, setInclusionPSIds, setRequestProperties
Methods inherited from class com.ibm.commerce.catalog.objects.CatalogGroupAccessBean
commitCopyHelper, defaultJNDIName, findByCatalogId, findByCatalogIdAndProductSetId, findByCatalogIdAndProductSetIdAndStore, findByCatalogIdAndStore, findByChildGroupId, findByChildGroupIdAndStore, findByIdentifierAndStore, findByKeyAndStore, findByMemberIdAndCategoryId, findByMemberIdAndIdentifier, findByParentGroupId, findByParentGroupIdAndStore, findEntitledCatalogGroupsByCatalog, findEntitledCatalogGroupsByCatalogAndStore, findEntitledChildCatalogGroupsByCatalogAndParentGroup, findEntitledChildCatalogGroupsByCatalogAndParentGroupAndStore, fulfills, getAttributes, getAttributes, getCatalogEntries, getCatalogEntries, getCatalogEntriesByStore, getCatalogEntriesByStore, getCatalogEntriesByStoreOrderByPartNumber, getCatalogGroupReferenceNumber, getCatalogGroupReferenceNumberInEJBType, getCategoryAccessory, getCategoryAccessory, getCategoryAccessoryByStore, getCategoryAccessoryByStore, getCategoryCrossSell, getCategoryCrossSell, getCategoryCrossSellByStore, getCategoryCrossSellByStore, getCategoryUpSell, getCategoryUpSell, getCategoryUpSellByStore, getCategoryUpSellByStore, getDescription, getDescription, getEntitledSubCatalogGroups, getEntitledSubCatalogGroupsByStore, getField1, getField2, getLanguage_id, getLanguage_idInEJBType, getLastUpdate, getLastUpdateInEJBType, getMarkForDelete, getMarkForDeleteInEJBType, getMemberId, getMemberIdInEJBType, getNumSubCatEntries, getNumSubCatEntriesByStore, getNumSubCatGroups, getNumSubCatGroupsByStore, getOid, getOwner, getParentCatalogGroups, getProductSetIds, getSubCatalogGroups, getSubCatalogGroupsByStore, getTemplateFileName, getTemplateFileName, getTemplateFileName, getTemplateFileName, instantiateEJB, instantiateEJBByPrimaryKey, isCatalogGroupInStore, refreshCopyHelper, setField1, setField2, setInitKey_catalogGroupReferenceNumber, setlanguage_id, setlanguage_id, setLastUpdate, setLastUpdate, setMarkForDelete, setMarkForDelete, setMemberId, setMemberId, setOid
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

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 that is currently in use.
Throws:
javax.ejb.CreateException - Thrown when a failure to create an entity EJB object is reported.
java.rmi.RemoteException - Thrown when an error occurs during the execution of a remote method call.
javax.ejb.FinderException - Thrown when a failure to find the requested EJB object is reported.
javax.naming.NamingException - Thrown when a component of the name cannot be resolved.
Method Detail

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.

getCatalogIds

public java.util.Vector getCatalogIds()
                               throws java.lang.Exception
Gets all the catalog IDs for all the related stores in the store path.
Returns:
A list of all the catalog IDs for all the related stores in the store path.
Throws:
java.lang.Exception - Thrown whenever an exception is encountered while retrieving related catalogs and stores using the catalog and store access bean.

getCatalogId

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

isTopCategory

public boolean isTopCategory()
Gets the flag that determines whether this category is at the top level or not.
Returns:
true if this category is at the top level; false otherwise.

Feedback