|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface Order
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.
OrderPk
,
OrderHome
,
OrderValue
Method Summary | |
---|---|
boolean |
addOrderLines(OrderLine element)
Deprecated Adds an order line to the order |
boolean |
addOrderLinesCollection(Collection collection)
Deprecated Adds all of the elements in the specified collection to this order |
void |
clearOrderLinesCollection()
Deprecated Removes all the order lines |
boolean |
containsOrderLines(OrderLine element)
Deprecated Returns true if the specified order line already exists in this order |
boolean |
containsOrderLinesCollection(Collection c)
Deprecated Returns true if this order contains all of the order line elements in the specified collection |
boolean |
equalsOrderLinesCollection(Object object)
Deprecated Compares the specified object with the collection of order lines for equality |
Date |
getCreatedDate()
Deprecated Returns the date of creation of the order. |
Customer |
getCustomer()
Deprecated Returns the remote object reference of customer |
String |
getIdentifier()
Deprecated Returns the primary key identifier. |
OrderValue |
getOrderByValue()
Deprecated Returns an OrderValue object. |
Collection |
getOrderLinesCollection()
Deprecated Returns a collection of all order lines |
String |
getOrderStatus()
Deprecated Returns the order status |
PaymentTransaction |
getPaymentTransaction()
Deprecated Returns the remote object reference of payment transaction |
Money |
getPrice()
Deprecated Returns the total price of the order |
Money |
getShipping()
Deprecated Returns the shipping cost on the order |
com.beasys.commerce.axiom.contact.Address |
getShippingAddress()
Deprecated Returns the shipping address for the order |
String |
getShippingMethod()
Deprecated Returns a string identifying the shipping method. |
String |
getSpecialInstructions()
Deprecated Returns special instructions for the order |
String |
getSplittingPreference()
Deprecated Returns splitting preferences for the order |
double |
getSubtotal()
Deprecated Get the value of subtotal |
boolean |
isOrderLinesCollectionEmpty()
Deprecated Returns true if this order has no order lines |
int |
orderLinesCollectionHashCode()
Deprecated Returns the hash code value for the collection or order lines |
int |
orderLinesCollectionSize()
Deprecated Returns the number of elements in this collection |
boolean |
removeOrderLines(OrderLine element)
Deprecated Removes a single instance of the specified order line element from the collection of order lines, if it is present |
boolean |
removeOrderLinesCollection(Collection collection)
Deprecated Removes all the order lines that are also contained in the specified collection |
boolean |
retainOrderLinesCollection(Collection collection)
Deprecated Retains only order lines that are also contained in the specified collection |
void |
setCreatedDate(Date createdDate)
Deprecated Sets the date of creation of the order |
void |
setCustomer(Customer customer)
Deprecated Sets the remote object reference of customer |
void |
setOrderByValue(OrderValue value)
Deprecated Set all of Order's attributes to the passed in value. |
void |
setOrderLinesCollection(Collection collection)
Deprecated Sets a collection of order lines |
void |
setOrderStatus(String orderStatus)
Deprecated Sets the status of the order |
void |
setPaymentTransaction(PaymentTransaction paymentTransaction)
Deprecated Sets the remote object reference of payment transaction |
void |
setPrice(Money price)
Deprecated Sets the total price of the order |
void |
setShipping(Money shipping)
Deprecated Sets the cost of shipping for the order |
void |
setShippingAddress(com.beasys.commerce.axiom.contact.Address shippingAddress)
Deprecated Sets the shipping address for the order |
void |
setShippingMethod(String shippingMethod)
Deprecated Sets the shipping method |
void |
setSpecialInstructions(String specialInstructions)
Deprecated Sets special instructions for the order |
void |
setSplittingPreference(String splittingPreference)
Deprecated Sets splitting preferences for the order |
void |
setSubtotal(double subtotal)
Deprecated Sets the value of subtotal |
Methods inherited from interface javax.ejb.EJBObject |
---|
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Methods inherited from interface com.beasys.commerce.foundation.RemoteRelationalReference |
---|
get__classIdentifier, get__containingBelonging, get__containingEntity, get__mapKey, get__sequenceNumber, set__containingBelonging, set__containingEntity, set__mapKey |
Method Detail |
---|
OrderValue getOrderByValue() throws RemoteException
RemoteException
- on remote errorvoid setOrderByValue(OrderValue value) throws RemoteException
OrderValue
- the OrderValue object
RemoteException
- on remote errorString getIdentifier() throws RemoteException
RemoteException
- on remote errorOrderPk
Date getCreatedDate() throws RemoteException
RemoteException
- on remote errorvoid setCreatedDate(Date createdDate) throws RemoteException
createdDate
- the date of creation of the order
RemoteException
- on remote errorString getShippingMethod() throws RemoteException
RemoteException
- on remote errorShippingMethod
void setShippingMethod(String shippingMethod) throws RemoteException
shippingMethod
- shippingMethod to be added
RemoteException
- on remote errorShippingMethod
Customer getCustomer() throws RemoteException
RemoteException
- on remote errorCustomer
void setCustomer(Customer customer) throws RemoteException
customer
- customer to be added
RemoteException
- on remote errorCustomer
com.beasys.commerce.axiom.contact.Address getShippingAddress() throws RemoteException
RemoteException
- on remote errorvoid setShippingAddress(com.beasys.commerce.axiom.contact.Address shippingAddress) throws RemoteException
shippingAddress
- shippingAddress to be added
RemoteException
- on remote errorMoney getShipping() throws RemoteException
RemoteException
- on remote errorvoid setShipping(Money shipping) throws RemoteException
shipping
- the new shipping costs
RemoteException
- on remote errorPaymentTransaction getPaymentTransaction() throws RemoteException
RemoteException
- on remote errorPaymentTransaction
void setPaymentTransaction(PaymentTransaction paymentTransaction) throws RemoteException
paymentTransaction
- payment transaction to be added
RemoteException
- on remote errorPaymentTransaction
String getOrderStatus() throws RemoteException
RemoteException
- on remote errorvoid setOrderStatus(String orderStatus) throws RemoteException
orderStatus
- order status
RemoteException
- on remote errorCollection getOrderLinesCollection() throws RemoteException
RemoteException
- on remote errorvoid setOrderLinesCollection(Collection collection) throws RemoteException
collection
- of order lines
RemoteException
- on remote errorboolean addOrderLines(OrderLine element) throws RemoteException
com.beasys.commerce.ebusiness.order.OrderLine
- order line
RemoteException
- on remote errorboolean addOrderLinesCollection(Collection collection) throws RemoteException
collection
- of order lines
RemoteException
- on remote errorvoid clearOrderLinesCollection() throws RemoteException
RemoteException
- on remote errorboolean containsOrderLines(OrderLine element) throws RemoteException
element
- order line
RemoteException
- on remote errorboolean containsOrderLinesCollection(Collection c) throws RemoteException
c
- order lines
RemoteException
- on remote errorboolean equalsOrderLinesCollection(Object object) throws RemoteException
object
- Object representing a collection of order lines
RemoteException
- on remote errorint orderLinesCollectionHashCode() throws RemoteException
RemoteException
- on remote errorboolean isOrderLinesCollectionEmpty() throws RemoteException
RemoteException
- on remote errorboolean removeOrderLines(OrderLine element) throws RemoteException
element
- order line to be removed
RemoteException
- on remote errorboolean removeOrderLinesCollection(Collection collection) throws RemoteException
collection
- of order lines to be removed
RemoteException
- on remote errorboolean retainOrderLinesCollection(Collection collection) throws RemoteException
collection
- of order lines to be retained
RemoteException
- on remote errorint orderLinesCollectionSize() throws RemoteException
RemoteException
- on remote errorMoney getPrice() throws RemoteException
RemoteException
- on remote errorvoid setPrice(Money price) throws RemoteException
price
- the price of the order
RemoteException
- on remote errorvoid setSubtotal(double subtotal) throws RemoteException
subtotal
- for the order.
RemoteException
double getSubtotal() throws RemoteException
RemoteException
String getSpecialInstructions() throws RemoteException
RemoteException
- on remote errorvoid setSpecialInstructions(String specialInstructions) throws RemoteException
specialInstructions
- special instructions for the order
RemoteException
- on remote errorString getSplittingPreference() throws RemoteException
RemoteException
- on remote errorvoid setSplittingPreference(String splittingPreference) throws RemoteException
splittingPreference
- splitting preference for the order
RemoteException
- on remote error
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |