Uses of Class
com.broadleafcommerce.customer.domain.Customer
-
-
Uses of Customer in com.broadleafcommerce.customer.dataexport
Methods in com.broadleafcommerce.customer.dataexport that return types with arguments of type Customer Modifier and Type Method Description protected CustomerService<Customer>
CustomerExportProcessor. getCustomerService()
com.broadleafcommerce.common.dataexport.service.ReadRecordsResponse<Customer>
CustomerExportProcessor. readRecordsToProcess(com.broadleafcommerce.common.dataexport.domain.Export export)
Method parameters in com.broadleafcommerce.customer.dataexport with type arguments of type Customer Modifier and Type Method Description com.broadleafcommerce.common.dataexport.service.RowGenerationResponse
CustomerExportProcessor. generateRows(List<Customer> batchToProcess, com.broadleafcommerce.common.dataexport.domain.Export export)
Constructor parameters in com.broadleafcommerce.customer.dataexport with type arguments of type Customer Constructor Description CustomerExportProcessor(CustomerService<Customer> customerService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> filterParser, CustomerRowConverter customerRowConverter, com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator hydrator)
-
Uses of Customer in com.broadleafcommerce.customer.dataexport.autoconfigure
Method parameters in com.broadleafcommerce.customer.dataexport.autoconfigure with type arguments of type Customer Modifier and Type Method Description CustomerExportProcessor
CustomerExportAutoConfiguration. customerExportProcessor(CustomerService<Customer> customerService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> filterParser, CustomerRowConverter customerRowConverter, com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator hydrator)
-
Uses of Customer in com.broadleafcommerce.customer.dataexport.converter
Methods in com.broadleafcommerce.customer.dataexport.converter with parameters of type Customer Modifier and Type Method Description Map<String,String>
CustomerRowConverter. convert(Customer source)
-
Uses of Customer in com.broadleafcommerce.customer.dataimport
Methods in com.broadleafcommerce.customer.dataimport that return types with arguments of type Customer Modifier and Type Method Description protected com.broadleafcommerce.common.dataimport.util.PersistenceRequest<Customer>
CustomerImportBatchHandler. buildPersistenceRequest(String requestedCustomerEmail, org.apache.commons.lang3.tuple.Pair<Customer,com.broadleafcommerce.common.dataimport.messaging.BatchRecord> requestedCustomerAndBatchRecord, Map<String,Customer> existingCustomersByEmailAddress)
Determines id, operation type and builds thePersistenceRequest
for theCustomer
.protected List<com.broadleafcommerce.common.dataimport.util.PersistenceRequest<Customer>>
CustomerImportBatchHandler. buildPersistenceRequests(Map<String,org.apache.commons.lang3.tuple.Pair<Customer,com.broadleafcommerce.common.dataimport.messaging.BatchRecord>> requestedCustomersByEmailAddress, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Builds the list ofPersistenceRequests
for the givenCustomers
.protected Map<String,org.apache.commons.lang3.tuple.Pair<Customer,com.broadleafcommerce.common.dataimport.messaging.BatchRecord>>
CustomerImportBatchHandler. convertBatchRecords(com.broadleafcommerce.common.dataimport.messaging.BatchRequest batch, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> erroredCompletions)
Converts all of the batch records in the batch request to customer.protected Optional<Customer>
CustomerImportBatchHandler. convertToCustomer(com.broadleafcommerce.common.dataimport.messaging.BatchRecord customerRecord, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> allCompletions)
protected CustomerService<Customer>
CustomerImportBatchHandler. getCustomerService()
protected CustomerService<Customer>
CustomerSegmentMemberImportBatchHandler. getCustomerService()
protected Map<String,Customer>
CustomerImportBatchHandler. getExistingCustomers(Set<String> customerEmails, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
protected List<org.apache.commons.lang3.tuple.Pair<Customer,com.broadleafcommerce.common.dataimport.messaging.BatchRecord>>
CustomerSegmentMemberImportBatchHandler. validate(Map<String,com.broadleafcommerce.common.dataimport.messaging.BatchRecord> batchRecordsByEmail, List<Customer> customersFoundInDataStore, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> erroredCompletions)
This methods validates the given batch records, returning only those that are considered valid.Methods in com.broadleafcommerce.customer.dataimport with parameters of type Customer Modifier and Type Method Description protected com.broadleafcommerce.common.dataimport.util.PersistenceRequest<SegmentMember>
CustomerSegmentMemberImportBatchHandler. buildPersistenceRequest(CustomerSegment customerSegment, Customer customer, com.broadleafcommerce.common.dataimport.messaging.BatchRecord batchRecord)
Builds thePersistenceRequest
for theSegmentMember
.protected SegmentMember
CustomerSegmentMemberImportBatchHandler. buildSegmentMember(CustomerSegment customerSegment, Customer customer, com.broadleafcommerce.common.dataimport.messaging.BatchRecord batchRecord)
Creates instance ofSegmentMember
and populates with properties.Method parameters in com.broadleafcommerce.customer.dataimport with type arguments of type Customer Modifier and Type Method Description protected com.broadleafcommerce.common.dataimport.util.PersistenceRequest<Customer>
CustomerImportBatchHandler. buildPersistenceRequest(String requestedCustomerEmail, org.apache.commons.lang3.tuple.Pair<Customer,com.broadleafcommerce.common.dataimport.messaging.BatchRecord> requestedCustomerAndBatchRecord, Map<String,Customer> existingCustomersByEmailAddress)
Determines id, operation type and builds thePersistenceRequest
for theCustomer
.protected com.broadleafcommerce.common.dataimport.util.PersistenceRequest<Customer>
CustomerImportBatchHandler. buildPersistenceRequest(String requestedCustomerEmail, org.apache.commons.lang3.tuple.Pair<Customer,com.broadleafcommerce.common.dataimport.messaging.BatchRecord> requestedCustomerAndBatchRecord, Map<String,Customer> existingCustomersByEmailAddress)
Determines id, operation type and builds thePersistenceRequest
for theCustomer
.protected List<com.broadleafcommerce.common.dataimport.util.PersistenceRequest<Customer>>
CustomerImportBatchHandler. buildPersistenceRequests(Map<String,org.apache.commons.lang3.tuple.Pair<Customer,com.broadleafcommerce.common.dataimport.messaging.BatchRecord>> requestedCustomersByEmailAddress, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Builds the list ofPersistenceRequests
for the givenCustomers
.protected List<com.broadleafcommerce.common.dataimport.util.PersistenceRequest<SegmentMember>>
CustomerSegmentMemberImportBatchHandler. buildPersistenceRequests(List<org.apache.commons.lang3.tuple.Pair<Customer,com.broadleafcommerce.common.dataimport.messaging.BatchRecord>> requestedCustomerAndBatchRecordList, CustomerSegment customerSegment, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> completions, com.broadleafcommerce.data.tracking.core.context.ContextInfo readContextInfo)
Builds the list ofPersistenceRequest
for theSegmentMember
.protected Set<String>
CustomerSegmentMemberImportBatchHandler. determineNotFoundCustomerEmails(Set<String> batchRecordEmails, List<Customer> customersFoundInDataStore)
Determines the set of emails for which customers do not exist.protected void
CustomerImportBatchHandler. persistPersistenceRequests(com.broadleafcommerce.common.dataimport.messaging.BatchRequest batch, List<com.broadleafcommerce.common.dataimport.util.PersistenceRequest<Customer>> customerRequests, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> allCompletions)
Perform a persist of the parsed out domain specified asPersistenceRequest
s and adds persistence result toallCompletions
protected void
CustomerSegmentMemberImportBatchHandler. processNotFoundCustomers(List<Customer> customersFoundInDataStore, Set<String> emails)
This method OOB does nothing, but can be overridden to process not found customersprotected List<org.apache.commons.lang3.tuple.Pair<Customer,com.broadleafcommerce.common.dataimport.messaging.BatchRecord>>
CustomerSegmentMemberImportBatchHandler. validate(Map<String,com.broadleafcommerce.common.dataimport.messaging.BatchRecord> batchRecordsByEmail, List<Customer> customersFoundInDataStore, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> erroredCompletions)
This methods validates the given batch records, returning only those that are considered valid.Constructor parameters in com.broadleafcommerce.customer.dataimport with type arguments of type Customer Constructor Description CustomerImportBatchHandler(CustomerConverter customerConverter, CustomerService<Customer> customerService, com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator hydrator)
CustomerSegmentMemberImportBatchHandler(CustomerService<Customer> customerService, CustomerSegmentService<CustomerSegment> customerSegmentService, SegmentMemberService<SegmentMember,CustomerSegment> segmentMemberService, com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator hydrator)
-
Uses of Customer in com.broadleafcommerce.customer.dataimport.autoconfigure
Method parameters in com.broadleafcommerce.customer.dataimport.autoconfigure with type arguments of type Customer Modifier and Type Method Description CustomerImportBatchHandler
CustomerServicesImportAutoConfiguration. customerImportBatchHandler(CustomerConverter customerConverter, CustomerService<Customer> customerService, CustomerContextRequestHydrator hydrator)
CustomerSegmentMemberImportBatchHandler
CustomerServicesImportAutoConfiguration. customerSegmentMemberImportBatchHandler(CustomerService<Customer> customerService, CustomerSegmentService<CustomerSegment> customerSegmentService, SegmentMemberService<SegmentMember,CustomerSegment> segmentMemberService, CustomerContextRequestHydrator hydrator)
-
Uses of Customer in com.broadleafcommerce.customer.dataimport.converter
Methods in com.broadleafcommerce.customer.dataimport.converter that return Customer Modifier and Type Method Description Customer
CustomerConverter. convert(@NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord source)
-
Uses of Customer in com.broadleafcommerce.customer.domain
Methods in com.broadleafcommerce.customer.domain that return Customer Modifier and Type Method Description Customer
Customer. addAttribute(String key, Object value)
Convenience method to add an ann attribute.Customer
SegmentMember. getCustomer()
The customer assigned to theSegmentMember.customerSegment
.Methods in com.broadleafcommerce.customer.domain with parameters of type Customer Modifier and Type Method Description CustomerRef
CustomerRef. fromCustomer(Customer customer)
Builds anCustomerRef
based on the providedCustomer
void
SegmentMember. setCustomer(Customer customer)
The customer assigned to theSegmentMember.customerSegment
. -
Uses of Customer in com.broadleafcommerce.customer.messaging
Methods in com.broadleafcommerce.customer.messaging that return Customer Modifier and Type Method Description protected Customer
UserRegistrationListener. buildCustomer(User user, String customerId)
Methods in com.broadleafcommerce.customer.messaging that return types with arguments of type Customer Modifier and Type Method Description protected CustomerService<Customer>
UserCreationListener. getCustomerService()
protected CustomerService<Customer>
UserRegistrationListener. getCustomerService()
protected CustomerService<Customer>
UserUpdateListenerCustomer. getCustomerService()
Methods in com.broadleafcommerce.customer.messaging with parameters of type Customer Modifier and Type Method Description protected void
UserCreationListener. updateCustomer(User user, Customer customer)
Updates an existing customer.Constructor parameters in com.broadleafcommerce.customer.messaging with type arguments of type Customer Constructor Description UserCreationListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, CustomerService<Customer> customerService)
UserRegistrationListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, CustomerService<Customer> customerService)
UserUpdateListenerCustomer(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, CustomerService<Customer> customerService)
-
Uses of Customer in com.broadleafcommerce.customer.messaging.autoconfigure
Method parameters in com.broadleafcommerce.customer.messaging.autoconfigure with type arguments of type Customer Modifier and Type Method Description UserCreationListener
CustomerMessagingAutoConfiguration. userCreatedPersistenceHandler(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, CustomerService<Customer> customerService)
UserRegistrationListener
CustomerMessagingAutoConfiguration. userRegistrationListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, CustomerService<Customer> customerService)
UserUpdateListenerCustomer
CustomerMessagingAutoConfiguration. userUpdateListenerCustomer(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, CustomerService<Customer> customerService)
-
Uses of Customer in com.broadleafcommerce.customer.service
Classes in com.broadleafcommerce.customer.service with type parameters of type Customer Modifier and Type Interface Description interface
CustomerService<P extends Customer>
Service API forCustomers
.class
DefaultCustomerService<P extends Customer>
Default implementation ofCustomerService
Methods in com.broadleafcommerce.customer.service that return Customer Modifier and Type Method Description protected Customer
DefaultAccountMemberService. getOrCreateCustomer(@NonNull RegisterAccountMemberRequest registerRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Either gathers theCustomer
based on theRegisterAccountMemberRequest.getCustomerRef()
or creates a new customerMethods in com.broadleafcommerce.customer.service that return types with arguments of type Customer Modifier and Type Method Description protected CustomerService<Customer>
DefaultAccountMemberService. getCustomerService()
protected CustomerService<Customer>
DefaultPaymentAccountService. getCustomerService()
Methods in com.broadleafcommerce.customer.service with parameters of type Customer Modifier and Type Method Description protected CustomerRef
DefaultPaymentAccountService. createCustomerRefFromCustomer(@NonNull Customer customer)
Creates aCustomerRef
based on the providedCustomer
objectP
DefaultPaymentAccountService. update(P paymentAccount, @NonNull Customer customer, boolean makeDefaultAccount, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
P
PaymentAccountService. update(P paymentAccount, Customer customer, boolean makeDefaultAccount, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Pass the updated paymentAccountJpaPaymentAccount
and the owning customer for persistence to the data store.Constructor parameters in com.broadleafcommerce.customer.service with type arguments of type Customer 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)
DefaultPaymentAccountService(PaymentAccountRepository<com.broadleafcommerce.data.tracking.core.Trackable> paymentAccountRepository, CustomerService<Customer> customerService, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
-
Uses of Customer in com.broadleafcommerce.customer.service.anonymization
Methods in com.broadleafcommerce.customer.service.anonymization that return types with arguments of type Customer Modifier and Type Method Description protected CustomerService<Customer>
CustomerAnonymizationHandler. getCustomerService()
Methods in com.broadleafcommerce.customer.service.anonymization with parameters of type Customer Modifier and Type Method Description protected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord>
CustomerAnonymizationHandler. handleRecords(String boundedContextIdentifier, Customer member, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Constructor parameters in com.broadleafcommerce.customer.service.anonymization with type arguments of type Customer Constructor Description CustomerAnonymizationHandler(CustomerService<Customer> customerService)
-
Uses of Customer in com.broadleafcommerce.customer.service.bulk
Classes in com.broadleafcommerce.customer.service.bulk with type parameters of type Customer Modifier and Type Class Description class
DefaultRuleBasedSegmentBulkProcessor<P extends Customer>
Bulk processor for evaluating customers against a rule based customer segment.Methods in com.broadleafcommerce.customer.service.bulk that return types with arguments of type Customer Modifier and Type Method Description protected CustomerService<? extends Customer>
DefaultSegmentProcessingService. getCustomerService()
Constructor parameters in com.broadleafcommerce.customer.service.bulk with type arguments of type Customer Constructor Description DefaultSegmentProcessingService(com.broadleafcommerce.bulk.service.BulkUpdateManager bulkUpdateManager, CustomerSegmentService<? extends CustomerSegment> customerSegmentService, CustomerService<? extends Customer> customerService, SegmentProcessHistoryService<SegmentProcessHistory> segmentProcessHistoryService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Uses of Customer in com.broadleafcommerce.customer.service.validation
Classes in com.broadleafcommerce.customer.service.validation with type parameters of type Customer Modifier and Type Class Description class
DefaultCustomerValidator<P extends Customer>
Default customer validator.Methods in com.broadleafcommerce.customer.service.validation with parameters of type Customer Modifier and Type Method Description protected void
DefaultCustomerValidator. checkEmailAlreadyExists(String id, Customer customer, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Validates that the e-mail address provided isn't already in use. -
Uses of Customer in com.broadleafcommerce.customer.web.endpoint
Methods in com.broadleafcommerce.customer.web.endpoint that return Customer Modifier and Type Method Description Customer
CustomerEndpoint. createCustomer(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, Customer customer)
protected Customer
CustomerAddressEndpoint. ensureCustomerExistsAndReturn(String customerId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Customer
CustomerEndpoint. readCustomerById(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String customerId)
Customer
CustomerEndpoint. replaceCustomer(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String customerId, Customer customer)
Methods in com.broadleafcommerce.customer.web.endpoint that return types with arguments of type Customer Modifier and Type Method Description protected CustomerService<Customer>
CustomerAddressEndpoint. getCustomerService()
protected CustomerService<Customer>
CustomerEndpoint. getCustomerService()
protected CustomerService<Customer>
CustomerPaymentAccountEndpoint. getCustomerService()
protected CustomerService<Customer>
CustomerSegmentEndpoint. getCustomerService()
org.springframework.data.domain.Page<Customer>
CustomerEndpoint. readAllCustomers(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, String nameQuery, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page)
List<Customer>
CustomerEndpoint. readAllCustomersIgnoreNarrowingHydrated(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, cz.jirutka.rsql.parser.ast.Node filters)
protected org.apache.commons.lang3.tuple.Pair<Customer,CustomerAddress>
CustomerAddressEndpoint. validateAndGetCustomerAndCustomerAddressRequest(String customerId, String customerAddressId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Methods in com.broadleafcommerce.customer.web.endpoint with parameters of type Customer Modifier and Type Method Description Customer
CustomerEndpoint. createCustomer(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, Customer customer)
protected CustomerRef
CustomerAddressEndpoint. createCustomerRefFromCustomer(Customer customer)
Customer
CustomerEndpoint. replaceCustomer(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String customerId, Customer customer)
Constructor parameters in com.broadleafcommerce.customer.web.endpoint with type arguments of type Customer Constructor Description CustomerAddressEndpoint(CustomerService<Customer> customerService, CustomerAddressService<CustomerAddress> customerAddressService, com.broadleafcommerce.common.extension.TypeFactory customerFactory)
CustomerEndpoint(CustomerService<Customer> customerService)
CustomerPaymentAccountEndpoint(CustomerService<Customer> customerService, PaymentAccountService<PaymentAccount> paymentAccountService, PaymentAccountSummaryService summaryService)
CustomerSegmentEndpoint(CustomerSegmentService<CustomerSegment> customerSegmentService, SegmentMemberService<SegmentMember,CustomerSegment> segmentMemberService, CustomerService<Customer> customerService, SegmentProcessingService segmentProcessingService, SegmentProcessHistoryService<SegmentProcessHistory> segmentProcessHistoryService, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
-