com.ibm.commerce.catalog.beans
Class PackageDataBean

com.ibm.commerce.catalog.beans.PackageDataBean

public class PackageDataBean

This bean provides access to the CATENTRY table.

The following is a description of this table:

This table hold the information related to a Catalog Entry. Examples of Catalog Entries are Products, Items, Packages and Bundles.


Constructor Summary
PackageDataBean()
           
 
Method Summary
 java.lang.Long[] getApplicableContractIds()
          IBM internal use only.
 PriceDataBean[] getApplicableContractPrices()
          IBM internal use only.
 com.ibm.commerce.catalog.beans.RelatedBundleDataBean[] getBundleAccessories()
          IBM internal use only.
 com.ibm.commerce.catalog.beans.RelatedBundleDataBean[] getBundleCrossSells()
          IBM internal use only.
 com.ibm.commerce.catalog.beans.RelatedBundleDataBean[] getBundleUpSells()
          IBM internal use only.
 PriceDataBean getCalculatedContractPrice()
          IBM internal use only.
 PriceDataBean getCalculatedPrice()
          IBM internal use only.
 CommandContext getCommandContext()
          Gets the command context set within this bean.
 CatalogEntryDescriptionAccessBean getDescription()
          IBM internal use only.
 CategorizedMonetaryAmountsDataBean getDisplayTaxes()
          IBM internal use only.
 com.ibm.commerce.catalog.beans.RelatedItemDataBean[] getItemAccessories()
          IBM internal use only.
 com.ibm.commerce.catalog.beans.RelatedItemDataBean[] getItemCrossSells()
          IBM internal use only.
 com.ibm.commerce.catalog.beans.RelatedItemDataBean[] getItemUpSells()
          IBM internal use only.
 PriceDataBean getListPrice()
          This method provides access to the CATENTRY.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 com.ibm.commerce.catalog.beans.RelatedPackageDataBean[] getPackageAccessories()
          IBM internal use only.
 com.ibm.commerce.catalog.beans.RelatedPackageDataBean[] getPackageCrossSells()
          IBM internal use only.
 com.ibm.commerce.catalog.beans.CompositeItemDataBean[] getPackagedItems()
          IBM internal use only.
 com.ibm.commerce.catalog.beans.CompositeProductDataBean[] getPackagedProducts()
          IBM internal use only.
 java.lang.String getPackageID()
          IBM internal use only.
 com.ibm.commerce.catalog.beans.RelatedPackageDataBean[] getPackageUpSells()
          IBM internal use only.
 com.ibm.commerce.catalog.beans.RelatedProductDataBean[] getProductAccessories()
          IBM internal use only.
 com.ibm.commerce.catalog.beans.RelatedProductDataBean[] getProductCrossSells()
          IBM internal use only.
 com.ibm.commerce.catalog.beans.RelatedProductDataBean[] getProductUpSells()
          IBM internal use only.
 TypedProperty getRequestProperties()
          Gets the request property set within this bean.
 void populate()
          Retrieves data from the database.
 void setCommandContext(CommandContext aCommandContext1)
          Sets the command context within this bean.
 void setPackageID(java.lang.String aPackageID1)
          IBM internal use only.
 void setPackagePartNumber(java.lang.String aPackagePartNumber1)
          IBM internal use only.
 void setRequestProperties(TypedProperty aRequestProperties1)
          Sets the request property within this bean.
 

Constructor Detail

PackageDataBean

public PackageDataBean()
Method Detail

getApplicableContractIds

public java.lang.Long[] getApplicableContractIds()
                                          throws ECException

IBM internal use only.

Returns:
java.lang.Long[]
Throws:
ECException - The com.ibm.commerce.exception.ECException exception

getApplicableContractPrices

public PriceDataBean[] getApplicableContractPrices()
                                            throws ECException

IBM internal use only.

