com.softslate.commerce.daos.order
Class CountryDAOHibernate

java.lang.Object
  extended by com.softslate.commerce.daos.core.BaseDAO
      extended by com.softslate.commerce.daos.order.CountryDAOHibernate
All Implemented Interfaces:
DAOInterface, CountryDAO

public class CountryDAOHibernate
extends BaseDAO
implements DAOInterface, CountryDAO

Generic DAO to manage the sscCountry table of the database.

Author:
David Tobey

Field Summary
private  Country country
           
(package private) static org.apache.commons.logging.Log log
           
 
Constructor Summary
CountryDAOHibernate()
           
 
Method Summary
 void deleteCountry()
           
 void deleteCountry(boolean commit)
           
 Country getCountry()
           
 void insertCountry()
           
 void insertCountry(boolean commit)
           
 void loadCountryFromID()
           
 void setCountry(Country country)
           
 void updateCountry()
           
 void updateCountry(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, loadObject, 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
 

Field Detail

log

static org.apache.commons.logging.Log log

country

private Country country
Constructor Detail

CountryDAOHibernate

public CountryDAOHibernate()
Method Detail

getCountry

public Country getCountry()
Specified by:
getCountry in interface CountryDAO

setCountry

public void setCountry(Country country)
Specified by:
setCountry in interface CountryDAO

loadCountryFromID

public void loadCountryFromID()
                       throws java.lang.Exception
Specified by:
loadCountryFromID in interface CountryDAO
Throws:
java.lang.Exception

insertCountry

public void insertCountry()
                   throws DataAccessException
Specified by:
insertCountry in interface CountryDAO
Throws:
DataAccessException

insertCountry

public void insertCountry(boolean commit)
                   throws DataAccessException
Specified by:
insertCountry in interface CountryDAO
Throws:
DataAccessException

updateCountry

public void updateCountry()
                   throws DataAccessException
Specified by:
updateCountry in interface CountryDAO
Throws:
DataAccessException

updateCountry

public void updateCountry(boolean commit)
                   throws DataAccessException
Specified by:
updateCountry in interface CountryDAO
Throws:
DataAccessException

deleteCountry

public void deleteCountry()
                   throws DataAccessException
Specified by:
deleteCountry in interface CountryDAO
Throws:
DataAccessException

deleteCountry

public void deleteCountry(boolean commit)
                   throws DataAccessException
Specified by:
deleteCountry in interface CountryDAO
Throws:
DataAccessException


Copyright © SoftSlate, LLC 2003–2005