com.ibm.commerce.catalog.beans

Class CatalogEntryDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.catalog.beans.CatalogEntryInputDataBean, com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean, Protectable, java.io.Serializable
    Direct Known Subclasses:
    EMarketingSpot.AssociateCatalogEntry, EMarketingSpot.CatalogEntry, GiftRegistryCatalogEntryDataBean


    public class CatalogEntryDataBean
    extends CatalogEntryAccessBean
    implements com.ibm.commerce.catalog.beans.CatalogEntryInputDataBean, com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
    This data bean represents a generic catalog entry. Use this data bean in place of a more specific data bean (for example ProductDataBean, ItemDataBean) when the type of catalog entry is not known.

    You can find more information about data beans in the WebSphere Commerce data beans topic in the Information Center.

    Access Beans: CatalogEntry

    Mandatory Parameters (for single row retrieval):

    • catentry ID

    Some hints and tips for using this data bean are:

    • It is important to set the catentry ID value before activating the data bean
    • You can set parameters using the constructor, or setters

    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The internal copyright field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CatalogEntryDataBean

        public CatalogEntryDataBean()
        Constructs an empty CatalogEntryDataBean object.
      • CatalogEntryDataBean

        public CatalogEntryDataBean(CatalogEntryAccessBean abCatentry)
        Constructs a CatalogEntryDataBean from a CatalogEntryAccessBean.
        Parameters:
        abCatentry - The CatalogEntryAccessBean.
      • CatalogEntryDataBean

        public CatalogEntryDataBean(CatalogEntryAccessBean abCatEntry,
                                    CommandContext aCommandContext)
        Constructs an CatalogEntryDataBean from a CatalogEntryAccessBean and a command context.
        Parameters:
        abCatEntry - The CatalogEntryAccessBean.
        aCommandContext - The command context as CommandContext object.
    • Method Detail

      • getAllAttachments

        public AttachmentDataBean[] getAllAttachments()
        Gets all the attachments in the catalog entry.
        Returns:
        An array of AttachmentDataBean
      • getAttachmentsByUsage

        public AttachmentDataBean[] getAttachmentsByUsage()
        Gets all the product attachments by the specified attachment relation usage. The attachment relation usage can be specified by calling the setAttachmentUsage method. Attachments are used in all areas of Web applications. An attachment is additional material that a user can send in an e-mail, a request, or a detailed product specification. Attachments can be images files, text files, audio or video files, programs or documents.
        Returns:
        An array of AttachmentDataBean
      • getAttachmentUsages

        public AttachmentUsageDataBean[] getAttachmentUsages()
        Gets all the attachment relation usage used in the catalog entry attachments
        Returns:
        An array of AttachmentUsageDataBean
      • getAttributes

        public AttributeAccessBean[] getAttributes()
        Gets a list of beans that represent attributes of the catalog entry.
        Returns:
        The list of AttributeAccessBean.
      • getDescriptiveAttributes

        public AttributeAccessBean[] getDescriptiveAttributes()
        Gets a list of beans that represent descriptive attributes of the catalog entry.
        Returns:
        The list of AttributeAccessBean.
      • getApplicableContractIds

        public java.lang.Long[] getApplicableContractIds()
                                                  throws ECException
        Gets a list of applicable contracts for calculating the prices.
        Specified by:
        getApplicableContractIds in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
        Returns:
        The list of contract IDs.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getApplicableContractPrices

        public PriceDataBean[] getApplicableContractPrices()
                                                    throws ECException
        Gets the list of the prices for the applicable contracts.
        Specified by:
        getApplicableContractPrices in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
        Returns:
        The list of PriceDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getBundleAccessories

        public RelatedBundleDataBean[] getBundleAccessories()
                                                     throws ECException
        Gets a list of beans which represent bundles that are accessories to this catalog entry.
        Specified by:
        getBundleAccessories in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
        Returns:
        The list of RelatedBundleDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getBundleAssociations

        public RelatedBundleDataBean[] getBundleAssociations()
                                                      throws ECException
        Gets a list of beans which represent bundles that are merchandising associations for this catalog entry. You can fetch specific types of merchandising associations based on the value of the variable istrAssociationType. Sets the variable istrAssociationType through the setAssociationType() method before calling getBundleAssociations. If istrAssociationType is null, all types of merchandising associations will return. For example, the following code returns a list of beans that are bundle up-sells for this catalog entry:

        setAssociationType("UPSELL");
        RelatedBundleDataBean[] rb = getBundleAssociations();

        Returns:
        The list of RelatedBundleDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getBundleCrossSells

        public RelatedBundleDataBean[] getBundleCrossSells()
                                                    throws ECException
        Gets a list of beans which represent bundles that are cross-sells to this catalog entry.
        Specified by:
        getBundleCrossSells in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
        Returns:
        The list of RelatedBundleDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getBundleUpSells

        public RelatedBundleDataBean[] getBundleUpSells()
                                                 throws ECException
        Gets a list of beans which represent bundles that are up-sells to this catalog entry.
        Specified by:
        getBundleUpSells in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
        Returns:
        The list of RelatedBundleDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getCalculatedContractPrice

        public PriceDataBean getCalculatedContractPrice()
                                                 throws ECException
        Gets a PriceDataBean that represents the calculated contract price for the item.
        Specified by:
        getCalculatedContractPrice in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
        Returns:
        The PriceDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getCalculatedPrice

        public PriceDataBean getCalculatedPrice()
                                         throws ECException
        Gets a PriceDataBean that represents the the calculated price for the catalog entry.
        Specified by:
        getCalculatedPrice in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
        Returns:
        The PriceDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getCatalogEntryID

        public java.lang.String getCatalogEntryID()
        Gets the ID that represents the primary key for this catalog entry.
        Specified by:
        getCatalogEntryID in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
        Returns:
        The catalog entry ID.
      • getDescription

        public CatalogEntryDescriptionAccessBean getDescription()
        Gets a bean representing descriptive information about this catalog entry.
        Specified by:
        getDescription in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
        Overrides:
        getDescription in class CatalogEntryAccessBean
        Returns:
        The CatalogEntryDescriptionAccessBean.
      • getDynamicKitAccessories

        public RelatedDynamicKitDataBean[] getDynamicKitAccessories()
                                                             throws ECException
        Gets a list of beans that represent dynamic kits that are accessories.
        Returns:
        The list of RelatedDynamicKitDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getDynamicKitAssociations

        public RelatedDynamicKitDataBean[] getDynamicKitAssociations()
                                                              throws ECException
        Gets a list of beans which represent dynamic kits that are merchandising associations for this catalog entry. You can fetch specific types of merchandising associations based on the value of the variable istrAssociationType. Sets the variable istrAssociationType through the setAssociationType() method before calling getDynamicKitAssociations. If istrAssociationType is null, all types of merchandising associations will return. For example, the following code returns a list of beans that are dynamic kit up-sells for this catalog entry:

        setAssociationType("UPSELL");
        RelatedDynamicKitDataBean[] rb = getDynamicKitAssociations();

        Returns:
        The list of RelatedDynamicKitDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getDynamicKitCrossSells

        public RelatedDynamicKitDataBean[] getDynamicKitCrossSells()
                                                            throws ECException
        Gets a list of beans which represent dynamic kits that are cross-sells.
        Returns:
        The list of RelatedDynamicKitDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getDynamicKitUpSells

        public RelatedDynamicKitDataBean[] getDynamicKitUpSells()
                                                         throws ECException
        Gets a list of beans which represent dynamic kits that are up-sells.
        Returns:
        The list of RelatedDynamicKitDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getItemAccessories

        public RelatedItemDataBean[] getItemAccessories()
                                                 throws ECException
        Gets a list of beans which represent items that are accessories to this catalog entry.
        Specified by:
        getItemAccessories in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
        Returns:
        The list of RelatedItemDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getItemAssociations

        public RelatedItemDataBean[] getItemAssociations()
                                                  throws ECException
        Gets a list of beans which represent items that are merchandising associations for this catalog entry. You can fetch specific types of merchandising associations based on the value of the variable istrAssociationType. Sets the variable istrAssociationType through the setAssociationType() method before calling getItemAssociations. If istrAssociationType is null, all types of merchandising associations will return. For example, the following code returns a list of beans that are item up-sells for this catalog entry:

        setAssociationType("UPSELL");
        RelatedItemDataBean[] ri = getItemAssociations();

        Returns:
        The list of RelatedItemDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getItemCrossSells

        public RelatedItemDataBean[] getItemCrossSells()
                                                throws ECException
        Gets a list of beans which represent items that are cross-sells to this catalog entry.
        Specified by:
        getItemCrossSells in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
        Returns:
        The list of RelatedItemDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getItemUpSells

        public RelatedItemDataBean[] getItemUpSells()
                                             throws ECException
        Gets a list of beans which represent items that are up-sells to this catalog entry.
        Specified by:
        getItemUpSells in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
        Returns:
        The list of RelatedItemDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getListPrice

        public PriceDataBean getListPrice()
                                   throws ECException
        Gets a bean that represents the list price for the catalog entry.
        Specified by:
        getListPrice in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
        Returns:
        The PriceDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getObjectPath

        public java.lang.String getObjectPath()
                                       throws ECException
        Gets the path to objects such as images in the context of the current store.
        Returns:
        The path to objects in the current store
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getPackageAccessories

        public RelatedPackageDataBean[] getPackageAccessories()
                                                       throws ECException
        Gets a list of beans which represent packages that are accessories to this catalog entry.
        Specified by:
        getPackageAccessories in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
        Returns:
        The list of RelatedPackageDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getPackageAssociations

        public RelatedPackageDataBean[] getPackageAssociations()
                                                        throws ECException
        Gets a list of beans which represent packages that are merchandising associations for this catalog entry. You can fetch specific types of merchandising associations based on the value of the variable istrAssociationType. Sets the variable istrAssociationType through the setAssociationType() method before calling getPackageAssociations. If istrAssociationType is null, all types of merchandising associations will return. For example, the following code returns a list of beans that are package up-sells for this catalog entry:

        setAssociationType("UPSELL");
        RelatedPackageDataBean[] rp = getPackageAssociations();

        Returns:
        The list of RelatedPackageDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getPackageCrossSells

        public RelatedPackageDataBean[] getPackageCrossSells()
                                                      throws ECException
        Gets a list of beans which represent packages that are cross-sells to this catalog entry.
        Specified by:
        getPackageCrossSells in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
        Returns:
        The list of RelatedPackageDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getPackageUpSells

        public RelatedPackageDataBean[] getPackageUpSells()
                                                   throws ECException
        Gets a list of beans which represent packages that are up-sells to this catalog entry.
        Specified by:
        getPackageUpSells in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
        Returns:
        The list of RelatedPackageDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getPartNumber

        public java.lang.String getPartNumber()
        Gets the part (SKU) number of the catalog entry.
        Specified by:
        getPartNumber in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
        Overrides:
        getPartNumber in class CatalogEntryAccessBean
        Returns:
        The part number of the catalog entry.
      • getProductAccessories

        public RelatedProductDataBean[] getProductAccessories()
                                                       throws ECException
        Gets a list of beans that represent products that are accessories to this catalog entry.
        Specified by:
        getProductAccessories in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
        Returns:
        The list of RelatedProductDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getProductAssociations

        public RelatedProductDataBean[] getProductAssociations()
                                                        throws ECException
        Gets a list of beans which represent products that are merchandising associations for this catalog entry. You can fetch specific types of merchandising associations based on the value of the variable istrAssociationType. Sets the variable istrAssociationType through the setAssociationType() method before calling getProductAssociations. If istrAssociationType is null, all types of merchandising associations will return. For example, the following code returns a list of beans that are product up-sells for this catalog entry:

        setAssociationType("UPSELL");
        RelatedProductDataBean[] rp = getProductAssociations();

        Returns:
        The list of RelatedProductDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getProductCrossSells

        public RelatedProductDataBean[] getProductCrossSells()
                                                      throws ECException
        Gets a list of beans which represent products that are cross-sells to this catalog entry.
        Specified by:
        getProductCrossSells in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
        Returns:
        The list of RelatedProductDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getProductUpSells

        public RelatedProductDataBean[] getProductUpSells()
                                                   throws ECException
        Gets a list of beans which represent products that are up-sells to this catalog entry.
        Specified by:
        getProductUpSells in interface com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
        Returns:
        The list of RelatedProductDataBean.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getShipping

        public CatalogEntryShippingAccessBean getShipping()
        Gets the access bean which represents the shipping information for this catalog entry.
        Returns:
        The CatalogEntryShippingAccessBean.
      • getFormattedStartDate

        public java.lang.String getFormattedStartDate()
        Gets the requested start date formatted based on locale
        Returns:
        String The date part of the timestamp of the start date.
      • getStartYear

        public java.lang.String getStartYear()
        Gets the year portion of the timestamp for start date.
        Returns:
        The year part of the start date.
        Throws:
        java.lang.Exception - An exception occurs during the execution of the method.
      • getStartMonth

        public java.lang.String getStartMonth()
        Gets the month portion of the timestamp for start date.
        Returns:
        The month part of the start date.
        Throws:
        java.lang.Exception - An exception occurs during the execution of the method.
      • getStartDay

        public java.lang.String getStartDay()
        Gets the day portion of the timestamp for start date.
        Returns:
        The day part of the start date.
        Throws:
        java.lang.Exception - An exception occurs during the execution of the method.
      • getFormattedEndDate

        public java.lang.String getFormattedEndDate()
        Gets the requested end date formatted based on locale
        Returns:
        String The date part of the timestamp of the end date.
      • getEndYear

        public java.lang.String getEndYear()
        Gets the year portion of the timestamp for end date.
        Returns:
        The year part of the end date.
        Throws:
        java.lang.Exception - An exception occurs during the execution of the method.
      • getEndMonth

        public java.lang.String getEndMonth()
        Gets the month portion of the timestamp for end date.
        Returns:
        The month part of the end date.
        Throws:
        java.lang.Exception - An exception occurs during the execution of the method.
      • getEndDay

        public java.lang.String getEndDay()
        Gets the day portion of the timestamp for end date.
        Returns:
        The day part of the end date.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getFormattedAvailabilityDate

        public java.lang.String getFormattedAvailabilityDate()
        Gets the requested availability date formatted based on locale
        Returns:
        String The date part of the timestamp of the availability date.
      • getAvailabilityYear

        public java.lang.String getAvailabilityYear()
        Gets the year portion of the timestamp for availability date.
        Returns:
        The year part of the availability date.
        Throws:
        java.lang.Exception - An exception occurs during the execution of the method.
      • getAvailabilityMonth

        public java.lang.String getAvailabilityMonth()
        Gets the month portion of the timestamp for availability date.
        Returns:
        The month part of the availability date.
        Throws:
        java.lang.Exception - An exception occurs during the execution of the method.
      • getAvailabilityDay

        public java.lang.String getAvailabilityDay()
        Gets the day portion of the timestamp for availability date.
        Returns:
        The day part of the availability date.
        Throws:
        java.lang.Exception - An exception occurs during the execution of the method.
      • getFormattedLastOrderDate

        public java.lang.String getFormattedLastOrderDate()
        Gets the requested last order date formatted based on locale
        Returns:
        String
      • getLastOrderYear

        public java.lang.String getLastOrderYear()
        Gets the year portion of the timestamp for last order date.
        Returns:
        The year part of the last order date.
        Throws:
        java.lang.Exception - An exception occurs during the execution of the method.
      • getLastOrderMonth

        public java.lang.String getLastOrderMonth()
        Gets the month portion of the timestamp for last order date.
        Returns:
        The month part of the last order date.
        Throws:
        java.lang.Exception - An exception occurs during the execution of the method.
      • getLastOrderDay

        public java.lang.String getLastOrderDay()
        Gets the day portion of the timestamp for last order date.
        Returns:
        The day part of the last order date.
        Throws:
        java.lang.Exception - An exception occurs during the execution of the method.
      • getFormattedEndOfServiceDate

        public java.lang.String getFormattedEndOfServiceDate()
        Gets the requested end of service date formatted based on locale
        Returns:
        String The date part of the timestamp of the end of service date
      • getEndOfServiceYear

        public java.lang.String getEndOfServiceYear()
        Gets the year portion of the timestamp for end of service date.
        Returns:
        The year part of the end of service date.
        Throws:
        java.lang.Exception - An exception occurs during the execution of the method.
      • getEndOfServiceMonth

        public java.lang.String getEndOfServiceMonth()
        Gets the month portion of the timestamp for end of service date.
        Returns:
        The month part of the end of service date.
        Throws:
        java.lang.Exception - An exception occurs during the execution of the method.
      • getEndOfServiceDay

        public java.lang.String getEndOfServiceDay()
        Gets the day portion of the timestamp for end of service date.
        Returns:
        The day part of the end of service date.
        Throws:
        java.lang.Exception - An exception occurs during the execution of the method.
      • getFormattedDiscontinueDate

        public java.lang.String getFormattedDiscontinueDate()
        Gets the requested discontinue date formatted based on locale
        Returns:
        String The date part of the timestamp of the discontinue date.
      • getDiscontinueYear

        public java.lang.String getDiscontinueYear()
        Gets the year portion of the timestamp for discontinue date.
        Returns:
        The year part of the discontinue date.
        Throws:
        java.lang.Exception - An exception occurs during the execution of the method.
      • getDiscontinueMonth

        public java.lang.String getDiscontinueMonth()
        Gets the month portion of the timestamp for discontinue date.
        Returns:
        The month part of the discontinue date.
        Throws:
        java.lang.Exception - An exception occurs during the execution of the method.
      • getDiscontinueDay

        public java.lang.String getDiscontinueDay()
        Gets the day portion of the timestamp for discontinue date.
        Returns:
        The day part of the discontinue date.
        Throws:
        java.lang.Exception - An exception occurs during the execution of the method.
      • populate

        public void populate()
                      throws java.lang.Exception
        Fetches and populates information needed by the bean.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        ECException - An exception occurs during the execution of the method.
        java.lang.Exception - This is thrown if there is a problem populating the data bean with data.
      • setCatalogEntryID

        public void setCatalogEntryID(java.lang.String astrCatEntryId)
        Sets the ID that represents the primary key for this catalog entry.
        Specified by:
        setCatalogEntryID in interface com.ibm.commerce.catalog.beans.CatalogEntryInputDataBean
        Parameters:
        astrCatEntryId - The primary key.
      • setAssociationType

        public void setAssociationType(java.lang.String type)
        Sets the variable istrAssociationType, which represents the target association type to be processed by an internal method called processCatalogEntryAssociation(). Call this method before the following methods to retrieve a list of specific merchandising association types: getBundleAssociations, getDynamicKitAssociations, getItemAssociations, getPackageAssociations, getProductAssociations. If type is null, all types of merchandising associations will return.
        Calling this method multiple times, even with the same parameters, may result in performance degradation.
        Parameters:
        type - The merchandising association type. Valid values are stored in the MASSOCTYPE.MASSOCTYPE_ID column, for example, "X-SELL".
      • setCommandContext

        public void setCommandContext(CommandContext aCommandContext)
        Sets the command context passed in at run time.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        aCommandContext - The command context as CommandContext object.
      • setDescription

        public void setDescription(CatalogEntryDescriptionAccessBean aabDescription)
        Sets the description bean.
        Parameters:
        aabDescription - The bean that represents the description of the catalog entry.
      • setPartNumber

        public void setPartNumber(java.lang.String astrItemPartNumber)
        Sets the catalog entry part (SKU) number.
        Specified by:
        setPartNumber in interface com.ibm.commerce.catalog.beans.CatalogEntryInputDataBean
        Overrides:
        setPartNumber in class CatalogEntryAccessBean
        Parameters:
        astrCatEntryPartNumber - The catalog entry part (SKU) number.
      • setAttachmentUsage

        public void setAttachmentUsage(java.lang.String astrAttachmentUsage)
        Sets the attachment relation usage identifier to get all the attachments of the catalog entry with the same usage.
        Parameters:
        astrAttachmentUsage - The attachment relation usage identifier
      • setRequestProperties

        public void setRequestProperties(TypedProperty aParam)
        Sets the request property and populates the parameters that are needed by the bean. The following values are set in this method: catentry ID
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        aParam - The request property as TypedProperty.
      • setShipping

        public void setShipping(CatalogEntryShippingAccessBean aabShipping)
        Sets the shipping bean.
        Parameters:
        aabShipping - The bean that represents the shipping information for the catalog entry.
      • getStandardPrice

        public PriceDataBean getStandardPrice()
        Gets a PriceDataBean that represents the standard contract price for the item.
        Returns:
        The PriceDataBean.
      • getAttributeDataBeans

        public AttributeDataBean[] getAttributeDataBeans()
        Gets a list of data beans that represent attributes of the catalog entry.
        Returns:
        The list of AttributeDataBean.
      • getDescriptiveAttributeDataBeans

        public AttributeDataBean[] getDescriptiveAttributeDataBeans()
        Gets a list of data beans that represent descriptive attributes of the catalog entry.
        Returns:
        The list of AttributeDataBean.
      • isMerchandisingAssociated

        public boolean isMerchandisingAssociated()
        Determines whether there are any merchandising associations associated with this catalog entry
        Returns:
        true if there are merchandising associations associated with this catalog entry, false otherwise.
      • isAnyMerchandisingAssociated

        public boolean isAnyMerchandisingAssociated()
        Determines whether there are any OOB or custom merchandising associations associated with this catalog entry
        Returns:
        true if there are merchandising associations associated with this catalog entry, false otherwise.
      • isProduct

        public boolean isProduct()
        Determines whether this catalog entry is a product
        Returns:
        true if the catalog entry is a product, false otherwise.
      • isItem

        public boolean isItem()
        Determines whether this catalog entry is an item
        Returns:
        true if the catalog entry is an item, false otherwise.
      • isPackage

        public boolean isPackage()
        Determines whether this catalog entry is a package
        Returns:
        true if the catalog entry is a package, false otherwise.
      • isBundle

        public boolean isBundle()
        Determines whether this catalog entry is a bundle
        Returns:
        true if the catalog entry is a bundle, false otherwise.
      • isDynamicKit

        public boolean isDynamicKit()
        Determines whether this catalog entry is a dynamic kit
        Returns:
        true if the catalog entry is a dynamic kit, false otherwise.
      • getProductDataBean

        public ProductDataBean getProductDataBean()
        Returns the com.ibm.commerce.catalog.beans.ProductDataBean corresponding to the catalog entry if this catalog entry is a product. Otherwise returns null. Use in conjuction with isProduct()
        Returns:
        the com.ibm.commerce.catalog.beans.ProductDataBean corresponding to the catalog entry
      • getItemDataBean

        public ItemDataBean getItemDataBean()
        Returns the com.ibm.commerce.catalog.beans.ItemDataBean corresponding to the catalog entry if this catalog entry is an item. Otherwise returns null. Use in conjuction with isItem()
        Returns:
        the com.ibm.commerce.catalog.beans.ItemDataBean corresponding to the catalog entry
      • getPackageDataBean

        public PackageDataBean getPackageDataBean()
        Returns the com.ibm.commerce.catalog.beans.PackageDataBean corresponding to the catalog entry if this catalog entry is a Package. Otherwise returns null. Use in conjuction with isPackage()
        Returns:
        the com.ibm.commerce.catalog.beans.PackageDataBean corresponding to the catalog entry
      • getBundleDataBean

        public BundleDataBean getBundleDataBean()
        Returns the com.ibm.commerce.catalog.beans.BundleDataBean corresponding to the catalog entry if this catalog entry is a bundle. Otherwise returns null. Use in conjuction with isBundle()
        Returns:
        the com.ibm.commerce.catalog.beans.BundleDataBean corresponding to the catalog entry, null otherwise
      • getDynamicKitDataBean

        public DynamicKitDataBean getDynamicKitDataBean()
        Returns the com.ibm.commerce.catalog.beans.DynamicKitDataBean corresponding to the catalog entry if this catalog entry is a dynamic kit. Otherwise returns null. Use in conjuction with isDynamicKit()
        Returns:
        the com.ibm.commerce.catalog.beans.DynamicKitDataBean corresponding to the catalog entry, null otherwise
      • getMinimumPrice

        public PriceDataBean getMinimumPrice()
        Gets the minimum price of the catalog entry, unless it is a dynamic kit. Dynamic kits do not have prices until they are fully configured and added to the order. This method will return null for dynamic kits.
        Returns:
        the com.ibm.commerce.price.beans.PriceDataBean with the minimum price.
      • getMaximumPrice

        public PriceDataBean getMaximumPrice()
        Gets the maximum price of the catalog entry, unless it is a dynamic kit. Dynamic kits do not have prices until they are fully configured and added to the order. This method will return null for dynamic kits.
        Returns:
        the com.ibm.commerce.price.beans.PriceDataBean with the minimum price.
      • isCalculatedContractPriced

        public boolean isCalculatedContractPriced()
        Determines whether the catalog entry has a calculated contract price.
        Returns:
        true if there is a calculated contract price, false otherwise
      • isListPriced

        public boolean isListPriced()
        Determines whether the catalog entry has a list price.
        Returns:
        true if there is a list price, false otherwise
      • isCatalogEntryAllowedPriceRanges

        public boolean isCatalogEntryAllowedPriceRanges()
        Retrieve the tiered pricing information for the current catalog entry in all the applicable contracts. Only supports the following catalog entries: items, products and packages.
        Returns:
        The array of RangePricingData that contains the tiered pricing data for each of the contracts applicable to this catalog entry.
        Throws:
        ECException - An exception occurs during the execution of the method.
      • getApplicableContractPriceRanges

        public com.ibm.commerce.catalog.util.RangePricingData[] getApplicableContractPriceRanges()
                                                                                          throws ECException
        Retrieve the tiered pricing information for the current catalog entry in all the applicable contracts. Only supports the following catalog entries: items, products and packages.
        Returns:
        The array of RangePricingData that contains the tiered pricing data for each of the contracts applicable to this catalog entry.
        Throws:
        ECException - An exception occurs during the execution of the method.