java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.catalog.objects.ItemAccessBean | +--com.ibm.commerce.catalog.beans.ItemDataBean
This data bean represents a catalog entry of type Item.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The internal copyright field. |
Constructor Summary | |
---|---|
ItemDataBean() Constructs an empty ItemDataBean . | |
ItemDataBean(
CatalogEntryAccessBean abCatentry) Constructs an ItemDataBean from a
CatalogEntryAccessBean . | |
ItemDataBean(
CatalogEntryAccessBean abCatEntry,
CommandContext aCommandContext) Constructs an ItemDataBean from a
CatalogEntryAccessBean and a command context. | |
ItemDataBean(
ItemAccessBean abItem,
CommandContext aCommandContext) Constructs an ItemDataBean from an
ItemAccessBean and a command context. |
Method Summary | |
---|---|
java.lang.Long[] |
getApplicableContractIds() Gets a list of applicable contract IDs for calculating the prices. |
PriceDataBean[] |
getApplicableContractPrices() Gets a list of prices of applicable contracts for calculating the prices. |
AttributeAccessBean[] |
getAttributes() Gets a list of beans that represent attributes of the item. |
AttributeValueDataBean[] |
getAttributeValueDataBeans(java.lang.Integer argLanguageId) Gets a list of beans that represent packages that are accessories to this item. |
RelatedBundleDataBean[] |
getBundleAccessories() Gets a list of beans that represent bundles that are accessories to this item. |
RelatedBundleDataBean[] |
getBundleCrossSells() Gets a list of beans that represent bundles that are cross-sells to this item. |
RelatedBundleDataBean[] |
getBundleUpSells() Gets a list of beans that represent bundles that are up-sells to this item. |
PriceDataBean |
getCalculatedContractPrice() Gets a PriceDataBean that represents the the calculated contract price for the item. |
PriceDataBean |
getCalculatedPrice() Gets a PriceDataBean that represents the the calculated price for the item. |
CommandContext |
getCommandContext() Gets the current command's context passed in at run time. |
CatalogEntryDescriptionAccessBean |
getDescription() Gets a bean representing descriptive information about this item. |
AttributeAccessBean[] |
getDescriptiveAttributes() Gets a list of beans that represent descriptive attributes of the item. |
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. |
boolean |
getErrorMode() Gets the error mode. |
RelatedItemDataBean[] |
getItemAccessories() Gets a list of beans that represent items that are accessories to this item. |
RelatedItemDataBean[] |
getItemCrossSells() Gets a list of beans that represent items that are cross-sells to this item. |
java.lang.String |
getItemID() Gets the item ID that represents the primary key for this item. |
RelatedItemDataBean[] |
getItemReplacements() Gets a list of beans that represent items that are replacements to this item. |
RelatedItemDataBean[] |
getItemUpSells() Gets a list of beans that represent items that are up-sells to this item. |
PriceDataBean |
getListPrice() Gets a bean that represents the list price for the item. |
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 item. |
RelatedPackageDataBean[] |
getPackageCrossSells() Gets a list of beans that represent packages that are cross-sells to this item. |
RelatedPackageDataBean[] |
getPackageUpSells() Gets a list of beans that represent packages that are up-sells to this item. |
java.lang.String |
getPartNumber() Gets the part (SKU) number of the item. |
RelatedProductDataBean[] |
getProductAccessories() Gets a list of beans that represent products that are accessories to this item. |
RelatedProductDataBean[] |
getProductCrossSells() Gets a list of beans that represent products that are cross-sells to this item. |
RelatedProductDataBean[] |
getProductUpSells() Gets a list of beans that represent products that are up-sells to this item. |
TypedProperty |
getRequestProperties() Gets the request property. |
boolean |
isAdminMode() Gets if the bean is running in administrative mode. |
void |
populate() Fetches and populates information needed by the bean. |
void |
setAdminMode(boolean aboolAdminMode) Sets the administrative mode of the bean. |
void |
setCommandContext(
CommandContext aCommandContext) Sets the command context passed in at run time. |
void |
setDescription(
CatalogEntryDescriptionAccessBean aabDescription) Sets the descriptive information about this item. |
void |
setErrorMode(boolean aErrorMode) Sets the error mode. |
void |
setItemID(java.lang.String astrItemId) Sets the item ID that represents the primary key for this item. |
void |
setPartNumber(java.lang.String astrItemPartNumber) Sets the item part (SKU) number |
void |
setRequestProperties(
TypedProperty aParam) Sets the request property 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 ItemDataBean()
ItemDataBean
.
public ItemDataBean(CatalogEntryAccessBean abCatentry) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
ItemDataBean
from a
CatalogEntryAccessBean
.
abCatentry
- The CatalogEntryAccessBean
.CreateException
- In the execution of the method, a create
exception occurs.FinderException
- In the execution of the method, a finder
exception occurs.NamingException
- In the execution of the method, a naming
exception occurs.RemoteException
- In the execution of the method, a remote
exception occurs.public ItemDataBean(CatalogEntryAccessBean abCatEntry, CommandContext aCommandContext) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
ItemDataBean
from a
CatalogEntryAccessBean
and a command context.
abCatEntry
- The CatalogEntryAccessBean
.aCommandContext
- The command context as
CommandContext
object.public ItemDataBean(ItemAccessBean abItem, CommandContext aCommandContext) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
ItemDataBean
from an ItemAccessBean
and a command context.
abItem
- The ItemAccessBean
.aCommandContext
- The command context as
CommandContext
object.CreateException
- In the execution of the method, a create
exception occurs.FinderException
- In the execution of the method, a finder
exception occurs.NamingException
- In the execution of the method, a naming
exception occurs.RemoteException
- In the execution of the method, a remote
exception occurs.Method Detail |
---|
public AttributeAccessBean[] getAttributes() throws javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException
AttributeAccessBean
.CreateException
- In the execution of the method, a create
exception occurs.FinderException
- In the execution of the method, a finder
exception occurs.NamingException
- In the execution of the method, a naming
exception occurs.RemoteException
- In the execution of the method, a remote
exception occurs.public AttributeAccessBean[] getDescriptiveAttributes() throws javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException
AttributeAccessBean
.CreateException
- In the execution of the method, a create
exception occurs.FinderException
- In the execution of the method, a finder
exception occurs.NamingException
- In the execution of the method, a naming
exception occurs.RemoteException
- In the execution of the method, a remote
exception occurs.public java.lang.Long[] getApplicableContractIds() throws ECException
ECException
- An exception occurs during the execution of the method. An exception occurs
during the execution of the method.public PriceDataBean[] getApplicableContractPrices() throws ECException
PriceDataBean
.ECException
- An exception occurs during the execution of the method.public AttributeValueDataBean[] getAttributeValueDataBeans(java.lang.Integer argLanguageId) throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, java.lang.Exception
RelatedPackageDataBean
.CreateException
- In the execution of the method, a create
exception occurs.FinderException
- In the execution of the method, a finder
exception occurs.NamingException
- In the execution of the method, a naming
exception occurs.RemoteException
- In the execution of the method, a remote
exception occurs.java.lang.Exception
public RelatedBundleDataBean[] getBundleAccessories() throws ECException
RelatedBundleDataBean
.ECException
- 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 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
object.public CatalogEntryDescriptionAccessBean getDescription() throws javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, javax.ejb.FinderException
getDescription
in class
ItemAccessBean
CatalogEntryDescriptionAccessBean
.CreateException
- In the execution of the method, a create
exception occurs.FinderException
- In the execution of the method, a finder
exception occurs.NamingException
- In the execution of the method, a naming
exception occurs.RemoteException
- In the execution of the method, a remote
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 boolean getErrorMode()
true
is the default.
true
if error mode is set; false
otherwise.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 java.lang.String getItemID()
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
.CreateException
- In the execution of the method, a create
exception occurs.FinderException
- In the execution of the method, a finder
exception occurs.NamingException
- In the execution of the method, a naming
exception occurs.RemoteException
- In the execution of the method, a remote
exception occurs.ECException
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 java.lang.String getPartNumber()
getPartNumber
in interface
ItemAccessBeanData
getPartNumber
in class
ItemAccessBean
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()
TypedProperty
object. Always returns
null
.public void populate() throws java.lang.Exception
java.lang.Exception
- An exception occurs during the execution
of the method.public RelatedItemDataBean[] getItemReplacements() throws ECException
RelatedItemDataBean
.ECException
- An exception occurs during the execution of the method.public void setCommandContext(CommandContext aCommandContext)
aCommandContext
- The command context as
CommandContext
object.public void setDescription(CatalogEntryDescriptionAccessBean aabDescription)
aabDescription
- The
CatalogEntryDescriptionAccessBean
.public void setErrorMode(boolean aErrorMode)
public void setItemID(java.lang.String astrItemId)
astrItemId
- The item ID.public void setPartNumber(java.lang.String astrItemPartNumber)
setPartNumber
in interface
ItemAccessBeanData
setPartNumber
in class
ItemAccessBean
astrItemPartNumber
- The part (SKU) number of the item.public void setRequestProperties(TypedProperty aParam)
aParam
- The request property as a TypedProperty
object.public boolean isAdminMode()
true
if the administrative mode is set; false
otherwise.public void setAdminMode(boolean aboolAdminMode)
false
is the
default.