Class LeadRepository

java.lang.Object
com.maplander.backend.repository.RepositoryBase<Lead,Long>
com.maplander.backend.repository.LeadRepository

public class LeadRepository extends RepositoryBase<Lead,Long>
  • Constructor Details

    • LeadRepository

      public LeadRepository(org.hibernate.SessionFactory sessionFactory)
  • Method Details

    • save

      public void save(Lead lead)
      Overrides:
      save in class RepositoryBase<Lead,Long>
    • findByPropertyId

      public List<Lead> findByPropertyId(Long propertyId, org.hibernate.Session session)
    • findByPropertyIdAndInfoRequest

      public List<Lead> findByPropertyIdAndInfoRequest(Long propertyId, org.hibernate.Session session)
    • findByClientId

      public List<Lead> findByClientId(Long clientId, Integer limit, Integer offset, org.hibernate.Session session)
    • findByIds

      public List<Lead> findByIds(List<Long> ids, org.hibernate.Session session)
    • findIdsByClientAndProperty

      public List<Long> findIdsByClientAndProperty(Long clientId, Long propertyId, org.hibernate.Session session)
    • findIdsByClientAndProperties

      public List<Long> findIdsByClientAndProperties(Long clientId, List<Long> propertyIds, org.hibernate.Session session)