Class AccountEndpoint
java.lang.Object
com.maplander.backend.controller.endpoint.mlsuniversal.AccountEndpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchangeOfficeHierarchy
(Long officeToMoveId, Long targetParentId, String brandName, Integer limit, String cursor) changeStatusMasterAccount
(Long masterAccountId, Boolean status) changeStatusOrganization
(Long organizationId, Boolean status) changeStatusPartner
(Long partnerId, Boolean status) createAccountMLSUniversal
(String officeName, String brandName, Long parentOfficeId, MLSAccountTypeEnum level, String userName, String userLastName) createMasterAccount
(MasterAccount masterAccount) createOrganization
(Organization organization) createOrganizationDefault
(String name, Long masterAccountId, FileCS logo) createPartner
(Partner partner) createPartnerDefault
(String name, String lastName, Long organizationId) deleteMasterAccount
(Long masterAccountId) deleteOrganizationById
(Long organizationId) deletePartner
(Long partnerId) hasDependencies
(Long accountId) listAccountMlsUniversal
(Long targetParentId, MLSAccountTypeEnum type) listOrganization
(Long masterAccountId) listPartner
(Long organizationId) logInMLSUniversal
(String email, String sHash) moveAccountMlsUniversal
(Long accountId, Long targetParentId, Long substituteId) searchAccountMlsUniversal
(String word, MLSAccountTypeEnum type) sendTokenMasterAccount
(Long masterAccountId) sendTokenOrganization
(Long organizationId) sendTokenPartner
(Long partnerId) switchOfficeHierarchy
(Long officeIdA, Long officeIdB, Integer limit, String cursor) static void
switchPermisUserMlsUniversal
(Long officeAId, Long officeBId) updateAccount
(javax.servlet.http.HttpServletRequest request, DeviceTypeEnum deviceType, PartnerAccount partnerAccount)
-
Constructor Details
-
AccountEndpoint
public AccountEndpoint()
-
-
Method Details
-
updateAccount
public EntityResponse<PartnerAccount> updateAccount(javax.servlet.http.HttpServletRequest request, DeviceTypeEnum deviceType, PartnerAccount partnerAccount) -
createMasterAccountDefault
-
createOrganizationDefault
public EntityResponse<OrganizationSHash> createOrganizationDefault(String name, Long masterAccountId, FileCS logo) -
createPartnerDefault
public EntityResponse<PartnerSHash> createPartnerDefault(String name, String lastName, Long organizationId) -
createAccountMLSUniversal
public EntityResponse<OfficeSHash> createAccountMLSUniversal(String officeName, String brandName, Long parentOfficeId, MLSAccountTypeEnum level, String userName, String userLastName) -
logInMC
-
logInOrg
-
logInSo
-
logInMLSUniversal
-
createMasterAccount
-
createOrganization
-
createPartner
-
listMasterAccount
-
listOrganization
-
listPartner
-
deleteMasterAccount
-
deletePartner
-
sendTokenOrganization
-
deleteOrganizationById
-
sendTokenMasterAccount
-
sendTokenPartner
-
changeStatusPartner
-
changeStatusOrganization
-
changeStatusMasterAccount
-
switchOfficeHierarchy
-
switchPermisUserMlsUniversal
-
changeOfficeHierarchy
-
searchAccountMlsUniversal
public EntityCollectionResponse<Account> searchAccountMlsUniversal(String word, MLSAccountTypeEnum type) -
listAccountMlsUniversal
public EntityCollectionResponse<Account> listAccountMlsUniversal(Long targetParentId, MLSAccountTypeEnum type) -
moveAccountMlsUniversal
public DefaultResponse moveAccountMlsUniversal(Long accountId, Long targetParentId, Long substituteId) -
hasDependencies
-