Class ShippingRuleDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.shipping.ShippingRuleDAOHibernate
- All Implemented Interfaces:
DAOInterface
,ShippingRuleDAO
Generic DAO to manage the
sscShippingRule
table of the database.- Author:
- Jason McWilliams
-
Field Summary
Modifier and TypeFieldDescription(package private) static org.apache.commons.logging.Log
private ShippingRule
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteShippingRule
(boolean commit) void
void
insertShippingRule
(boolean commit) void
void
setShippingRule
(ShippingRule shippingRule) void
void
updateShippingRule
(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, loadObject, 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, loadObject, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setInjector, setSettings, setSqlMap, updateObject
-
Field Details
-
log
static org.apache.commons.logging.Log log -
shippingRule
-
-
Constructor Details
-
ShippingRuleDAOHibernate
public ShippingRuleDAOHibernate()
-
-
Method Details
-
getShippingRule
- Specified by:
getShippingRule
in interfaceShippingRuleDAO
-
setShippingRule
- Specified by:
setShippingRule
in interfaceShippingRuleDAO
-
loadShippingRuleFromID
- Specified by:
loadShippingRuleFromID
in interfaceShippingRuleDAO
- Throws:
Exception
-
insertShippingRule
- Specified by:
insertShippingRule
in interfaceShippingRuleDAO
- Throws:
DataAccessException
-
insertShippingRule
- Specified by:
insertShippingRule
in interfaceShippingRuleDAO
- Throws:
DataAccessException
-
updateShippingRule
- Specified by:
updateShippingRule
in interfaceShippingRuleDAO
- Throws:
DataAccessException
-
updateShippingRule
- Specified by:
updateShippingRule
in interfaceShippingRuleDAO
- Throws:
DataAccessException
-
deleteShippingRule
- Specified by:
deleteShippingRule
in interfaceShippingRuleDAO
- Throws:
DataAccessException
-
deleteShippingRule
- Specified by:
deleteShippingRule
in interfaceShippingRuleDAO
- Throws:
DataAccessException
-