com.softslate.commerce.daos.order
Class CountryDAOBasic
java.lang.Object
com.softslate.commerce.daos.core.BaseDAO
com.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 |
|
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 |
log
static org.apache.commons.logging.Log log
country
private Country country
CountryDAOBasic
public CountryDAOBasic()
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. 20032005