Uses of Class
com.broadleafcommerce.auth.resource.domain.UserPermission
Package
Description
-
Uses of UserPermission in com.broadleafcommerce.auth.resource.service.validation
Modifier and TypeMethodDescriptionprotected UserPermissionService<UserPermission>
UserRoleValidator.getPermissionService()
protected UserPermissionService<UserPermission>
UserValidator.getPermissionService()
Modifier and TypeMethodDescriptionvoid
UserValidator.setPermissionService
(UserPermissionService<UserPermission> permissionService) void
UserRoleValidator.setUserPermissionService
(UserPermissionService<UserPermission> permissionService) protected void
UserRoleValidator.validateAccountPermissions
(UserRole userRole, org.springframework.validation.Errors errors, Set<UserPermission> rolePermissions) Validates that an account based role only has account permissions and that non-account roles do not have account permissions.protected void
UserRoleValidator.validateUserAssignablePermissions
(UserRole userRole, org.springframework.validation.Errors errors, Set<UserPermission> permissions) Validates that permissions that are notuser assignable
are not assigned to the role. -
Uses of UserPermission in com.broadleafcommerce.auth.resource.web.endpoint
Modifier and TypeMethodDescriptionUserPermissionEndpoint.createPermission
(UserPermission req) UserPermissionEndpoint.readPermission
(String id) UserPermissionEndpoint.replacePermission
(String id, UserPermission req) Modifier and TypeMethodDescriptionprotected UserPermissionService<UserPermission>
UserPermissionEndpoint.getUserPermissionService()
org.springframework.data.domain.Page<UserPermission>
UserPermissionEndpoint.readAllPermissions
(String query, boolean accountPermission, boolean includeNonUserAssignablePermissions, org.springframework.data.domain.Pageable page) UserPermissionEndpoint.readByIds
(Collection<String> ids) Modifier and TypeMethodDescriptionUserPermissionEndpoint.createPermission
(UserPermission req) UserPermissionEndpoint.replacePermission
(String id, UserPermission req) ModifierConstructorDescriptionUserPermissionEndpoint
(UserPermissionService<UserPermission> userPermissionService) -
Uses of UserPermission in com.broadleafcommerce.auth.security.service
Modifier and TypeClassDescriptionclass
DefaultUserPermissionService<P extends UserPermission,
D extends com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware & com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable> interface
UserPermissionService<P extends UserPermission>
Provides CRUD management operations onUserPermission
.Modifier and TypeMethodDescriptionDefaultUserPermissionService.findByIdsAndNotArchived
(Collection<String> ids) UserPermissionService.findByIdsAndNotArchived
(Collection<String> ids) -
Uses of UserPermission in com.broadleafcommerce.auth.user.listener
Modifier and TypeMethodDescriptionprotected UserPermission
AdminPermissionPersistenceHandler.buildUserPermissionForCreate
(String id, AdminPermission request, Instant lastUpdated) Modifier and TypeMethodDescriptionprotected UserPermissionService<UserPermission>
AdminPermissionPersistenceHandler.getUserPermissionService()
Modifier and TypeMethodDescriptionprotected void
AdminPermissionPersistenceHandler.mapUpdatesFromRequest
(AdminPermission request, UserPermission target) protected void
AdminPermissionPersistenceHandler.modifyForArchival
(UserPermission target) Mimic whatUserPermissionService.archive(String)
would do to mark this record as archived.protected void
AdminPermissionPersistenceHandler.performArchivalReplacementIfEligible
(@NonNull String entityId, @NonNull UserPermission existing, @NonNull Instant changeTimestamp) protected void
AdminPermissionPersistenceHandler.performReplacementIfEligible
(@NonNull String entityId, @NonNull UserPermission existing, @NonNull AdminPermission request, @NonNull Instant changeTimestamp) protected void
AdminPermissionPersistenceHandler.updatePermissionInfo
(AdminPermission request, UserPermission permission) protected void
AdminPermissionPersistenceHandler.updatePermissionTenantRestrictions
(AdminPermission request, UserPermission permission) ModifierConstructorDescriptionAdminPermissionPersistenceHandler
(UserPermissionService<UserPermission> userPermissionService, com.fasterxml.jackson.databind.ObjectMapper mapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of UserPermission in com.broadleafcommerce.auth.user.listener.autoconfigure
Modifier and TypeMethodDescriptionAuthDataUpdatePersistenceHandlerAutoConfiguration.adminPermissionPersistenceHandler
(UserPermissionService<UserPermission> userPermissionService, com.fasterxml.jackson.databind.ObjectMapper mapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of UserPermission 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>
UserPermissionService<UserPermission>AuthServiceServiceAutoConfiguration.userPermissionService
(UserPermissionRepository<D> permissionRepository, com.broadleafcommerce.data.tracking.core.mapping.validation.EntityValidatorManager validatorManager, SimplePayloadMapper simplePayloadMapper)