Interface SegmentProcessingService
-
- All Known Implementing Classes:
DefaultSegmentProcessingService
public interface SegmentProcessingService
Service class used to initiate bulk processing of customer segments
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SegmentProcessHistory
processRuleBasedSegment(String segmentId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Initiates a bulk process operation on a customer rule based customer segment
-
-
-
Method Detail
-
processRuleBasedSegment
@NonNull SegmentProcessHistory processRuleBasedSegment(@NonNull String segmentId, @NonNull com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Initiates a bulk process operation on a customer rule based customer segment- Parameters:
segmentId
- The ID of the segment to processcontextInfo
- context information surrounding sandboxing and multitenant state- Returns:
- The created
SegmentProcessHistory
- Throws:
SegmentProcessingException
- Thrown if the segment could not be processed. This could be due to a serialization error when building the request.- See Also:
DefaultRuleBasedSegmentBulkProcessor
-
-