Class LeadEndpoint
java.lang.Object
com.maplander.backend.controller.endpoint.base.BaseEndpoint
com.maplander.backend.controller.endpoint.common.LeadEndpoint
-
Field Summary
Fields inherited from class com.maplander.backend.controller.endpoint.base.BaseEndpoint
log, sessionFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncountLeadByOffice(Long officeId) countLeadByUser(Long userId) listFavoritesByProperty(Long propertyId, Integer limit, String cursor) listLeadByOffice(Long officeId, Long userMLId, Integer limit, String cursor) listLeadByOfficeAndType(Long officeId, LeadTypeEnum type, Integer limit, String cursor) listLeadByOfficeAndTypeOrderByDate(Long officeId, LeadTypeEnum type, Boolean asc, Integer limit, String cursor) listLeadByPropertyAndType(Long propertyId, LeadTypeEnum type, Integer limit, String cursor) listLeadByUser(Long userId, LeadTypeEnum type, Integer limit, String cursor, Boolean asc) listLeadInfoByOffice(Long officeId, Integer limit, String cursor) listLeadInfoByOfficeOrder(Long officeId, Integer limit, String cursor) listLedHub(Long propertyId) reassignedLead(Long leadId, Long userId) saveLeadPhase(Long leadId, String phase, Long position) sendLeadHubEmail(Long userId) updateleadRequestIndex(String apiKey, Long officeId, Integer limit, String cursor) Methods inherited from class com.maplander.backend.controller.endpoint.base.BaseEndpoint
executeInTransaction, saveLeadAndInfo, saveLeadAndInfo
-
Constructor Details
-
LeadEndpoint
public LeadEndpoint()
-
-
Method Details
-
listLeadByOffice
-
listLeadByPropertyAndType
public EntityCollectionResponse<Lead> listLeadByPropertyAndType(Long propertyId, LeadTypeEnum type, Integer limit, String cursor) -
listLeadInfoByOffice
public EntityCollectionResponse<LeadInfo> listLeadInfoByOffice(Long officeId, Integer limit, String cursor) -
listLeadInfoByOfficeOrder
public EntityCollectionResponse<LeadInfo> listLeadInfoByOfficeOrder(Long officeId, Integer limit, String cursor) -
listLeadByOfficeAndType
public EntityCollectionResponse<Lead> listLeadByOfficeAndType(Long officeId, LeadTypeEnum type, Integer limit, String cursor) -
listLeadByOfficeAndTypeOrderByDate
public EntityCollectionResponse<Lead> listLeadByOfficeAndTypeOrderByDate(Long officeId, LeadTypeEnum type, Boolean asc, Integer limit, String cursor) -
getLead
-
listFavoritesByProperty
public EntityCollectionResponse<Lead> listFavoritesByProperty(Long propertyId, Integer limit, String cursor) -
listLeadByUser
public EntityCollectionResponse<Lead> listLeadByUser(Long userId, LeadTypeEnum type, Integer limit, String cursor, Boolean asc) -
countLeadByUser
-
countLeadByOffice
-
reassignedLead
-
updateleadRequestIndex
-
listLedHub
-
saveLeadPhase
-
sendLeadHubEmail
-