|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CityDaoGeneric
public interface CityDao
Data Access Class used to access and manage City entities
Method Summary | |
---|---|
City |
findByName(StateProvince state,
String cityName)
Deprecated. 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)
Deprecated. 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 |
load(Integer id)
Deprecated. loads a City object from persistence using its id |
City |
newCity(StateProvince state,
String cityName)
Deprecated. instantiates a new City within the specified StateProvince, with the name provided |
Methods inherited from interface org.janux.bus.persistence.DataAccessObject |
---|
delete, merge, refresh, save, saveOrUpdate, update |
Method Detail |
---|
City load(Integer id) throws EntityNotFoundException
id
- the internal identifier of the City
EntityNotFoundException
- if a City object with that id is not foundCity 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 |