Class AccountEndpoint
java.lang.Object
com.maplander.backend.controller.endpoint.base.BaseEndpoint
com.maplander.backend.controller.endpoint.ml.AccountEndpoint
-
Field Summary
Fields inherited from class com.maplander.backend.controller.endpoint.base.BaseEndpoint
log, sessionFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivateSearchML(Long id) activeEmailSubs(Long id) cancelEmailSubs(Long id) createUserML(UserML userML) deleteFavorite(Long id) deleteSearches(Long id) deleteSuggest(Long id) getCompleteProperty(javax.servlet.http.HttpServletRequest request, Long id) getUserById(Long id) listFavoriteByUser(Long userId, Integer limit, String cursor) listProgress(Integer maxModDate, Integer limit, String cursor) listSearchByUser(Long userMLId, Integer limit, String cursor) listSearchByUserId(Long userMLId, Integer limit, String cursor) listSuggest(Long id, String cursor, Integer limit) refreshSuggestBySearchesML(Long userSearchId, String cursor) saveSearch(Integer limit, String cursor, SearchesML search) com.google.api.server.spi.response.CollectionResponse<PropertyLiteSuggest> searchFirstTime(Integer limit, String cursor, SearchesML searchesML) sendSignInLink(String email) signIn(String email, String password, LanguageTypeEnum language, String token, DeviceTypeEnum type) signInWithLink(Long id, String token, DeviceTypeEnum type) updateAndCleanSearchesML(SearchesML searchesML) updateSearch(SearchesML searchesML) updateSuggest(PropertyLiteSuggest propertyLiteSuggest) updateUserML(UserML userML) Methods inherited from class com.maplander.backend.controller.endpoint.base.BaseEndpoint
executeInTransaction, saveLeadAndInfo, saveLeadAndInfo
-
Constructor Details
-
AccountEndpoint
public AccountEndpoint()
-
-
Method Details
-
createUserML
-
updateUserML
-
signIn
public EntityResponse<UserML> signIn(String email, String password, LanguageTypeEnum language, String token, DeviceTypeEnum type) -
signOut
-
sendSignInLink
-
signInWithLink
-
getUserById
-
getCompleteProperty
public EntityResponse<CompleteProperty> getCompleteProperty(javax.servlet.http.HttpServletRequest request, Long id) -
deleteFavorite
-
listFavoriteByUser
-
saveSearch
-
updateSearch
-
updateAndCleanSearchesML
-
listSearchByUser
public EntityCollectionResponse<SearchesML> listSearchByUser(Long userMLId, Integer limit, String cursor) -
archiveSearchesML
-
activateSearchML
-
cancelEmailSubs
-
activeEmailSubs
-
cancelNotifications
-
activeNotification
-
deleteSearches
-
listSearchByUserId
public EntityCollectionResponse<SearchesML> listSearchByUserId(Long userMLId, Integer limit, String cursor) -
listProgress
public EntityCollectionResponse<SearchesMLDAO> listProgress(Integer maxModDate, Integer limit, String cursor) -
updateSuggest
-
searchFirstTime
public com.google.api.server.spi.response.CollectionResponse<PropertyLiteSuggest> searchFirstTime(Integer limit, String cursor, SearchesML searchesML) -
listSuggest
public EntityCollectionResponse<PropertyLiteSuggest> listSuggest(Long id, String cursor, Integer limit) -
refreshSuggestBySearchesML
public EntityCollectionResponse<PropertyLiteSuggest> refreshSuggestBySearchesML(Long userSearchId, String cursor) -
deleteSuggest
-