Returns:
com.ibm.commerce.price.beans.PriceDataBean[]
Throws:
ECException - The com.ibm.commerce.exception.ECException exception

getBundleAccessories

public com.ibm.commerce.catalog.beans.RelatedBundleDataBean[] getBundleAccessories()
                                                                            throws ECException

IBM internal use only.

Returns:
com.ibm.commerce.catalog.beans.RelatedBundleDataBean[]
Throws:
ECException - The com.ibm.commerce.exception.ECException exception

getBundleCrossSells

public com.ibm.commerce.catalog.beans.RelatedBundleDataBean[] getBundleCrossSells()
                                                                           throws ECException

IBM internal use only.

Returns:
com.ibm.commerce.catalog.beans.RelatedBundleDataBean[]
Throws:
ECException - The com.ibm.commerce.exception.ECException exception

getBundleUpSells

public com.ibm.commerce.catalog.beans.RelatedBundleDataBean[] getBundleUpSells()
                                                                        throws ECException

IBM internal use only.

Returns:
com.ibm.commerce.catalog.beans.RelatedBundleDataBean[]
Throws:
ECException - The com.ibm.commerce.exception.ECException exception

getCalculatedContractPrice

public PriceDataBean getCalculatedContractPrice()
                                         throws ECException

IBM internal use only.

Returns:
com.ibm.commerce.price.beans.PriceDataBean
Throws:
ECException - The com.ibm.commerce.exception.ECException exception

getCalculatedPrice

public PriceDataBean getCalculatedPrice()
                                 throws ECException

IBM internal use only.

Returns:
com.ibm.commerce.price.beans.PriceDataBean
Throws:
ECException - The com.ibm.commerce.exception.ECException exception

getCommandContext

public CommandContext getCommandContext()

Gets the command context set within this bean.

Returns:
com.ibm.commerce.command.CommandContext

getDescription

public CatalogEntryDescriptionAccessBean getDescription()
                                                 throws javax.ejb.CreateException,
                                                        java.rmi.RemoteException,
                                                        javax.naming.NamingException,
                                                        javax.ejb.FinderException

IBM internal use only.

Returns:
com.ibm.commerce.catalog.objects.CatalogEntryDescriptionAccessBean
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getDisplayTaxes

public CategorizedMonetaryAmountsDataBean getDisplayTaxes()
                                                   throws ECException

IBM internal use only.

Returns:
com.ibm.commerce.price.beans.CategorizedMonetaryAmountsDataBean
Throws:
ECException - The com.ibm.commerce.exception.ECException exception

getItemAccessories

public com.ibm.commerce.catalog.beans.RelatedItemDataBean[] getItemAccessories()
                                                                        throws ECException

IBM internal use only.

Returns:
com.ibm.commerce.catalog.beans.RelatedItemDataBean[]
Throws:
ECException - The com.ibm.commerce.exception.ECException exception

getItemCrossSells

public com.ibm.commerce.catalog.beans.RelatedItemDataBean[] getItemCrossSells()
                                                                       throws ECException

IBM internal use only.

Returns:
com.ibm.commerce.catalog.beans.RelatedItemDataBean[]
Throws:
ECException - The com.ibm.commerce.exception.ECException exception

getItemUpSells

public com.ibm.commerce.catalog.beans.RelatedItemDataBean[] getItemUpSells()
                                                                    throws ECException

IBM internal use only.

Returns:
com.ibm.commerce.catalog.beans.RelatedItemDataBean[]
Throws:
ECException - The com.ibm.commerce.exception.ECException exception

getListPrice

public PriceDataBean getListPrice()
                           throws ECException,
                                  javax.ejb.FinderException,
                                  javax.ejb.CreateException,
                                  javax.naming.NamingException,
                                  java.rmi.RemoteException

This method provides access to the CATENTRY.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the Catalog Entry.

Returns:
com.ibm.commerce.price.beans.PriceDataBean
Throws:
ECException - The com.ibm.commerce.exception.ECException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.naming.NamingException - The javax.naming.NamingException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getPackageAccessories

