@Repository(value="locationSpecificDao") public class LocationSpecificDaoImpl extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements LocationSpecificDao
| Constructor and Description |
|---|
LocationSpecificDaoImpl(org.hibernate.SessionFactory sessionFactory) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getLocationIdByLabelAndLocationLevel(String locationLabel,
Integer[] locationLevelIds)
Return a location Id, from a longitude and a latitude (in decimal degrees - WG84).
|
String |
getLocationLabelByLatLong(Float latitude,
Float longitude)
Return location label from a longitude and a latitude (in decimal degrees - WG84).
|
@Autowired public LocationSpecificDaoImpl(org.hibernate.SessionFactory sessionFactory)
public String getLocationLabelByLatLong(Float latitude, Float longitude)
LocationSpecificDaogetLocationLabelByLatLong in interface LocationSpecificDaolatitude - a latitude (in decimal degrees - WG84)longitude - a longitude (in decimal degrees - WG84)public Integer getLocationIdByLabelAndLocationLevel(String locationLabel, Integer[] locationLevelIds)
LocationSpecificDaogetLocationIdByLabelAndLocationLevel in interface LocationSpecificDaoCopyright © 2013. All Rights Reserved.