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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddeleteState(boolean commit) getState()voidvoidinsertState(boolean commit) loadObject(Object object) voidvoidvoidvoidvoidupdateState(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, updateObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
loadStateFromIDin interfaceStateDAO- Throws:
Exception
-
loadStateFromCode
- Throws:
DataAccessException
-
insertState
- Specified by:
insertStatein interfaceStateDAO- Throws:
DataAccessException
-
insertState
- Specified by:
insertStatein interfaceStateDAO- Throws:
DataAccessException
-
updateState
- Specified by:
updateStatein interfaceStateDAO- Throws:
DataAccessException
-
updateState
- Specified by:
updateStatein interfaceStateDAO- Throws:
DataAccessException
-
deleteState
- Specified by:
deleteStatein interfaceStateDAO- Throws:
Exception
-
deleteState
- Specified by:
deleteStatein interfaceStateDAO- Throws:
Exception
-
loadObject
- Specified by:
loadObjectin interfaceDAOInterface- Overrides:
loadObjectin classBaseDAO- Throws:
Exception
-