Class CustomerAddressDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.customer.CustomerAddressDAOHibernate
- All Implemented Interfaces:
DAOInterface
,CustomerAddressDAO
Generic DAO to manage the
sscCustomerAddress
table of the
database.- Author:
- David Tobey
-
Field Summary
Modifier and TypeFieldDescriptionprivate CustomerAddress
(package private) static org.apache.commons.logging.Log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteCustomerAddress
(boolean commit) void
void
void
insertCustomerAddress
(boolean commit) void
void
setCustomerAddress
(CustomerAddress customerAddress) void
void
updateCustomerAddress
(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 -
customerAddress
-
-
Constructor Details
-
CustomerAddressDAOHibernate
public CustomerAddressDAOHibernate()
-
-
Method Details
-
getCustomerAddress
- Specified by:
getCustomerAddress
in interfaceCustomerAddressDAO
-
setCustomerAddress
- Specified by:
setCustomerAddress
in interfaceCustomerAddressDAO
-
loadCustomerAddressFromID
- Specified by:
loadCustomerAddressFromID
in interfaceCustomerAddressDAO
- Throws:
Exception
-
insertCustomerAddress
- Specified by:
insertCustomerAddress
in interfaceCustomerAddressDAO
- Throws:
DataAccessException
-
insertCustomerAddress
- Specified by:
insertCustomerAddress
in interfaceCustomerAddressDAO
- Throws:
DataAccessException
-
updateCustomerAddress
- Specified by:
updateCustomerAddress
in interfaceCustomerAddressDAO
- Throws:
DataAccessException
-
updateCustomerAddress
- Specified by:
updateCustomerAddress
in interfaceCustomerAddressDAO
- Throws:
DataAccessException
-
deleteCustomerAddress
- Specified by:
deleteCustomerAddress
in interfaceCustomerAddressDAO
- Throws:
Exception
-
deleteCustomerAddress
- Specified by:
deleteCustomerAddress
in interfaceCustomerAddressDAO
- Throws:
Exception
-
handleNewDefaultCustomerAddress
- Specified by:
handleNewDefaultCustomerAddress
in interfaceCustomerAddressDAO
- Throws:
DataAccessException
-