com.ibm.commerce.marketing.beans

Class EMarketingSpot.Category

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.catalog.objects.CatalogGroupAccessBean
        • com.ibm.commerce.catalog.beans.CategoryDataBean
          • com.ibm.commerce.marketing.beans.EMarketingSpot.Category
  • All Implemented Interfaces:
    com.ibm.commerce.beans.DataBean, com.ibm.commerce.beans.InputDataBean, com.ibm.commerce.beans.SmartDataBean, com.ibm.commerce.catalog.beans.CategoryInputDataBean, com.ibm.commerce.catalog.beans.CategorySmartDataBean, com.ibm.commerce.security.Protectable, java.io.Serializable
    Enclosing class:
    EMarketingSpot


    public static class EMarketingSpot.Category
    extends com.ibm.commerce.catalog.beans.CategoryDataBean
    Extends the 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

        CLASSNAME, COPYRIGHT
      • Fields inherited from interface com.ibm.commerce.beans.DataBean

        emptyString
    • Constructor Summary

      Constructors 
      Constructor and Description
      Category() 
      Category(com.ibm.commerce.catalog.objects.CatalogGroupAccessBean catalogAccessBean, com.ibm.commerce.command.CommandContext commandContext)
      Constructs an instance of this class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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.
      • Methods inherited from class com.ibm.commerce.catalog.beans.CategoryDataBean

        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
      • Methods inherited from class com.ibm.commerce.catalog.objects.CatalogGroupAccessBean

        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
      • Methods inherited from class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean

        createAccessBean, createAccessBean, createAccessBeanCollection, createAccessBeanCollection, createEntityCollection, detach, remove, setUseDataCache, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Category

        public Category()
      • Category

        public Category(com.ibm.commerce.catalog.objects.CatalogGroupAccessBean catalogAccessBean,
                        com.ibm.commerce.command.CommandContext commandContext)
        Constructs an instance of this class.
        Parameters:
        catalogAccessBean - An instance of CatalogGroupAccessBean.
        commandContext - The command context that is currently in use.
    • Method Detail

      • getCampaignInitiative

        public com.ibm.commerce.experimentation.runtime.CampaignInitiative getCampaignInitiative()
        Gets the campaign initiative data object.
        Returns:
        Campaign initiative data object.
      • getCatalogId

        public java.lang.String getCatalogId()
        Gets the catalog ID.
        Specified by:
        getCatalogId in interface com.ibm.commerce.catalog.beans.CategorySmartDataBean
        Overrides:
        getCatalogId in class com.ibm.commerce.catalog.beans.CategoryDataBean
        Returns:
        The catalog ID.
      • getCatalogIds

        public java.util.Vector getCatalogIds()
        Gets all of 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. Each element is a String.
        Throws:
        java.lang.Exception - Thrown whenever an exception is encountered while retrieving related catalogs and stores using the catalog and store access beans.
      • getInitiativeId

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

        public java.lang.Integer getInitiativeScheduleId()
        Gets the initiative schedule ID.
        Returns:
        The initiative schedule 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.
      • setCampaignInitiative

        public void setCampaignInitiative(com.ibm.commerce.experimentation.runtime.CampaignInitiative campaignInitiative)
        Sets the campaign initiative data object.
        Parameters:
        campaignInitiative - Campaign initiative data object.
      • setInitiativeId

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

        public void setInitiativeScheduleId(java.lang.Integer initiativeScheduleId)
        Sets the initiative schedule ID.
        Parameters:
        initiativeScheduleId - The initiative schedule ID.