com.softslate.commerce.daos.product
Interface CategoryDAO

All Superinterfaces:
DAOInterface
All Known Implementing Classes:
CategoryDAOHibernate

public interface CategoryDAO
extends DAOInterface

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

Author:
David Tobey

Method Summary
 void deleteCategory()
           
 void deleteCategory(boolean commit)
           
 Category getCategory()
           
 void insertCategory()
           
 void insertCategory(boolean commit)
           
 void insertCategoryWithID()
           
 void insertCategoryWithID(boolean commit)
           
 void loadCategory()
           
 void loadCategoryFromCode()
           
 void loadCategoryFromID()
           
 void loadParents()
           
 java.util.Collection loadSettings()
           
 void loadSubcategories()
           
 void setCategory(Category category)
           
 void updateCategory()
           
 void updateCategory(boolean commit)
           
 void updateCategoryByCode()
           
 void updateCategoryByCode(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

getCategory

Category getCategory()

setCategory

void setCategory(Category category)

loadCategory

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

loadParents

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

loadSubcategories

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

loadCategoryFromID

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

insertCategory

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

insertCategory

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

insertCategoryWithID

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

insertCategoryWithID

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

updateCategory

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

updateCategory

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

updateCategoryByCode

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

updateCategoryByCode

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

deleteCategory

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

deleteCategory

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

loadSettings

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

loadCategoryFromCode

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


Copyright ? SoftSlate, LLC 2003?2005