Class CronEndpoint
java.lang.Object
com.maplander.backend.controller.endpoint.cron.CronEndpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionChangePropertiesToAdminCron
(Long userId) ChangeStatusPropertiesByOfficeId
(String token, Long officeId, String cursor, StatusTypeEnum status) changeUserIdByOffice
(Long officeId) cronInsertMessage
(Integer limit, String cursor) deletePropertyByBrand
(String pass, BrandTypeEnum brand, Integer limit, String cursor) deleteUsersByBrand
(String pass, BrandTypeEnum brand, Integer limit, String cursor) deleteWhatsMessage
(Integer limit, String cursor) emailViews
(String email) getAccountByBrand
(BrandTypeEnum brand, Integer limit, String cursor) getSuggestions
(Long leadId) getUsersByBrand
(BrandTypeEnum brand, Integer limit, String cursor) getUsersChangeToProperties
(Long officeId) ListPropertiesByUserId
(Long userId, Integer limit, String cursor) ListPropertiesByUserIdAndStatus
(Long userId, StatusTypeEnum status, Integer limit, String cursor) putAccountDoc
(Long userId) Return count of notifications sentsendOpinion
(Long leadId) sendRememberLead
(Long leadId) sendSuggestions
(SuggestionsInfo suggestionsInfo) updateLimitPrice
(Double bannerPrice)
-
Constructor Details
-
CronEndpoint
public CronEndpoint()
-
-
Method Details
-
updateLimitPrice
-
putAccountDoc
-
sendNotifications
Return count of notifications sent- Returns:
- DefaultResponse
HttpStatusCode.OK
-
updateSuggest
-
deleteUsersByBrand
public DefaultResponse deleteUsersByBrand(String pass, BrandTypeEnum brand, Integer limit, String cursor) -
deletePropertyByBrand
public DefaultResponse deletePropertyByBrand(String pass, BrandTypeEnum brand, Integer limit, String cursor) -
emailViews
-
getAccountByBrand
public EntityCollectionResponse<AccountLite> getAccountByBrand(BrandTypeEnum brand, Integer limit, String cursor) -
getUsersByBrand
public EntityCollectionResponse<User> getUsersByBrand(BrandTypeEnum brand, Integer limit, String cursor) -
ChangeStatusPropertiesByOfficeId
public EntityCollectionResponse<Long> ChangeStatusPropertiesByOfficeId(String token, Long officeId, String cursor, StatusTypeEnum status) -
deleteWhatsMessage
-
changeUserIdByOffice
-
updateSearchLocationTable
-
listPropertiesToExpire
-
cronInsertMessage
-
sendOpinion
-
sendSuggestions
-
sendRememberLead
-
getSuggestions
-
getUsersChangeToProperties
-
listAllUserToClean
-
ChangePropertiesToAdminCron
-
ListPropertiesByUserIdAndStatus
public EntityCollectionResponse<PropertyIds> ListPropertiesByUserIdAndStatus(Long userId, StatusTypeEnum status, Integer limit, String cursor) -
ListPropertiesByUserId
public EntityCollectionResponse<PropertyIds> ListPropertiesByUserId(Long userId, Integer limit, String cursor)
-