Class AccountEndpoint
java.lang.Object
com.maplander.backend.controller.endpoint.base.BaseEndpoint
com.maplander.backend.controller.endpoint.opi.AccountEndpoint
-
Field Summary
Fields inherited from class com.maplander.backend.controller.endpoint.base.BaseEndpoint
log, sessionFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncancelSubscription(Long officeId) createUser(String token, DeviceTypeEnum type, User user) createUserInOffice(User user) deleteBlob(String blobName) deleteUserAndOffice(String email) getUserAndOffice(Long userId) getUserById(Long id) listAllAdmin(Integer limit, String cursor) listUserByOffice(Long officeId) recoverPassword(String email) signIn(String email, String password, String token, DeviceTypeEnum type, LanguageTypeEnum language) signInSocial(String token, DeviceTypeEnum type, User user) signInWithLink(TransactionTypeEnum type, String hash, String token, DeviceTypeEnum deviceType, LanguageTypeEnum language) updateAccount(Account account) updateOfficeAndUserOPI(Account account) userExists(String email) validateUser(String email) Methods inherited from class com.maplander.backend.controller.endpoint.base.BaseEndpoint
executeInTransaction, saveLeadAndInfo, saveLeadAndInfo
-
Constructor Details
-
AccountEndpoint
public AccountEndpoint()
-
-
Method Details
-
signInWithLink
public EntityResponse<Account> signInWithLink(TransactionTypeEnum type, String hash, String token, DeviceTypeEnum deviceType, LanguageTypeEnum language) -
recoverPassword
-
validateUser
-
validateUserInOffice
-
signIn
public EntityResponse<Account> signIn(String email, String password, String token, DeviceTypeEnum type, LanguageTypeEnum language) -
createUser
-
createUserInOffice
-
listUserByOffice
-
deleteUserInOffice
-
signInSocial
-
deleteUserAndOffice
-
signOut
-
getUserAndOffice
-
updateOfficeAndUserOPI
-
getOffice
-
cancelSubscription
-
getUserById
-
updateAccount
-
userExists
-
listAllAdmin
-
deleteBlob
-