|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.gallery.dao.OrderDAO
public class OrderDAO
| Constructor Summary | |
|---|---|
OrderDAO()
|
|
| Method Summary | |
|---|---|
static String |
createOrder(Connection con,
Collection<String> basket,
String userId,
String instanceId)
Persists a new order. |
static void |
deleteOrder(Connection con,
Order order)
Deletes an order and its details. |
static List<Order> |
findByCriteria(Connection con,
MediaOrderCriteria criteria)
Finds orders from the specified criteria. |
static List<OrderRow> |
getAllOrderDetails(Connection con,
String orderId)
Gets all medias of an order. |
static Order |
getByCriteria(Connection con,
MediaOrderCriteria criteria)
Gets a unique result. |
static void |
updateOrder(Connection con,
Order order)
Updates an order and its details. |
static void |
updateOrderRow(Connection con,
OrderRow row)
Updates a row of an order. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OrderDAO()
| Method Detail |
|---|
public static String createOrder(Connection con,
Collection<String> basket,
String userId,
String instanceId)
throws SQLException,
com.stratelia.webactiv.util.exception.UtilException
con - basket - userId - instanceId -
SQLException
com.stratelia.webactiv.util.exception.UtilException
public static void updateOrder(Connection con,
Order order)
throws SQLException
con - order -
SQLException
public static void deleteOrder(Connection con,
Order order)
throws SQLException
con - order -
SQLException
public static List<OrderRow> getAllOrderDetails(Connection con,
String orderId)
throws SQLException
con - orderId -
SQLException
public static void updateOrderRow(Connection con,
OrderRow row)
throws SQLException
con - row -
SQLException
public static Order getByCriteria(Connection con,
MediaOrderCriteria criteria)
throws SQLException
con - criteria -
SQLException
public static List<Order> findByCriteria(Connection con,
MediaOrderCriteria criteria)
throws SQLException
con - criteria -
SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||