Interface SegmentProcessingService

All Known Implementing Classes:
DefaultSegmentProcessingService

public interface SegmentProcessingService
Service class used to initiate bulk processing of customer segments
  • Method Summary

    Modifier and Type
    Method
    Description
    processRuleBasedSegment(String segmentId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Initiates a bulk process operation on a customer rule based customer segment
  • Method Details

    • 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 process
      contextInfo - 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: