com.softslate.commerce.daos.product
Class CategorySettingDAOBasic

java.lang.Object
  extended bycom.softslate.commerce.daos.core.BaseDAO
      extended bycom.softslate.commerce.daos.product.CategorySettingDAOBasic
All Implemented Interfaces:
CategorySettingDAO, DAOInterface

public class CategorySettingDAOBasic
extends BaseDAO
implements DAOInterface, CategorySettingDAO

Generic DAO to manage the npcCategorySetting table of the database.

Author:
David Tobey

Field Summary
private  CategorySetting categorySetting
           
(package private) static org.apache.commons.logging.Log log
           
 
Fields inherited from class com.softslate.commerce.daos.core.BaseDAO
 
Constructor Summary
CategorySettingDAOBasic()
           
 
Method Summary
 void deleteCategorySetting()
           
 void deleteCategorySetting(boolean commit)
           
 CategorySetting getCategorySetting()
           
 int getMaxCategorySettingID()
           
 void insertCategorySetting()
           
 void insertCategorySetting(boolean commit)
           
 void loadCategorySettingFromID()
           
 void setCategorySetting(CategorySetting categorySetting)
           
 void updateCategorySetting()
           
 void updateCategorySetting(boolean commit)
           
 
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
 

Field Detail

log

static org.apache.commons.logging.Log log

categorySetting

private CategorySetting categorySetting
Constructor Detail

CategorySettingDAOBasic

public CategorySettingDAOBasic()
Method Detail

getCategorySetting

public CategorySetting getCategorySetting()
Specified by:
getCategorySetting in interface CategorySettingDAO

setCategorySetting

public void setCategorySetting(CategorySetting categorySetting)
Specified by:
setCategorySetting in interface CategorySettingDAO

loadCategorySettingFromID

public void loadCategorySettingFromID()
                               throws java.lang.Exception
Specified by:
loadCategorySettingFromID in interface CategorySettingDAO
Throws:
java.lang.Exception

getMaxCategorySettingID

public int getMaxCategorySettingID()
                            throws java.lang.Exception
Specified by:
getMaxCategorySettingID in interface CategorySettingDAO
Throws:
java.lang.Exception

insertCategorySetting

public void insertCategorySetting()
                           throws java.lang.Exception
Specified by:
insertCategorySetting in interface CategorySettingDAO
Throws:
java.lang.Exception

insertCategorySetting

public void insertCategorySetting(boolean commit)
                           throws java.lang.Exception
Specified by:
insertCategorySetting in interface CategorySettingDAO
Throws:
java.lang.Exception

updateCategorySetting

public void updateCategorySetting()
                           throws java.lang.Exception
Specified by:
updateCategorySetting in interface CategorySettingDAO
Throws:
java.lang.Exception

updateCategorySetting

public void updateCategorySetting(boolean commit)
                           throws java.lang.Exception
Specified by:
updateCategorySetting in interface CategorySettingDAO
Throws:
java.lang.Exception

deleteCategorySetting

public void deleteCategorySetting()
                           throws java.lang.Exception
Specified by:
deleteCategorySetting in interface CategorySettingDAO
Throws:
java.lang.Exception

deleteCategorySetting

public void deleteCategorySetting(boolean commit)
                           throws java.lang.Exception
Specified by:
deleteCategorySetting in interface CategorySettingDAO
Throws:
java.lang.Exception


Copyright © SoftSlate, Inc. 2003–2005