com.softslate.commerce.daos.product
Class ManufacturerDAOHibernate

java.lang.Object
  extended by com.softslate.commerce.daos.core.BaseDAO
      extended by com.softslate.commerce.daos.product.ManufacturerDAOHibernate
All Implemented Interfaces:
DAOInterface, ManufacturerDAO

public class ManufacturerDAOHibernate
extends BaseDAO
implements ManufacturerDAO

Generic DAO to manage the sscManufacturer table of the database.

Author:
David Tobey

Field Summary
(package private) static org.apache.commons.logging.Log log
           
private  Manufacturer manufacturer
           
 
Constructor Summary
ManufacturerDAOHibernate()
           
 
Method Summary
 void deleteManufacturer()
           
 void deleteManufacturer(boolean commit)
           
 Manufacturer getManufacturer()
           
 void insertManufacturer()
           
 void insertManufacturer(boolean commit)
           
 void loadManufacturer()
           
 void loadManufacturerFromID()
           
 java.lang.Object loadObject(java.lang.Object object)
           
 void loadProducts()
           
 void setManufacturer(Manufacturer manufacturer)
           
 void updateManufacturer()
           
 void updateManufacturer(boolean commit)
           
 
Methods inherited from class com.softslate.commerce.daos.core.BaseDAO
deleteObject, evictCache, formatDateTime, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getImportExportSQL, getImportExportSqlMap, getNamedQuery, getSettings, getSQL, getSqlMap, initialize, insertObject, loadAll, loadAll, parseDateTime, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setImportExportSqlMap, 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, getAppComponents, getAppSettings, getConnection, getDaoFactory, getDAOUtils, getDataSource, getSettings, getSqlMap, initialize, insertObject, loadAll, loadAll, setAppComponents, setAppSettings, setConnection, setDaoFactory, setDAOUtils, setDataSource, setSettings, setSqlMap, updateObject
 

Field Detail

log

static org.apache.commons.logging.Log log

manufacturer

private Manufacturer manufacturer
Constructor Detail

ManufacturerDAOHibernate

public ManufacturerDAOHibernate()
Method Detail

getManufacturer

public Manufacturer getManufacturer()
Specified by:
getManufacturer in interface ManufacturerDAO

setManufacturer

public void setManufacturer(Manufacturer manufacturer)
Specified by:
setManufacturer in interface ManufacturerDAO

loadManufacturerFromID

public void loadManufacturerFromID()
                            throws java.lang.Exception
Specified by:
loadManufacturerFromID in interface ManufacturerDAO
Throws:
java.lang.Exception

loadManufacturer

public void loadManufacturer()
                      throws DataAccessException
Specified by:
loadManufacturer in interface ManufacturerDAO
Throws:
DataAccessException

insertManufacturer

public void insertManufacturer()
                        throws DataAccessException
Specified by:
insertManufacturer in interface ManufacturerDAO
Throws:
DataAccessException

insertManufacturer

public void insertManufacturer(boolean commit)
                        throws DataAccessException
Specified by:
insertManufacturer in interface ManufacturerDAO
Throws:
DataAccessException

updateManufacturer

public void updateManufacturer()
                        throws DataAccessException
Specified by:
updateManufacturer in interface ManufacturerDAO
Throws:
DataAccessException

updateManufacturer

public void updateManufacturer(boolean commit)
                        throws DataAccessException
Specified by:
updateManufacturer in interface ManufacturerDAO
Throws:
DataAccessException

deleteManufacturer

public void deleteManufacturer()
                        throws DataAccessException
Specified by:
deleteManufacturer in interface ManufacturerDAO
Throws:
DataAccessException

deleteManufacturer

public void deleteManufacturer(boolean commit)
                        throws DataAccessException
Specified by:
deleteManufacturer in interface ManufacturerDAO
Throws:
DataAccessException

loadProducts

public void loadProducts()
                  throws DataAccessException
Specified by:
loadProducts in interface ManufacturerDAO
Throws:
DataAccessException

loadObject

public java.lang.Object loadObject(java.lang.Object object)
                            throws java.lang.Exception
Specified by:
loadObject in interface DAOInterface
Overrides:
loadObject in class BaseDAO
Throws:
java.lang.Exception


Copyright © SoftSlate, LLC 2003–2005