Package | Description |
---|---|
com.broadleafcommerce.auth.security.service.hydration |
Modifier and Type | Method and Description |
---|---|
static UserRoleAncestryHydrationResponse |
UserRoleAncestryHydrationResponse.error(String errorMessage) |
static UserRoleAncestryHydrationResponse |
UserRoleAncestryHydrationResponse.success(@NonNull List<UserRole> ancestors) |
Modifier and Type | Method and Description |
---|---|
protected List<UserRoleAncestryHydrationResponse> |
DefaultUserRoleAncestryHydrationService.getSuccessfulAndLogErrors(@NonNull Map<String,UserRoleAncestryHydrationResponse> responses)
A convenient method to process the response from
DefaultUserRoleAncestryHydrationService.getWithAllAncestors(Collection) by
logging errors on all roles which failed hydration and returning only the successful
responses. |
Map<String,UserRoleAncestryHydrationResponse> |
UserRoleAncestryHydrationService.getWithAllAncestors(Collection<UserRole> roles)
Fetches all of the given roles' ancestors from the data store and returns a result containing
them and the given roles themselves.
|
Map<String,UserRoleAncestryHydrationResponse> |
DefaultUserRoleAncestryHydrationService.getWithAllAncestors(Collection<UserRole> roles) |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultUserRoleAncestryHydrationService.markComplete(String roleIdToMarkComplete,
UserRoleAncestryHydrationResponse completionResultForRole,
Set<String> roleIdsToRemoveFromInProgress,
Map<String,UserRoleAncestryHydrationResponse> completed) |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultUserRoleAncestryHydrationService.attemptHydrationOfNextAncestor(String inProgressRoleToHydrate,
UserRole highestAncestorThusFar,
List<String> ancestorIdsSeenThusFar,
Set<String> failedToFindRoleIds,
Map<String,UserRole> foundRolesCache,
Set<String> roleIdsToRemoveFromInProgress,
Set<String> roleIdsToFindInDataStore,
Map<String,UserRoleAncestryHydrationResponse> completed) |
protected void |
DefaultUserRoleAncestryHydrationService.markComplete(String roleIdToMarkComplete,
UserRoleAncestryHydrationResponse completionResultForRole,
Set<String> roleIdsToRemoveFromInProgress,
Map<String,UserRoleAncestryHydrationResponse> completed) |
Copyright © 2021. All rights reserved.