com.ibm.commerce.order.beans
Class OrderDataBean

com.ibm.commerce.order.beans.OrderDataBean
All Implemented Interfaces:
DataBean, Delegator, Groupable, InputDataBean, OrderInputDataBean, Protectable, java.io.Serializable

public class OrderDataBean
implements OrderInputDataBean, Groupable, Delegator, Protectable

This bean provides access to the SUBORDERS table.

The following is a description of this table:

Each row of this table contains subtotals of amounts for all the OrderItems of an Order with the same shipping address.

See Also:
Serialized Form

Fields inherited from interface com.ibm.commerce.beans.InputDataBean
COPYRIGHT
 
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
 
Fields inherited from interface com.ibm.commerce.grouping.Groupable
COPYRIGHT
 
Fields inherited from interface com.ibm.commerce.security.Delegator
COPYRIGHT
 
Fields inherited from interface com.ibm.commerce.security.Protectable
COPYRIGHT
 
Constructor Summary
OrderDataBean()
           
 
Method Summary
 boolean fulfills(java.lang.Long aFills1, java.lang.String aFills2, java.util.Properties aFills3)
          IBM internal use only.
 CommandContext getCommandContext()
          Gets the command context set within this bean.
 FormattedMonetaryAmountDataBean getFormattedTotalAdjustment()
          IBM internal use only.
 FormattedMonetaryAmountDataBean getFormattedTotalProductPrice()
          IBM internal use only.
 FormattedMonetaryAmountDataBean getFormattedTotalShippingCharge()
          IBM internal use only.
 FormattedMonetaryAmountDataBean getFormattedTotalShippingTax()
          IBM internal use only.
 FormattedMonetaryAmountDataBean getFormattedTotalTax()
          IBM internal use only.
 PriceDataBean getGrandTotal()
          IBM internal use only.
 java.lang.String getOrderId()
          This method provides access to the SUBORDERS.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 OrderItemDataBean[] getOrderItemDataBeans()
          IBM internal use only.
 OrderItemAccessBean[] getOrderItems()
          IBM internal use only.
 java.lang.String getPurchaseOrderNumber()
          IBM internal use only.
 TypedProperty getRequestProperties()
          Gets the request property set within this bean.
 SubOrderAccessBean[] getSubOrders()
          IBM internal use only.
 PriceDataBean getSubTotal()
          IBM internal use only.
 CategorizedMonetaryAmountsDataBean getTaxes()
          IBM internal use only.
 java.math.BigDecimal getTotalProductPriceBySumUp()
          IBM internal use only.
 void populate()
          Retrieves data from the database.
 void setCommandContext(CommandContext aCommandContext1)
          Sets the command context within this bean.
 void setOrderId(java.lang.String aOrderId1)
          This method provides access to the SUBORDERS.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 void setOrderItems(OrderItemAccessBean[] aOrderItems1)
          IBM internal use only.
 void setRequestProperties(TypedProperty aRequestProperties1)
          Sets the request property within this bean.
 void setSecurityCheck(boolean aSecurityCheck1)
          IBM internal use only.
 void setSubOrders(SubOrderAccessBean[] aSubOrders1)
          IBM internal use only.
 
Methods inherited from interface com.ibm.commerce.grouping.Groupable
getGroupingAttributeValue
 
Methods inherited from interface com.ibm.commerce.security.Delegator
getDelegate
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Constructor Detail

OrderDataBean

public OrderDataBean()
Method Detail

fulfills

public boolean fulfills(java.lang.Long aFills1,
                        java.lang.String aFills2,
                        java.util.Properties aFills3)
                 throws java.rmi.RemoteException,
                        java.lang.Exception

IBM internal use only.

Parameters:
aFills1 - java.lang.Long
aFills2 - java.lang.String
aFills3 - java.util.Properties
Returns:
boolean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception

getCommandContext

public CommandContext getCommandContext()

Gets the command context set within this bean.

Returns:
com.ibm.commerce.command.CommandContext

getFormattedTotalAdjustment

public FormattedMonetaryAmountDataBean getFormattedTotalAdjustment()
                                                            throws javax.ejb.CreateException,
                                                                   javax.ejb.FinderException,
                                                                   java.rmi.RemoteException,
                                                                   javax.naming.NamingException,
                                                                   ECSystemException

IBM internal use only.

Returns:
com.ibm.commerce.price.beans.FormattedMonetaryAmountDataBean
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
ECSystemException - The com.ibm.commerce.exception.ECSystemException exception

getFormattedTotalProductPrice

public FormattedMonetaryAmountDataBean getFormattedTotalProductPrice()
                                                              throws javax.ejb.CreateException,
                                                                     javax.ejb.FinderException,
                                                                     java.rmi.RemoteException,
                                                                     javax.naming.NamingException,
                                                                     ECSystemException

IBM internal use only.

Returns:
com.ibm.commerce.price.beans.FormattedMonetaryAmountDataBean
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
ECSystemException - The com.ibm.commerce.exception.ECSystemException exception

getFormattedTotalShippingCharge

