com.softslate.commerce.daos.order
Class CountryDAOBasic

java.lang.Object
  extended bycom.softslate.commerce.daos.core.BaseDAO
      extended bycom.softslate.commerce.daos.order.CountryDAOBasic
All Implemented Interfaces:
CountryDAO, DAOInterface

public class CountryDAOBasic
extends BaseDAO
implements DAOInterface, CountryDAO

Generic DAO to manage the npcCountry table of the database.

Author:
David Tobey

Field Summary
private  Country country
           
(package private) static org.apache.commons.logging.Log log
           
 
Fields inherited from class com.softslate.commerce.daos.core.BaseDAO
 
Constructor Summary
CountryDAOBasic()
           
 
Method Summary
 void deleteCountry()
           
 void deleteCountry(boolean commit)
           
 Country getCountry()
           
 int getMaxCountryID()
           
 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
formatDateTime, getConnection, getDaoFactory, getDataSource, getSettingsBean, getSQL, getSqlMap, initialize, parseDateTime, setConnection, setDaoFactory, setDataSource, setSettingsBean, setSqlMap
 
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
getConnection, getDaoFactory, getDataSource, getSettingsBean, getSqlMap, initialize, setConnection, setDaoFactory, setDataSource, setSettingsBean, setSqlMap
 

Field Detail

log

static org.apache.commons.logging.Log log

country

private Country country
Constructor Detail

CountryDAOBasic

public CountryDAOBasic()
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

getMaxCountryID

public int getMaxCountryID()
                    throws java.lang.Exception
Specified by:
getMaxCountryID in interface CountryDAO
Throws:
java.lang.Exception

insertCountry

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

insertCountry

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

updateCountry

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

updateCountry

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

deleteCountry

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

deleteCountry

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


Copyright © SoftSlate, Inc. 2003–2005