Entity
An Order entity represents an order. An order includes one or more order lines, order status, shipping address, shipping cost, price, special instructions, splitting preferences, date of order, payment information, and the customer who placed this order.
Related Topics
BusinessSmartComponent, EJBObject, Entity, Remote, RemoteRelationalReference, Serializable
Method Summary |
public boolean |
|
public boolean |
|
public void |
|
public boolean |
|
public boolean |
|
public boolean |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public double |
|
public boolean |
|
public int |
|
public int |
|
public boolean |
|
public boolean |
|
public boolean |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void | |
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
Methods from interface javax.ejb. |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Methods from interface com.beasys.commerce.foundation. |
|
Method Detail |
public boolean addOrderLines(Adds an order line to the orderOrderLineelement)
throwsRemoteException
RemoteException
public boolean addOrderLinesCollection(Adds all of the elements in the specified collection to this orderCollectioncollection)
throwsRemoteException
RemoteException
public void clearOrderLinesCollection()Removes all the order lines
throwsRemoteException
RemoteException
public boolean containsOrderLines(Returns true if the specified order line already exists in this orderOrderLineelement)
throwsRemoteException
RemoteException
public boolean containsOrderLinesCollection(Returns true if this order contains all of the order line elements in the specified collectionCollectionc)
throwsRemoteException
RemoteException
public boolean equalsOrderLinesCollection(Compares the specified object with the collection of order lines for equalityObjectobject)
throwsRemoteException
RemoteException
publicReturns the date of creation of the order.DategetCreatedDate()
throwsRemoteException
RemoteException
publicReturns the remote object reference of customerCustomergetCustomer()
throwsRemoteException
RemoteException
Related Topics
publicReturns the primary key identifier.StringgetIdentifier()
throwsRemoteException
RemoteException
Related Topics
publicReturns an OrderValue object. The OrderValue object represents the state of an Order.OrderValuegetOrderByValue()
throwsRemoteException
RemoteException
publicReturns a collection of all order linesCollectiongetOrderLinesCollection()
throwsRemoteException
RemoteException
publicReturns the order statusStringgetOrderStatus()
throwsRemoteException
RemoteException
publicReturns the remote object reference of payment transactionPaymentTransactiongetPaymentTransaction()
throwsRemoteException
RemoteException
Related Topics
publicReturns the total price of the orderMoneygetPrice()
throwsRemoteException
RemoteException
publicReturns the shipping cost on the orderMoneygetShipping()
throwsRemoteException
RemoteException
publicReturns the shipping address for the orderAddressgetShippingAddress()
throwsRemoteException
RemoteException
publicReturns a string identifying the shipping method.StringgetShippingMethod()
throwsRemoteException
RemoteException
Related Topics
publicReturns special instructions for the orderStringgetSpecialInstructions()
throwsRemoteException
RemoteException
publicReturns splitting preferences for the orderStringgetSplittingPreference()
throwsRemoteException
RemoteException
public double getSubtotal()Get the value of subtotal
throwsRemoteException
RemoteException
public boolean isOrderLinesCollectionEmpty()Returns true if this order has no order lines
throwsRemoteException
RemoteException
public int orderLinesCollectionHashCode()Returns the hash code value for the collection or order lines
throwsRemoteException
RemoteException
public int orderLinesCollectionSize()Returns the number of elements in this collection
throwsRemoteException
RemoteException
public boolean removeOrderLines(Removes a single instance of the specified order line element from the collection of order lines, if it is presentOrderLineelement)
throwsRemoteException
RemoteException
public boolean removeOrderLinesCollection(Removes all the order lines that are also contained in the specified collectionCollectioncollection)
throwsRemoteException
RemoteException
public boolean retainOrderLinesCollection(Retains only order lines that are also contained in the specified collectionCollectioncollection)
throwsRemoteException
RemoteException
public void setCreatedDate(Sets the date of creation of the orderDatecreatedDate)
throwsRemoteException
RemoteException
public void setCustomer(Sets the remote object reference of customerCustomercustomer)
throwsRemoteException
RemoteException
Related Topics
public void setOrderByValue(Set all of Order's attributes to the passed in value. Note: Primary key attributes are not set.OrderValuevalue)
throwsRemoteException
RemoteException
public void setOrderLinesCollection(Sets a collection of order linesCollectioncollection)
throwsRemoteException
RemoteException
public void setOrderStatus(Sets the status of the orderStringorderStatus)
throwsRemoteException
RemoteException
public void setPaymentTransaction(Sets the remote object reference of payment transactionPaymentTransactionpaymentTransaction)
throwsRemoteException
RemoteException
Related Topics
public void setPrice(Sets the total price of the orderMoneyprice)
throwsRemoteException
RemoteException
public void setShipping(Sets the cost of shipping for the orderMoneyshipping)
throwsRemoteException
RemoteException
public void setShippingAddress(Sets the shipping address for the orderAddressshippingAddress)
throwsRemoteException
RemoteException
public void setShippingMethod(Sets the shipping methodStringshippingMethod)
throwsRemoteException
RemoteException
Related Topics
public void setSpecialInstructions(Sets special instructions for the orderStringspecialInstructions)
throwsRemoteException
RemoteException
public void setSplittingPreference(Sets splitting preferences for the orderStringsplittingPreference)
throwsRemoteException
RemoteException
public void setSubtotal(double subtotal)Sets the value of subtotal
throwsRemoteException
RemoteException