com.softslate.commerce.daos.product
Interface ProductDAO
- All Superinterfaces:
- DAOInterface
- All Known Implementing Classes:
- ProductDAOBasic
- public interface ProductDAO
- extends DAOInterface
Interface for a DAO to manage the npcProduct
table of the
database.
- Author:
- David Tobey
$Id: ProductDAO.java,v 1.3 2005/07/05 20:59:25 softslat Exp $
Methods inherited from interface com.softslate.commerce.daos.core.DAOInterface |
getConnection, getDaoFactory, getDataSource, getSettingsBean, getSqlMap, initialize, setConnection, setDaoFactory, setDataSource, setSettingsBean, setSqlMap |
getProduct
public Product getProduct()
setProduct
public void setProduct(Product product)
loadProduct
public void loadProduct()
throws java.lang.Exception
- Throws:
java.lang.Exception
loadProductFromID
public void loadProductFromID()
throws java.lang.Exception
- Throws:
java.lang.Exception
loadAttributesAndOptions
public void loadAttributesAndOptions()
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteProduct
public void deleteProduct()
throws java.lang.Exception
- Throws:
java.lang.Exception
deleteProduct
public void deleteProduct(boolean commit)
throws java.lang.Exception
- Throws:
java.lang.Exception
getMaxProductID
public int getMaxProductID()
throws java.lang.Exception
- Throws:
java.lang.Exception
insertProduct
public void insertProduct()
throws java.lang.Exception
- Throws:
java.lang.Exception
insertProduct
public void insertProduct(boolean commit)
throws java.lang.Exception
- Throws:
java.lang.Exception
updateProduct
public void updateProduct()
throws java.lang.Exception
- Throws:
java.lang.Exception
updateProduct
public void updateProduct(boolean commit)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadSettings
public java.util.Collection loadSettings()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © SoftSlate, Inc. 20032005