public interface UserService
| Modifier and Type | Method and Description |
|---|---|
int |
countUsersByBranch(String branch)
Counts amount of users for a branch
|
UserBO |
create(UserBO user)
Creates a new user
|
org.springframework.data.domain.Page<UserBO> |
findByBranchAndUserRolesIn(String branch,
List<UserRoleBO> userRoles,
String queryParam,
org.springframework.data.domain.Pageable pageable)
Loads users collection by branch and the given roles
|
UserBO |
findById(String id)
Finds a User by its identifier
|
UserBO |
findByLogin(String login)
Finds a User by its login
|
List<UserBO> |
findUsersByIban(String iban) |
List<UserBO> |
listUsers(int page,
int size) |
AisConsentBO |
loadConsent(String consentId)
Loads a consent given the consent id.
|
AisConsentBO |
storeConsent(AisConsentBO consentBO)
Stores a consent in the consent database and returns the original consent
if already existing there.
|
UserBO |
updateAccountAccess(String userLogin,
List<AccountAccessBO> accountAccessListBO) |
UserBO |
updateScaData(List<ScaUserDataBO> scaDataList,
String userLogin)
Update SCA methods by user login
|
UserBO |
updateUser(UserBO userBO)
Updates user
|
UserBO create(UserBO user)
user - User business objectUserBO findById(String id)
id - User identifierUserBO findByLogin(String login)
login - User identifierUserBO updateScaData(List<ScaUserDataBO> scaDataList, String userLogin)
scaDataList - user methodsuserLogin - user loginUserBO updateAccountAccess(String userLogin, List<AccountAccessBO> accountAccessListBO)
AisConsentBO storeConsent(AisConsentBO consentBO)
consentBO - the consent objectAisConsentBO loadConsent(String consentId)
consentId - the consent idorg.springframework.data.domain.Page<UserBO> findByBranchAndUserRolesIn(String branch, List<UserRoleBO> userRoles, String queryParam, org.springframework.data.domain.Pageable pageable)
branch - branch IDuserRoles - list of user rolesint countUsersByBranch(String branch)
branch - branchUserBO updateUser(UserBO userBO)
userBO - user to updateCopyright © 2020. All rights reserved.