Overview | Package | Class | Tree | Deprecated | Index | Help
| 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

## com.beasys.commerce.ebusiness.order
Class OrderImpl

    java.lang.Object
      com.beasys.commerce.foundation.EntityImpl
          com.beasys.commerce.ebusiness.order.OrderImpl

All Implemented Interfaces
  RelationalReference, Serializable, javax.ejb.EnterpriseBean, javax.ejb.EntityBean

Deprecated

    @Deprecated
    public class OrderImpl

extends EntityImpl

This is a class that will implement the business process of order fulfillment.

     Primary Key = com.beasys.commerce.ebusiness.order.OrderPk

See Also
  `Order`, `OrderHome`, `OrderValue`, Serialized Form

Field 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 com.beasys.commerce.foundation.EntityImpl
`bscInitializeAttributes, clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, doRelationalBinding, doRelationalBinding, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, ejbCreate, ejbFindAll, ejbFindByPrimaryKey, ejbPostCreate, enumerateRelationalBinding, enumerateRelationalBinding, get__classIdentifier, get__containingBelonging, get__containingEntity, get__containingEntityReference, get__mapKey, get__sequenceNumber, getEntityContext, getEnvironmentNamingContext, getEnvironmentProperty, getEnvironmentProperty, getEnvironmentPropertyCache, getPersistenceHelperPlugin, getSmartBMP, initSmartBMP, isModified, set__classIdentifier, set__containingBelonging, set__containingEntity, set__containingEntityReference, set__mapKey`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### identifier

    public String identifier

  Deprecated
  - Containment: By Value
  - Multiplicity: 1:1
  - PRIMARY KEY FIELD

### createdDate

    public Date createdDate

  Deprecated
  - Containment: By Value
  - Multiplicity: 1:1

### shippingMethod

    public String shippingMethod

  Deprecated
  - Containment: By Value
  - Multiplicity: 1:1

### customer

    public SmartEntityReference customer

  Deprecated
  Order has a reference to the Customer that committed it
  - Containment: By Reference
  - Multiplicity: 1:1

### shippingAddress

    public com.beasys.commerce.axiom.contact.Address shippingAddress

  Deprecated
  - Containment: By Value
  - Multiplicity: 1:1

### shipping

    public Money shipping

  Deprecated
  - Containment: By Value
  - Multiplicity: 1:1

### paymentTransaction

    public SmartEntityReference paymentTransaction

  Deprecated
  - Containment: By Reference
  - Multiplicity: 1:1

### orderStatus

    public String orderStatus

  Deprecated
  - Containment: By Value
  - Multiplicity: 1:1

### splittingPreference

    public String splittingPreference

  Deprecated
  - Containment: By Value
  - Multiplicity: 1:1

### orderLines

    public SmartCollectionReference orderLines

  Deprecated
  - Containment: By Value
  - Multiplicity: 0:N
  - Interface: java.util.Collection

### price

    public Money price

  Deprecated
  - Containment: By Value
  - Multiplicity: 1:1

### specialInstructions

    public String specialInstructions

  Deprecated
  - Containment: By Value
  - Multiplicity: 1:1

### subtotal

    public double subtotal

  Deprecated
  The subtotal for the order

Constructor Detail

### OrderImpl

    public OrderImpl()

  Deprecated

Method Detail

### getOrderByValue

    public OrderValue getOrderByValue()
                               throws RemoteException

  Deprecated
  Get all of Order's attributes.

  Returns
    OrderValue the Order value object
  Throws
    `RemoteException`

### setOrderByValue

    public void setOrderByValue(OrderValue value)
                         throws RemoteException

  Deprecated
  Set all of Order's attributes to the passed in value. Note: Primary key attributes are not set.

  Parameters
    `OrderValue` - the Order value object
  Throws
    `RemoteException`

### ejbCreate

    public OrderPk ejbCreate(OrderPk orderPk)
                      throws javax.ejb.CreateException

  Deprecated
  Throws
    `javax.ejb.CreateException`

### bscInitializeAttributes

    protected void bscInitializeAttributes(OrderPk orderPk)
                                    throws javax.ejb.CreateException

  Deprecated
  Throws
    `javax.ejb.CreateException`

### ejbPostCreate

    public void ejbPostCreate(OrderPk orderPk)
                       throws javax.ejb.CreateException

  Deprecated
  Throws
    `javax.ejb.CreateException`

### ejbLoad

    public void ejbLoad()
                 throws javax.ejb.EJBException

  Deprecated
  Description copied from class: `EntityImpl`
  ejbLoad method.

  Specified by:
    `ejbLoad` in interface `javax.ejb.EntityBean`
  Overrides:
    `ejbLoad` in class `EntityImpl`
  Throws
    `javax.ejb.EJBException`

### ejbStore

    public void ejbStore()
                  throws javax.ejb.EJBException

  Deprecated
  Description copied from class: `EntityImpl`
  ejbStore method.

  Specified by:
    `ejbStore` in interface `javax.ejb.EntityBean`
  Overrides:
    `ejbStore` in class `EntityImpl`
  Throws
    `javax.ejb.EJBException`

