Class OfficeRepository
java.lang.Object
com.maplander.backend.repository.RepositoryBase<Office,Long>
com.maplander.backend.repository.OfficeRepository
-
Field Summary
Fields inherited from class com.maplander.backend.repository.RepositoryBase
sessionFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncountAllUsers(org.hibernate.Session session) intcountOfficeByPolygon(List<com.utils.geo.GeoPt> polygon, String brand, org.hibernate.Session session) countOfficeFirgum(String office, org.hibernate.Session session) countOffices(org.hibernate.Session session) countUserFirgum(String user, org.hibernate.Session session) countUsers(org.hibernate.Session session) findAccountLite(FilterAccount filter, Integer limit, Integer offset, org.hibernate.Session session) findAccountLiteByOfficeName(String officeName, Integer limit, Integer cursor, org.hibernate.Session session) findAccountLiteRandom(int size, org.hibernate.Session session) findOfficesByColony(String colonyName, org.hibernate.Session session) findPlacesOfficeByWord(String word, org.hibernate.Session session) getNamesWithURLOffice(String state, String municipality, String colony, org.hibernate.Session session) getUserFirgum(Integer limit, Integer cursor, org.hibernate.Session session) queryOfficeByLocation(com.utils.geo.GeoPt location, Double distance, String brand, org.hibernate.Session session) queryOfficeByPolygon(List<com.utils.geo.GeoPt> polygon, String brand, org.hibernate.Session session) queryOfficeByPolygonPaged(List<com.utils.geo.GeoPt> polygon, String brand, Integer limit, Integer cursor, org.hibernate.Session session) queryOfficeLiteMap(String state, String municipality, String colony, Integer limit, Integer cursor, org.hibernate.Session session) querySearchAccountMap(LocationTypeEnum locationType, String state, String municipality, String colony, org.hibernate.Session session) searchOfficeFirgum(String office, Integer limit, Integer cursor, org.hibernate.Session session) searchOfficeLiteForSite(LocationTypeEnum locationType, String state, String municipality, String colony, org.hibernate.Session session) searchStockOffice(LocationTypeEnum locationType, String state, String municipality, org.hibernate.Session session) searchUserFirgum(String user, Integer limit, Integer cursor, 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
-
OfficeRepository
public OfficeRepository(org.hibernate.SessionFactory sessionFactory)
-
-
Method Details
-
fetchOfficeLite
-
countOffices
-
countUsers
-
findAccountLiteByOfficeName
-
findAccountLite
public List<AccountLite> findAccountLite(FilterAccount filter, Integer limit, Integer offset, org.hibernate.Session session) -
findAccountLiteRandom
-
findOfficesByColony
-
searchStockOffice
public List<Object[]> searchStockOffice(LocationTypeEnum locationType, String state, String municipality, org.hibernate.Session session) -
getNamesWithURLOffice
-
searchOfficeLiteForSite
-
queryOfficeLiteMap
-
findPlacesOfficeByWord
-
queryOfficeByPolygon
-
queryOfficeByLocation
-
querySearchAccountMap
-
countOfficeByPolygon
-
queryOfficeByPolygonPaged
-
searchUserFirgum
public List<FirgumUser> searchUserFirgum(String user, Integer limit, Integer cursor, org.hibernate.Session session) -
countUserFirgum
-
searchOfficeFirgum
public List<AccountMap> searchOfficeFirgum(String office, Integer limit, Integer cursor, org.hibernate.Session session) -
countOfficeFirgum
-
getUserFirgum
-
countAllUsers
-