com.ibm.commerce.catalog.beans
Class ItemDataBean

com.ibm.commerce.catalog.beans.ItemDataBean

public class ItemDataBean

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
ItemDataBean()
           
 
Method Summary
 java.lang.Long[] getApplicableContractIds()
          IBM internal use only.
 PriceDataBean[] getApplicableContractPrices()
          IBM internal use only.
 AttributeValueDataBean[] getAttributeValueDataBeans(java.lang.Integer aAttributeValueDataBeans1)
          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.
 boolean getErrorMode()
          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.
 java.lang.String getItemID()
          This method provides access to the CATENTRY.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 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.RelatedPackageDataBean[] getPackageUpSells()
          IBM internal use only.
 java.lang.String getPartNumber()
          This method provides access to the CATENTRY.PARTNUMBER column of DB2 type VARCHAR(64) NOT NULL.
 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 setErrorMode(boolean aErrorMode1)
          IBM internal use only.
 void setItemID(java.lang.String aItemID1)
          This method provides access to the CATENTRY.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setPartNumber(java.lang.String aPartNumber1)
          This method provides access to the CATENTRY.PARTNUMBER column of DB2 type VARCHAR(64) NOT NULL.
 void setRequestProperties(TypedProperty aRequestProperties1)
          Sets the request property within this bean.
 

Constructor Detail

ItemDataBean

public ItemDataBean()
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

getAttributeValueDataBeans

public AttributeValueDataBean[] getAttributeValueDataBeans(java.lang.Integer aAttributeValueDataBeans1)
                                                    throws javax.ejb.CreateException,
                                                           javax.ejb.FinderException,
                                                           java.rmi.RemoteException,
                                                           javax.naming.NamingException,
                                                           java.lang.Exception

IBM internal use only.

Parameters:
aAttributeValueDataBeans1 - java.lang.Integer
Returns:
com.ibm.commerce.catalog.beans.AttributeValueDataBean[]
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
java.lang.Exception - The java.lang.Exception 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,
                                                        javax.naming.NamingException,
                                                        java.rmi.RemoteException,
                                                        javax.ejb.FinderException

IBM internal use only.

Returns:
com.ibm.commerce.catalog.objects.CatalogEntryDescriptionAccessBean
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.naming.NamingException - The javax.naming.NamingException exception
java.rmi.RemoteException - The java.rmi.RemoteException 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

getErrorMode

public boolean getErrorMode()

IBM internal use only.

Returns:
boolean

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

getItemID

public java.lang.String getItemID()

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:
java.lang.String

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

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

getPartNumber

public java.lang.String getPartNumber()

This method provides access to the CATENTRY.PARTNUMBER column of DB2 type VARCHAR(64) NOT NULL.

The following is a description of this column:

The reference number that identifies the Part Number of the Catalog Entry. Along with the Member_Id, these columns are a unique index.

Returns:
java.lang.String

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

setErrorMode

public void setErrorMode(boolean aErrorMode1)

IBM internal use only.

Parameters:
aErrorMode1 - boolean
Returns:
void

setItemID

public void setItemID(java.lang.String aItemID1)

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.

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

setPartNumber

public void setPartNumber(java.lang.String aPartNumber1)

This method provides access to the CATENTRY.PARTNUMBER column of DB2 type VARCHAR(64) NOT NULL.

The following is a description of this column:

The reference number that identifies the Part Number of the Catalog Entry. Along with the Member_Id, these columns are a unique index.

Parameters:
aPartNumber1 - 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