Uses of Class
com.broadleafcommerce.auth.resource.domain.Restriction
Packages that use Restriction
Package
Description
-
Uses of Restriction in com.broadleafcommerce.auth.resource.domain
Methods in com.broadleafcommerce.auth.resource.domain that return RestrictionModifier and TypeMethodDescriptionRestrictedPermission.getRestriction()Represents the restriction on this permission.RestrictedRole.getRestriction()Represents the restriction on this role.Methods in com.broadleafcommerce.auth.resource.domain that return types with arguments of type RestrictionModifier and TypeMethodDescriptionAccountMemberRestrictionUpdateEvent.getRestrictions()The data restrictions that control the data this user is permitted to access.User.getRestrictions()The data restrictions that control the data this user is permitted to access.Methods in com.broadleafcommerce.auth.resource.domain with parameters of type RestrictionModifier and TypeMethodDescriptionvoidRestrictedPermission.setRestriction(Restriction restriction) Represents the restriction on this permission.voidRestrictedRole.setRestriction(Restriction restriction) Represents the restriction on this role.Method parameters in com.broadleafcommerce.auth.resource.domain with type arguments of type RestrictionModifier and TypeMethodDescriptionvoidAccountMemberRestrictionUpdateEvent.setRestrictions(Set<Restriction> restrictions) The data restrictions that control the data this user is permitted to access.voidUser.setRestrictions(Set<Restriction> restrictions) The data restrictions that control the data this user is permitted to access. -
Uses of Restriction in com.broadleafcommerce.auth.security.service
Methods in com.broadleafcommerce.auth.security.service that return types with arguments of type RestrictionModifier and TypeMethodDescriptionprotected Set<Restriction>DefaultPrivilegeService.getRelevantUserRestrictions(@NonNull User user) Gets a set of user restrictions that are relevant based on the current account context.DefaultPrivilegeService.PrivilegeHydrationResult.getRestrictions()Methods in com.broadleafcommerce.auth.security.service with parameters of type RestrictionModifier and TypeMethodDescriptionprotected voidDefaultPrivilegeService.addRestrictionByExpandedPermissionNames(@NonNull Map<String, Map<String, Set<String>>> restrictionTypeAndTargetsByPermissionName, @NonNull Restriction restriction, @NonNull String permissionName) Add both ALL_* permissions and expanded CRUD_* permissions with the given restriction to the map.protected voidDefaultPrivilegeService.addRestrictionToMap(@NonNull Map<String, Set<String>> map, @NonNull Restriction restriction) AddRestrictiontargets to the given Map by restriction type.protected booleanDefaultPrivilegeService.restrictionMatchesAccountContext(@NonNull Restriction restriction, String currentAccountIdContext) Determines whether the given restriction applies to the current account context.Method parameters in com.broadleafcommerce.auth.security.service with type arguments of type RestrictionModifier and TypeMethodDescriptionDefaultPrivilegeService.getRestrictionTargetsByRestrictionType(@NonNull Set<Restriction> restrictions) PrivilegeService.getRestrictionTargetsByRestrictionType(@NonNull Set<Restriction> restrictions) Converts the Set ofRestrictionto a Map with the structure of: {restrictionType: [restrictionTargets]}.voidDefaultPrivilegeService.PrivilegeHydrationResult.setRestrictions(Set<Restriction> restrictions) -
Uses of Restriction in com.broadleafcommerce.auth.user.listener
Methods in com.broadleafcommerce.auth.user.listener that return RestrictionModifier and TypeMethodDescriptionprotected RestrictionAdminUserPersistenceHandler.toAuthRestriction(AdminRestriction adminRestriction) protected RestrictionAdminUserPersistenceHandler.toAuthRestriction(String restrictionType, Set<String> restrictionTargets) -
Uses of Restriction in com.broadleafcommerce.auth.user.messaging
Methods in com.broadleafcommerce.auth.user.messaging that return types with arguments of type RestrictionModifier and TypeMethodDescriptionAccountUserManuallyCreatedEvent.getRestrictions()The restrictions that this account user has.Method parameters in com.broadleafcommerce.auth.user.messaging with type arguments of type RestrictionModifier and TypeMethodDescriptionvoidAccountUserManuallyCreatedEvent.setRestrictions(Set<Restriction> restrictions) The restrictions that this account user has. -
Uses of Restriction in com.broadleafcommerce.auth.user.service
Method parameters in com.broadleafcommerce.auth.user.service with type arguments of type RestrictionModifier and TypeMethodDescriptionprotected booleanDefaultAccountMemberRestrictionChangeRequestHandler.areRestrictionsEqual(@NonNull Set<Restriction> existingRestrictions, @NonNull Set<Restriction> newRestrictions) Checks if the existing and new restriction sets are equal.