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.RowGenerationResponseCustomerExportProcessor. 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 CustomerExportProcessorCustomerExportAutoConfiguration. 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 thePersistenceRequestfor 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 ofPersistenceRequestsfor 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 thePersistenceRequestfor theSegmentMember.protected SegmentMemberCustomerSegmentMemberImportBatchHandler. buildSegmentMember(CustomerSegment customerSegment, Customer customer, com.broadleafcommerce.common.dataimport.messaging.BatchRecord batchRecord)Creates instance ofSegmentMemberand 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 thePersistenceRequestfor 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 thePersistenceRequestfor 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 ofPersistenceRequestsfor 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 ofPersistenceRequestfor theSegmentMember.protected Set<String>CustomerSegmentMemberImportBatchHandler. determineNotFoundCustomerEmails(Set<String> batchRecordEmails, List<Customer> customersFoundInDataStore)Determines the set of emails for which customers do not exist.protected voidCustomerImportBatchHandler. 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 asPersistenceRequests and adds persistence result toallCompletionsprotected voidCustomerSegmentMemberImportBatchHandler. 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 CustomerImportBatchHandlerCustomerServicesImportAutoConfiguration. customerImportBatchHandler(CustomerConverter customerConverter, CustomerService<Customer> customerService, CustomerContextRequestHydrator hydrator)CustomerSegmentMemberImportBatchHandlerCustomerServicesImportAutoConfiguration. 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 CustomerCustomerConverter. 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 CustomerCustomer. addAttribute(String key, Object value)Convenience method to add an ann attribute.CustomerSegmentMember. getCustomer()The customer assigned to theSegmentMember.customerSegment.Methods in com.broadleafcommerce.customer.domain with parameters of type Customer Modifier and Type Method Description CustomerRefCustomerRef. fromCustomer(Customer customer)Builds anCustomerRefbased on the providedCustomervoidSegmentMember. 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 CustomerUserRegistrationListener. 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 voidUserCreationListener. 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 UserCreationListenerCustomerMessagingAutoConfiguration. userCreatedPersistenceHandler(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, CustomerService<Customer> customerService)UserRegistrationListenerCustomerMessagingAutoConfiguration. userRegistrationListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, CustomerService<Customer> customerService)UserUpdateListenerCustomerCustomerMessagingAutoConfiguration. 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 interfaceCustomerService<P extends Customer>Service API forCustomers.classDefaultCustomerService<P extends Customer>Default implementation ofCustomerServiceMethods in com.broadleafcommerce.customer.service that return Customer Modifier and Type Method Description protected CustomerDefaultAccountMemberService. getOrCreateCustomer(@NonNull RegisterAccountMemberRequest registerRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)Either gathers theCustomerbased 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 CustomerRefDefaultPaymentAccountService. createCustomerRefFromCustomer(@NonNull Customer customer)Creates aCustomerRefbased on the providedCustomerobjectPDefaultPaymentAccountService. update(P paymentAccount, @NonNull Customer customer, boolean makeDefaultAccount, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)PPaymentAccountService. update(P paymentAccount, Customer customer, boolean makeDefaultAccount, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)Pass the updated paymentAccountJpaPaymentAccountand 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 classDefaultRuleBasedSegmentBulkProcessor<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 classDefaultCustomerValidator<P extends Customer>Default customer validator.Methods in com.broadleafcommerce.customer.service.validation with parameters of type Customer Modifier and Type Method Description protected voidDefaultCustomerValidator. 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 CustomerCustomerEndpoint. createCustomer(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, Customer customer)protected CustomerCustomerAddressEndpoint. ensureCustomerExistsAndReturn(String customerId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)CustomerCustomerEndpoint. readCustomerById(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String customerId)CustomerCustomerEndpoint. 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 CustomerCustomerEndpoint. createCustomer(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, Customer customer)protected CustomerRefCustomerAddressEndpoint. createCustomerRefFromCustomer(Customer customer)CustomerCustomerEndpoint. 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)
-