public interface MiddlewareUserManagementService
| Modifier and Type | Method and Description |
|---|---|
int |
countUsersByBranch(String branch)
Counts users by branch
|
UserTO |
create(UserTO user)
Creates a new user
|
UserTO |
findById(String id)
Finds a User by its identifier
|
UserTO |
findByUserLogin(String userLogin)
Finds user by login
|
CustomPageImpl<UserTO> |
getUsersByBranchAndRoles(String branch,
List<UserRoleTO> roles,
String queryParam,
CustomPageableImpl pageable)
Loads list of users by branch and role
|
List<UserTO> |
listUsers(int page,
int size)
Loads paginated user collection
|
void |
updateAccountAccess(ScaInfoTO scaInfo,
String userId,
AccountAccessTO access)
Adds new account for a specific User
|
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 branch, List<UserRoleTO> roles, String queryParam, CustomPageableImpl pageable)
roles - user rolesint countUsersByBranch(String branch)
branch - branchCopyright © 2019. All rights reserved.