Class SegmentMemberExportProcessor
- java.lang.Object
-
- com.broadleafcommerce.customer.segments.dataexport.SegmentMemberExportProcessor
-
- All Implemented Interfaces:
com.broadleafcommerce.common.dataexport.service.ExportProcessor<SegmentMember>
public class SegmentMemberExportProcessor extends Object implements com.broadleafcommerce.common.dataexport.service.ExportProcessor<SegmentMember>
AnExportProcessor
for exports ofSegmentMember
.- Author:
- Dima Myroniuk (dmyroniuk)
-
-
Constructor Summary
Constructors 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.broadleafcommerce.data.tracking.core.context.ContextRequest
buildContextRequestFromExport(com.broadleafcommerce.common.dataexport.domain.Export export)
protected com.broadleafcommerce.data.tracking.core.context.ContextInfo
buildQueryContextInfo(com.broadleafcommerce.common.dataexport.domain.Export export)
boolean
canHandle(com.broadleafcommerce.common.dataexport.domain.Export export)
com.broadleafcommerce.common.dataexport.service.RowGenerationResponse
generateRows(List<SegmentMember> batchToProcess, com.broadleafcommerce.common.dataexport.domain.Export export)
protected com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node>
getFilterParser()
protected cz.jirutka.rsql.parser.ast.Node
getFilters(com.broadleafcommerce.common.dataexport.domain.Export export)
LinkedHashSet<String>
getHeaders()
protected SegmentMemberRowConverter
getSegmentMemberRowConverter()
protected SegmentMemberService<SegmentMember,CustomerSegment>
getSegmentMemberService()
protected com.broadleafcommerce.common.extension.TypeFactory
getTypeFactory()
com.broadleafcommerce.common.dataexport.service.ReadRecordsResponse<SegmentMember>
readRecordsToProcess(com.broadleafcommerce.common.dataexport.domain.Export export)
-
-
-
Constructor Detail
-
SegmentMemberExportProcessor
public 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)
-
-
Method Detail
-
canHandle
public boolean canHandle(com.broadleafcommerce.common.dataexport.domain.Export export)
- Specified by:
canHandle
in interfacecom.broadleafcommerce.common.dataexport.service.ExportProcessor<SegmentMember>
-
getHeaders
public LinkedHashSet<String> getHeaders()
- Specified by:
getHeaders
in interfacecom.broadleafcommerce.common.dataexport.service.ExportProcessor<SegmentMember>
-
readRecordsToProcess
public com.broadleafcommerce.common.dataexport.service.ReadRecordsResponse<SegmentMember> readRecordsToProcess(com.broadleafcommerce.common.dataexport.domain.Export export)
- Specified by:
readRecordsToProcess
in interfacecom.broadleafcommerce.common.dataexport.service.ExportProcessor<SegmentMember>
-
generateRows
public com.broadleafcommerce.common.dataexport.service.RowGenerationResponse generateRows(List<SegmentMember> batchToProcess, com.broadleafcommerce.common.dataexport.domain.Export export)
- Specified by:
generateRows
in interfacecom.broadleafcommerce.common.dataexport.service.ExportProcessor<SegmentMember>
-
getFilters
protected cz.jirutka.rsql.parser.ast.Node getFilters(com.broadleafcommerce.common.dataexport.domain.Export export)
-
buildQueryContextInfo
protected com.broadleafcommerce.data.tracking.core.context.ContextInfo buildQueryContextInfo(com.broadleafcommerce.common.dataexport.domain.Export export)
-
buildContextRequestFromExport
protected com.broadleafcommerce.data.tracking.core.context.ContextRequest buildContextRequestFromExport(com.broadleafcommerce.common.dataexport.domain.Export export)
-
getSegmentMemberService
protected SegmentMemberService<SegmentMember,CustomerSegment> getSegmentMemberService()
-
getTypeFactory
protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory()
-
getFilterParser
protected com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> getFilterParser()
-
getSegmentMemberRowConverter
protected SegmentMemberRowConverter getSegmentMemberRowConverter()
-
-