|
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 |
java.lang.Object com.beasys.commerce.foundation.EntityImpl com.beasys.commerce.ebusiness.order.OrderImpl
@Deprecated public class OrderImpl
This is a class that will implement the business process of order fulfillment.
Primary Key = com.beasys.commerce.ebusiness.order.OrderPk
Order
,
OrderHome
,
OrderValue
,
Serialized FormField Summary | |
---|---|
Date |
createdDate
Deprecated Containment: By Value Multiplicity: 1:1 |
SmartEntityReference |
customer
Deprecated Order has a reference to the Customer that committed it Containment: By Reference Multiplicity: 1:1 |
String |
identifier
Deprecated Containment: By Value Multiplicity: 1:1 PRIMARY KEY FIELD |
SmartCollectionReference |
orderLines
Deprecated Containment: By Value Multiplicity: 0:N Interface: java.util.Collection |
String |
orderStatus
Deprecated Containment: By Value Multiplicity: 1:1 |
SmartEntityReference |
paymentTransaction
Deprecated Containment: By Reference Multiplicity: 1:1 |
Money |
price
Deprecated Containment: By Value Multiplicity: 1:1 |
Money |
shipping
Deprecated Containment: By Value Multiplicity: 1:1 |
com.beasys.commerce.axiom.contact.Address |
shippingAddress
Deprecated Containment: By Value Multiplicity: 1:1 |
String |
shippingMethod
Deprecated Containment: By Value Multiplicity: 1:1 |
String |
specialInstructions
Deprecated Containment: By Value Multiplicity: 1:1 |
String |
splittingPreference
Deprecated Containment: By Value Multiplicity: 1:1 |
double |
subtotal
Deprecated The subtotal for the order |
Fields inherited from class com.beasys.commerce.foundation.EntityImpl |
---|
__classIdentifier, __containingEntity, __mapKey, __sequenceNumber, _ctx, _environmentNamingContext, _environmentPropertyCache, _isDirty, _smartBMP |
Constructor Summary | |
---|---|
OrderImpl()
Deprecated |
Method Summary | |
---|---|
boolean |
addOrderLines(OrderLine element)
Deprecated Ensures that this collection contains the specified element (optional operation). |
boolean |
addOrderLinesCollection(Collection collection)
Deprecated Adds all of the elements in the specified collection to this collection (optional operation). |
protected void |
bscInitializeAttributes(OrderPk orderPk)
Deprecated |
void |
clearOrderLinesCollection()
Deprecated Removes all of the elements from this collection (optional operation). |
boolean |
containsOrderLines(OrderLine element)
Deprecated Returns true if this collection contains the specified element. |
boolean |
containsOrderLinesCollection(Collection collection)
Deprecated Returns true if this collection contains all of the elements in the specified collection. |
void |
ejbActivate()
Deprecated ejbActivate method. |
OrderPk |
ejbCreate(OrderPk orderPk)
Deprecated |
Collection |
ejbFindByCustomer(String customerIdentifier)
Deprecated Returns a list of Orders in the system that are associated with the specified Customer identifier. |
Collection |
ejbFindByDate(Date from,
Date to)
Deprecated Returns a list of Orders in the system that fall within the given date range. |
OrderPk |
ejbFindByPrimaryKey(OrderPk pk)
Deprecated |
Collection |
ejbFindByStatus(String findStatus)
Deprecated Returns an enumeration of all the Orders in the system with the specified status. |
void |
ejbLoad()
Deprecated ejbLoad method. |
void |
ejbPassivate()
Deprecated ejbPassivate method. |
void |
ejbPostCreate(OrderPk orderPk)
Deprecated |
void |
ejbRemove()
Deprecated ejbRemove method. |
void |
ejbStore()
Deprecated ejbStore method. |
boolean |
equalsOrderLinesCollection(Object object)
Deprecated Compares the specified object with this collection for equality. |
Date |
getCreatedDate()
Deprecated Get the value of createdDate |
Customer |
getCustomer()
Deprecated Get the remote object reference of customer |
SmartEntityReference |
getCustomerReference()
Deprecated Get the SmartEntityReference for customer |
String |
getIdentifier()
Deprecated |
OrderValue |
getOrderByValue()
Deprecated Get all of Order's attributes. |
Collection |
getOrderLinesCollection()
Deprecated Returns a deep copy of the entire collection |
SmartCollectionReference |
getOrderLinesCollectionReference()
Deprecated Get the SmartCollectionReference for orderLines |
String |
getOrderStatus()
Deprecated Get the value of orderStatus |
PaymentTransaction |
getPaymentTransaction()
Deprecated Get the remote object reference of paymentTransaction |
SmartEntityReference |
getPaymentTransactionReference()
Deprecated Get the SmartEntityReference for paymentTransaction |
Money |
getPrice()
Deprecated Get the value of price |
Money |
getShipping()
Deprecated Get the value of shipping |
com.beasys.commerce.axiom.contact.Address |
getShippingAddress()
Deprecated Get the value of shippingAddress |
String |
getShippingMethod()
Deprecated Get the value of shippingMethod |
String |
getSpecialInstructions()
Deprecated Get the value of specialInstructions |
String |
getSplittingPreference()
Deprecated Get the value of splittingPreference |
double |
getSubtotal()
Deprecated Get the value of subtotal |
Money |
getTotal(int totalType)
Deprecated Gets the shopping cart total for the given total type |
boolean |
isOrderLinesCollectionEmpty()
Deprecated Returns true if this collection contains no elements. |
int |
orderLinesCollectionHashCode()
Deprecated Returns the hash code value for this collection. |
Iterator |
orderLinesCollectionIterator()
Deprecated Returns an iterator over the elements in this collection. |
int |
orderLinesCollectionSize()
Deprecated Returns the number of elements in this collection. |
boolean |
removeOrderLines(OrderLine element)
Deprecated Removes a single instance of the specified element from this collection, if it is present (optional operation). |
boolean |
removeOrderLinesCollection(Collection collection)
Deprecated Removes all this collection's elements that are also contained in the specified collection (optional operation). |
boolean |
retainOrderLinesCollection(Collection collection)
Deprecated Retains only the elements in this collection that are contained in the specified collection (optional operation). |
void |
setCreatedDate(Date createdDate)
Deprecated Set the value of createdDate |
void |
setCustomer(Customer customer)
Deprecated Set the remote object reference of customer |
void |
setCustomerReference(SmartEntityReference smartEntityReference)
Deprecated Set the SmartEntityReference for customer |
void |
setEntityContext(javax.ejb.EntityContext ctx)
Deprecated setEntityContext method. |
void |
setIdentifier(String value)
Deprecated |
void |
setOrderByValue(OrderValue value)
Deprecated Set all of Order's attributes to the passed in value. |
void |
setOrderLinesCollection(Collection collection)
Deprecated Sets the entire collection |
void |
setOrderLinesCollectionReference(SmartCollectionReference smartCollectionReference)
Deprecated Set the SmartCollectionReference for orderLines |
void |
setOrderStatus(String orderStatus)
Deprecated Set the value of orderStatus |
void |
setPaymentTransaction(PaymentTransaction paymentTransaction)
Deprecated Set the remote object reference of paymentTransaction |
void |
setPaymentTransactionReference(SmartEntityReference smartEntityReference)
Deprecated Set the SmartEntityReference for paymentTransaction |
void |
setPrice(Money price)
Deprecated Set the value of price |
void |
setShipping(Money shipping)
Deprecated Set the value of shipping |
void |
setShippingAddress(com.beasys.commerce.axiom.contact.Address shippingAddress)
Deprecated Set the value of shippingAddress |
void |
setShippingMethod(String shippingMethod)
Deprecated Set the value of shippingMethod |
void |
setSpecialInstructions(String specialInstructions)
Deprecated Set the value of specialInstructions |
void |
setSplittingPreference(String splittingPreference)
Deprecated Set the value of splittingPreference |
void |
setSubtotal(double subtotal)
Deprecated Sets the value of subtotal |
void |
unsetEntityContext()
Deprecated unsetEntityContext method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public String identifier
public Date createdDate
public String shippingMethod
public SmartEntityReference customer
public com.beasys.commerce.axiom.contact.Address shippingAddress
public Money shipping
public SmartEntityReference paymentTransaction
public String orderStatus
public String splittingPreference
public SmartCollectionReference orderLines
public Money price
public String specialInstructions
public double subtotal
Constructor Detail |
---|
public OrderImpl()
Method Detail |
---|
public OrderValue getOrderByValue() throws RemoteException
RemoteException
public void setOrderByValue(OrderValue value) throws RemoteException
OrderValue
- the Order value object
RemoteException
public OrderPk ejbCreate(OrderPk orderPk) throws javax.ejb.CreateException
javax.ejb.CreateException
protected void bscInitializeAttributes(OrderPk orderPk) throws javax.ejb.CreateException
javax.ejb.CreateException
public void ejbPostCreate(OrderPk orderPk) throws javax.ejb.CreateException
javax.ejb.CreateException
public void ejbLoad() throws javax.ejb.EJBException
EntityImpl
ejbLoad
in interface javax.ejb.EntityBean
ejbLoad
in class EntityImpl
javax.ejb.EJBException
public void ejbStore() throws javax.ejb.EJBException
EntityImpl
ejbStore
in interface javax.ejb.EntityBean
ejbStore
in class EntityImpl
javax.ejb.EJBException
public void ejbRemove() throws javax.ejb.RemoveException
EntityImpl
ejbRemove
in interface javax.ejb.EntityBean
ejbRemove
in class EntityImpl
javax.ejb.RemoveException
public void ejbActivate() throws javax.ejb.EJBException
EntityImpl
ejbActivate
in interface javax.ejb.EntityBean
ejbActivate
in class EntityImpl
javax.ejb.EJBException
public void ejbPassivate() throws javax.ejb.EJBException
EntityImpl
ejbPassivate
in interface javax.ejb.EntityBean
ejbPassivate
in class EntityImpl
javax.ejb.EJBException
public void setEntityContext(javax.ejb.EntityContext ctx) throws javax.ejb.EJBException
EntityImpl
setEntityContext
in interface javax.ejb.EntityBean
setEntityContext
in class EntityImpl
javax.ejb.EJBException
public void unsetEntityContext() throws javax.ejb.EJBException
EntityImpl
unsetEntityContext
in interface javax.ejb.EntityBean
unsetEntityContext
in class EntityImpl
javax.ejb.EJBException
public OrderPk ejbFindByPrimaryKey(OrderPk pk) throws javax.ejb.FinderException
javax.ejb.FinderException
public Date getCreatedDate()
public void setCreatedDate(Date createdDate)
createdDate
- createdDate to be addedpublic String getShippingMethod()
public void setShippingMethod(String shippingMethod)
shippingMethod
- shippingMethod to be addedpublic String getIdentifier()
public void setIdentifier(String value)
public SmartEntityReference getCustomerReference()
public void setCustomerReference(SmartEntityReference smartEntityReference)
public Customer getCustomer()
public void setCustomer(Customer customer)
customer
- customer to be addedpublic com.beasys.commerce.axiom.contact.Address getShippingAddress()
public void setShippingAddress(com.beasys.commerce.axiom.contact.Address shippingAddress)
shippingAddress
- shippingAddress to be addedpublic Money getShipping()
public void setShipping(Money shipping)
shipping
- shipping to be addedpublic SmartEntityReference getPaymentTransactionReference()
public void setPaymentTransactionReference(SmartEntityReference smartEntityReference)
public PaymentTransaction getPaymentTransaction()
public void setPaymentTransaction(PaymentTransaction paymentTransaction)
paymentTransaction
- paymentTransaction to be addedpublic String getOrderStatus()
public void setOrderStatus(String orderStatus)
orderStatus
- orderStatus to be addedpublic String getSplittingPreference()
public void setSplittingPreference(String splittingPreference)
splittingPreference
- splittingPreference to be addedpublic SmartCollectionReference getOrderLinesCollectionReference()
public void setOrderLinesCollectionReference(SmartCollectionReference smartCollectionReference)
public Collection getOrderLinesCollection()
public void setOrderLinesCollection(Collection collection)
public boolean addOrderLines(OrderLine element)
public boolean addOrderLinesCollection(Collection collection)
public void clearOrderLinesCollection()
public boolean containsOrderLines(OrderLine element)
public boolean containsOrderLinesCollection(Collection collection)
public boolean equalsOrderLinesCollection(Object object)
public int orderLinesCollectionHashCode()
public boolean isOrderLinesCollectionEmpty()
public Iterator orderLinesCollectionIterator()
public boolean removeOrderLines(OrderLine element)
public boolean removeOrderLinesCollection(Collection collection)
public boolean retainOrderLinesCollection(Collection collection)
public Money getPrice()
public void setPrice(Money price)
price
- price to be addedpublic void setSubtotal(double subtotal)
subtotal
- for the order.public double getSubtotal()
public String getSpecialInstructions()
public void setSpecialInstructions(String specialInstructions)
specialInstructions
- specialInstructions to be addedpublic int orderLinesCollectionSize()
public Collection ejbFindByStatus(String findStatus) throws javax.ejb.FinderException
javax.ejb.FinderException
public Collection ejbFindByCustomer(String customerIdentifier) throws javax.ejb.FinderException
javax.ejb.FinderException
public Collection ejbFindByDate(Date from, Date to) throws javax.ejb.FinderException
javax.ejb.FinderException
public Money getTotal(int totalType) throws InvalidArgumentException
total
- type
InvalidArgumentException
|
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 |