public class PackageDataBean extends PackageAccessBean implements com.ibm.commerce.catalog.beans.PackageSmartDataBean, com.ibm.commerce.catalog.beans.PackageInputDataBean
You can find more information about data beans in the WebSphere Commerce data beans topic in the Information Center.
Access Beans: Package
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 |
---|
PackageDataBean()
Constructs an empty PackageDataBean.
|
PackageDataBean(CatalogEntryAccessBean abCatentry)
Constructs a PackageDataBean from a CatalogEntryAccessBean.
|
PackageDataBean(CatalogEntryAccessBean abCatEntry, CommandContext aCommandContext)
Constructs a PackageDataBean from a CatalogEntryAccessBean and a command context.
|
Modifier and Type | Method and Description |
---|---|
AttachmentDataBean[] | getAllAttachments()
Gets all the attachments in the pre-built kit.
|
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 package in all the applicable contracts.
|
PriceDataBean[] | getApplicableContractPrices()
Gets a list of price of the applicable contracts for calculating the prices.
|
ContractDataBean[] | getApplicableContracts()
Gets a list of ContractDataBean that represents applicable contracts for the package.
|
AttachmentDataBean[] | getAttachmentsByUsage()
Get all the pre-built kit attachments by the specified attachment relation usage.
|
AttachmentUsageDataBean[] | getAttachmentUsages()
Get all the attachment relation usage used in the pre-built kit 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 product.
|
RelatedBundleDataBean[] | getBundleAccessories()
Gets a list of beans that represent bundles that are accessories to this package.
|
RelatedBundleDataBean[] | getBundleAssociations()
Gets a list of beans that represent bundles that are merchandising associations for this package.
|
RelatedBundleDataBean[] | getBundleCrossSells()
Gets a list of beans that represent bundles that are cross-sells to this package.
|
RelatedBundleDataBean[] | getBundleUpSells()
Gets a list of beans that represent bundles that are up-sells to this package.
|
PriceDataBean | getCalculatedContractPrice()
Gets a PriceDataBean that represents the the calculated contract price for the package.
|
PriceDataBean | getCalculatedPrice()
Gets a PriceDataBean that represents the the calculated price for the package.
|
CommandContext | getCommandContext()
Gets the current command's context passed in at run time.
|
CatalogEntryDescriptionAccessBean | getDescription()
Gets a bean representing descriptive information about this package.
|
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 product.
|
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 package.
|
RelatedDynamicKitDataBean[] | getDynamicKitCrossSells()
Gets a list of beans that represent dynamic kits that are cross-sells.
|
RelatedDynamicKitDataBean[] | getDynamicKitUpSells()
Gets a list of beans that represent dynamic kits that are up-sells.
|
RelatedItemDataBean[] | getItemAccessories()
Gets a list of beans that represent items that are accessories to this package.
|
RelatedItemDataBean[] | getItemAssociations()
Gets a list of beans that represent items that are merchandising associations for this package.
|
RelatedItemDataBean[] | getItemCrossSells()
Gets a list of beans that represent items that are cross-sells to this package.
|
RelatedItemDataBean[] | getItemUpSells()
Gets a list of beans that represent items that are up-sells to this package.
|
PriceDataBean | getListPrice()
Gets a bean that represents the list price for the package.
|
int | getNumberOfApplicableContractIds()
Gets the number of applicable contract IDs for calculating the prices.
|
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 that represent packages that are accessories to this package.
|
RelatedPackageDataBean[] | getPackageAssociations()
Gets a list of beans that represent packages that are merchandising associations for this package.
|
RelatedPackageDataBean[] | getPackageCrossSells()
Gets a list of beans that represent packages that are cross-sells to this package.
|
CompositeItemDataBean[] | getPackagedItems()
Gets a list of beans that represent items that are components of this package.
|
CompositePackageDataBean[] | getPackagedPackages()
Gets a list of beans that represent packages that are components of this package.
|
CompositeProductDataBean[] | getPackagedProducts()
Gets a list of beans that represent products that are components of this package.
|
java.lang.String | getPackageID()
Gets the package ID that represents the primary key for this package.
|
java.lang.String | getPackagePartNumber()
Gets the part (SKU) number of the package.
|
RelatedPackageDataBean[] | getPackageReplacements()
Gets a list of beans that represent packages that are replacementss to this package.
|
RelatedPackageDataBean[] | getPackageUpSells()
Gets a list of beans that represent packages that are up-sells to this package.
|
RelatedProductDataBean[] | getProductAccessories()
Gets a list of beans that represent products that are accessories to this package.
|
RelatedProductDataBean[] | getProductAssociations()
Gets a list of beans that represent products that are merchandising associations for this package.
|
RelatedProductDataBean[] | getProductCrossSells()
Gets a list of beans that represent products that are cross-sells to this package.
|
RelatedProductDataBean[] | getProductUpSells()
Gets a list of beans that represent products that are up-sells to this package.
|
TypedProperty | getRequestProperties()
Gets the request property.
|
PriceDataBean | getStandardPrice()
Gets a PriceDataBean that represents the standard contract price for the item.
|
boolean | isAdminMode()
Gets if the bean is running in administrative mode.
|
boolean | isAnyMerchandisingAssociated()
Determines whether there are any OOB or custom merchandising associations associated with this catalog entry
|
boolean | isCalculatedContractPriced()
Determines whether the package has a calculated contract price.
|
boolean | isCheckNumberOfApplicableContractIds()
Determines whether the package has any applicable contract ids
|
boolean | isListPriced()
Determines whether the package 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 flag of 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 pre-built kit with the same usage.
|
void | setCommandContext(CommandContext aCommandContext)
Sets the command context.
|
void | setDescription(CatalogEntryDescriptionAccessBean aabDescription)
Sets the descriptive information about this package.
|
void | setPackageID(java.lang.String astrPackageId)
Sets the package ID that represents the primary key for this package.
|
void | setPackagePartNumber(java.lang.String astrPackagePartNumber)
Sets the package part (SKU) number.
|
void | setRequestProperties(TypedProperty aParam)
Sets the request property and populates the parameters that are needed by the bean.
|
public static final java.lang.String COPYRIGHT
public PackageDataBean()
public PackageDataBean(CatalogEntryAccessBean abCatentry) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException
public PackageDataBean(CatalogEntryAccessBean abCatEntry, CommandContext aCommandContext) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException
public AttributeAccessBean[] getAttributes() throws javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException
public AttachmentDataBean[] getAllAttachments()
public AttachmentDataBean[] getAttachmentsByUsage()
public AttachmentUsageDataBean[] getAttachmentUsages()
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 CommandContext getCommandContext()
public CatalogEntryDescriptionAccessBean getDescription() throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException
public CategorizedMonetaryAmountsDataBean getDisplayTaxes() throws ECException
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 CompositeItemDataBean[] getPackagedItems() throws ECException
public CompositeProductDataBean[] getPackagedProducts() throws ECException
public CompositePackageDataBean[] getPackagedPackages() throws ECException
public java.lang.String getPackageID()
public java.lang.String getPackagePartNumber()
public RelatedPackageDataBean[] getPackageUpSells() throws ECException
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 void populate() throws java.lang.Exception
public RelatedPackageDataBean[] getPackageReplacements() throws ECException
public void setCommandContext(CommandContext aCommandContext)
public void setDescription(CatalogEntryDescriptionAccessBean aabDescription)
public void setPackageID(java.lang.String astrPackageId)
public void setAssociationType(java.lang.String type)
public void setAttachmentUsage(java.lang.String astrAttachmentUsage)
public void setPackagePartNumber(java.lang.String astrPackagePartNumber)
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 boolean isCalculatedContractPriced()
public boolean isListPriced()
public int getNumberOfApplicableContractIds() throws ECException
public boolean isCheckNumberOfApplicableContractIds()
public ContractDataBean[] getApplicableContracts()
public com.ibm.commerce.catalog.util.RangePricingData[] getApplicableContractPriceRanges() throws ECException