|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CityDaoGeneric<T extends City>
Data Access Class used to access and manage City entities
Method Summary | |
---|---|
City |
findByName(StateProvince state,
String cityName)
retrieves a City within a country and state by performing a cap-insensitive search by name, or returns null if a City
with that name is not found |
City |
findByName(String countryCode,
String stateCode,
String cityName)
retrieves a City within a country and state by performing a cap-insensitive search by name, and using the ISO country code and a state code, or returns null if a City with that name is not found |
City |
newCity(StateProvince state,
String cityName)
instantiates a new City within the specified StateProvince, with the name provided |
Methods inherited from interface org.janux.bus.persistence.GenericDaoWrite |
---|
attachClean, clear, delete, evict, flush, merge, refresh, save, saveOrUpdate, update |
Methods inherited from interface org.janux.bus.persistence.GenericDaoReadOnly |
---|
count, findByCriteria, load |
Method Detail |
---|
City findByName(StateProvince state, String cityName)
null
if a City
with that name is not found
state
- a StateProvince that has been persisted in the systemcityName
- the name of a city in the default system languageCity findByName(String countryCode, String stateCode, String cityName)
null
if a City with that name is not found
countryCode
- a two-letter ISO country codestateCode
- a country-specific state abbreviation codecityName
- the name of a city in the default system languageCity newCity(StateProvince state, String cityName)
state
- a name that has been persisted in the systemcityName
- the name for the new system, in the default system
language
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |