org.broadleafcommerce.profile.core.dao
Class CountryDaoImpl

java.lang.Object
  extended by org.broadleafcommerce.profile.core.dao.CountryDaoImpl
All Implemented Interfaces:
CountryDao

@Repository(value="blCountryDao")
public class CountryDaoImpl
extends Object
implements CountryDao


Field Summary
protected  javax.persistence.EntityManager em
           
protected  EntityConfiguration entityConfiguration
           
 
Constructor Summary
CountryDaoImpl()
           
 
Method Summary
 List<Country> findCountries()
           
 Country findCountryByAbbreviation(String abbreviation)
           
 Country save(Country country)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

em

protected javax.persistence.EntityManager em

entityConfiguration

protected EntityConfiguration entityConfiguration
Constructor Detail

CountryDaoImpl

public CountryDaoImpl()
Method Detail

findCountryByAbbreviation

public Country findCountryByAbbreviation(String abbreviation)
Specified by:
findCountryByAbbreviation in interface CountryDao

findCountries

public List<Country> findCountries()
Specified by:
findCountries in interface CountryDao

save

public Country save(Country country)
Specified by:
save in interface CountryDao


Copyright © 2013. All Rights Reserved.