Class LeadDAO
java.lang.Object
com.maplander.backend.dao.BaseDAO
com.maplander.backend.dao.manage.lead.LeadDAO
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intcountLeadByOfficeRequested(Long officeId) static intcountLeadByUserRequested(Long userId) static intcountLeadsByAssignedUserAndProperty(Long assignedUserId, Long propertyId) static IntegercountLeadsByProperty(Long propertyId, Long initDate, Long endDate) static LeadgetLeadByClientAndProperty(Long clientId, Long propertyId) static booleanleadExist(Long propertyId, Long userMLId, LeadTypeEnum type) listAllByOffice(Long officeId) static com.google.api.server.spi.response.CollectionResponse<Lead> listFavorites(Long userMLId, LeadTypeEnum typeEnum, Integer limit, String cursor, Long time) static com.google.api.server.spi.response.CollectionResponse<Lead> listInfoRequestsAsc(Long officeId, Integer limit, String cursor, Long time) static com.google.api.server.spi.response.CollectionResponse<Lead> listInfoRequestsDesc(Long officeId, Integer limit, String cursor, Long time) listLeadByClient(Long clientId) static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByClient(Long clientId, Integer limit, String cursor, Long time) static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByOffice(Long officeId, Integer limit, String cursor, Long time) Deprecated.static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByOffice2(Long officeId, Integer limit, String cursor, Long time) static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByOfficeAndType(Long officeId, LeadTypeEnum type, Integer limit, String cursor, Long time) static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByOfficeAndType2(Long officeId, LeadTypeEnum type, Integer limit, String cursor, Long time) Deprecated.static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByOfficeAndTypeDes(Long officeId, LeadTypeEnum type, Integer limit, String cursor, Long time) static com.google.api.server.spi.response.CollectionResponse<Lead> static com.google.api.server.spi.response.CollectionResponse<Lead> Deprecated.static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByOfficeASC(Long officeId, Integer limit, String cursor, Long time) static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByOfficeDesFree(Long officeId, Integer limit, String cursor, Long time) static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByOfficeFree(Long officeId, Integer limit, String cursor, Long time) static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByProperty(Long propertyId, Integer limit, String cursor, Long time) static com.google.api.server.spi.response.CollectionResponse<Lead> static com.google.api.server.spi.response.CollectionResponse<Lead> Deprecated.static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByUser(Long userId, Integer limit, String cursor, Long time) static com.google.api.server.spi.response.CollectionResponse<Lead> static com.google.api.server.spi.response.CollectionResponse<Lead> static com.google.api.server.spi.response.CollectionResponse<Lead> listLeadByUserDes(Long userId, Integer limit, String cursor, Long time) listLeadsByAssignedUserAndProperty(Long assignedUserId, Long propertyId) listLeadsByEmailAndProperty(String email, Long propertyId) static Leadstatic voidMethods inherited from class com.maplander.backend.dao.BaseDAO
buildCollectionResponse, delete, delete, deleteMany, deleteMany, deleteManyNow, getOfy, list, load, load, load, queryDefault, save, saveMany, saveManyNow
-
Field Details
-
clazz
-
-
Constructor Details
-
LeadDAO
public LeadDAO()
-
-
Method Details
-
load
-
leadExist
-
listFavorites
-
listLeadByOffice
-
listLeadByOffice2
-
listLeadByOfficeASC
-
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
-
listLeadByOfficeAndTypeDes
-
listLeadByOfficeAndUserML2
-
listLeadByOfficeAndUserML
-
listLeadByPropertyAndType2
-
listLeadByPropertyAndType
-
listLeadByProperty
-
listInfoRequestsAsc
-
listInfoRequestsDesc
-
listLeadByOfficeFree
-
listLeadByOfficeDesFree
-
listLeads
-
listLeadByUser
-
listLeadByUserDes
-
listLeadByClient
-
listLeadByClient
-
listLeadByUserAndType
-
listLeadByUserAndTypeDes
-
countLeadsByProperty
-
listLeadsByEmailAndProperty
-
saveLeads
-
getLeadByClientAndProperty
-
countLeadsByAssignedUserAndProperty
-
listLeadsByAssignedUserAndProperty
-
countLeadByOfficeRequested
-
countLeadByUserRequested
-
listAllByOffice
-