Package com.softslate.commerce.daos.tax
Class BasicTaxRateDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.tax.BasicTaxRateDAOHibernate
- All Implemented Interfaces:
DAOInterface
,BasicTaxRateDAO
Generic DAO to manage the
sscBasicTaxRate
table of the
database.- Author:
- David Tobey
-
Field Summary
Modifier and TypeFieldDescriptionprivate BasicTaxRate
(package private) static org.apache.commons.logging.Log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteBasicTaxRate
(boolean commit) boolean
deleteObject
(Object object, boolean commit) void
void
insertBasicTaxRate
(boolean commit) insertObject
(Object object, boolean commit) void
private BasicTaxRate
loadObject
(Object object) void
setBasicTaxRate
(BasicTaxRate basicTaxRate) void
void
updateBasicTaxRate
(boolean commit) updateObject
(Object object, boolean commit) Methods inherited from class com.softslate.commerce.daos.core.BaseDAO
doWorkToSetConnection, editAssignment, evictCache, formatDateTime, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getImportExportSQL, getImportExportSqlMap, getInjector, getNamedQuery, getSettings, getSQL, getSqlMap, initialize, loadAll, loadAll, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setImportExportSqlMap, setInjector, setSettings, setSqlMap
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
formatDateTime, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getInjector, getSettings, getSqlMap, initialize, loadAll, loadAll, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setInjector, setSettings, setSqlMap
-
Field Details
-
log
static org.apache.commons.logging.Log log -
basicTaxRate
-
-
Constructor Details
-
BasicTaxRateDAOHibernate
public BasicTaxRateDAOHibernate()
-
-
Method Details
-
getBasicTaxRate
- Specified by:
getBasicTaxRate
in interfaceBasicTaxRateDAO
-
setBasicTaxRate
- Specified by:
setBasicTaxRate
in interfaceBasicTaxRateDAO
-
loadBasicTaxRateFromID
- Specified by:
loadBasicTaxRateFromID
in interfaceBasicTaxRateDAO
- Throws:
Exception
-
insertBasicTaxRate
- Specified by:
insertBasicTaxRate
in interfaceBasicTaxRateDAO
- Throws:
DataAccessException
-
insertBasicTaxRate
- Specified by:
insertBasicTaxRate
in interfaceBasicTaxRateDAO
- Throws:
DataAccessException
-
updateBasicTaxRate
- Specified by:
updateBasicTaxRate
in interfaceBasicTaxRateDAO
- Throws:
DataAccessException
-
updateBasicTaxRate
- Specified by:
updateBasicTaxRate
in interfaceBasicTaxRateDAO
- Throws:
DataAccessException
-
deleteBasicTaxRate
- Specified by:
deleteBasicTaxRate
in interfaceBasicTaxRateDAO
- Throws:
Exception
-
deleteBasicTaxRate
- Specified by:
deleteBasicTaxRate
in interfaceBasicTaxRateDAO
- Throws:
Exception
-
loadObject
- Specified by:
loadObject
in interfaceDAOInterface
- Overrides:
loadObject
in classBaseDAO
- Throws:
Exception
-
loadBasicTaxRateFromPostalCode
- Throws:
DataAccessException
-
deleteObject
- Specified by:
deleteObject
in interfaceDAOInterface
- Overrides:
deleteObject
in classBaseDAO
- Throws:
Exception
-
insertObject
- Specified by:
insertObject
in interfaceDAOInterface
- Overrides:
insertObject
in classBaseDAO
- Throws:
Exception
-
updateObject
- Specified by:
updateObject
in interfaceDAOInterface
- Overrides:
updateObject
in classBaseDAO
- Throws:
Exception
-