### ejbRemove

    public void ejbRemove()
                   throws javax.ejb.RemoveException

  Deprecated
  Description copied from class: `EntityImpl`
  ejbRemove method.

  Specified by:
    `ejbRemove` in interface `javax.ejb.EntityBean`
  Overrides:
    `ejbRemove` in class `EntityImpl`
  Throws
    `javax.ejb.RemoveException`

### ejbActivate

    public void ejbActivate()
                     throws javax.ejb.EJBException

  Deprecated
  Description copied from class: `EntityImpl`
  ejbActivate method.

  Specified by:
    `ejbActivate` in interface `javax.ejb.EntityBean`
  Overrides:
    `ejbActivate` in class `EntityImpl`
  Throws
    `javax.ejb.EJBException`

### ejbPassivate

    public void ejbPassivate()
                      throws javax.ejb.EJBException

  Deprecated
  Description copied from class: `EntityImpl`
  ejbPassivate method.

  Specified by:
    `ejbPassivate` in interface `javax.ejb.EntityBean`
  Overrides:
    `ejbPassivate` in class `EntityImpl`
  Throws
    `javax.ejb.EJBException`

### setEntityContext

    public void setEntityContext(javax.ejb.EntityContext ctx)
                          throws javax.ejb.EJBException

  Deprecated
  Description copied from class: `EntityImpl`
  setEntityContext method.

  Specified by:
    `setEntityContext` in interface `javax.ejb.EntityBean`
  Overrides:
    `setEntityContext` in class `EntityImpl`
  Throws
    `javax.ejb.EJBException`

### unsetEntityContext

    public void unsetEntityContext()
                            throws javax.ejb.EJBException

  Deprecated
  Description copied from class: `EntityImpl`
  unsetEntityContext method.

  Specified by:
    `unsetEntityContext` in interface `javax.ejb.EntityBean`
  Overrides:
    `unsetEntityContext` in class `EntityImpl`
  Throws
    `javax.ejb.EJBException`

### ejbFindByPrimaryKey

    public OrderPk ejbFindByPrimaryKey(OrderPk pk)
                                throws javax.ejb.FinderException

  Deprecated
  Throws
    `javax.ejb.FinderException`

### getCreatedDate

    public Date getCreatedDate()

  Deprecated
  Get the value of createdDate

  Returns
    createdDate.

### setCreatedDate

    public void setCreatedDate(Date createdDate)

  Deprecated
  Set the value of createdDate

  Parameters
    `createdDate` - createdDate to be added

### getShippingMethod

    public String getShippingMethod()

  Deprecated
  Get the value of shippingMethod

  Returns
    shippingMethod.

### setShippingMethod

    public void setShippingMethod(String shippingMethod)

  Deprecated
  Set the value of shippingMethod

  Parameters
    `shippingMethod` - shippingMethod to be added

### getIdentifier

    public String getIdentifier()

  Deprecated

### setIdentifier

    public void setIdentifier(String value)

  Deprecated

### getCustomerReference

    public SmartEntityReference getCustomerReference()

  Deprecated
  Get the SmartEntityReference for customer

### setCustomerReference

    public void setCustomerReference(SmartEntityReference smartEntityReference)

  Deprecated
  Set the SmartEntityReference for customer

### getCustomer

    public Customer getCustomer()

  Deprecated
  Get the remote object reference of customer

  Returns
    customer.

### setCustomer

    public void setCustomer(Customer customer)

  Deprecated
  Set the remote object reference of customer

  Parameters
    `customer` - customer to be added

### getShippingAddress

    public com.beasys.commerce.axiom.contact.Address getShippingAddress()

  Deprecated
  Get the value of shippingAddress

  Returns
    shippingAddress.

### setShippingAddress

    public void setShippingAddress(com.beasys.commerce.axiom.contact.Address shippingAddress)

  Deprecated
  Set the value of shippingAddress

  Parameters
    `shippingAddress` - shippingAddress to be added

### getShipping

    public Money getShipping()

  Deprecated
  Get the value of shipping

  Returns
    shipping.

### setShipping

    public void setShipping(Money shipping)

  Deprecated
  Set the value of shipping

  Parameters
    `shipping` - shipping to be added

### getPaymentTransactionReference

    public SmartEntityReference getPaymentTransactionReference()

  Deprecated
  Get the SmartEntityReference for paymentTransaction

### setPaymentTransactionReference

    public void setPaymentTransactionReference(SmartEntityReference smartEntityReference)

  Deprecated
  Set the SmartEntityReference for paymentTransaction

### getPaymentTransaction

    public PaymentTransaction getPaymentTransaction()

  Deprecated
  Get the remote object reference of paymentTransaction

  Returns
    paymentTransaction.

### setPaymentTransaction

    public void setPaymentTransaction(PaymentTransaction paymentTransaction)

  Deprecated
  Set the remote object reference of paymentTransaction

  Parameters
    `paymentTransaction` - paymentTransaction to be added

### getOrderStatus

    public String getOrderStatus()

  Deprecated
  Get the value of orderStatus

  Returns
    orderStatus.

