com.softslate.commerce.daos.order
Interface OrderDAO
- All Superinterfaces:
- DAOInterface
- All Known Implementing Classes:
- OrderDAOBasic
- public interface OrderDAO
- extends DAOInterface
Interface for a DAO to manage the npcOrder
table of the
database.
- Author:
- David Tobey
$Id: OrderDAO.java,v 1.1 2005/05/16 14:33:18 dtobey Exp $
Methods inherited from interface com.softslate.commerce.daos.core.DAOInterface |
getConnection, getDaoFactory, getDataSource, getSettingsBean, getSqlMap, initialize, setConnection, setDaoFactory, setDataSource, setSettingsBean, setSqlMap |
getOrder
public Order getOrder()
setOrder
public void setOrder(Order order)
getMaxOrderID
public int getMaxOrderID()
throws java.lang.Exception
- Throws:
java.lang.Exception
getMaxOrderNumber
public int getMaxOrderNumber()
throws java.lang.Exception
- Throws:
java.lang.Exception
insertOrder
public void insertOrder()
throws java.lang.Exception
- Throws:
java.lang.Exception
insertOrder
public void insertOrder(boolean commit)
throws java.lang.Exception
- Throws:
java.lang.Exception
updateOrder
public void updateOrder()
throws java.lang.Exception
- Throws:
java.lang.Exception
updateOrder
public void updateOrder(boolean commit)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadFromNumberAndCustomerID
public void loadFromNumberAndCustomerID(java.lang.Object parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadFromNumberAndCustomerID
public void loadFromNumberAndCustomerID()
throws java.lang.Exception
- Assuming the orderNumber and customerID properties have been set, load
the
Order
object from the database.
- Throws:
java.lang.Exception
loadOrderFromNumber
public void loadOrderFromNumber()
throws java.lang.Exception
- Throws:
java.lang.Exception
loadOrderDeliveries
public java.util.Collection loadOrderDeliveries()
throws java.lang.Exception
- Throws:
java.lang.Exception
loadOrderFromID
public void loadOrderFromID()
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteOrder
public void deleteOrder()
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteOrder
public void deleteOrder(boolean commit)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © SoftSlate, Inc. 20032005