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 java.lang.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
queryCacheableKey
protected java.lang.String queryCacheableKey
StateDaoImpl
public StateDaoImpl()
findStateByAbbreviation
public State findStateByAbbreviation(java.lang.String abbreviation)
- Specified by:
findStateByAbbreviation in interface StateDao
findStates
public java.util.List<State> findStates()
- Specified by:
findStates in interface StateDao
findStates
public java.util.List<State> findStates(java.lang.String countryAbbreviation)
- Specified by:
findStates in interface StateDao
findCountryByShortName
public Country findCountryByShortName(java.lang.String shortName)
findCountries
public java.util.List<Country> findCountries()
getQueryCacheableKey
public java.lang.String getQueryCacheableKey()
setQueryCacheableKey
public void setQueryCacheableKey(java.lang.String queryCacheableKey)
create
public State create()
- Specified by:
create in interface StateDao
save
public State save(State state)
- Specified by:
save in interface StateDao
Copyright © 2011. All Rights Reserved.