Interface SendSiteMessageStrategy
-
- All Known Implementing Classes:
DefaultSendSiteMessageStrategy
public interface SendSiteMessageStrategyStrategy to send site message
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidsendMessage(CustomerModel customer, SiteMessageModel message)Send message for specific customerdefault voidsendMessage(CustomerModel customer, java.util.List<SiteMessageModel> messages)Send messages for specific customerdefault voidsendMessage(java.util.List<CustomerModel> customers, SiteMessageModel message)Send message for given customers
-
-
-
Method Detail
-
sendMessage
default void sendMessage(CustomerModel customer, SiteMessageModel message)
Send message for specific customer- Parameters:
customer- the receviermessage- the message to be sent
-
sendMessage
default void sendMessage(CustomerModel customer, java.util.List<SiteMessageModel> messages)
Send messages for specific customer- Parameters:
customer- the receivermessages- the messages to be sent
-
sendMessage
default void sendMessage(java.util.List<CustomerModel> customers, SiteMessageModel message)
Send message for given customers- Parameters:
customers- the receiversmessage- the message to be sent
-
-