public class BundleDataBean extends BundleAccessBean implements com.ibm.commerce.catalog.beans.BundleInputDataBean, com.ibm.commerce.catalog.beans.BundleSmartDataBean
You can find more information about data beans in the WebSphere Commerce data beans topic in the Information Center. Access Beans: Bundle
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 |
---|
BundleDataBean()
Constructs an empty BundleDataBean.
|
BundleDataBean(CatalogEntryAccessBean abCatEntry)
Creates a BundleDataBean from a CatalogEntryAccessBean.
|
BundleDataBean(CatalogEntryAccessBean abCatEntry, CommandContext aCommandContext)
Constructs a BundleDataBean from a CatalogEntryAccessBean and the command context.
|
Modifier and Type | Method and Description |
---|---|
AttachmentDataBean[] | getAllAttachments()
Gets all the attachments in the bundle.
|
AttachmentDataBean[] | getAttachmentsByUsage()
Gets all the bundle attachments by the specified attachment relation usage.
|
AttachmentUsageDataBean[] | getAttachmentUsages()
Gets all the attachment relation usage used in the bundle attachments
|
AttributeDataBean[] | getAttributeDataBeans()
Gets a list of data beans that represent attributes of the product.
|
AttributeAccessBean[] | getAttributes()
Gets a list of beans that represent attributes of the bundle.
|
RelatedBundleDataBean[] | getBundleAccessories()
Gets a list of beans which represent bundles that are accessories to this bundle.
|
RelatedBundleDataBean[] | getBundleAssociations()
Gets a list of beans which represent bundles that are merchandising associations for this bundle.
|
RelatedBundleDataBean[] | getBundleCrossSells()
Gets a list of beans which represent bundles that are cross-sells to this bundle.
|
CompositeItemDataBean[] | getBundledItems()
Gets a list of beans which represent items that are components of this bundle.
|
CompositePackageDataBean[] | getBundledPackages()
Gets a list of beans which represent packages that are components of this bundle.
|
CompositeProductDataBean[] | getBundledProducts()
Gets the list of beans which represent products that are components of this bundle.
|
java.lang.String | getBundleID()
Gets the bundle ID that represents the primary key for this bundle.
|
java.lang.String | getBundlePartNumber()
Gets the part (SKU) number of the bundle.
|
RelatedBundleDataBean[] | getBundleReplacements()
Gets a list of beans that represent bundles that are replacement to this bundle.
|
RelatedBundleDataBean[] | getBundleUpSells()
Gets a list of beans that represent bundles that are up-sells to this bundle.
|
PriceDataBean | getCalculatedContractPrice()
Gets a PriceDataBean that represents the sum of the calculated contract prices for each of the bundle components .
|
PriceDataBean | getCalculatedPrice()
Gets a PriceDataBean that represents the sum of the calculated prices for each of the bundle components.
|
CommandContext | getCommandContext()
Gets the current command's context.
|
CatalogEntryDescriptionAccessBean | getDescription()
Gets a bean representing descriptive information about this bundle.
|
AttributeDataBean[] | getDescriptiveAttributeDataBeans()
Gets a list of data beans that represent descriptive attributes of the product.
|
AttributeAccessBean[] | getDescriptiveAttributes()
Gets a list of beans that represent descriptive attributes of the bundle.
|
CategorizedMonetaryAmountsDataBean | getDisplayTaxes()
Invokes the getTaxes method in PriceDataBean to calculate the taxes for those tax categories that are displayable at product display time.
|
RelatedDynamicKitDataBean[] | getDynamicKitAccessories()
Gets a list of beans that represent dynamic kits that are accessories.
|
RelatedDynamicKitDataBean[] | getDynamicKitAssociations()
Gets a list of beans that represent dynamic kits that are merchandising associations for this bundle.
|
RelatedDynamicKitDataBean[] | getDynamicKitCrossSells()
Gets the list of beans which represent dynamic kits that are cross-sells.
|
RelatedDynamicKitDataBean[] | getDynamicKitUpSells()
Gets the list of beans which represent dynamic kits that are up-sells.
|
RelatedItemDataBean[] | getItemAccessories()
Gets the list of beans which represent items that are accessories to this bundle.
|
RelatedItemDataBean[] | getItemAssociations()
Gets the list of beans which represent items that are merchandising associations for this bundle.
|
RelatedItemDataBean[] | getItemCrossSells()
Gets the list of beans which represent items that are cross-sells to this bundle.
|
RelatedItemDataBean[] | getItemUpSells()
Gets the list of beans which represent items that are up-sells to this bundle.
|
PriceDataBean | getListPrice()
Gets a bean that represents the sum of the list prices for each of the bundle components.
|
PriceDataBean | getMaximumBundlePrice()
Gets the maximum bundle price.
|
PriceDataBean | getMinimumBundlePrice()
Gets the minimum bundle price.
|
java.lang.String | getObjectPath()
Gets the path to objects such as images in the context of the current store.
|
RelatedPackageDataBean[] | getPackageAccessories()
Gets the list of beans which represent packages that are accessories to this bundle.
|
RelatedPackageDataBean[] | getPackageAssociations()
Gets the list of beans which represent packages that are merchandising associations for this bundle.
|
RelatedPackageDataBean[] | getPackageCrossSells()
Gets the list of beans which represent packages that are cross-sells to this bundle.
|
RelatedPackageDataBean[] | getPackageUpSells()
Gets the list of beans which represent packages that are up-sells to this bundle.
|
RelatedProductDataBean[] | getProductAccessories()
Gets the list of beans which represent products that are accessories to this bundle.
|
RelatedProductDataBean[] | getProductAssociations()
Gets the list of beans which represent products that are merchandising associations for this bundle.
|
RelatedProductDataBean[] | getProductCrossSells()
Gets the list of beans which represent products that are cross-sells to this bundle.
|
RelatedProductDataBean[] | getProductUpSells()
Gets the list of beans which represent products that are up-sells to this bundle.
|
TypedProperty | getRequestProperties()
Gets the request property passed in at run time.
|
PriceDataBean | getStandardPrice()
Gets a PriceDataBean that represents the standard contract price for the bundle.
|
boolean | isAdminMode()
Is the databean used in the administrative mode.
|
boolean | isAnyMerchandisingAssociated()
Determines whether there are any OOB or custom merchandising associations associated with this catalog entry
|
boolean | isCalculatedContractPriced()
Determines whether the bundle has a calculated contract price.
|
boolean | isListPriced()
Determines whether the bundle has a list price.
|
boolean | isMerchandisingAssociated()
Determines whether there are any merchandising associations associated with this product
|
void | populate()
Fetches and populates information needed by the bean.
|
void | setAdminMode(boolean aboolAdminMode)
Sets the administrative mode.
|
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 bundle with the same usage.
|
void | setBundleID(java.lang.String astrBundleId)
Sets the bundle ID that represents the primary key for this bundle.
|
void | setBundlePartNumber(java.lang.String astrBundlePartNumber)
Sets the bundle part (SKU) number.
|
void | setCommandContext(CommandContext aCommandContext)
Sets the command context passed in at run time.
|
void | setDescription(CatalogEntryDescriptionAccessBean aabDescription)
Sets the descriptive AccessBean CatalogEntryDescriptionAccessBean about this bundle.
|
void | setRequestProperties(TypedProperty aParam)
Sets the request properties and populates the parameters that are needed by the bean.
|
public static final java.lang.String COPYRIGHT
public BundleDataBean()
public BundleDataBean(CatalogEntryAccessBean abCatEntry) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException
public BundleDataBean(CatalogEntryAccessBean abCatEntry, CommandContext aCommandContext) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException
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 RelatedBundleDataBean[] getBundleAccessories() throws ECException
public RelatedBundleDataBean[] getBundleAssociations() throws ECException
setAssociationType("UPSELL");
RelatedBundleDataBean[] rb = getBundleAssociations();
public RelatedBundleDataBean[] getBundleCrossSells() throws ECException
public CompositeItemDataBean[] getBundledItems() throws ECException
public CompositePackageDataBean[] getBundledPackages() throws ECException
public CompositeProductDataBean[] getBundledProducts() throws ECException
public java.lang.String getBundleID()
public java.lang.String getBundlePartNumber()
public RelatedBundleDataBean[] getBundleUpSells() throws ECException
public PriceDataBean getCalculatedContractPrice() throws ECException
public PriceDataBean getCalculatedPrice() throws ECException
public CommandContext getCommandContext()
public CatalogEntryDescriptionAccessBean getDescription() throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException
public CategorizedMonetaryAmountsDataBean getDisplayTaxes() throws ECException
public RelatedDynamicKitDataBean[] getDynamicKitAssociations() throws ECException
setAssociationType("UPSELL");
RelatedDynamicKitDataBean[] rb = getDynamicKitAssociations();
public RelatedDynamicKitDataBean[] getDynamicKitAccessories() throws ECException
public RelatedDynamicKitDataBean[] getDynamicKitCrossSells() throws ECException
public RelatedDynamicKitDataBean[] getDynamicKitUpSells() throws ECException
public RelatedItemDataBean[] getItemAssociations() throws ECException
setAssociationType("UPSELL");
RelatedItemDataBean[] rb = getItemAssociations();
public RelatedItemDataBean[] getItemAccessories() throws ECException
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[] getPackageAssociations() throws ECException
setAssociationType("UPSELL");
RelatedPackageDataBean[] rp = getPackageAssociations();
public RelatedPackageDataBean[] getPackageAccessories() throws ECException
public RelatedPackageDataBean[] getPackageCrossSells() throws ECException
public RelatedPackageDataBean[] getPackageUpSells() throws ECException
public RelatedProductDataBean[] getProductAssociations() throws ECException
setAssociationType("UPSELL");
RelatedProductDataBean[] rb = getProductAssociations();
public RelatedProductDataBean[] getProductAccessories() throws ECException
public RelatedProductDataBean[] getProductCrossSells() throws ECException
public RelatedProductDataBean[] getProductUpSells() throws ECException
public TypedProperty getRequestProperties()
public void populate() throws java.lang.Exception
public RelatedBundleDataBean[] getBundleReplacements() throws ECException
public void setBundleID(java.lang.String astrBundleId)
public void setAssociationType(java.lang.String type)
public void setBundlePartNumber(java.lang.String astrBundlePartNumber)
public void setCommandContext(CommandContext aCommandContext)
public void setDescription(CatalogEntryDescriptionAccessBean aabDescription)
public void setAttachmentUsage(java.lang.String astrAttachmentUsage)
public void setRequestProperties(TypedProperty aParam)
public boolean isAdminMode()
public void setAdminMode(boolean aboolAdminMode)
public PriceDataBean getStandardPrice()
public AttributeDataBean[] getAttributeDataBeans()
public AttributeDataBean[] getDescriptiveAttributeDataBeans()
public boolean isMerchandisingAssociated()
public boolean isAnyMerchandisingAssociated()
public PriceDataBean getMinimumBundlePrice()
public PriceDataBean getMaximumBundlePrice()
public boolean isCalculatedContractPriced()
public boolean isListPriced()