Class LeadRepository
java.lang.Object
com.maplander.backend.repository.RepositoryBase<Lead,Long>
com.maplander.backend.repository.LeadRepository
-
Field Summary
Fields inherited from class com.maplander.backend.repository.RepositoryBase
sessionFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindByClientId(Long clientId, Integer limit, Integer offset, org.hibernate.Session session) findByPropertyId(Long propertyId, org.hibernate.Session session) findByPropertyIdAndInfoRequest(Long propertyId, org.hibernate.Session session) findIdsByClientAndProperties(Long clientId, List<Long> propertyIds, org.hibernate.Session session) findIdsByClientAndProperty(Long clientId, Long propertyId, org.hibernate.Session session) voidMethods 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, saveAll
-
Constructor Details
-
LeadRepository
public LeadRepository(org.hibernate.SessionFactory sessionFactory)
-
-
Method Details
-
save
- Overrides:
savein classRepositoryBase<Lead,Long>
-
findByPropertyId
-
findByPropertyIdAndInfoRequest
-
findByClientId
-
findByIds
-
findIdsByClientAndProperty
-
findIdsByClientAndProperties
-