com.softslate.commerce.daos.core
Interface SettingsDAO

All Superinterfaces:
DAOInterface
All Known Implementing Classes:
SettingsDAOBasic

public interface SettingsDAO
extends DAOInterface

Interface for a DAO for setting and retrieving settings from the database.

Author:
David Tobey $Id: SettingsDAO.java,v 1.1 2005/05/16 14:32:26 dtobey Exp $

Method Summary
 java.util.HashMap generateSettingsMap(java.sql.ResultSet resultSet)
           
 int getType()
           
 java.util.Collection loadSettings()
           
 SettingsBean loadSettings(SettingsBean settingsBean)
           
 void setType(int type)
           
 SettingsBean updateSettings(java.util.Map settings)
           
 
Methods inherited from interface com.softslate.commerce.daos.core.DAOInterface
getConnection, getDaoFactory, getDataSource, getSettingsBean, getSqlMap, initialize, setConnection, setDaoFactory, setDataSource, setSettingsBean, setSqlMap
 

Method Detail

getType

public int getType()

setType

public void setType(int type)

loadSettings

public SettingsBean loadSettings(SettingsBean settingsBean)
                          throws java.lang.Exception
Throws:
java.lang.Exception

generateSettingsMap

public java.util.HashMap generateSettingsMap(java.sql.ResultSet resultSet)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

updateSettings

public SettingsBean updateSettings(java.util.Map settings)
                            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