Interface ItemMarketingMessageResolver<P extends MarketingMessage,O extends Offer>
-
- All Known Implementing Classes:
DefaultItemMarketingMessageResolver
public interface ItemMarketingMessageResolver<P extends MarketingMessage,O extends Offer>Service API to retrieveMarketingMessagesfor aEnhancedLineItembased on theOffersthe messages to which the messages belong, the locale, theMarketingMessageLocationType, and theMarketingMessageTargetType.- Author:
- Samarth Dhruva (samarthd)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description List<P>findAllMarketingMessagesForRequest(ItemMarketingMessageRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)Deprecated.since 1.6
-
-
-
Method Detail
-
findAllMarketingMessagesForRequest
@Deprecated List<P> findAllMarketingMessagesForRequest(ItemMarketingMessageRequest request, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Deprecated.since 1.6Finds all of theMarketingMessagesfor the providedItemMarketingMessageRequest. This will find all the activeOffersfirst, then split them into two, filtered groups: Those that treat theItemMarketingMessageRequest.itemas 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- anItemMarketingMessageRequestcontaining the parameters by which the results will be filteredcontextInfo- the context information around sandboxing and multitenant state- Returns:
- the marketing messages for the given item in priority order
-
-