Interface SendSiteMessageStrategy
- All Known Implementing Classes:
DefaultSendSiteMessageStrategy
public interface SendSiteMessageStrategy
Strategy to send site message
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidsendMessage(CustomerModel customer, SiteMessageModel message) Send message for specific customerdefault voidsendMessage(CustomerModel customer, List<SiteMessageModel> messages) Send messages for specific customerdefault voidsendMessage(List<CustomerModel> customers, SiteMessageModel message) Send message for given customers
-
Method Details
-
sendMessage
Send message for specific customer- Parameters:
customer- the receviermessage- the message to be sent
-
sendMessage
Send messages for specific customer- Parameters:
customer- the receivermessages- the messages to be sent
-
sendMessage
Send message for given customers- Parameters:
customers- the receiversmessage- the message to be sent
-