java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.catalog.objects.BundleAccessBean | +--com.ibm.commerce.catalog.beans.BundleDataBean
This bean represents a Bundle.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The internal copyright field. |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
AttributeAccessBean[] |
getAttributes() Gets a list of beans that represent attributes of the bundle. |
RelatedBundleDataBean[] |
getBundleAccessories() Gets a list of beans that represent bundles that are accessories to this bundle. |
RelatedBundleDataBean[] |
getBundleCrossSells() Gets a list of beans that represent bundles that are cross-sells to this bundle. |
CompositeItemDataBean[] |
getBundledItems() Gets a list of beans that represent items that are components of this bundle. |
CompositePackageDataBean[] |
getBundledPackages() Gets a list of beans that represent packages that are components of this bundle. |
CompositeProductDataBean[] |
getBundledProducts() Gets a list of beans that 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. |
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[] |
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 bundle. |
RelatedItemDataBean[] |
getItemCrossSells() Gets a list of beans that represent items that are cross-sells to this bundle. |
RelatedItemDataBean[] |
getItemUpSells() Gets a list of beans that 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. |
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 bundle. |
RelatedPackageDataBean[] |
getPackageCrossSells() Gets a list of beans that represent packages that are cross-sells to this bundle. |
RelatedPackageDataBean[] |
getPackageUpSells() Gets a list of beans that represent packages that are up-sells to this bundle. |
RelatedProductDataBean[] |
getProductAccessories() Gets a list of beans that represent products that are accessories to this bundle. |
RelatedProductDataBean[] |
getProductCrossSells() Gets a list of beans that represent products that are cross-sells to this bundle. |
RelatedProductDataBean[] |
getProductUpSells() Gets a list of beans that represent products that are up-sells to this bundle. |
TypedProperty |
getRequestProperties() Gets the request property passed in at run time. |
boolean |
isAdminMode() Is the databean used in the administrative mode. |
void |
populate() Fetches and populates information needed by the bean. |
void |
setAdminMode(boolean aboolAdminMode) Sets the administrative mode. |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public BundleDataBean()
public BundleDataBean(CatalogEntryAccessBean abCatEntry) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException
RemoteException
- In the execution of the method, a remote
exception occurs.FinderException
- In the execution of the method, a finder
exception occurs.NamingException
- In the execution of the method, a naming
exception occurs.CreateException
- In the execution of the method, a create
exception occurs.public BundleDataBean(CatalogEntryAccessBean abCatEntry, CommandContext aCommandContext) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException
abCatEntry
- The CatalogEntryAccessbean
.aCommandContext
- The command context as
CommandContext
object.RemoteException
- In the execution of the method, a remote
exception occurs.FinderException
- In the execution of the method, a finder
exception occurs.NamingException
- In the execution of the method, a naming
exception occurs.CreateException
- In the execution of the method, a create
exception occurs.Method Detail |
---|
public AttributeAccessBean[] getAttributes() throws javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException
AttributeAccessBean
for the bundle.RemoteException
- In the execution of the method, a remote
exception occurs.FinderException
- In the execution of the method, a finder
exception occurs.NamingException
- In the execution of the method, a naming
exception occurs.CreateException
- In the execution of the method, a create
exception occurs.public AttributeAccessBean[] getDescriptiveAttributes() throws javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException
AttributeAccessBean
for the bundle.RemoteException
- In the execution of the method, a remote
exception occurs.FinderException
- In the execution of the method, a finder
exception occurs.NamingException
- In the execution of the method, a naming
exception occurs.CreateException
- In the execution of the method, a create
exception occurs.public RelatedBundleDataBean[] getBundleAccessories() throws ECException
RelatedBundleDataBean
.ECException
- An exception occurs during the execution of the method. An exception occurs
during the execution of the method.public RelatedBundleDataBean[] getBundleCrossSells() throws ECException
RelatedBundleDataBean
.ECException
- An exception occurs during the execution of the method.public CompositeItemDataBean[] getBundledItems() throws ECException
CompositeItemDataBean
.ECException
- An exception occurs during the execution of the method.public CompositePackageDataBean[] getBundledPackages() throws ECException
CompositePackageDataBean
.ECException
- An exception occurs during the execution of the method.public CompositeProductDataBean[] getBundledProducts() throws ECException
CompositeProductDataBean
.ECException
- An exception occurs during the execution of the method.public java.lang.String getBundleID()
public java.lang.String getBundlePartNumber()
public RelatedBundleDataBean[] getBundleUpSells() throws ECException
RelatedBundleDataBean
.ECException
- An exception occurs during the execution of the method.public PriceDataBean getCalculatedContractPrice() throws ECException
PriceDataBean
.ECException
- An exception occurs during the execution of the method.public PriceDataBean getCalculatedPrice() throws ECException
PriceDataBean
.ECException
- An exception occurs during the execution of the method.public CommandContext getCommandContext()
CommandContext
objects.public CatalogEntryDescriptionAccessBean getDescription() throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException
getDescription
in class
BundleAccessBean
CatalogEntryDescriptionAccessBean
.RemoteException
- In the execution of the method, a remote
exception occurs.FinderException
- In the execution of the method, a finder
exception occurs.NamingException
- In the execution of the method, a naming
exception occurs.CreateException
- In the execution of the method, a create
exception occurs.public CategorizedMonetaryAmountsDataBean getDisplayTaxes() throws ECException
CategorizedMonetaryAmountsDataBean
containing the taxing
monetary amounts, names and descriptions, and so on.ECException
- An exception occurs during the execution of the method.public RelatedDynamicKitDataBean[] getDynamicKitAccessories() throws ECException
RelatedDynamicKitDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedDynamicKitDataBean[] getDynamicKitCrossSells() throws ECException
RelatedDynamicKitDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedDynamicKitDataBean[] getDynamicKitUpSells() throws ECException
RelatedDynamicKitDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedItemDataBean[] getItemAccessories() throws ECException
RelatedItemDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedItemDataBean[] getItemCrossSells() throws ECException
RelatedItemDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedItemDataBean[] getItemUpSells() throws ECException
RelatedItemDataBean
.ECException
- An exception occurs during the execution of the method.public PriceDataBean getListPrice() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException
PriceDataBean
.ECException
javax.ejb.FinderException
javax.ejb.CreateException
javax.naming.NamingException
java.rmi.RemoteException
public java.lang.String getObjectPath() throws ECException
ECException
- An exception occurs during the execution of the method.public RelatedPackageDataBean[] getPackageAccessories() throws ECException
RelatedPackageDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedPackageDataBean[] getPackageCrossSells() throws ECException
RelatedPackageDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedPackageDataBean[] getPackageUpSells() throws ECException
RelatedPackageDataBean
.ECException
- An exception occurs during the execution of the method.public RelatedProductDataBean[] getProductAccessories() throws ECException
RelatedProductDatabean
.ECException
- An exception occurs during the execution of the method.public RelatedProductDataBean[] getProductCrossSells() throws ECException
RelatedProductDatabean
.ECException
- An exception occurs during the execution of the method.public RelatedProductDataBean[] getProductUpSells() throws ECException
RelatedProductDataBean
.ECException
- An exception occurs during the execution of the method.public TypedProperty getRequestProperties()
null
is always returned.public void populate() throws java.lang.Exception
java.lang.Exception
- An exception occurs during the execution
of the method.public RelatedBundleDataBean[] getBundleReplacements() throws ECException
RelatedBundleDataBean
.ECException
- An exception occurs during the execution of the method.public void setBundleID(java.lang.String astrBundleId)
astrBundleId
- The bundle ID.public void setBundlePartNumber(java.lang.String astrBundlePartNumber)
astrBundlePartNumber
- The bundle part (SKU)
number.public void setCommandContext(CommandContext aCommandContext)
aCommandContext
- The command context as
CommandContext
object.public void setDescription(CatalogEntryDescriptionAccessBean aabDescription)
CatalogEntryDescriptionAccessBean
about this bundle.
aabDescription
- The
CatalogEntryDescriptionAccessBean
.public void setRequestProperties(TypedProperty aParam)
aParam
- The request property as TypeProperty
object.public boolean isAdminMode()
public void setAdminMode(boolean aboolAdminMode)