Uses of Class
com.broadleafcommerce.auth.resource.domain.AccountRole
Package
Description
-
Uses of AccountRole in com.broadleafcommerce.auth.resource.domain
Modifier and TypeMethodDescriptionUser.getAccountRoles()
Roles this user has under specific Account contexts.Modifier and TypeMethodDescriptionvoid
User.setAccountRoles
(List<AccountRole> accountRoles) Roles this user has under specific Account contexts. -
Uses of AccountRole in com.broadleafcommerce.auth.security.service
Modifier and TypeInterfaceDescriptioninterface
AccountRoleService<P extends AccountRole>
Methods to read and updateAccountRoles
.class
DefaultAccountRoleService<P extends AccountRole,
D extends com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware & com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable> Modifier and TypeMethodDescriptionAccountAncestorService.getAllUserRolesForAccount
(User user, String accountId) Gets all the user'sAccountRoles
given anaccountId
including inherited roles from ancestor accounts.DefaultAccountAncestorService.getAllUserRolesForAccount
(User user, String accountId) -
Uses of AccountRole in com.broadleafcommerce.auth.user.messaging
Modifier and TypeMethodDescriptionprotected AccountRoleService<AccountRole>
CartApprovalRequestEventListener.getAccountRoleService()
ModifierConstructorDescriptionCartApprovalRequestEventListener
(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, UserService<User> userService, UserRoleService<UserRole> userRoleService, AccountRoleService<AccountRole> accountRoleService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, CartApprovalRequestNotificationProducer cartApprovalRequestNotificationProducer, AccountAncestorService accountAncestorService) -
Uses of AccountRole in com.broadleafcommerce.auth.user.messaging.autoconfigure
Modifier and TypeMethodDescriptionAuthUserMessagingAutoConfiguration.cartApprovalRequestEventListener
(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, UserService<User> userService, UserRoleService<UserRole> userRoleService, AccountRoleService<AccountRole> accountRoleService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, CartApprovalRequestNotificationProducer cartApprovalRequestNotificationProducer, AccountAncestorService accountAncestorService) -
Uses of AccountRole in com.broadleafcommerce.auth.user.service
Modifier and TypeMethodDescriptionprotected AccountRole
DefaultAccountMemberRoleChangeRequestHandler.buildAccountRole
(String accountId, String userId, UserRole role, boolean active) Build anAccountRole
from account id, user, and role.Modifier and TypeMethodDescriptionprotected List<AccountRole>
DefaultAccountMemberRoleChangeRequestHandler.buildAccountRolesList
(String accountId, String userId, Set<String> newRoleIdsForAccount, boolean accountIsActive) Transforms role IDs intoAccount Roles
.protected AccountRoleService<AccountRole>
DefaultAccountUpdateRequestHandler.getAccountRoleService()
protected List<AccountRole>
DefaultAccountMemberRoleChangeRequestHandler.getNewRolesForAccount
(AccountMemberRoleChangeRequest request) Build the list of AccountRoles from the updated AccountMember.protected List<AccountRole>
DefaultAccountMemberRoleChangeRequestHandler.getRolesForAccount
(List<AccountRole> accountRoles, String accountId) Get all of a user'sAccountRoles
for a particular account.Modifier and TypeMethodDescriptionprotected List<AccountRole>
DefaultAccountMemberRoleChangeRequestHandler.getRolesForAccount
(List<AccountRole> accountRoles, String accountId) Get all of a user'sAccountRoles
for a particular account.protected boolean
DefaultAccountMemberRoleChangeRequestHandler.shouldUpdateRoles
(List<AccountRole> existingRolesForAccount, List<AccountRole> newRolesForAccount) Sort the lists ofAccountRoles
by role id and then compare.ModifierConstructorDescriptionDefaultAccountUpdateRequestHandler
(AccountRoleService<AccountRole> accountRoleService, CustomerAccountService<CustomerAccount> customerAccountService, UserService<User> userService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of AccountRole in com.broadleafcommerce.auth.user.service.autoconfigure
Modifier and TypeMethodDescription<D extends com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware & com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable>
AccountRoleService<AccountRole>AuthServiceServiceAutoConfiguration.accountRoleService
(AccountRoleRepository<D> repository, SimplePayloadMapper mapper) Modifier and TypeMethodDescriptionAuthServiceServiceAutoConfiguration.accountStatusChangeRequestHandler
(AccountRoleService<AccountRole> accountRoleService, CustomerAccountService<CustomerAccount> customerAccountService, UserService<User> userService, com.broadleafcommerce.common.extension.TypeFactory typeFactory)