Interface UserTargetFilterService

  • All Known Implementing Classes:
    BasicUserTargetFilterService

    public interface UserTargetFilterService
    Implementations of this service provide support for reducing the user targets that are involved in pricing with the goal of increasing the caching of PriceList related queries.
    Author:
    Brian Polster (bpolster)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void filterUserTargets​(Set<UserTarget> targets, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Filters the passed in set of UserTarget to include only those relevant for pricing.
    • Method Detail

      • filterUserTargets

        void filterUserTargets​(Set<UserTarget> targets,
                               com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext,
                               com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Filters the passed in set of UserTarget to include only those relevant for pricing. Most implementations can benefit from caching PriceList queries needed by the PriceInfoService
        Parameters:
        targets - Set of targets to filter.
        priceContext -
        contextInfo -
        See Also:
        BasicUserTargetFilterService