@Repository(value="locationDao") public class LocationDaoImpl extends LocationDaoBase implements LocationExtendDao
LocationTRANSFORM_NONE| Constructor and Description |
|---|
LocationDaoImpl(org.hibernate.SessionFactory sessionFactory)
Constructor used by Spring
|
| 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).
|
create, create, create, create, create, create, create, create, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remove, remove, remove, search, search, search, search, toEntity, transformEntities, transformEntity, update, updatecheckDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory@Autowired public LocationDaoImpl(org.hibernate.SessionFactory sessionFactory)
public String getLocationLabelByLatLong(Float latitude, Float longitude)
LocationExtendDaogetLocationLabelByLatLong in interface LocationExtendDaolatitude - a latitude (in decimal degrees - WG84)longitude - a longitude (in decimal degrees - WG84)public Integer getLocationIdByLabelAndLocationLevel(String locationLabel, Integer[] locationLevelIds)
LocationExtendDaogetLocationIdByLabelAndLocationLevel in interface LocationExtendDaoCopyright © 2013. All Rights Reserved.