Class GeopoliticalRepository
java.lang.Object
com.maplander.backend.repository.RepositoryBase<ProvinciaPA,Integer>
com.maplander.backend.repository.GeopoliticalRepository
-
Field Summary
Fields inherited from class com.maplander.backend.repository.RepositoryBase
sessionFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColonyByPath(String path, org.hibernate.Session session) getLocationsByPath(String path, org.hibernate.Session session) getLocationSearch(String location, Integer level, org.hibernate.Session session) getNamesWithURL(String state, String municipality, String colony, OfferingTypeEnum offering, PropertyTypeEnum type, org.hibernate.Session session) getOfferingsByPath(String path, org.hibernate.Session session) getPlacesByWord(PropertyTypeEnum type, OfferingTypeEnum offering, String word, org.hibernate.Session session) getPlacesByWordAndOfficeId(PropertyTypeEnum type, OfferingTypeEnum offering, StatusTypeEnum status, String word, Long officeId, org.hibernate.Session session) getTypesByPath(String path, org.hibernate.Session session) listBarrios(String provincia, String distrito, String corregimiento, String localidad, org.hibernate.Session session) listCorregimiento(String provincia, String distrito, org.hibernate.Session session) listDistrito(String provincia, org.hibernate.Session session) listProvincia(org.hibernate.Session session) querySearchBarriosSoundex(String word, Integer limit, org.hibernate.Session session) searchColonyByMunicipality(OfferingTypeEnum offering, PropertyTypeEnum type, String state, String municipality, org.hibernate.Session session) searchColonyByMunicipalityWithFilters(FiltersBigQuery filter, org.hibernate.Session session) searchMunicipalityAndColonyByState(OfferingTypeEnum offering, PropertyTypeEnum type, String state, org.hibernate.Session session) searchMunicipalityByState(OfferingTypeEnum offering, PropertyTypeEnum type, String state, org.hibernate.Session session) searchMunicipalityByStateWithFilters(FiltersBigQuery filter, org.hibernate.Session session) Methods inherited from class com.maplander.backend.repository.RepositoryBase
currentSession, delete, delete, deleteAll, deleteAll, deleteAll, deleteAllById, deleteAllById, deleteById, deleteById, deleteById, existsById, findAll, findAll, findById, findById, save, save, saveAll
-
Constructor Details
-
GeopoliticalRepository
public GeopoliticalRepository(org.hibernate.SessionFactory sessionFactory)
-
-
Method Details
-
listProvincia
-
listDistrito
-
listCorregimiento
-
listBarrios
-
querySearchBarriosSoundex
-
searchMunicipalityByState
public List<SQLResults> searchMunicipalityByState(OfferingTypeEnum offering, PropertyTypeEnum type, String state, org.hibernate.Session session) -
searchColonyByMunicipality
public List<SQLResults> searchColonyByMunicipality(OfferingTypeEnum offering, PropertyTypeEnum type, String state, String municipality, org.hibernate.Session session) -
searchMunicipalityAndColonyByState
public SQLResultsMC searchMunicipalityAndColonyByState(OfferingTypeEnum offering, PropertyTypeEnum type, String state, org.hibernate.Session session) -
searchMunicipalityByStateWithFilters
public List<SQLResults> searchMunicipalityByStateWithFilters(FiltersBigQuery filter, org.hibernate.Session session) -
searchColonyByMunicipalityWithFilters
public List<SQLResults> searchColonyByMunicipalityWithFilters(FiltersBigQuery filter, org.hibernate.Session session) -
getNamesWithURL
public NamesSpaces getNamesWithURL(String state, String municipality, String colony, OfferingTypeEnum offering, PropertyTypeEnum type, org.hibernate.Session session) -
getPlacesByWord
public SQLResultWord getPlacesByWord(PropertyTypeEnum type, OfferingTypeEnum offering, String word, org.hibernate.Session session) -
getPlacesByWordAndOfficeId
public SQLResultWord getPlacesByWordAndOfficeId(PropertyTypeEnum type, OfferingTypeEnum offering, StatusTypeEnum status, String word, Long officeId, org.hibernate.Session session) -
getColonyByPath
-
getOfferingsByPath
-
getTypesByPath
-
getLocationsByPath
-
getLocationSearch
public List<SearchLocation> getLocationSearch(String location, Integer level, org.hibernate.Session session)
-