com.softslate.commerce.daos.product
Interface CategoryDAO

All Superinterfaces:
DAOInterface
All Known Implementing Classes:
CategoryDAOBasic

public interface CategoryDAO
extends DAOInterface

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

Author:
David Tobey $Id: CategoryDAO.java,v 1.3 2005/07/05 20:59:25 softslat Exp $

Method Summary
 void deleteCategory()
           
 void deleteCategory(boolean commit)
           
 Category getCategory()
           
 int getMaxCategoryID()
           
 void insertCategory()
           
 void insertCategory(boolean commit)
           
 void loadCategory()
           
 void loadCategoryFromID()
           
 void loadParents()
           
 java.util.Collection loadSettings()
           
 void loadSubcategories()
           
 void setCategory(Category category)
           
 void updateCategory()
           
 void updateCategory(boolean commit)
           
 
Methods inherited from interface com.softslate.commerce.daos.core.DAOInterface
getConnection, getDaoFactory, getDataSource, getSettingsBean, getSqlMap, initialize, setConnection, setDaoFactory, setDataSource, setSettingsBean, setSqlMap
 

Method Detail

getCategory

public Category getCategory()

setCategory

public void setCategory(Category category)

loadCategory

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

loadParents

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

loadSubcategories

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

loadCategoryFromID

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

getMaxCategoryID

public int getMaxCategoryID()
                     throws java.lang.Exception
Throws:
java.lang.Exception

insertCategory

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

insertCategory

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

updateCategory

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

updateCategory

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

deleteCategory

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

deleteCategory

public void deleteCategory(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. 2003–2005