Uses of Class
com.broadleafcommerce.customer.domain.AccountPermissionRef
-
Packages that use AccountPermissionRef Package Description com.broadleafcommerce.customer.domain com.broadleafcommerce.customer.service com.broadleafcommerce.customer.service.validation.support -
-
Uses of AccountPermissionRef in com.broadleafcommerce.customer.domain
Methods in com.broadleafcommerce.customer.domain that return AccountPermissionRef Modifier and Type Method Description AccountPermissionRef
AccountPermissionRef. fromAccountPermission(AccountPermission accountPermission)
Builds anAccountPermissionRef
based on the providedAccountPermission
Methods in com.broadleafcommerce.customer.domain that return types with arguments of type AccountPermissionRef Modifier and Type Method Description Set<AccountPermissionRef>
AccountRole. getPermissions()
The permissions directly assigned to this role.Method parameters in com.broadleafcommerce.customer.domain with type arguments of type AccountPermissionRef Modifier and Type Method Description void
AccountRole. setPermissions(Set<AccountPermissionRef> permissions)
The permissions directly assigned to this role. -
Uses of AccountPermissionRef in com.broadleafcommerce.customer.service
Methods in com.broadleafcommerce.customer.service that return types with arguments of type AccountPermissionRef Modifier and Type Method Description Set<AccountPermissionRef>
AccountPermissionHydrationService. hydratePermissionReferences(Set<AccountPermissionRef> toHydrate, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Queries for each element intoHydrate
in the data store.Method parameters in com.broadleafcommerce.customer.service with type arguments of type AccountPermissionRef Modifier and Type Method Description Set<AccountPermissionRef>
AccountPermissionHydrationService. hydratePermissionReferences(Set<AccountPermissionRef> toHydrate, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Queries for each element intoHydrate
in the data store. -
Uses of AccountPermissionRef in com.broadleafcommerce.customer.service.validation.support
Method parameters in com.broadleafcommerce.customer.service.validation.support with type arguments of type AccountPermissionRef Modifier and Type Method Description static void
ValidationSupport. validateAllPermissionsHaveIdAndName(Collection<AccountPermissionRef> permissionRefs, org.springframework.validation.Errors errors, String permissionsFieldNameOnParent, String missingIdErrorCode, String missingNameErrorCode)
This validation serves purely to guarantee that each reference has an id and name.static void
ValidationSupport. validateAllPermissionsNonNullAndHaveId(Collection<AccountPermissionRef> permissionRefs, org.springframework.validation.Errors errors, String permissionsFieldNameOnParent, String nullPermissionErrorCode, String missingIdErrorCode)
This validation serves purely to guarantee that each reference is not null and has an id.
-