com.silverpeas.gallery.dao
Class OldOrderDAO
java.lang.Object
com.silverpeas.gallery.dao.OldOrderDAO
public class OldOrderDAO
- extends Object
Method Summary |
String |
createOrder(Connection con,
Collection<String> basket,
String userId,
String instanceId)
|
void |
deleteOrder(Connection con,
String orderId)
|
List<Order> |
getAllOrders(Connection con,
String userId,
String instanceId)
|
List<Order> |
getAllOrdersToDelete(Connection con,
int nbDays)
|
List<OrderRow> |
getAllPhotos(Connection con,
int orderId)
|
Order |
getOrder(Connection con,
String orderId,
String instanceId)
|
static void |
updateOrder(Connection con,
Order order)
|
static void |
updateOrderRow(Connection con,
OrderRow row)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OldOrderDAO
public OldOrderDAO()
createOrder
public String createOrder(Connection con,
Collection<String> basket,
String userId,
String instanceId)
throws SQLException,
com.stratelia.webactiv.util.exception.UtilException
- Throws:
SQLException
com.stratelia.webactiv.util.exception.UtilException
getAllPhotos
public List<OrderRow> getAllPhotos(Connection con,
int orderId)
throws SQLException
- Throws:
SQLException
updateOrder
public static void updateOrder(Connection con,
Order order)
throws SQLException
- Throws:
SQLException
updateOrderRow
public static void updateOrderRow(Connection con,
OrderRow row)
throws SQLException
- Throws:
SQLException
getAllOrders
public List<Order> getAllOrders(Connection con,
String userId,
String instanceId)
throws SQLException
- Throws:
SQLException
getOrder
public Order getOrder(Connection con,
String orderId,
String instanceId)
throws SQLException
- Throws:
SQLException
getAllOrdersToDelete
public List<Order> getAllOrdersToDelete(Connection con,
int nbDays)
throws SQLException
- Throws:
SQLException
deleteOrder
public void deleteOrder(Connection con,
String orderId)
throws SQLException
- Throws:
SQLException
Copyright © 2016 Silverpeas. All Rights Reserved.