com.softslate.commerce.daos.order
Class OrderItemDAOBasic
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.order.OrderItemDAOBasic
- All Implemented Interfaces:
- DAOInterface, OrderItemDAO
- public class OrderItemDAOBasic
- extends BaseDAO
- implements OrderItemDAO
Generic DAO to manage the npcOrderItem
table of the database.
- Author:
- David Tobey
Fields inherited from class com.softslate.commerce.daos.core.BaseDAO |
|
Methods inherited from class com.softslate.commerce.daos.core.BaseDAO |
formatDateTime, getConnection, getDaoFactory, getDataSource, getSettingsBean, getSQL, getSqlMap, initialize, parseDateTime, setConnection, setDaoFactory, setDataSource, setSettingsBean, setSqlMap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.softslate.commerce.daos.core.DAOInterface |
getConnection, getDaoFactory, getDataSource, getSettingsBean, getSqlMap, initialize, setConnection, setDaoFactory, setDataSource, setSettingsBean, setSqlMap |
log
static org.apache.commons.logging.Log log
orderItem
private OrderItem orderItem
OrderItemDAOBasic
public OrderItemDAOBasic()
getOrderItem
public OrderItem getOrderItem()
- Specified by:
getOrderItem
in interface OrderItemDAO
setOrderItem
public void setOrderItem(OrderItem orderItem)
- Specified by:
setOrderItem
in interface OrderItemDAO
loadOrderItemFromID
public void loadOrderItemFromID()
throws java.lang.Exception
- Specified by:
loadOrderItemFromID
in interface OrderItemDAO
- Throws:
java.lang.Exception
getMaxOrderItemID
public int getMaxOrderItemID()
throws java.lang.Exception
- Specified by:
getMaxOrderItemID
in interface OrderItemDAO
- Throws:
java.lang.Exception
insertOrderItem
public void insertOrderItem()
throws java.lang.Exception
- Specified by:
insertOrderItem
in interface OrderItemDAO
- Throws:
java.lang.Exception
insertOrderItem
public void insertOrderItem(boolean commit)
throws java.lang.Exception
- Specified by:
insertOrderItem
in interface OrderItemDAO
- Throws:
java.lang.Exception
updateOrderItem
public void updateOrderItem()
throws java.lang.Exception
- Specified by:
updateOrderItem
in interface OrderItemDAO
- Throws:
java.lang.Exception
updateOrderItem
public void updateOrderItem(boolean commit)
throws java.lang.Exception
- Specified by:
updateOrderItem
in interface OrderItemDAO
- Throws:
java.lang.Exception
deleteOrderItem
public void deleteOrderItem()
throws java.lang.Exception
- Specified by:
deleteOrderItem
in interface OrderItemDAO
- Throws:
java.lang.Exception
deleteOrderItem
public void deleteOrderItem(boolean commit)
throws java.lang.Exception
- Specified by:
deleteOrderItem
in interface OrderItemDAO
- Throws:
java.lang.Exception
getMaxOrderItemAttributeID
public int getMaxOrderItemAttributeID()
throws java.lang.Exception
- Throws:
java.lang.Exception
insertOrderItemAttributes
public void insertOrderItemAttributes()
throws java.lang.Exception
- Specified by:
insertOrderItemAttributes
in interface OrderItemDAO
- Throws:
java.lang.Exception
insertOrderItemAttributes
public void insertOrderItemAttributes(boolean commit)
throws java.lang.Exception
- Specified by:
insertOrderItemAttributes
in interface OrderItemDAO
- Throws:
java.lang.Exception
loadOrderItemAttributes
public void loadOrderItemAttributes()
throws java.lang.Exception
- Specified by:
loadOrderItemAttributes
in interface OrderItemDAO
- Throws:
java.lang.Exception
Copyright © SoftSlate, Inc. 20032005