Class ManufacturerDAOHibernate
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.softslate.commerce.daos.product.ManufacturerDAOHibernate
- All Implemented Interfaces:
DAOInterface
,ManufacturerDAO
Generic DAO to manage the
sscManufacturer
table of the
database.- Author:
- David Tobey
-
Field Summary
Modifier and TypeFieldDescription(package private) static org.apache.commons.logging.Log
private Manufacturer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteManufacturer
(boolean commit) void
void
insertManufacturer
(boolean commit) void
void
loadObject
(Object object) void
void
setManufacturer
(Manufacturer manufacturer) void
void
updateManufacturer
(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 -
manufacturer
-
-
Constructor Details
-
ManufacturerDAOHibernate
public ManufacturerDAOHibernate()
-
-
Method Details
-
getManufacturer
- Specified by:
getManufacturer
in interfaceManufacturerDAO
-
setManufacturer
- Specified by:
setManufacturer
in interfaceManufacturerDAO
-
loadManufacturerFromID
- Specified by:
loadManufacturerFromID
in interfaceManufacturerDAO
- Throws:
Exception
-
loadManufacturer
- Specified by:
loadManufacturer
in interfaceManufacturerDAO
- Throws:
DataAccessException
-
insertManufacturer
- Specified by:
insertManufacturer
in interfaceManufacturerDAO
- Throws:
DataAccessException
-
insertManufacturer
- Specified by:
insertManufacturer
in interfaceManufacturerDAO
- Throws:
DataAccessException
-
updateManufacturer
- Specified by:
updateManufacturer
in interfaceManufacturerDAO
- Throws:
DataAccessException
-
updateManufacturer
- Specified by:
updateManufacturer
in interfaceManufacturerDAO
- Throws:
DataAccessException
-
deleteManufacturer
- Specified by:
deleteManufacturer
in interfaceManufacturerDAO
- Throws:
DataAccessException
-
deleteManufacturer
- Specified by:
deleteManufacturer
in interfaceManufacturerDAO
- Throws:
DataAccessException
-
loadProducts
- Specified by:
loadProducts
in interfaceManufacturerDAO
- Throws:
DataAccessException
-
loadObject
- Specified by:
loadObject
in interfaceDAOInterface
- Overrides:
loadObject
in classBaseDAO
- Throws:
Exception
-