Uses of Class
com.broadleafcommerce.customer.domain.CustomerSegment
-
-
Uses of CustomerSegment in com.broadleafcommerce.customer.dataimport
Methods in com.broadleafcommerce.customer.dataimport that return types with arguments of type CustomerSegment Modifier and Type Method Description protected CustomerSegmentService<CustomerSegment>
CustomerSegmentMemberImportBatchHandler. getCustomerSegmentService()
protected SegmentMemberService<SegmentMember,CustomerSegment>
CustomerSegmentMemberImportBatchHandler. getSegmentMemberService()
Methods in com.broadleafcommerce.customer.dataimport with parameters of type CustomerSegment 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 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 SegmentMember
CustomerSegmentMemberImportBatchHandler. buildSegmentMember(CustomerSegment customerSegment, Customer customer, com.broadleafcommerce.common.dataimport.messaging.BatchRecord batchRecord)
Creates instance ofSegmentMember
and populates with properties.Constructor parameters in com.broadleafcommerce.customer.dataimport with type arguments of type CustomerSegment Constructor Description CustomerSegmentMemberImportBatchHandler(CustomerService<Customer> customerService, CustomerSegmentService<CustomerSegment> customerSegmentService, SegmentMemberService<SegmentMember,CustomerSegment> segmentMemberService, 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 CustomerSegment in com.broadleafcommerce.customer.dataimport.autoconfigure
Method parameters in com.broadleafcommerce.customer.dataimport.autoconfigure with type arguments of type CustomerSegment Modifier and Type Method Description CustomerSegmentMemberImportBatchHandler
CustomerServicesImportAutoConfiguration. customerSegmentMemberImportBatchHandler(CustomerService<Customer> customerService, CustomerSegmentService<CustomerSegment> customerSegmentService, SegmentMemberService<SegmentMember,CustomerSegment> segmentMemberService, CustomerContextRequestHydrator hydrator)
CustomerSegmentMemberImportBatchHandler
CustomerServicesImportAutoConfiguration. customerSegmentMemberImportBatchHandler(CustomerService<Customer> customerService, CustomerSegmentService<CustomerSegment> customerSegmentService, SegmentMemberService<SegmentMember,CustomerSegment> segmentMemberService, CustomerContextRequestHydrator hydrator)
-
Uses of CustomerSegment in com.broadleafcommerce.customer.domain
Methods in com.broadleafcommerce.customer.domain that return CustomerSegment Modifier and Type Method Description CustomerSegment
SegmentMember. getCustomerSegment()
The customer segment theSegmentMember.customer
belongs to.CustomerSegment
SegmentProcessHistory. getCustomerSegment()
The Segment the bulk process was performed on.Methods in com.broadleafcommerce.customer.domain with parameters of type CustomerSegment Modifier and Type Method Description void
SegmentMember. setCustomerSegment(CustomerSegment customerSegment)
The customer segment theSegmentMember.customer
belongs to.void
SegmentProcessHistory. setCustomerSegment(CustomerSegment customerSegment)
The Segment the bulk process was performed on. -
Uses of CustomerSegment in com.broadleafcommerce.customer.segments.dataexport
Methods in com.broadleafcommerce.customer.segments.dataexport that return types with arguments of type CustomerSegment Modifier and Type Method Description protected SegmentMemberService<SegmentMember,CustomerSegment>
SegmentMemberExportProcessor. getSegmentMemberService()
Constructor parameters in com.broadleafcommerce.customer.segments.dataexport with type arguments of type CustomerSegment Constructor Description SegmentMemberExportProcessor(SegmentMemberService<SegmentMember,CustomerSegment> segmentMemberService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> filterParser, SegmentMemberRowConverter segmentMemberRowConverter)
-
Uses of CustomerSegment in com.broadleafcommerce.customer.segments.dataexport.autoconfigure
Method parameters in com.broadleafcommerce.customer.segments.dataexport.autoconfigure with type arguments of type CustomerSegment Modifier and Type Method Description SegmentMemberExportProcessor
SegmentMemberExportAutoConfiguration. segmentMemberExportProcessor(SegmentMemberService<SegmentMember,CustomerSegment> segmentMemberService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> filterParser, SegmentMemberRowConverter segmentMemberRowConverter)
-
Uses of CustomerSegment in com.broadleafcommerce.customer.service
Classes in com.broadleafcommerce.customer.service with type parameters of type CustomerSegment Modifier and Type Interface Description interface
CustomerSegmentService<P extends CustomerSegment>
Service for delegation of CRUD based operations onCustomerSegments
class
DefaultCustomerSegmentService<P extends CustomerSegment>
Default implementation ofCustomerSegmentService
class
DefaultSegmentMemberService<P extends SegmentMember,S extends CustomerSegment>
interface
SegmentMemberService<P extends SegmentMember,S extends CustomerSegment>
Interface for managing segment/customer relationships. -
Uses of CustomerSegment in com.broadleafcommerce.customer.service.bulk
Methods in com.broadleafcommerce.customer.service.bulk that return CustomerSegment Modifier and Type Method Description protected CustomerSegment
DefaultRuleBasedSegmentBulkProcessor. getTargetSegment(com.broadleafcommerce.bulk.domain.BulkUpdate bulkUpdate)
Returns the targeted customer segment.Methods in com.broadleafcommerce.customer.service.bulk that return types with arguments of type CustomerSegment Modifier and Type Method Description protected CustomerSegmentService<CustomerSegment>
DefaultRuleBasedSegmentBulkProcessor. getCustomerSegmentService()
protected CustomerSegmentService<? extends CustomerSegment>
DefaultSegmentProcessingService. getCustomerSegmentService()
protected SegmentMemberService<SegmentMember,CustomerSegment>
DefaultRuleBasedSegmentBulkProcessor. getSegmentMemberService()
Methods in com.broadleafcommerce.customer.service.bulk with parameters of type CustomerSegment Modifier and Type Method Description protected com.broadleafcommerce.bulk.domain.BulkUpdateRequest
DefaultSegmentProcessingService. buildBulkUpdateRequest(@NonNull CustomerSegment segment, String bulkUpdateType, @NonNull com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Builds a request to perform a bulk update operationprotected void
DefaultRuleBasedSegmentBulkProcessor. clearSegmentMembers(com.broadleafcommerce.bulk.domain.BulkUpdate bulkUpdate, CustomerSegment segment)
Clears all existing customers who are members of the segment.protected SegmentProcessHistory
DefaultSegmentProcessingService. createSegmentBulkUpdateRelationship(CustomerSegment segment, com.broadleafcommerce.bulk.domain.BulkUpdate bulkUpdate, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Creates the relationship between the bulk update process and the customer segmentprotected Stream<P>
DefaultRuleBasedSegmentBulkProcessor. readCustomerStream(CustomerSegment segment, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
Returns a Stream of customers to be processed that match the Customer Segment match rule.protected void
DefaultRuleBasedSegmentBulkProcessor. updateSegmentState(com.broadleafcommerce.bulk.domain.BulkUpdate bulkUpdate, CustomerSegment segment, String segmentProcessingState)
Constructor parameters in com.broadleafcommerce.customer.service.bulk with type arguments of type CustomerSegment Constructor Description DefaultRuleBasedSegmentBulkProcessor(CustomerService<P> customerService, CustomerSegmentService<CustomerSegment> customerSegmentService, SegmentMemberService<SegmentMember,CustomerSegment> segmentMemberService, SegmentProcessHistoryService<SegmentProcessHistory> segmentProcessHistoryService, com.broadleafcommerce.bulk.service.BulkUpdateService<com.broadleafcommerce.bulk.domain.BulkUpdate> bulkUpdateService, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> filterParser, com.broadleafcommerce.common.extension.TypeFactory typeFactory, BulkProcessUtil bulkProcessUtil, com.broadleafcommerce.common.messaging.notification.NotificationManager notificationManager)
DefaultRuleBasedSegmentBulkProcessor(CustomerService<P> customerService, CustomerSegmentService<CustomerSegment> customerSegmentService, SegmentMemberService<SegmentMember,CustomerSegment> segmentMemberService, SegmentProcessHistoryService<SegmentProcessHistory> segmentProcessHistoryService, com.broadleafcommerce.bulk.service.BulkUpdateService<com.broadleafcommerce.bulk.domain.BulkUpdate> bulkUpdateService, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> filterParser, com.broadleafcommerce.common.extension.TypeFactory typeFactory, BulkProcessUtil bulkProcessUtil, com.broadleafcommerce.common.messaging.notification.NotificationManager notificationManager)
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 CustomerSegment in com.broadleafcommerce.customer.web.endpoint
Methods in com.broadleafcommerce.customer.web.endpoint that return CustomerSegment Modifier and Type Method Description CustomerSegment
CustomerSegmentEndpoint. createCustomerSegment(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, CustomerSegment customerSegment)
CustomerSegment
CustomerSegmentEndpoint. readCustomerSegmentById(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String segmentId)
CustomerSegment
CustomerSegmentEndpoint. replaceCustomerSegment(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String segmentId, CustomerSegment updatedSegment)
Methods in com.broadleafcommerce.customer.web.endpoint that return types with arguments of type CustomerSegment Modifier and Type Method Description protected CustomerSegmentService<CustomerSegment>
CustomerSegmentEndpoint. getCustomerSegmentService()
protected SegmentMemberService<SegmentMember,CustomerSegment>
CustomerSegmentEndpoint. getSegmentMemberService()
org.springframework.data.domain.Page<CustomerSegment>
CustomerSegmentEndpoint. readAllCustomerSegments(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Sort sort, org.springframework.data.domain.Pageable page)
Methods in com.broadleafcommerce.customer.web.endpoint with parameters of type CustomerSegment Modifier and Type Method Description CustomerSegment
CustomerSegmentEndpoint. createCustomerSegment(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, CustomerSegment customerSegment)
CustomerSegment
CustomerSegmentEndpoint. replaceCustomerSegment(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String segmentId, CustomerSegment updatedSegment)
Constructor parameters in com.broadleafcommerce.customer.web.endpoint with type arguments of type CustomerSegment Constructor Description CustomerSegmentEndpoint(CustomerSegmentService<CustomerSegment> customerSegmentService, SegmentMemberService<SegmentMember,CustomerSegment> segmentMemberService, CustomerService<Customer> customerService, SegmentProcessingService segmentProcessingService, SegmentProcessHistoryService<SegmentProcessHistory> segmentProcessHistoryService, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
CustomerSegmentEndpoint(CustomerSegmentService<CustomerSegment> customerSegmentService, SegmentMemberService<SegmentMember,CustomerSegment> segmentMemberService, CustomerService<Customer> customerService, SegmentProcessingService segmentProcessingService, SegmentProcessHistoryService<SegmentProcessHistory> segmentProcessHistoryService, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
-