|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OrderDAO
Interface for a DAO to manage the sscOrder
table of the
database.
Method Summary | |
---|---|
void |
deleteOrder()
|
void |
deleteOrder(boolean commit)
|
int |
getMaxOrderNumber()
|
Order |
getOrder()
|
void |
insertOrder()
|
void |
insertOrder(boolean commit)
|
void |
loadFromNumberAndCustomerID()
Assuming the orderNumber and customerID properties have been set, load the Order object from the database. |
void |
loadOrderFromID()
|
void |
loadOrderFromNumber()
|
void |
loadPreviousOrder()
Assuming the orderID and customerID properties have been set, load the Order object from the database. |
void |
loadSavedCart()
Assuming the orderID and customerID properties have been set, load the Order object from the database. |
void |
loadSavedCartFromToken()
|
void |
setOrder(Order order)
|
void |
updateOrder()
|
void |
updateOrder(boolean commit)
|
Methods inherited from interface com.softslate.commerce.daos.core.DAOInterface |
---|
deleteObject, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getSettings, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setSettings, setSqlMap, updateObject |
Method Detail |
---|
Order getOrder()
void setOrder(Order order)
int getMaxOrderNumber() throws java.lang.Exception
java.lang.Exception
void insertOrder() throws java.lang.Exception
java.lang.Exception
void insertOrder(boolean commit) throws java.lang.Exception
java.lang.Exception
void updateOrder() throws java.lang.Exception
java.lang.Exception
void updateOrder(boolean commit) throws java.lang.Exception
java.lang.Exception
void loadFromNumberAndCustomerID() throws java.lang.Exception
Order
object from the database.
java.lang.Exception
void loadSavedCart() throws java.lang.Exception
Order
object from the database. Used to pick up saved
carts.
java.lang.Exception
void loadSavedCartFromToken() throws java.lang.Exception
java.lang.Exception
void loadPreviousOrder() throws java.lang.Exception
Order
object from the database. Used to pick up reordered
orders.
java.lang.Exception
void loadOrderFromNumber() throws java.lang.Exception
java.lang.Exception
void loadOrderFromID() throws java.lang.Exception
java.lang.Exception
void deleteOrder() throws java.lang.Exception
java.lang.Exception
void deleteOrder(boolean commit) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |