public interface MiddlewareUserManagementService
| Modifier and Type | Method and Description |
|---|---|
boolean |
changeStatus(String userId,
boolean systemBlock) |
boolean |
checkMultilevelScaRequired(String login,
List<AccountReferenceTO> references) |
boolean |
checkMultilevelScaRequired(String login,
String iban) |
int |
countUsersByBranch(String branch)
Counts users by branch
|
UserTO |
create(UserTO user)
Creates a new user
|
void |
editBasicSelf(String userId,
UserTO user) |
UserTO |
findById(String id)
Finds a User by its identifier
|
UserTO |
findByUserLogin(String userLogin)
Finds user by login
|
List<AdditionalAccountInformationTO> |
getAdditionalInformation(ScaInfoTO scaInfoHolder,
AccountIdentifierTypeTO accountIdentifierType,
String accountIdentifier) |
List<String> |
getBranchUserLogins(String branch)
Returns list of logins for users (role = CUSTOMER) within the given branch.
|
CustomPageImpl<UserTO> |
getUsersByBranchAndRoles(String countryCode,
String branchId,
String branchLogin,
String userLogin,
List<UserRoleTO> roles,
Boolean blocked,
CustomPageableImpl pageable)
Loads list of users by branch and role
|
CustomPageImpl<UserExtendedTO> |
getUsersByBranchAndRolesExtended(String countryCode,
String branchId,
String branchLogin,
String userLogin,
List<UserRoleTO> roles,
Boolean blocked,
CustomPageableImpl pageable)
Loads list of users by branch and role
|
CustomPageImpl<UserTO> |
getUsersByRoles(List<UserRoleTO> roles,
CustomPageableImpl pageable) |
List<UserTO> |
listUsers(int page,
int size)
Loads paginated user collection
|
void |
revertDatabase(String userId,
long recoveryPointId) |
void |
updateAccountAccess(ScaInfoTO scaInfo,
String userId,
AccountAccessTO access)
Adds new account for a specific User
|
void |
updatePassword(String userId,
String password) |
UserTO |
updateScaData(String userLogin,
List<ScaUserDataTO> scaDataList)
Update SCA methods by user login
|
UserTO |
updateUser(String branchId,
UserTO user) |
UserTO create(UserTO user)
user - User transfer objectUserTO findById(String id)
id - User identifierUserTO findByUserLogin(String userLogin)
userLogin - users loginUserTO updateScaData(String userLogin, List<ScaUserDataTO> scaDataList)
scaDataList - user methodsuserLogin - user loginvoid updateAccountAccess(ScaInfoTO scaInfo, String userId, AccountAccessTO access)
scaInfo - container for TPP data from access tokenuserId - user idaccess - Access to an accountList<UserTO> listUsers(int page, int size)
page - page numbersize - size of the pageCustomPageImpl<UserTO> getUsersByBranchAndRoles(String countryCode, String branchId, String branchLogin, String userLogin, List<UserRoleTO> roles, Boolean blocked, CustomPageableImpl pageable)
countryCode - Country Coderoles - user rolesList<String> getBranchUserLogins(String branch)
branch - branch ID.CustomPageImpl<UserTO> getUsersByRoles(List<UserRoleTO> roles, CustomPageableImpl pageable)
CustomPageImpl<UserExtendedTO> getUsersByBranchAndRolesExtended(String countryCode, String branchId, String branchLogin, String userLogin, List<UserRoleTO> roles, Boolean blocked, CustomPageableImpl pageable)
countryCode - Country Coderoles - user rolesint countUsersByBranch(String branch)
branch - branchboolean checkMultilevelScaRequired(String login, List<AccountReferenceTO> references)
List<AdditionalAccountInformationTO> getAdditionalInformation(ScaInfoTO scaInfoHolder, AccountIdentifierTypeTO accountIdentifierType, String accountIdentifier)
boolean changeStatus(String userId, boolean systemBlock)
void revertDatabase(String userId, long recoveryPointId)
Copyright © 2021. All rights reserved.