Class LeadDAO

java.lang.Object
com.maplander.backend.dao.BaseDAO
com.maplander.backend.dao.manage.lead.LeadDAO

public class LeadDAO extends BaseDAO
  • Field Details

    • clazz

      public static final Class<Lead> clazz
  • Constructor Details

    • LeadDAO

      public LeadDAO()
  • Method Details

    • load

      public static Lead load(Long id)
    • leadExist

      public static boolean leadExist(Long propertyId, Long userMLId, LeadTypeEnum type)
    • listFavorites

      public static com.google.api.server.spi.response.CollectionResponse<Lead> listFavorites(Long userMLId, LeadTypeEnum typeEnum, Integer limit, String cursor, Long time)
    • listLeadByOffice

      @Deprecated public static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByOffice(Long officeId, Integer limit, String cursor, Long time)
      Deprecated.
    • listLeadByOffice2

      public static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByOffice2(Long officeId, Integer limit, String cursor, Long time)
    • listLeadByOfficeASC

      public static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByOfficeASC(Long officeId, Integer limit, String cursor, Long time)
    • listLeadByOfficeAndType2

      @Deprecated public static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByOfficeAndType2(Long officeId, LeadTypeEnum type, Integer limit, String cursor, Long time)
      Deprecated.
    • listLeadByOfficeAndType

      public static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByOfficeAndType(Long officeId, LeadTypeEnum type, Integer limit, String cursor, Long time)
    • listLeadByOfficeAndTypeDes

      public static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByOfficeAndTypeDes(Long officeId, LeadTypeEnum type, Integer limit, String cursor, Long time)
    • listLeadByOfficeAndUserML2

      @Deprecated public static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByOfficeAndUserML2(Long officeId, Long userMLId, Integer limit, String cursor, Long time)
      Deprecated.
    • listLeadByOfficeAndUserML

      public static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByOfficeAndUserML(Long officeId, Long userMLId, Integer limit, String cursor, Long time)
    • listLeadByPropertyAndType2

      @Deprecated public static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByPropertyAndType2(Long propertyId, String type, Integer limit, String cursor, Long time)
      Deprecated.
    • listLeadByPropertyAndType

      public static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByPropertyAndType(Long propertyId, String type, Integer limit, String cursor, Long time)
    • listLeadByProperty

      public static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByProperty(Long propertyId, Integer limit, String cursor, Long time)
    • listLeadByOfficeFree

      public static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByOfficeFree(Long officeId, Integer limit, String cursor, Long time)
    • listLeadByOfficeDesFree

      public static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByOfficeDesFree(Long officeId, Integer limit, String cursor, Long time)
    • listLeads

      public static List<Lead> listLeads(Long propertyId)