Class CountryDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.order.CountryDAOHibernate
- All Implemented Interfaces:
DAOInterface
,CountryDAO
Generic DAO to manage the
sscCountry
table of the database.- Author:
- David Tobey
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteCountry
(boolean commit) void
void
insertCountry
(boolean commit) void
void
loadObject
(Object object) void
setCountry
(Country country) void
void
updateCountry
(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 -
country
-
-
Constructor Details
-
CountryDAOHibernate
public CountryDAOHibernate()
-
-
Method Details
-
getCountry
- Specified by:
getCountry
in interfaceCountryDAO
-
setCountry
- Specified by:
setCountry
in interfaceCountryDAO
-
loadCountryFromID
- Specified by:
loadCountryFromID
in interfaceCountryDAO
- Throws:
Exception
-
loadCountryFromCode
- Throws:
DataAccessException
-
insertCountry
- Specified by:
insertCountry
in interfaceCountryDAO
- Throws:
DataAccessException
-
insertCountry
- Specified by:
insertCountry
in interfaceCountryDAO
- Throws:
DataAccessException
-
updateCountry
- Specified by:
updateCountry
in interfaceCountryDAO
- Throws:
DataAccessException
-
updateCountry
- Specified by:
updateCountry
in interfaceCountryDAO
- Throws:
DataAccessException
-
deleteCountry
- Specified by:
deleteCountry
in interfaceCountryDAO
- Throws:
DataAccessException
-
deleteCountry
- Specified by:
deleteCountry
in interfaceCountryDAO
- Throws:
DataAccessException
-
loadObject
- Specified by:
loadObject
in interfaceDAOInterface
- Overrides:
loadObject
in classBaseDAO
- Throws:
Exception
-