public class BLCPromotionMessageUtils extends Object
PromotionMessages| Constructor and Description |
|---|
BLCPromotionMessageUtils() |
public static List<String> gatherMessages(List<PromotionMessage> promotionMessages)
PromotionMessages, gather their message properties.promotionMessages - public static List<String> gatherMessagesFromDTOs(List<PromotionMessageDTO> promotionMessages)
PromotionMessageDTOs, gather their message properties.promotionMessages - public static void sortMessagesByPriority(Map<String,List<PromotionMessageDTO>> promotionMessages)
PromotionMessagePlacementTypes to PromotionMessageDTOs, sort based on prioritypromotionMessages - public static void sortMessagesByPriority(List<PromotionMessageDTO> promotionMessages)
PromotionMessageDTOs, sort based on prioritypromotionMessages - public static List<String> gatherMessagesByPlacementType(Map<String,List<PromotionMessageDTO>> promotionMessageMap, PromotionMessagePlacementType type)
PromotionMessagePlacementTypes to PromotionMessageDTOs, gather the message properties.promotionMessageMap - type - public static List<PromotionMessageDTO> filterPromotionMessageDTOsByTypes(Map<String,List<PromotionMessageDTO>> promotionMessages, List<String> placementTypes)
PromotionMessagePlacementTypes to PromotionMessageDTOs and a list
of PromotionMessagePlacementTypes, filter the map into a list.promotionMessages - placementTypes - Copyright © 2025. All rights reserved.