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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddeleteCountry(boolean commit) voidvoidinsertCountry(boolean commit) voidvoidloadObject(Object object) voidsetCountry(Country country) voidvoidupdateCountry(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 -
country
-
-
Constructor Details
-
CountryDAOHibernate
public CountryDAOHibernate()
-
-
Method Details
-
getCountry
- Specified by:
getCountryin interfaceCountryDAO
-
setCountry
- Specified by:
setCountryin interfaceCountryDAO
-
loadCountryFromID
- Specified by:
loadCountryFromIDin interfaceCountryDAO- Throws:
Exception
-
loadCountryFromCode
- Throws:
DataAccessException
-
insertCountry
- Specified by:
insertCountryin interfaceCountryDAO- Throws:
DataAccessException
-
insertCountry
- Specified by:
insertCountryin interfaceCountryDAO- Throws:
DataAccessException
-
updateCountry
- Specified by:
updateCountryin interfaceCountryDAO- Throws:
DataAccessException
-
updateCountry
- Specified by:
updateCountryin interfaceCountryDAO- Throws:
DataAccessException
-
deleteCountry
- Specified by:
deleteCountryin interfaceCountryDAO- Throws:
DataAccessException
-
deleteCountry
- Specified by:
deleteCountryin interfaceCountryDAO- Throws:
DataAccessException
-
loadObject
- Specified by:
loadObjectin interfaceDAOInterface- Overrides:
loadObjectin classBaseDAO- Throws:
Exception
-