com.softslate.commerce.daos.product
Interface ProductDAO

All Superinterfaces:
DAOInterface
All Known Implementing Classes:
ProductDAOHibernate

public interface ProductDAO
extends DAOInterface

Interface for a DAO to manage the sscProduct table of the database.

Author:
David Tobey

Method Summary
 void deleteProduct()
           
 void deleteProduct(boolean commit)
           
 Product getProduct()
           
 void insertProduct()
           
 void insertProduct(boolean commit)
           
 void insertProductWithID()
           
 void insertProductWithID(boolean commit)
           
 void loadAttributesAndOptions()
           
 void loadProduct()
           
 void loadProductFromCode()
           
 void loadProductFromID()
           
 java.util.Collection loadSettings()
           
 void setProduct(Product product)
           
 void updateProduct()
           
 void updateProduct(boolean commit)
           
 void updateProductByCode()
           
 void updateProductByCode(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

getProduct

Product getProduct()

setProduct

void setProduct(Product product)

loadProduct

void loadProduct()
                 throws java.lang.Exception
Throws:
java.lang.Exception

loadProductFromID

void loadProductFromID()
                       throws java.lang.Exception
Throws:
java.lang.Exception

loadAttributesAndOptions

void loadAttributesAndOptions()
                              throws java.lang.Exception
Throws:
java.lang.Exception

deleteProduct

void deleteProduct()
                   throws java.lang.Exception
Throws:
java.lang.Exception

deleteProduct

void deleteProduct(boolean commit)
                   throws java.lang.Exception
Throws:
java.lang.Exception

insertProduct

void insertProduct()
                   throws java.lang.Exception
Throws:
java.lang.Exception

insertProduct

void insertProduct(boolean commit)
                   throws java.lang.Exception
Throws:
java.lang.Exception

insertProductWithID

void insertProductWithID()
                         throws java.lang.Exception
Throws:
java.lang.Exception

insertProductWithID

void insertProductWithID(boolean commit)
                         throws java.lang.Exception
Throws:
java.lang.Exception

updateProduct

void updateProduct()
                   throws java.lang.Exception
Throws:
java.lang.Exception

updateProduct

void updateProduct(boolean commit)
                   throws java.lang.Exception
Throws:
java.lang.Exception

updateProductByCode

void updateProductByCode()
                         throws java.lang.Exception
Throws:
java.lang.Exception

updateProductByCode

void updateProductByCode(boolean commit)
                         throws java.lang.Exception
Throws:
java.lang.Exception

loadSettings

java.util.Collection loadSettings()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

loadProductFromCode

void loadProductFromCode()
                         throws java.lang.Exception
Throws:
java.lang.Exception


Copyright ? SoftSlate, LLC 2003?2005