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
FieldsModifier and TypeFieldDescription(package private) static org.apache.commons.logging.Logprivate Manufacturer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddeleteManufacturer(boolean commit) voidvoidinsertManufacturer(boolean commit) voidvoidloadObject(Object object) voidvoidsetManufacturer(Manufacturer manufacturer) voidvoidupdateManufacturer(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 -
manufacturer
-
-
Constructor Details
-
ManufacturerDAOHibernate
public ManufacturerDAOHibernate()
-
-
Method Details
-
getManufacturer
- Specified by:
getManufacturerin interfaceManufacturerDAO
-
setManufacturer
- Specified by:
setManufacturerin interfaceManufacturerDAO
-
loadManufacturerFromID
- Specified by:
loadManufacturerFromIDin interfaceManufacturerDAO- Throws:
Exception
-
loadManufacturer
- Specified by:
loadManufacturerin interfaceManufacturerDAO- Throws:
DataAccessException
-
insertManufacturer
- Specified by:
insertManufacturerin interfaceManufacturerDAO- Throws:
DataAccessException
-
insertManufacturer
- Specified by:
insertManufacturerin interfaceManufacturerDAO- Throws:
DataAccessException
-
updateManufacturer
- Specified by:
updateManufacturerin interfaceManufacturerDAO- Throws:
DataAccessException
-
updateManufacturer
- Specified by:
updateManufacturerin interfaceManufacturerDAO- Throws:
DataAccessException
-
deleteManufacturer
- Specified by:
deleteManufacturerin interfaceManufacturerDAO- Throws:
DataAccessException
-
deleteManufacturer
- Specified by:
deleteManufacturerin interfaceManufacturerDAO- Throws:
DataAccessException
-
loadProducts
- Specified by:
loadProductsin interfaceManufacturerDAO- Throws:
DataAccessException
-
loadObject
- Specified by:
loadObjectin interfaceDAOInterface- Overrides:
loadObjectin classBaseDAO- Throws:
Exception
-