com.softslate.commerce.daos.order
Class StateDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.order.StateDAOHibernate
- All Implemented Interfaces:
- DAOInterface, StateDAO
public class StateDAOHibernate
- extends BaseDAO
- implements DAOInterface, StateDAO
Generic DAO to manage the sscState
table of the database.
- Author:
- David Tobey
Field Summary |
(package private) static org.apache.commons.logging.Log |
log
|
private State |
state
|
Methods inherited from class com.softslate.commerce.daos.core.BaseDAO |
deleteObject, evictCache, formatDateTime, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getImportExportSQL, getImportExportSqlMap, getNamedQuery, getSettings, getSQL, getSqlMap, initialize, insertObject, loadAll, loadAll, loadObject, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setImportExportSqlMap, setSettings, setSqlMap, updateObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
static org.apache.commons.logging.Log log
state
private State state
StateDAOHibernate
public StateDAOHibernate()
getState
public State getState()
- Specified by:
getState
in interface StateDAO
setState
public void setState(State state)
- Specified by:
setState
in interface StateDAO
loadStateFromID
public void loadStateFromID()
throws java.lang.Exception
- Specified by:
loadStateFromID
in interface StateDAO
- Throws:
java.lang.Exception
insertState
public void insertState()
throws DataAccessException
- Specified by:
insertState
in interface StateDAO
- Throws:
DataAccessException
insertState
public void insertState(boolean commit)
throws DataAccessException
- Specified by:
insertState
in interface StateDAO
- Throws:
DataAccessException
updateState
public void updateState()
throws DataAccessException
- Specified by:
updateState
in interface StateDAO
- Throws:
DataAccessException
updateState
public void updateState(boolean commit)
throws DataAccessException
- Specified by:
updateState
in interface StateDAO
- Throws:
DataAccessException
deleteState
public void deleteState()
throws java.lang.Exception
- Specified by:
deleteState
in interface StateDAO
- Throws:
java.lang.Exception
deleteState
public void deleteState(boolean commit)
throws java.lang.Exception
- Specified by:
deleteState
in interface StateDAO
- Throws:
java.lang.Exception
Copyright © SoftSlate, LLC 20032005