| | |
| | | |
| | | import java.util.Collection; |
| | | |
| | | public interface INotificationManager { |
| | | public interface INotificationManager extends IManager { |
| | | |
| | | /** |
| | | * Notify the administrators by email. |
| | |
| | | */ |
| | | void sendHtmlMail(String subject, String message, String... toAddresses); |
| | | |
| | | /** |
| | | * Notify users by email of something. |
| | | * |
| | | * @param from |
| | | * @param subject |
| | | * @param message |
| | | * @param toAddresses |
| | | */ |
| | | void sendHtmlMail(String from, String subject, String message, Collection<String> toAddresses); |
| | | |
| | | /** |
| | | * Notify users by email of something. |
| | | * |
| | | * @param from |
| | | * @param subject |
| | | * @param message |
| | | * @param toAddresses |
| | | */ |
| | | void sendHtmlMail(String from, String subject, String message, String... toAddresses); |
| | | |
| | | } |