public com.ibm.commerce.catalog.beans.RelatedPackageDataBean[] getPackageAccessories()
                                                                              throws ECException

IBM internal use only.

Returns:
com.ibm.commerce.catalog.beans.RelatedPackageDataBean[]
Throws:
ECException - The com.ibm.commerce.exception.ECException exception

getPackageCrossSells

public com.ibm.commerce.catalog.beans.RelatedPackageDataBean[] getPackageCrossSells()
                                                                             throws ECException

IBM internal use only.

Returns:
com.ibm.commerce.catalog.beans.RelatedPackageDataBean[]
Throws:
ECException - The com.ibm.commerce.exception.ECException exception

getPackagedItems

public com.ibm.commerce.catalog.beans.CompositeItemDataBean[] getPackagedItems()
                                                                        throws ECException

IBM internal use only.

Returns:
com.ibm.commerce.catalog.beans.CompositeItemDataBean[]
Throws:
ECException - The com.ibm.commerce.exception.ECException exception

getPackagedProducts

public com.ibm.commerce.catalog.beans.CompositeProductDataBean[] getPackagedProducts()
                                                                              throws ECException

IBM internal use only.

Returns:
com.ibm.commerce.catalog.beans.CompositeProductDataBean[]
Throws:
ECException - The com.ibm.commerce.exception.ECException exception

getPackageID

public java.lang.String getPackageID()

IBM internal use only.

Returns:
java.lang.String

getPackageUpSells

public com.ibm.commerce.catalog.beans.RelatedPackageDataBean[] getPackageUpSells()
                                                                          throws ECException

IBM internal use only.

Returns:
com.ibm.commerce.catalog.beans.RelatedPackageDataBean[]
Throws:
ECException - The com.ibm.commerce.exception.ECException exception

getProductAccessories

public com.ibm.commerce.catalog.beans.RelatedProductDataBean[] getProductAccessories()
                                                                              throws ECException

IBM internal use only.

Returns:
com.ibm.commerce.catalog.beans.RelatedProductDataBean[]
Throws:
ECException - The com.ibm.commerce.exception.ECException exception

getProductCrossSells

public com.ibm.commerce.catalog.beans.RelatedProductDataBean[] getProductCrossSells()
                                                                             throws ECException

IBM internal use only.

Returns:
com.ibm.commerce.catalog.beans.RelatedProductDataBean[]
Throws:
ECException - The com.ibm.commerce.exception.ECException exception

getProductUpSells

public com.ibm.commerce.catalog.beans.RelatedProductDataBean[] getProductUpSells()
                                                                          throws ECException

IBM internal use only.

Returns:
com.ibm.commerce.catalog.beans.RelatedProductDataBean[]
Throws:
ECException - The com.ibm.commerce.exception.ECException exception

getRequestProperties

public TypedProperty getRequestProperties()

Gets the request property set within this bean.

Returns:
com.ibm.commerce.datatype.TypedProperty

populate

public void populate()
              throws java.lang.Exception

Retrieves data from the database.

Returns:
void
Throws:
java.lang.Exception - The java.lang.Exception exception

setCommandContext

public void setCommandContext(CommandContext aCommandContext1)

Sets the command context within this bean.

Parameters:
aCommandContext1 - com.ibm.commerce.command.CommandContext
Returns:
void

setPackageID

public void setPackageID(java.lang.String aPackageID1)

IBM internal use only.

Parameters:
aPackageID1 - java.lang.String
Returns:
void

setPackagePartNumber

public void setPackagePartNumber(java.lang.String aPackagePartNumber1)

IBM internal use only.

Parameters:
aPackagePartNumber1 - java.lang.String
Returns:
void

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperties1)

Sets the request property within this bean.

Parameters:
aRequestProperties1 - com.ibm.commerce.datatype.TypedProperty
Returns:
void