### setOrderStatus

    public void setOrderStatus(String orderStatus)

  Deprecated
  Set the value of orderStatus

  Parameters
    `orderStatus` - orderStatus to be added

### getSplittingPreference

    public String getSplittingPreference()

  Deprecated
  Get the value of splittingPreference

  Returns
    splittingPreference.

### setSplittingPreference

    public void setSplittingPreference(String splittingPreference)

  Deprecated
  Set the value of splittingPreference

  Parameters
    `splittingPreference` - splittingPreference to be added

### getOrderLinesCollectionReference

    public SmartCollectionReference getOrderLinesCollectionReference()

  Deprecated
  Get the SmartCollectionReference for orderLines

### setOrderLinesCollectionReference

    public void setOrderLinesCollectionReference(SmartCollectionReference smartCollectionReference)

  Deprecated
  Set the SmartCollectionReference for orderLines

### getOrderLinesCollection

    public Collection getOrderLinesCollection()

  Deprecated
  Returns a deep copy of the entire collection

### setOrderLinesCollection

    public void setOrderLinesCollection(Collection collection)

  Deprecated
  Sets the entire collection

### addOrderLines

    public boolean addOrderLines(OrderLine element)

  Deprecated
  Ensures that this collection contains the specified element (optional operation).

### addOrderLinesCollection

    public boolean addOrderLinesCollection(Collection collection)

  Deprecated
  Adds all of the elements in the specified collection to this collection (optional operation).

### clearOrderLinesCollection

    public void clearOrderLinesCollection()

  Deprecated
  Removes all of the elements from this collection (optional operation).

### containsOrderLines

    public boolean containsOrderLines(OrderLine element)

  Deprecated
  Returns true if this collection contains the specified element.

### containsOrderLinesCollection

    public boolean containsOrderLinesCollection(Collection collection)

  Deprecated
  Returns true if this collection contains all of the elements in the specified collection.

### equalsOrderLinesCollection

    public boolean equalsOrderLinesCollection(Object object)

  Deprecated
  Compares the specified object with this collection for equality.

### orderLinesCollectionHashCode

    public int orderLinesCollectionHashCode()

  Deprecated
  Returns the hash code value for this collection.

### isOrderLinesCollectionEmpty

    public boolean isOrderLinesCollectionEmpty()

  Deprecated
  Returns true if this collection contains no elements.

### orderLinesCollectionIterator

    public Iterator orderLinesCollectionIterator()

  Deprecated
  Returns an iterator over the elements in this collection.

### removeOrderLines

    public boolean removeOrderLines(OrderLine element)

  Deprecated
  Removes a single instance of the specified element from this collection, if it is present (optional operation).

### removeOrderLinesCollection

    public boolean removeOrderLinesCollection(Collection collection)

  Deprecated
  Removes all this collection's elements that are also contained in the specified collection (optional operation).

### retainOrderLinesCollection

    public boolean retainOrderLinesCollection(Collection collection)

  Deprecated
  Retains only the elements in this collection that are contained in the specified collection (optional operation).

### getPrice

    public Money getPrice()

  Deprecated
  Get the value of price

  Returns
    price.

### setPrice

    public void setPrice(Money price)

  Deprecated
  Set the value of price

  Parameters
    `price` - price to be added

### setSubtotal

    public void setSubtotal(double subtotal)

  Deprecated
  Sets the value of subtotal

  Parameters
    `subtotal` - for the order.

### getSubtotal

    public double getSubtotal()

  Deprecated
  Get the value of subtotal

  Returns
    the subtotal for the order

### getSpecialInstructions

    public String getSpecialInstructions()

  Deprecated
  Get the value of specialInstructions

  Returns
    specialInstructions.

### setSpecialInstructions

    public void setSpecialInstructions(String specialInstructions)

  Deprecated
  Set the value of specialInstructions

  Parameters
    `specialInstructions` - specialInstructions to be added

### orderLinesCollectionSize

    public int orderLinesCollectionSize()

  Deprecated
  Returns the number of elements in this collection.

### ejbFindByStatus

    public Collection ejbFindByStatus(String findStatus)
                               throws javax.ejb.FinderException

  Deprecated
  Returns an enumeration of all the Orders in the system with the specified status.

  Throws
    `javax.ejb.FinderException`

### ejbFindByCustomer

    public Collection ejbFindByCustomer(String customerIdentifier)
                                 throws javax.ejb.FinderException

  Deprecated
  Returns a list of Orders in the system that are associated with the specified Customer identifier.

  Throws
    `javax.ejb.FinderException`

### ejbFindByDate

    public Collection ejbFindByDate(Date from,
                                    Date to)
                             throws javax.ejb.FinderException

  Deprecated
  Returns a list of Orders in the system that fall within the given date range.

  Throws
    `javax.ejb.FinderException`

### getTotal

    public Money getTotal(int totalType)
                   throws InvalidArgumentException

  Deprecated
  Gets the shopping cart total for the given total type

  Parameters
    `total` - type
  Throws
    `InvalidArgumentException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.