java.lang.Object | +--com.ibm.commerce.order.beansrc.OrderItemDataBeanBase | +--com.ibm.commerce.order.beans.OrderItemDataBean
This data bean represents an order item.
Field Summary | |
---|---|
protected
CommandContext |
commandContext command context |
static java.lang.String |
COPYRIGHT The internal copyright field. |
Constructor Summary | |
---|---|
OrderItemDataBean() OrderItemDataBean constructor comment. | |
OrderItemDataBean(
OrderItemAccessBean aabOrderItem) Constructs an OrderItemDataBean from an OrderItemAccessBean by extracting the OrderItem EJB reference from the OrderItemAccessBean. | |
OrderItemDataBean(
OrderItemAccessBean aabOrderItem,
CommandContext aCommandContext) Constructs an OrderItemDataBean from an OrderItemAccessBean by extracting the OrderItem EJB reference from the OrderItemAccessBean and setting the command context |
Method Summary | |
---|---|
java.lang.Long |
getApplicableContractId() Return the contract price in FormattedMonetaryAmountDataBean. |
FormattedMonetaryAmountDataBean |
getApplicableContractPrice() Return the contract price in FormattedMonetaryAmountDataBean. |
CatalogEntryAccessBean |
getCatalogEntry() Returns CatalogEntryAccessBean |
CatalogEntryDataBean |
getCatalogEntryDataBean() Returns CatalogEntryDataBean |
OrderItemDataBean[] |
getChildAlternateFinalItems() Returns alternate final child order items |
OrderItemDataBean[] |
getChildAlternateFinalItems(java.lang.Integer aStoreId,
java.lang.Long[] aContractIdList) Returns alternate final child order items by the specified proxy store and contract id(s) If aContractIdList is null, it will default to the default contract for the proxy store |
OrderItemDataBean[] |
getChildAlternateInitialItems() Returns alternate initial child order items |
OrderItemDataBean[] |
getChildAlternateInitialItems(java.lang.Integer aStoreId,
java.lang.Long[] aContractIdList) Returns alternate initial child order items by the specified proxy store and contract id(s) If aContractIdList is null, it will default to the default contract for the proxy store |
OrderItemDataBean[] |
getChildAlternateSelectionItems() Returns alternate selection child order items |
OrderItemDataBean[] |
getChildAlternateSelectionItems(java.lang.Integer aStoreId,
java.lang.Long[] aContractIdList) Returns alternate selection child order items by the specified proxy store and contract id(s) If aContractIdList is null, it will default to the default contract for the proxy store |
OrderItemDataBean[] |
getChildAlternateSubmissionItems() Returns alternate submission child order items |
OrderItemDataBean[] |
getChildAlternateSubmissionItems(java.lang.Integer aStoreId,
java.lang.Long[] aContractIdList) Returns alternate submission child order items by the specified proxy store and contract id(s) If aContractIdList is null, it will default to the default contract for the proxy store |
OrderItemDataBean[] |
getChildItems(java.lang.Integer[] aDistributorStoreIds,
java.lang.String aLineItemType, java.lang.String aRelType) Returns child order items for a list of distributors by LineItemType, and RelType LineItemType can be 'ALT','PRIM', or 'BOTH' |
OrderItemDataBean[] |
getChildPrimaryFinalItems() Returns primary final child order items |
OrderItemDataBean[] |
getChildPrimaryFinalItems(java.lang.Integer aStoreId,
java.lang.Long[] aContractIdList) Returns primary final child order items by the specified proxy store and contract id(s) If aContractIdList is null, it will default to the default contract for the proxy store |
OrderItemDataBean[] |
getChildPrimaryInitialItems() Returns primary initial child order items |
OrderItemDataBean[] |
getChildPrimaryInitialItems(java.lang.Integer aStoreId,
java.lang.Long[] aContractIdList) Returns primary initial child order items by the specified proxy store and contract id(s) If aContractIdList is null, it will default to the default contract for the proxy store |
OrderItemDataBean[] |
getChildPrimarySelectionItems() Returns primary selection child order items |
OrderItemDataBean[] |
getChildPrimarySelectionItems(java.lang.Integer aStoreId,
java.lang.Long[] aContractIdList) Returns primary selection child order items by the specified proxy store and contract id(s) If aContractIdList is null, it will default to the default contract for the proxy store |
OrderItemDataBean[] |
getChildPrimarySubmissionItems() Returns primary submission child order items |
OrderItemDataBean[] |
getChildPrimarySubmissionItems(java.lang.Integer aStoreId,
java.lang.Long[] aContractIdList) Returns primary submission child order items by the specified proxy store and contract id(s) If aContractIdList is null, it will default to the default contract for the proxy store |
CommandContext |
getCommandContext() Returns CommandContext |
java.lang.String |
getFormattedQuantity() Returns the requested quantity formatted as a string with decimal separator only shown if there is a fractional portion. |
FormattedMonetaryAmountDataBean |
getFormattedShippingCharge() Return the shipping charge in FormattedMonetaryAmountDataBean. |
FormattedMonetaryAmountDataBean |
getFormattedShippingTaxAmount() Return the shipping tax in FormattedMonetaryAmountDataBean. |
FormattedMonetaryAmountDataBean |
getFormattedTaxAmount() Return the tax in FormattedMonetaryAmountDataBean. |
FormattedMonetaryAmountDataBean |
getFormattedTotalAdjustment() Return the total adjustment in FormattedMonetaryAmountDataBean. |
FormattedMonetaryAmountDataBean |
getFormattedTotalProduct() Return the total price in FormattedMonetaryAmountDataBean. |
OrderFulfillmentItemStatusDataBean |
getOrderFulfillmentItemStatusDataBean() Return OrderStatusItemDataBean for this order item |
OrderItemAdjustmentDataBean[] |
getOrderItemAdjustmentDataBeans() Returns the OrderItemAdjustments of this OrderItem. |
OrderItemAdjustmentDataBean[] |
getOrderItemAdjustmentDataBeans(java.lang.Integer anCalculationUsageId,
java.lang.Integer anDisplayLevel) Returns the OrderItemAdjustments of this OrderItem, with the specified
CalculationUsage and display level. |
OrderItemAdjustmentDataBean[] |
getOrderItemLevelDiscountOrderItemAdjustmentDataBeans() Returns the OrderItemAdjustments of this OrderItem, with CalculationUsage
-1 (i.e. |
OrderItemDataBean[] |
getParentItems() Returns parent order items |
PersonalizationAttribute[] |
getPAttributes(java.lang.Integer theLanguageId) Gets the Personalization Attributes for the order item |
PriceDataBean |
getPerItemTotalPrice() Return the total price in PriceDataBean. |
PriceDataBean |
getPriceDataBean() Return the price in PriceDataBean. |
TypedProperty |
getRequestProperties() Returns request properties |
java.lang.Double |
getSelectionQuantity() Returns total quantity of selection items |
OrderItemDataBean[] |
getSiblingFinalItems() Returns "final" sibling order items |
OrderItemDataBean[] |
getSiblingInitialItems() Returns "initial" sibling order items |
OrderItemDataBean[] |
getSiblingItems(java.lang.String aRelType) Returns sibling order items |
OrderItemDataBean[] |
getSiblingSelectionItems() Returns "selection" sibling order items |
OrderItemDataBean[] |
getSiblingSubmissionItems() Returns "submission" sibling order items |
boolean |
hasPAttributes() Does the order item have any personalization attributes associated with it? |
void |
populate() Populates this databean with data retrieved from the database |
void |
setCatalogEntry(
CatalogEntryAccessBean aabCatalogEntry) Sets catalog entry |
void |
setCatalogEntry(
CatalogEntryDataBean adbCatalogEntry) Sets catalog entry |
void |
setCommandContext(
CommandContext context) Sets the command context |
void |
setOrderItemId(java.lang.String orderItemId) Sets an order item id. |
void |
setRequestProperties(
TypedProperty param) Sets request properties |
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
protected CommandContext commandContext
Constructor Detail |
---|
public OrderItemDataBean()
public OrderItemDataBean(OrderItemAccessBean aabOrderItem, CommandContext aCommandContext) throws java.lang.Exception
aabOrderItem
- OrderItemAccessBeanaCommandContext
- CommandContextjava.lang.Exception
public OrderItemDataBean(OrderItemAccessBean aabOrderItem) throws java.lang.Exception
aabOrderItem
- OrderItemAccessBeanjava.lang.Exception
Method Detail |
---|
public java.lang.Long getApplicableContractId() throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, ECSystemException
CreateException
FinderException
RemoteException
NamingException
ECSystemException
public FormattedMonetaryAmountDataBean getApplicableContractPrice() throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, ECSystemException
CreateException
FinderException
RemoteException
NamingException
ECSystemException
public CatalogEntryAccessBean getCatalogEntry()
public CatalogEntryDataBean getCatalogEntryDataBean()
public CommandContext getCommandContext()
public FormattedMonetaryAmountDataBean getFormattedShippingCharge() throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, ECSystemException
CreateException
FinderException
RemoteException
NamingException
ECSystemException
public FormattedMonetaryAmountDataBean getFormattedShippingTaxAmount() throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, ECSystemException
CreateException
FinderException
RemoteException
NamingException
ECSystemException
public FormattedMonetaryAmountDataBean getFormattedTaxAmount() throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, ECSystemException
CreateException
FinderException
RemoteException
NamingException
ECSystemException
public FormattedMonetaryAmountDataBean getFormattedTotalAdjustment() throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, ECSystemException
CreateException
FinderException
RemoteException
NamingException
ECSystemException
public FormattedMonetaryAmountDataBean getFormattedTotalProduct() throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException, ECSystemException
CreateException
FinderException
RemoteException
NamingException
ECSystemException
public PriceDataBean getPerItemTotalPrice()
public PriceDataBean getPriceDataBean()
public OrderItemDataBean[] getChildItems(java.lang.Integer[] aDistributorStoreIds, java.lang.String aLineItemType, java.lang.String aRelType)
aDistributorStoreIds
-aLineItemType
-aRelType
-public OrderItemDataBean[] getParentItems()
public OrderItemDataBean[] getSiblingItems(java.lang.String aRelType)
aRelType
-public OrderItemDataBean[] getSiblingSelectionItems()
public OrderItemDataBean[] getSiblingFinalItems()
public OrderItemDataBean[] getSiblingInitialItems()
public OrderItemDataBean[] getSiblingSubmissionItems()
public java.lang.Double getSelectionQuantity()
public TypedProperty getRequestProperties()
public void populate() throws java.lang.Exception
java.lang.Exception
public void setCatalogEntry(CatalogEntryDataBean adbCatalogEntry)
adbCatalogEntry
- CatalogEntryDataBeanpublic void setCatalogEntry(CatalogEntryAccessBean aabCatalogEntry) throws java.lang.Exception
aabCatalogEntry
- CatalogEntryAccessBeanjava.lang.Exception
public void setCommandContext(CommandContext context)
context
- CommandContextpublic void setOrderItemId(java.lang.String orderItemId)
orderItemId
- Stringpublic void setRequestProperties(TypedProperty param)
param
- TypedPropertypublic OrderItemDataBean[] getChildAlternateSelectionItems()
public OrderItemDataBean[] getChildPrimarySelectionItems()
public OrderItemDataBean[] getChildAlternateInitialItems()
public OrderItemDataBean[] getChildPrimaryInitialItems()
public OrderItemDataBean[] getChildAlternateSubmissionItems()
public OrderItemDataBean[] getChildPrimarySubmissionItems()
public OrderItemDataBean[] getChildAlternateFinalItems()
public OrderItemDataBean[] getChildPrimaryFinalItems()
public OrderItemDataBean[] getChildAlternateSelectionItems(java.lang.Integer aStoreId, java.lang.Long[] aContractIdList)
aStoreId
- IntegeraContractIdList
- Long arraypublic OrderItemDataBean[] getChildPrimarySelectionItems(java.lang.Integer aStoreId, java.lang.Long[] aContractIdList)
aStoreId
- IntegeraContractIdList
- Long arraypublic OrderItemDataBean[] getChildAlternateInitialItems(java.lang.Integer aStoreId, java.lang.Long[] aContractIdList)
aStoreId
- IntegeraContractIdList
- Long arraypublic OrderItemDataBean[] getChildPrimaryInitialItems(java.lang.Integer aStoreId, java.lang.Long[] aContractIdList)
aStoreId
- IntegeraContractIdList
- Long arraypublic OrderItemDataBean[] getChildAlternateSubmissionItems(java.lang.Integer aStoreId, java.lang.Long[] aContractIdList)
aStoreId
- IntegeraContractIdList
- Long arraypublic OrderItemDataBean[] getChildPrimarySubmissionItems(java.lang.Integer aStoreId, java.lang.Long[] aContractIdList)
aStoreId
- IntegeraContractIdList
- Long arraypublic OrderItemDataBean[] getChildAlternateFinalItems(java.lang.Integer aStoreId, java.lang.Long[] aContractIdList)
aStoreId
- IntegeraContractIdList
- Long arraypublic OrderItemDataBean[] getChildPrimaryFinalItems(java.lang.Integer aStoreId, java.lang.Long[] aContractIdList)
aStoreId
- IntegeraContractIdList
- Long arraypublic OrderFulfillmentItemStatusDataBean getOrderFulfillmentItemStatusDataBean()
public boolean hasPAttributes() throws java.lang.Exception
java.lang.Exception
public PersonalizationAttribute[] getPAttributes(java.lang.Integer theLanguageId) throws java.lang.Exception
theLanguageId
- The language Id to fetch any language specific
data in.java.lang.Exception
public OrderItemAdjustmentDataBean[] getOrderItemAdjustmentDataBeans()
OrderItemAdjustments
of this OrderItem.
public OrderItemAdjustmentDataBean[] getOrderItemAdjustmentDataBeans(java.lang.Integer anCalculationUsageId, java.lang.Integer anDisplayLevel)
OrderItemAdjustments
of this OrderItem, with the specified
CalculationUsage and display level.
anCalculationUsageId
- the CalculationUsage ID. Null means any
CalculationUsage.anDisplayLevel
- the display level. Null means any display
level.public OrderItemAdjustmentDataBean[] getOrderItemLevelDiscountOrderItemAdjustmentDataBeans()
OrderItemAdjustments
of this OrderItem, with CalculationUsage
-1 (i.e. discount) and display level 0 (i.e. OrderItem).
public java.lang.String getFormattedQuantity()