org.broadleafcommerce.profile.core.dao
Class StateDaoImpl
java.lang.Object
org.broadleafcommerce.profile.core.dao.StateDaoImpl
- All Implemented Interfaces:
- StateDao
@Repository(value="blStateDao")
public class StateDaoImpl
- extends Object
- implements StateDao
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
em
protected javax.persistence.EntityManager em
entityConfiguration
protected EntityConfiguration entityConfiguration
StateDaoImpl
public StateDaoImpl()
findStateByAbbreviation
public State findStateByAbbreviation(String abbreviation)
- Specified by:
findStateByAbbreviation in interface StateDao
findStates
public List<State> findStates()
- Specified by:
findStates in interface StateDao
findStates
public List<State> findStates(String countryAbbreviation)
- Specified by:
findStates in interface StateDao
findCountryByShortName
public Country findCountryByShortName(String shortName)
findCountries
public List<Country> findCountries()
create
public State create()
- Specified by:
create in interface StateDao
save
public State save(State state)
- Specified by:
save in interface StateDao
Copyright © 2013. All Rights Reserved.