public class CatalogEntryDataBean
extends com.ibm.commerce.catalog.beansrc.CompactCatalogEntryAccessBean
implements com.ibm.commerce.catalog.beans.CatalogEntryInputDataBean, com.ibm.commerce.catalog.beans.CatalogEntrySmartDataBean
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):
Some hints and tips for using this data bean are:
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The internal copyright field.
|
Constructor and Description |
---|
CatalogEntryDataBean()
Constructs an empty CatalogEntryDataBean object.
|
CatalogEntryDataBean(CatalogEntryAccessBean abCatentry)
Constructs a CatalogEntryDataBean from a CatalogEntryAccessBean.
|
CatalogEntryDataBean(CatalogEntryAccessBean abCatEntry, CommandContext aCommandContext)
Constructs an CatalogEntryDataBean from a CatalogEntryAccessBean and a command context.
|
Modifier and Type | Method and Description |
---|---|
AttachmentDataBean[] | getAllAttachments()
Gets all the attachments in the catalog entry.
|
java.lang.Long[] | getApplicableContractIds()
Gets a list of applicable contracts for calculating the prices.
|
com.ibm.commerce.catalog.util.RangePricingData[] | getApplicableContractPriceRanges()
Retrieve the tiered pricing information for the current catalog entry in all the applicable contracts.
|
PriceDataBean[] | getApplicableContractPrices()
Gets the list of the prices for the applicable contracts.
|
AttachmentDataBean[] | getAttachmentsByUsage()
Gets all the product attachments by the specified attachment relation usage.
|
AttachmentUsageDataBean[] | getAttachmentUsages()
Gets all the attachment relation usage used in the catalog entry attachments
|
AttributeDataBean[] | getAttributeDataBeans()
Gets a list of data beans that represent attributes of the catalog entry.
|
AttributeAccessBean[] | getAttributes()
Gets a list of beans that represent attributes of the catalog entry.
|
java.lang.String | getAvailabilityDay()
Gets the day portion of the timestamp for availability date.
|
java.lang.String | getAvailabilityMonth()
Gets the month portion of the timestamp for availability date.
|
java.lang.String | getAvailabilityYear()
Gets the year portion of the timestamp for availability date.
|
RelatedBundleDataBean[] | getBundleAccessories()
Gets a list of beans which represent bundles that are accessories to this catalog entry.
|
RelatedBundleDataBean[] | getBundleAssociations()
Gets a list of beans which represent bundles that are merchandising associations for this catalog entry.
|
RelatedBundleDataBean[] | getBundleCrossSells()
Gets a list of beans which represent bundles that are cross-sells to this catalog entry.
|
BundleDataBean | getBundleDataBean()
Returns the com.ibm.commerce.catalog.beans.BundleDataBean corresponding to the catalog entry if this catalog entry is a bundle.
|
RelatedBundleDataBean[] | getBundleUpSells()
Gets a list of beans which represent bundles that are up-sells to this catalog entry.
|
PriceDataBean | getCalculatedContractPrice()
Gets a PriceDataBean that represents the calculated contract price for the item.
|
PriceDataBean | getCalculatedPrice()
Gets a PriceDataBean that represents the the calculated price for the catalog entry.
|
java.lang.String | getCatalogEntryID()
Gets the ID that represents the primary key for this catalog entry.
|
CommandContext | getCommandContext()
Gets the current command's context.
|
CatalogEntryDescriptionAccessBean | getDescription()
Gets a bean representing descriptive information about this catalog entry.
|
AttributeDataBean[] | getDescriptiveAttributeDataBeans()
Gets a list of data beans that represent descriptive attributes of the catalog entry.
|
AttributeAccessBean[] | getDescriptiveAttributes()
Gets a list of beans that represent descriptive attributes of the catalog entry.
|
java.lang.String | getDiscontinueDay()
Gets the day portion of the timestamp for discontinue date.
|
java.lang.String | getDiscontinueMonth()
Gets the month portion of the timestamp for discontinue date.
|
java.lang.String | getDiscontinueYear()
Gets the year portion of the timestamp for discontinue date.
|
RelatedDynamicKitDataBean[] | getDynamicKitAccessories()
Gets a list of beans that represent dynamic kits that are accessories.
|
RelatedDynamicKitDataBean[] | getDynamicKitAssociations()
Gets a list of beans which represent dynamic kits that are merchandising associations for this catalog entry.
|
RelatedDynamicKitDataBean[] | getDynamicKitCrossSells()
Gets a list of beans which represent dynamic kits that are cross-sells.
|
DynamicKitDataBean | getDynamicKitDataBean()
Returns the com.ibm.commerce.catalog.beans.DynamicKitDataBean corresponding to the catalog entry if this catalog entry is a dynamic kit.
|
RelatedDynamicKitDataBean[] | getDynamicKitUpSells()
Gets a list of beans which represent dynamic kits that are up-sells.
|
java.lang.String | getEndDay()
Gets the day portion of the timestamp for end date.
|
java.lang.String | getEndMonth()
Gets the month portion of the timestamp for end date.
|
java.lang.String | getEndOfServiceDay()
Gets the day portion of the timestamp for end of service date.
|
java.lang.String | getEndOfServiceMonth()
Gets the month portion of the timestamp for end of service date.
|
java.lang.String | getEndOfServiceYear()
Gets the year portion of the timestamp for end of service date.
|
java.lang.String | getEndYear()
Gets the year portion of the timestamp for end date.
|
java.lang.String | getFormattedAvailabilityDate()
Gets the requested availability date formatted based on locale
|
java.lang.String | getFormattedDiscontinueDate()
Gets the requested discontinue date formatted based on locale
|
java.lang.String | getFormattedEndDate()
Gets the requested end date formatted based on locale
|
java.lang.String | getFormattedEndOfServiceDate()
Gets the requested end of service date formatted based on locale
|
java.lang.String | getFormattedLastOrderDate()
Gets the requested last order date formatted based on locale
|
java.lang.String | getFormattedStartDate()
Gets the requested start date formatted based on locale
|
RelatedItemDataBean[] | getItemAccessories()
Gets a list of beans which represent items that are accessories to this catalog entry.
|
RelatedItemDataBean[] | getItemAssociations()
Gets a list of beans which represent items that are merchandising associations for this catalog entry.
|
RelatedItemDataBean[] | getItemCrossSells()
Gets a list of beans which represent items that are cross-sells to this catalog entry.
|
ItemDataBean | getItemDataBean()
Returns the com.ibm.commerce.catalog.beans.ItemDataBean corresponding to the catalog entry if this catalog entry is an item.
|
RelatedItemDataBean[] | getItemUpSells()
Gets a list of beans which represent items that are up-sells to this catalog entry.
|
java.lang.String | getLastOrderDay()
Gets the day portion of the timestamp for last order date.
|
java.lang.String | getLastOrderMonth()
Gets the month portion of the timestamp for last order date.
|
java.lang.String | getLastOrderYear()
Gets the year portion of the timestamp for last order date.
|
PriceDataBean | getListPrice()
Gets a bean that represents the list price for the catalog entry.
|
PriceDataBean | getMaximumPrice()
Gets the maximum price of the catalog entry, unless it is a dynamic kit.
|
PriceDataBean | getMinimumPrice()
Gets the minimum price of the catalog entry, unless it is a dynamic kit.
|
java.lang.String | getObjectPath()
Gets the path to objects such as images in the context of the current store.
|
RelatedPackageDataBean[] | getPackageAccessories()
Gets a list of beans which represent packages that are accessories to this catalog entry.
|
RelatedPackageDataBean[] | getPackageAssociations()
Gets a list of beans which represent packages that are merchandising associations for this catalog entry.
|
RelatedPackageDataBean[] | getPackageCrossSells()
Gets a list of beans which represent packages that are cross-sells to this catalog entry.
|
PackageDataBean | getPackageDataBean()
Returns the com.ibm.commerce.catalog.beans.PackageDataBean corresponding to the catalog entry if this catalog entry is a Package.
|
RelatedPackageDataBean[] | getPackageUpSells()
Gets a list of beans which represent packages that are up-sells to this catalog entry.
|
java.lang.String | getPartNumber()
Gets the part (SKU) number of the catalog entry.
|
RelatedProductDataBean[] | getProductAccessories()
Gets a list of beans that represent products that are accessories to this catalog entry.
|
RelatedProductDataBean[] | getProductAssociations()
Gets a list of beans which represent products that are merchandising associations for this catalog entry.
|
RelatedProductDataBean[] | getProductCrossSells()
Gets a list of beans which represent products that are cross-sells to this catalog entry.
|
ProductDataBean | getProductDataBean()
Returns the com.ibm.commerce.catalog.beans.ProductDataBean corresponding to the catalog entry if this catalog entry is a product.
|
RelatedProductDataBean[] | getProductUpSells()
Gets a list of beans which represent products that are up-sells to this catalog entry.
|
TypedProperty | getRequestProperties()
Gets the request property passed in at run time.
|
CatalogEntryShippingAccessBean | getShipping()
Gets the access bean which represents the shipping information for this catalog entry.
|
PriceDataBean | getStandardPrice()
Gets a PriceDataBean that represents the standard contract price for the item.
|
java.lang.String | getStartDay()
Gets the day portion of the timestamp for start date.
|
java.lang.String | getStartMonth()
Gets the month portion of the timestamp for start date.
|
java.lang.String | getStartYear()
Gets the year portion of the timestamp for start date.
|
boolean | isAnyMerchandisingAssociated()
Determines whether there are any OOB or custom merchandising associations associated with this catalog entry
|
boolean | isBundle()
Determines whether this catalog entry is a bundle
|
boolean | isCalculatedContractPriced()
Determines whether the catalog entry has a calculated contract price.
|
boolean | isCatalogEntryAllowedPriceRanges()
Retrieve the tiered pricing information for the current catalog entry in all the applicable contracts.
|
boolean | isDynamicKit()
Determines whether this catalog entry is a dynamic kit
|
boolean | isItem()
Determines whether this catalog entry is an item
|
boolean | isListPriced()
Determines whether the catalog entry has a list price.
|
boolean | isMerchandisingAssociated()
Determines whether there are any merchandising associations associated with this catalog entry
|
boolean | isPackage()
Determines whether this catalog entry is a package
|
boolean | isProduct()
Determines whether this catalog entry is a product
|
void | populate()
Fetches and populates information needed by the bean.
|
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().
|
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.
|
void | setCatalogEntryID(java.lang.String astrCatEntryId)
Sets the ID that represents the primary key for this catalog entry.
|
void | setCommandContext(CommandContext aCommandContext)
Sets the command context passed in at run time.
|
void | setDescription(CatalogEntryDescriptionAccessBean aabDescription)
Sets the description bean.
|
void | setPartNumber(java.lang.String astrItemPartNumber)
Sets the catalog entry part (SKU) number.
|
void | setRequestProperties(TypedProperty aParam)
Sets the request property and populates the parameters that are needed by the bean.
|
void | setShipping(CatalogEntryShippingAccessBean aabShipping)
Sets the shipping bean.
|
public static final java.lang.String COPYRIGHT
public CatalogEntryDataBean()
public CatalogEntryDataBean(CatalogEntryAccessBean abCatentry) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public CatalogEntryDataBean(CatalogEntryAccessBean abCatEntry, CommandContext aCommandContext) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public AttachmentDataBean[] getAllAttachments()
public AttachmentDataBean[] getAttachmentsByUsage()
public AttachmentUsageDataBean[] getAttachmentUsages()
public AttributeAccessBean[] getAttributes() throws javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException
public AttributeAccessBean[] getDescriptiveAttributes() throws javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException
public java.lang.Long[] getApplicableContractIds() throws ECException
public PriceDataBean[] getApplicableContractPrices() throws ECException
public RelatedBundleDataBean[] getBundleAccessories() throws ECException
public RelatedBundleDataBean[] getBundleAssociations() throws ECException
setAssociationType("UPSELL");
RelatedBundleDataBean[] rb = getBundleAssociations();
public RelatedBundleDataBean[] getBundleCrossSells() throws ECException
public RelatedBundleDataBean[] getBundleUpSells() throws ECException
public PriceDataBean getCalculatedContractPrice() throws ECException
public PriceDataBean getCalculatedPrice() throws ECException
public java.lang.String getCatalogEntryID()
public CommandContext getCommandContext()
public CatalogEntryDescriptionAccessBean getDescription() throws javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, javax.ejb.FinderException
public RelatedDynamicKitDataBean[] getDynamicKitAccessories() throws ECException
public RelatedDynamicKitDataBean[] getDynamicKitAssociations() throws ECException
setAssociationType("UPSELL");
RelatedDynamicKitDataBean[] rb = getDynamicKitAssociations();
public RelatedDynamicKitDataBean[] getDynamicKitCrossSells() throws ECException
public RelatedDynamicKitDataBean[] getDynamicKitUpSells() throws ECException
public RelatedItemDataBean[] getItemAccessories() throws ECException
public RelatedItemDataBean[] getItemAssociations() throws ECException
setAssociationType("UPSELL");
RelatedItemDataBean[] ri = getItemAssociations();
public RelatedItemDataBean[] getItemCrossSells() throws ECException
public RelatedItemDataBean[] getItemUpSells() throws ECException
public PriceDataBean getListPrice() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException
public java.lang.String getObjectPath() throws ECException
public RelatedPackageDataBean[] getPackageAccessories() throws ECException
public RelatedPackageDataBean[] getPackageAssociations() throws ECException
setAssociationType("UPSELL");
RelatedPackageDataBean[] rp = getPackageAssociations();
public RelatedPackageDataBean[] getPackageCrossSells() throws ECException
public RelatedPackageDataBean[] getPackageUpSells() throws ECException
public java.lang.String getPartNumber()
public RelatedProductDataBean[] getProductAccessories() throws ECException
public RelatedProductDataBean[] getProductAssociations() throws ECException
setAssociationType("UPSELL");
RelatedProductDataBean[] rp = getProductAssociations();
public RelatedProductDataBean[] getProductCrossSells() throws ECException
public RelatedProductDataBean[] getProductUpSells() throws ECException
public TypedProperty getRequestProperties()
public CatalogEntryShippingAccessBean getShipping()
public java.lang.String getFormattedStartDate()
public java.lang.String getStartYear() throws java.lang.Exception
public java.lang.String getStartMonth() throws java.lang.Exception
public java.lang.String getStartDay() throws java.lang.Exception
public java.lang.String getFormattedEndDate()
public java.lang.String getEndYear() throws java.lang.Exception
public java.lang.String getEndMonth() throws java.lang.Exception
public java.lang.String getEndDay() throws java.lang.Exception
public java.lang.String getFormattedAvailabilityDate()
public java.lang.String getAvailabilityYear() throws java.lang.Exception
public java.lang.String getAvailabilityMonth() throws java.lang.Exception
public java.lang.String getAvailabilityDay() throws java.lang.Exception
public java.lang.String getFormattedLastOrderDate()
public java.lang.String getLastOrderYear() throws java.lang.Exception
public java.lang.String getLastOrderMonth() throws java.lang.Exception
public java.lang.String getLastOrderDay() throws java.lang.Exception
public java.lang.String getFormattedEndOfServiceDate()
public java.lang.String getEndOfServiceYear() throws java.lang.Exception
public java.lang.String getEndOfServiceMonth() throws java.lang.Exception
public java.lang.String getEndOfServiceDay() throws java.lang.Exception
public java.lang.String getFormattedDiscontinueDate()
public java.lang.String getDiscontinueYear() throws java.lang.Exception
public java.lang.String getDiscontinueMonth() throws java.lang.Exception
public java.lang.String getDiscontinueDay() throws java.lang.Exception
public void populate() throws java.lang.Exception
public void setCatalogEntryID(java.lang.String astrCatEntryId)
public void setAssociationType(java.lang.String type)
public void setCommandContext(CommandContext aCommandContext)
public void setDescription(CatalogEntryDescriptionAccessBean aabDescription)
public void setPartNumber(java.lang.String astrItemPartNumber)
public void setAttachmentUsage(java.lang.String astrAttachmentUsage)
public void setRequestProperties(TypedProperty aParam)
public void setShipping(CatalogEntryShippingAccessBean aabShipping)
public PriceDataBean getStandardPrice()
public AttributeDataBean[] getAttributeDataBeans()
public AttributeDataBean[] getDescriptiveAttributeDataBeans()
public boolean isMerchandisingAssociated()
public boolean isAnyMerchandisingAssociated()
public boolean isProduct()
public boolean isItem()
public boolean isPackage()
public boolean isBundle()
public boolean isDynamicKit()
public ProductDataBean getProductDataBean()
public ItemDataBean getItemDataBean()
public PackageDataBean getPackageDataBean()
public BundleDataBean getBundleDataBean()
public DynamicKitDataBean getDynamicKitDataBean()
public PriceDataBean getMinimumPrice()
public PriceDataBean getMaximumPrice()
public boolean isCalculatedContractPriced()
public boolean isListPriced()
public boolean isCatalogEntryAllowedPriceRanges() throws ECException
public com.ibm.commerce.catalog.util.RangePricingData[] getApplicableContractPriceRanges() throws ECException