|
© 2001 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
Fields inherited from interface com.beasys.commerce.foundation.ConfigurableEntity |
RESERVED_SCOPE_NAME |
Method Summary | |
boolean |
addOrderLines(OrderLine element)
Adds an order line to the order |
boolean |
addOrderLinesCollection(java.util.Collection collection)
Adds all of the elements in the specified collection to this order |
void |
clearOrderLinesCollection()
Removes all the order lines |
boolean |
containsOrderLines(OrderLine element)
Returns true if the specified order line already exists in this order |
boolean |
containsOrderLinesCollection(java.util.Collection c)
Returns true if this order contains all of the order line elements in the specified collection |
boolean |
equalsOrderLinesCollection(java.lang.Object object)
Compares the specified object with the collection of order lines for equality |
java.sql.Date |
getCreatedDate()
Returns the date of creation of the order. |
Customer |
getCustomer()
Returns the remote object reference of customer |
java.lang.String |
getIdentifier()
Returns the primary key identifier. |
com.beasys.commerce.ebusiness.order.OrderValue |
getOrderByValue()
Returns an OrderValue object. |
java.util.Collection |
getOrderLinesCollection()
Returns a collection of all order lines |
java.lang.String |
getOrderStatus()
Returns the order status |
PaymentTransaction |
getPaymentTransaction()
Returns the remote object reference of payment transaction |
Money |
getPrice()
Returns the total price of the order |
Money |
getShipping()
Returns the shipping cost on the order |
Address |
getShippingAddress()
Returns the shipping address for the order |
java.lang.String |
getShippingMethod()
Returns a string identifying the shipping method. |
java.lang.String |
getSpecialInstructions()
Returns special instructions for the order |
java.lang.String |
getSplittingPreference()
Returns splitting preferences for the order |
double |
getSubtotal()
Get the value of subtotal |
boolean |
isOrderLinesCollectionEmpty()
Returns true if this order has no order lines |
int |
orderLinesCollectionHashCode()
Returns the hash code value for the collection or order lines |
int |
orderLinesCollectionSize()
Returns the number of elements in this collection |
boolean |
removeOrderLines(OrderLine element)
Removes a single instance of the specified order line element from the collection of order lines, if it is present |
boolean |
removeOrderLinesCollection(java.util.Collection collection)
Removes all the order lines that are also contained in the specified collection |
boolean |
retainOrderLinesCollection(java.util.Collection collection)
Retains only order lines that are also contained in the specified collection |
void |
setCreatedDate(java.sql.Date createdDate)
Sets the date of creation of the order |
void |
setCustomer(Customer customer)
Sets the remote object reference of customer |
void |
setOrderByValue(com.beasys.commerce.ebusiness.order.OrderValue value)
Set all of Order's attributes to the passed in value. |
void |
setOrderLinesCollection(java.util.Collection collection)
Sets a collection of order lines |
void |
setOrderStatus(java.lang.String orderStatus)
Sets the status of the order |
void |
setPaymentTransaction(PaymentTransaction paymentTransaction)
Sets the remote object reference of payment transaction |
void |
setPrice(Money price)
Sets the total price of the order |
void |
setShipping(Money shipping)
Sets the cost of shipping for the order |
void |
setShippingAddress(Address shippingAddress)
Sets the shipping address for the order |
void |
setShippingMethod(java.lang.String shippingMethod)
Sets the shipping method |
void |
setSpecialInstructions(java.lang.String specialInstructions)
Sets special instructions for the order |
void |
setSplittingPreference(java.lang.String splittingPreference)
Sets splitting preferences for the order |
void |
setSubtotal(double subtotal)
Sets the value of subtotal |
Methods inherited from interface com.beasys.commerce.foundation.ConfigurableEntity |
addPropertyValue, addPropertyValueMapped, getPersistableHandle, getProperty, getProperty, getPropertyAsString, getPropertyAsString, getPropertyDefault, getPropertyNoDefault, getSuccessor, getUniqueId, removeProperty, removeProperty, removePropertyValue, removePropertyValueMapped, removeSuccessor, setProperty, setProperty, setSuccessor |
Methods inherited from interface com.beasys.commerce.foundation.BusinessPolicyManager |
addBusinessPolicy, getBusinessPolicy, removeBusinessPolicy |
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 |
public com.beasys.commerce.ebusiness.order.OrderValue getOrderByValue() throws java.rmi.RemoteException
java.rmi.RemoteException
- on remote errorpublic void setOrderByValue(com.beasys.commerce.ebusiness.order.OrderValue value) throws java.rmi.RemoteException
OrderValue
- the OrderValue objectjava.rmi.RemoteException
- on remote errorpublic java.lang.String getIdentifier() throws java.rmi.RemoteException
java.rmi.RemoteException
- on remote errorOrderPk
public java.sql.Date getCreatedDate() throws java.rmi.RemoteException
java.rmi.RemoteException
- on remote errorpublic void setCreatedDate(java.sql.Date createdDate) throws java.rmi.RemoteException
createdDate
- the date of creation of the orderjava.rmi.RemoteException
- on remote errorpublic java.lang.String getShippingMethod() throws java.rmi.RemoteException
java.rmi.RemoteException
- on remote errorShippingMethod
public void setShippingMethod(java.lang.String shippingMethod) throws java.rmi.RemoteException
shippingMethod
- shippingMethod to be addedjava.rmi.RemoteException
- on remote errorShippingMethod
public Customer getCustomer() throws java.rmi.RemoteException
java.rmi.RemoteException
- on remote errorCustomer
public void setCustomer(Customer customer) throws java.rmi.RemoteException
customer
- customer to be addedjava.rmi.RemoteException
- on remote errorCustomer
public Address getShippingAddress() throws java.rmi.RemoteException
java.rmi.RemoteException
- on remote errorpublic void setShippingAddress(Address shippingAddress) throws java.rmi.RemoteException
shippingAddress
- shippingAddress to be addedjava.rmi.RemoteException
- on remote errorpublic Money getShipping() throws java.rmi.RemoteException
java.rmi.RemoteException
- on remote errorpublic void setShipping(Money shipping) throws java.rmi.RemoteException
shipping
- the new shipping costsjava.rmi.RemoteException
- on remote errorpublic PaymentTransaction getPaymentTransaction() throws java.rmi.RemoteException
java.rmi.RemoteException
- on remote errorPaymentTransaction
public void setPaymentTransaction(PaymentTransaction paymentTransaction) throws java.rmi.RemoteException
paymentTransaction
- payment transaction to be addedjava.rmi.RemoteException
- on remote errorPaymentTransaction
public java.lang.String getOrderStatus() throws java.rmi.RemoteException
java.rmi.RemoteException
- on remote errorpublic void setOrderStatus(java.lang.String orderStatus) throws java.rmi.RemoteException
orderStatus
- order statusjava.rmi.RemoteException
- on remote errorpublic java.util.Collection getOrderLinesCollection() throws java.rmi.RemoteException
java.rmi.RemoteException
- on remote errorpublic void setOrderLinesCollection(java.util.Collection collection) throws java.rmi.RemoteException
collection
- of order linesjava.rmi.RemoteException
- on remote errorpublic boolean addOrderLines(OrderLine element) throws java.rmi.RemoteException
com.beasys.commerce.ebusiness.order.OrderLine
- order linepublic boolean addOrderLinesCollection(java.util.Collection collection) throws java.rmi.RemoteException
collection
- of order linesjava.rmi.RemoteException
- on remote errorpublic void clearOrderLinesCollection() throws java.rmi.RemoteException
java.rmi.RemoteException
- on remote errorpublic boolean containsOrderLines(OrderLine element) throws java.rmi.RemoteException
element
- order linejava.rmi.RemoteException
- on remote errorpublic boolean containsOrderLinesCollection(java.util.Collection c) throws java.rmi.RemoteException
c
- order linesjava.rmi.RemoteException
- on remote errorpublic boolean equalsOrderLinesCollection(java.lang.Object object) throws java.rmi.RemoteException
object
- Object representing a collection of order linesjava.rmi.RemoteException
- on remote errorpublic int orderLinesCollectionHashCode() throws java.rmi.RemoteException
java.rmi.RemoteException
- on remote errorpublic boolean isOrderLinesCollectionEmpty() throws java.rmi.RemoteException
java.rmi.RemoteException
- on remote errorpublic boolean removeOrderLines(OrderLine element) throws java.rmi.RemoteException
element
- order line to be removedjava.rmi.RemoteException
- on remote errorpublic boolean removeOrderLinesCollection(java.util.Collection collection) throws java.rmi.RemoteException
collection
- of order lines to be removedjava.rmi.RemoteException
- on remote errorpublic boolean retainOrderLinesCollection(java.util.Collection collection) throws java.rmi.RemoteException
collection
- of order lines to be retainedjava.rmi.RemoteException
- on remote errorpublic int orderLinesCollectionSize() throws java.rmi.RemoteException
java.rmi.RemoteException
- on remote errorpublic Money getPrice() throws java.rmi.RemoteException
java.rmi.RemoteException
- on remote errorpublic void setPrice(Money price) throws java.rmi.RemoteException
price
- the price of the orderjava.rmi.RemoteException
- on remote errorpublic void setSubtotal(double subtotal) throws java.rmi.RemoteException
subtotal
- for the order.public double getSubtotal() throws java.rmi.RemoteException
public java.lang.String getSpecialInstructions() throws java.rmi.RemoteException
java.rmi.RemoteException
- on remote errorpublic void setSpecialInstructions(java.lang.String specialInstructions) throws java.rmi.RemoteException
specialInstructions
- special instructions for the orderjava.rmi.RemoteException
- on remote errorpublic java.lang.String getSplittingPreference() throws java.rmi.RemoteException
java.rmi.RemoteException
- on remote errorpublic void setSplittingPreference(java.lang.String splittingPreference) throws java.rmi.RemoteException
splittingPreference
- splitting preference for the orderjava.rmi.RemoteException
- on remote error
|
© 2001 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |