@Repository(value="locationDao") public class LocationDaoImpl extends LocationDaoBase implements LocationExtendDao
Location
debugEntityLoad, logger
TRANSFORM_NONE
Constructor and Description |
---|
LocationDaoImpl(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).
|
calculateFirstResult, create, create, create, create, create, create, create, create, get, get, getPaginationResult, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remove, remove, remove, search, search, search, search, toEntities, toEntity, transformEntities, transformEntity, update, update
convertDatabase2UI, convertUI2DatabaseMandatoryDate, createQuery, dateOfYearWithOneMiliSecond, dateOfYearWithOneMiliSecondInMili, dateWithNoMiliSecond, dateWithNoSecondAndMiliSecond, dateWithNoSecondAndOneMiliSecond, dateWithNoTime, dateWithOneMiliSecond, deleteAll, get, getSession, getSession, getSessionFactory, load, newCreateDate, queryIterator, queryIteratorTyped, queryIteratorWithPage, queryList, queryListTyped, queryUnique, queryUniqueTyped, queryUpdate, setQueryParams, setSessionFactory
@Autowired public LocationDaoImpl(SessionFactory sessionFactory)
public String getLocationLabelByLatLong(Float latitude, Float longitude)
LocationExtendDao
getLocationLabelByLatLong
in interface LocationExtendDao
latitude
- a latitude (in decimal degrees - WG84)longitude
- a longitude (in decimal degrees - WG84)public Integer getLocationIdByLabelAndLocationLevel(String locationLabel, Integer[] locationLevelIds)
LocationExtendDao
getLocationIdByLabelAndLocationLevel
in interface LocationExtendDao
Copyright © 2012–2014 IFREMER. All rights reserved.