public FormattedMonetaryAmountDataBean getFormattedTotalShippingCharge()
                                                                throws javax.ejb.CreateException,
                                                                       javax.ejb.FinderException,
                                                                       java.rmi.RemoteException,
                                                                       javax.naming.NamingException,
                                                                       ECSystemException

IBM internal use only.

Returns:
com.ibm.commerce.price.beans.FormattedMonetaryAmountDataBean
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
ECSystemException - The com.ibm.commerce.exception.ECSystemException exception

getFormattedTotalShippingTax

public FormattedMonetaryAmountDataBean getFormattedTotalShippingTax()
                                                             throws javax.ejb.CreateException,
                                                                    javax.ejb.FinderException,
                                                                    java.rmi.RemoteException,
                                                                    javax.naming.NamingException,
                                                                    ECSystemException

IBM internal use only.

Returns:
com.ibm.commerce.price.beans.FormattedMonetaryAmountDataBean
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
ECSystemException - The com.ibm.commerce.exception.ECSystemException exception

getFormattedTotalTax

public FormattedMonetaryAmountDataBean getFormattedTotalTax()
                                                     throws javax.ejb.CreateException,
                                                            javax.ejb.FinderException,
                                                            java.rmi.RemoteException,
                                                            javax.naming.NamingException,
                                                            ECSystemException

IBM internal use only.

Returns:
com.ibm.commerce.price.beans.FormattedMonetaryAmountDataBean
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
ECSystemException - The com.ibm.commerce.exception.ECSystemException exception

getGrandTotal

public PriceDataBean getGrandTotal()

IBM internal use only.

Returns:
com.ibm.commerce.price.beans.PriceDataBean

getOrderId

public java.lang.String getOrderId()

This method provides access to the SUBORDERS.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Order.

Returns:
java.lang.String

getOrderItemDataBeans

public OrderItemDataBean[] getOrderItemDataBeans()
                                          throws java.lang.Exception

IBM internal use only.

Returns:
com.ibm.commerce.order.beans.OrderItemDataBean[]
Throws:
java.lang.Exception - The java.lang.Exception exception

getOrderItems

public OrderItemAccessBean[] getOrderItems()

IBM internal use only.

Returns:
com.ibm.commerce.order.objects.OrderItemAccessBean[]

getPurchaseOrderNumber

public java.lang.String getPurchaseOrderNumber()

IBM internal use only.

Returns:
java.lang.String

getRequestProperties

public TypedProperty getRequestProperties()

Gets the request property set within this bean.

Specified by:
getRequestProperties in interface InputDataBean
Returns:
com.ibm.commerce.datatype.TypedProperty

getSubOrders

public SubOrderAccessBean[] getSubOrders()

IBM internal use only.

Returns:
com.ibm.commerce.order.objects.SubOrderAccessBean[]

getSubTotal

public PriceDataBean getSubTotal()

IBM internal use only.

Returns:
com.ibm.commerce.price.beans.PriceDataBean

getTaxes

public CategorizedMonetaryAmountsDataBean getTaxes()
                                            throws javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   java.rmi.RemoteException,
                                                   javax.naming.NamingException,
                                                   ECSystemException

IBM internal use only.

Returns:
com.ibm.commerce.price.beans.CategorizedMonetaryAmountsDataBean
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
ECSystemException - The com.ibm.commerce.exception.ECSystemException exception

getTotalProductPriceBySumUp

public java.math.BigDecimal getTotalProductPriceBySumUp()
                                                 throws javax.ejb.CreateException,
                                                        javax.ejb.FinderException,
                                                        java.rmi.RemoteException,
                                                        javax.naming.NamingException,
                                                        ECSystemException

IBM internal use only.

Returns:
java.math.BigDecimal
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
ECSystemException - The com.ibm.commerce.exception.ECSystemException exception

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

setOrderId

public void setOrderId(java.lang.String aOrderId1)

This method provides access to the SUBORDERS.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Order.

Specified by:
setOrderId in interface OrderInputDataBean
Parameters:
aOrderId1 - java.lang.String
Returns:
void

setOrderItems

public void setOrderItems(OrderItemAccessBean[] aOrderItems1)

IBM internal use only.

Specified by:
setOrderItems in interface OrderInputDataBean
Parameters:
aOrderItems1 - com.ibm.commerce.order.objects.OrderItemAccessBean[]
Returns:
void

setRequestProperties

public void setRequestProperties(TypedProperty aRequestProperties1)

Sets the request property within this bean.

Specified by:
setRequestProperties in interface InputDataBean
Parameters:
aRequestProperties1 - com.ibm.commerce.datatype.TypedProperty
Returns:
void

setSecurityCheck

public void setSecurityCheck(boolean aSecurityCheck1)

IBM internal use only.

Specified by:
setSecurityCheck in interface OrderInputDataBean
Parameters:
aSecurityCheck1 - boolean
Returns:
void

setSubOrders

public void setSubOrders(SubOrderAccessBean[] aSubOrders1)

IBM internal use only.

Specified by:
setSubOrders in interface OrderInputDataBean
Parameters:
aSubOrders1 - com.ibm.commerce.order.objects.SubOrderAccessBean[]
Returns:
void