Interface ItemMarketingMessageResolver<P extends MarketingMessage,​O extends Offer>

    • Method Detail

      • findAllMarketingMessagesForRequest

        @Deprecated
        List<P> findAllMarketingMessagesForRequest​(ItemMarketingMessageRequest request,
                                                   @Nullable
                                                   com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Deprecated.
        since 1.6
        Finds all of the MarketingMessages for the provided ItemMarketingMessageRequest. This will find all the active Offers first, then split them into two, filtered groups: Those that treat the ItemMarketingMessageRequest.item as a target and those that treat it as a qualifier. Then, it will fetch all of the messages for those offers, filtering by locale, MarketingMessageLocationType, and active date range and sort them by priority.
        Parameters:
        request - an ItemMarketingMessageRequest containing the parameters by which the results will be filtered
        contextInfo - the context information around sandboxing and multitenant state
        Returns:
        the marketing messages for the given item in priority order