Uses of Class
com.broadleafcommerce.customer.domain.AccountRoleRef
-
Packages that use AccountRoleRef Package Description com.broadleafcommerce.customer.domain com.broadleafcommerce.customer.service.validation.support com.broadleafcommerce.customer.web.endpoint.domain -
-
Uses of AccountRoleRef in com.broadleafcommerce.customer.domain
Methods in com.broadleafcommerce.customer.domain that return AccountRoleRef Modifier and Type Method Description AccountRoleRef
AccountRoleRef. fromAccountRole(AccountRole accountRole)
Builds anAccountRoleRef
based on the providedAccountRole
AccountRoleRef
AccountMember. getRoleRef()
The customer's role within the account.Methods in com.broadleafcommerce.customer.domain with parameters of type AccountRoleRef Modifier and Type Method Description void
AccountMember. setRoleRef(AccountRoleRef roleRef)
The customer's role within the account. -
Uses of AccountRoleRef in com.broadleafcommerce.customer.service.validation.support
Method parameters in com.broadleafcommerce.customer.service.validation.support with type arguments of type AccountRoleRef Modifier and Type Method Description static void
ValidationSupport. validateAllRolesHaveIdAndName(Collection<AccountRoleRef> roleRefs, org.springframework.validation.Errors errors, String rolesFieldNameOnParent, String missingIdErrorCode, String missingNameErrorCode)
This validation serves purely to guarantee that each reference has an id and name.static void
ValidationSupport. validateAllRolesNonNullAndHaveId(Collection<AccountRoleRef> roleRefs, org.springframework.validation.Errors errors, String rolesFieldNameOnParent, String nullRoleErrorCode, String missingIdErrorCode)
This validation serves purely to guarantee that each reference is not null and has an id. -
Uses of AccountRoleRef in com.broadleafcommerce.customer.web.endpoint.domain
Methods in com.broadleafcommerce.customer.web.endpoint.domain that return AccountRoleRef Modifier and Type Method Description AccountRoleRef
RegisterAccountMemberRequest. getRoleRef()
The role of theAccountMember
.AccountRoleRef
UpdateAccountMemberRequest. getRoleRef()
The new role of theAccountMember
.Methods in com.broadleafcommerce.customer.web.endpoint.domain with parameters of type AccountRoleRef Modifier and Type Method Description void
RegisterAccountMemberRequest. setRoleRef(AccountRoleRef roleRef)
The role of theAccountMember
.void
UpdateAccountMemberRequest. setRoleRef(AccountRoleRef roleRef)
The new role of theAccountMember
.
-