com.softslate.commerce.daos.order
Interface CountryDAO

All Superinterfaces:
DAOInterface
All Known Implementing Classes:
CountryDAOBasic

public interface CountryDAO
extends DAOInterface

Interface for a DAO to manage the npcCountry table of the database.

Author:
David Tobey

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 interface com.softslate.commerce.daos.core.DAOInterface
getConnection, getDaoFactory, getDataSource, getSettingsBean, getSqlMap, initialize, setConnection, setDaoFactory, setDataSource, setSettingsBean, setSqlMap
 

Method Detail

getCountry

public Country getCountry()

setCountry

public void setCountry(Country country)

loadCountryFromID

public void loadCountryFromID()
                       throws java.lang.Exception
Throws:
java.lang.Exception

getMaxCountryID

public int getMaxCountryID()
                    throws java.lang.Exception
Throws:
java.lang.Exception

insertCountry

public void insertCountry()
                   throws java.lang.Exception
Throws:
java.lang.Exception

insertCountry

public void insertCountry(boolean commit)
                   throws java.lang.Exception
Throws:
java.lang.Exception

updateCountry

public void updateCountry()
                   throws java.lang.Exception
Throws:
java.lang.Exception

updateCountry

public void updateCountry(boolean commit)
                   throws java.lang.Exception
Throws:
java.lang.Exception

deleteCountry

public void deleteCountry()
                   throws java.lang.Exception
Throws:
java.lang.Exception

deleteCountry

public void deleteCountry(boolean commit)
                   throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © SoftSlate, Inc. 2003–2005