|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.beasys.commerce.ebusiness.order.OrderLineAdjustmentPersistence
@Deprecated public class OrderLineAdjustmentPersistence
This class's role is to persist and read adjutments
for Order Status type display/Administrator
It follows the pattern established by the
CRUD objects in SmartBMP, only using
the 'directUpdate' and 'directRefresh'
and ignoring Belonging issues which are not relevant
here.
Persistence and reading is done using a connection
object passed by the calling method.
Constructor Summary | |
---|---|
OrderLineAdjustmentPersistence()
Deprecated See BEA Commerce product offering |
Method Summary | |
---|---|
static long[] |
findOrderLineAdjustmentPK(Connection connection,
long orderLinePk)
Deprecated See BEA Commerce product offering |
static OrderAdjustmentPresentation |
query(Connection connection,
long key)
Deprecated See BEA Commerce product offering |
static ArrayList |
retrieveOrderLineAdjustmentPresentations(Connection connection,
long orderLinePk)
Deprecated See BEA Commerce product offering |
static void |
updateDirect(Connection connection,
long olaId,
long orderLineId,
Date creationDate,
LineAdjustment lineAdjustment)
Deprecated See BEA Commerce product offering |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrderLineAdjustmentPersistence()
Method Detail |
---|
public static void updateDirect(Connection connection, long olaId, long orderLineId, Date creationDate, LineAdjustment lineAdjustment) throws BMPException
connection,
- the database connectionolaId,
- the PK for this order line adjustmentorderLineId,
- the 'foreign' key to the WLCS_ORDER_LINE tablecreationDate,
- the date at which the order and its adjustments are persistedlineAdjustments,
- the object to be persisted
BMPException
public static OrderAdjustmentPresentation query(Connection connection, long key) throws BMPException
connection
- the database connectionkey,
- the key for the particular adjustment in the table
BMPException
public static long[] findOrderLineAdjustmentPK(Connection connection, long orderLinePk) throws BMPException
It selects the PKs in order they were created
connection,
- to connect to the Commerce DBorderLinePk,
- the PK for an order line
BMPException
public static ArrayList retrieveOrderLineAdjustmentPresentations(Connection connection, long orderLinePk)
The returned value may be empty, but not null.
connection,
- to connect to the Commerce DBorderLinePk,
- the PK for an order line
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |