Uses of Class
com.broadleafcommerce.auth.resource.domain.AccountRole
Packages that use AccountRole
Package
Description
-
Uses of AccountRole in com.broadleafcommerce.auth.resource.domain
Methods in com.broadleafcommerce.auth.resource.domain that return types with arguments of type AccountRoleModifier and TypeMethodDescriptionUser.getAccountRoles()
Roles this user has under specific Account contexts.Method parameters in com.broadleafcommerce.auth.resource.domain with type arguments of type AccountRoleModifier and TypeMethodDescriptionvoid
User.setAccountRoles
(List<AccountRole> accountRoles) Roles this user has under specific Account contexts. -
Uses of AccountRole in com.broadleafcommerce.auth.security.service
Classes in com.broadleafcommerce.auth.security.service with type parameters of type AccountRoleModifier 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> Methods in com.broadleafcommerce.auth.security.service that return types with arguments of type AccountRoleModifier 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
Methods in com.broadleafcommerce.auth.user.messaging that return types with arguments of type AccountRoleModifier and TypeMethodDescriptionprotected AccountRoleService<AccountRole>
CartApprovalRequestEventListener.getAccountRoleService()
Constructor parameters in com.broadleafcommerce.auth.user.messaging with type arguments of type AccountRoleModifierConstructorDescriptionCartApprovalRequestEventListener
(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
Method parameters in com.broadleafcommerce.auth.user.messaging.autoconfigure with type arguments of type AccountRoleModifier 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
Methods in com.broadleafcommerce.auth.user.service that return AccountRoleModifier and TypeMethodDescriptionprotected AccountRole
DefaultAccountMemberRoleChangeRequestHandler.buildAccountRole
(String accountId, String userId, UserRole role, boolean active) Build anAccountRole
from account id, user, and role.Methods in com.broadleafcommerce.auth.user.service that return types with arguments of type AccountRoleModifier 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.Method parameters in com.broadleafcommerce.auth.user.service with type arguments of type AccountRoleModifier 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.Constructor parameters in com.broadleafcommerce.auth.user.service with type arguments of type AccountRoleModifierConstructorDescriptionDefaultAccountUpdateRequestHandler
(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
Methods in com.broadleafcommerce.auth.user.service.autoconfigure that return types with arguments of type AccountRoleModifier 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) Method parameters in com.broadleafcommerce.auth.user.service.autoconfigure with type arguments of type AccountRoleModifier and TypeMethodDescriptionAuthServiceServiceAutoConfiguration.accountStatusChangeRequestHandler
(AccountRoleService<AccountRole> accountRoleService, CustomerAccountService<CustomerAccount> customerAccountService, UserService<User> userService, com.broadleafcommerce.common.extension.TypeFactory typeFactory)