Uses of Class
com.broadleafcommerce.customer.domain.AccountRole
-
-
Uses of AccountRole in com.broadleafcommerce.customer.domain
Methods in com.broadleafcommerce.customer.domain with parameters of type AccountRole Modifier and Type Method Description AccountRoleRef
AccountRoleRef. fromAccountRole(AccountRole accountRole)
Builds anAccountRoleRef
based on the providedAccountRole
-
Uses of AccountRole in com.broadleafcommerce.customer.service
Classes in com.broadleafcommerce.customer.service with type parameters of type AccountRole Modifier and Type Interface Description interface
AccountRoleService<P extends AccountRole>
Service API for management ofAccountRole
.class
DefaultAccountRoleService<P extends AccountRole>
Default implementation of theAccountRoleService
.Methods in com.broadleafcommerce.customer.service that return types with arguments of type AccountRole Modifier and Type Method Description protected AccountRoleService<AccountRole>
DefaultAccountMemberService. getAccountRoleService()
Constructor parameters in com.broadleafcommerce.customer.service with type arguments of type AccountRole Constructor Description DefaultAccountMemberService(AccountMemberRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, AccountService<Account> accountService, CustomerService<Customer> customerService, AccountRoleService<AccountRole> accountRoleService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper)
-
Uses of AccountRole in com.broadleafcommerce.customer.service.autoconfigure
Methods in com.broadleafcommerce.customer.service.autoconfigure that return types with arguments of type AccountRole Modifier and Type Method Description AccountRoleContextValidator<AccountRole>
CustomerServiceValidationConfiguration. accountRoleContextValidator()
-
Uses of AccountRole in com.broadleafcommerce.customer.service.validation
Classes in com.broadleafcommerce.customer.service.validation with type parameters of type AccountRole Modifier and Type Interface Description interface
AccountRoleContextValidator<P extends AccountRole>
Various context-related validation functions for use when performing CRUD operations related to an account role.class
DefaultAccountRoleContextValidator<P extends AccountRole>
Default validator for use onAccountRole
creation/modification/deletion.Methods in com.broadleafcommerce.customer.service.validation that return types with arguments of type AccountRole Modifier and Type Method Description protected AccountRoleService<AccountRole>
AccountRoleValidator. getAccountRoleService()
Methods in com.broadleafcommerce.customer.service.validation with parameters of type AccountRole Modifier and Type Method Description protected void
AccountRoleValidator. validateParentRoleId(@NonNull AccountRole role, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, @NonNull org.springframework.validation.Errors errors)
At a minimum level,DefaultAccountRoleContextValidator
validates that the direct parent of the role (if specified) ingetParentRoleId()
exists and is accessible from the child's context.protected void
AccountRoleValidator. validatePermissions(@NonNull AccountRole role, @NonNull org.springframework.validation.Errors errors)
Permissions are validated for existence and accessibility by theDefaultAccountRoleContextValidator
.Method parameters in com.broadleafcommerce.customer.service.validation with type arguments of type AccountRole Modifier and Type Method Description void
AccountRoleValidator. setAccountRoleService(AccountRoleService<AccountRole> accountRoleService)
Lazy injection since this validator is itself a service component. -
Uses of AccountRole in com.broadleafcommerce.customer.web.endpoint
Methods in com.broadleafcommerce.customer.web.endpoint that return AccountRole Modifier and Type Method Description AccountRole
AccountRoleEndpoint. createRole(AccountRole role, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
AccountRole
AccountRoleEndpoint. getRole(String roleId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
AccountRole
AccountRoleEndpoint. replaceRole(String roleId, AccountRole role, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Methods in com.broadleafcommerce.customer.web.endpoint that return types with arguments of type AccountRole Modifier and Type Method Description protected AccountRoleService<AccountRole>
AccountRoleEndpoint. getAccountRoleService()
org.springframework.data.domain.Page<AccountRole>
AccountRoleEndpoint. readAllRoles(String name, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Methods in com.broadleafcommerce.customer.web.endpoint with parameters of type AccountRole Modifier and Type Method Description AccountRole
AccountRoleEndpoint. createRole(AccountRole role, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
AccountRole
AccountRoleEndpoint. replaceRole(String roleId, AccountRole role, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Constructor parameters in com.broadleafcommerce.customer.web.endpoint with type arguments of type AccountRole Constructor Description AccountRoleEndpoint(AccountRoleService<AccountRole> accountRoleService)
-