Class StateDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.order.StateDAOHibernate
- All Implemented Interfaces:
DAOInterface
,StateDAO
Generic DAO to manage the
sscState
table of the database.- Author:
- David Tobey
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteState
(boolean commit) getState()
void
void
insertState
(boolean commit) loadObject
(Object object) void
void
void
void
void
updateState
(boolean commit) Methods inherited from class com.softslate.commerce.daos.core.BaseDAO
deleteObject, doWorkToSetConnection, editAssignment, evictCache, formatDateTime, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getImportExportSQL, getImportExportSqlMap, getInjector, getNamedQuery, getSettings, getSQL, getSqlMap, initialize, insertObject, loadAll, loadAll, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setImportExportSqlMap, setInjector, setSettings, setSqlMap, updateObject
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
deleteObject, formatDateTime, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getInjector, getSettings, getSqlMap, initialize, insertObject, loadAll, loadAll, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setInjector, setSettings, setSqlMap, updateObject
-
Field Details
-
log
static org.apache.commons.logging.Log log -
state
-
-
Constructor Details
-
StateDAOHibernate
public StateDAOHibernate()
-
-
Method Details
-
getState
-
setState
-
loadStateFromID
- Specified by:
loadStateFromID
in interfaceStateDAO
- Throws:
Exception
-
loadStateFromCode
- Throws:
DataAccessException
-
insertState
- Specified by:
insertState
in interfaceStateDAO
- Throws:
DataAccessException
-
insertState
- Specified by:
insertState
in interfaceStateDAO
- Throws:
DataAccessException
-
updateState
- Specified by:
updateState
in interfaceStateDAO
- Throws:
DataAccessException
-
updateState
- Specified by:
updateState
in interfaceStateDAO
- Throws:
DataAccessException
-
deleteState
- Specified by:
deleteState
in interfaceStateDAO
- Throws:
Exception
-
deleteState
- Specified by:
deleteState
in interfaceStateDAO
- Throws:
Exception
-
loadObject
- Specified by:
loadObject
in interfaceDAOInterface
- Overrides:
loadObject
in classBaseDAO
- Throws:
Exception
-