Package br.com.davinti.vitruvio.spi
Interface EmailService
- All Known Implementing Classes:
EmailServiceImpl
public interface EmailService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidafterContextRefreshedEvent(ContextRefreshedEvent event) voiddeleteAccount(String id) getAccount(String id) voidnotifySystemError(String subject, String message, Throwable e, Collection<File> attachments) voidnotifySystemError(String subject, String message, Throwable e, Collection<File> attachments, Set<String> grupos, Set<String> usuarios, Set<String> emails) notifySystemErrorAsync(String subject, String message, Throwable e, Collection<File> attachments) voidnotitySystemError(String subject, String message, String stackString) voidnotitySystemError(String subject, String message, Throwable e) notitySystemErrorAsync(String subject, String message, String stackString) notitySystemErrorAsync(String subject, String message, Throwable e) notitySystemErrorAsync(String subject, String message, Throwable e, Set<String> grupos, Set<String> usuarios, Set<String> emails) saveAccount(EmailAccount account) voidvoidvoidvoidsend(String subject, String message, String to, Collection<File> attachments, EmailAccount account) voidsend(String subject, String message, Collection<String> to, boolean oneMessagePerTo, Collection<File> attachments) voidvoidvoidsendError(String subject, String message, Collection<String> to, Throwable e, Collection<File> attachments) voidsendToUser(String subject, String message, String userLogin) sendToUserAsync(String subject, String message, String userLogin)
-
Field Details
-
PARAM_DESLIGAR_NOTIF_ERROS
- See Also:
-
-
Method Details
-
send
void send(String subject, String message, Collection<String> to, boolean oneMessagePerTo, Collection<File> attachments) -
send
-
send
-
sendAsync
-
sendError
-
sendError
void sendError(String subject, String message, Collection<String> to, Throwable e, Collection<File> attachments) -
sendError
-
notitySystemError
-
notifySystemError
-
notifySystemError
-
notitySystemError
-
notitySystemErrorAsync
-
notitySystemErrorAsync
-
notifySystemErrorAsync
-
notitySystemErrorAsync
-
sendToUser
-
sendToUserAsync
-
send
-
sendAsync
-
send
void send(String subject, String message, String to, Collection<File> attachments, EmailAccount account) -
getDefaultAccount
EmailAccount getDefaultAccount() -
getDefaultSenderAccount
EmailAccount getDefaultSenderAccount() -
getAccounts
List<EmailAccount> getAccounts() -
getSenderAccounts
List<EmailAccount> getSenderAccounts() -
getAccount
-
deleteAccount
-
saveAccount
-
afterContextRefreshedEvent
void afterContextRefreshedEvent(ContextRefreshedEvent event)
-