Package br.com.davinti.vitruvio.spi.impl
Class EmailServiceImpl
Object
EmailServiceImpl
- All Implemented Interfaces:
EmailService
-
Field Summary
Fields inherited from interface EmailService
PARAM_DESLIGAR_NOTIF_ERROS -
Constructor Summary
Constructors -
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) voidnotitySystemError(String subject, String message, Throwable e, Set<String> grupos, Set<String> usuarios, Set<String> emails) 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)
-
Constructor Details
-
EmailServiceImpl
public EmailServiceImpl()
-
-
Method Details
-
send
- Specified by:
sendin interfaceEmailService
-
sendAsync
- Specified by:
sendAsyncin interfaceEmailService
-
afterContextRefreshedEvent
@EventListener(org.springframework.context.event.ContextRefreshedEvent.class) public void afterContextRefreshedEvent(ContextRefreshedEvent event) - Specified by:
afterContextRefreshedEventin interfaceEmailService
-
send
public void send(String subject, String message, Collection<String> to, boolean oneMessagePerTo, Collection<File> attachments) - Specified by:
sendin interfaceEmailService
-
send
- Specified by:
sendin interfaceEmailService
-
send
public void send(String subject, String message, String to, Collection<File> attachments, EmailAccount account) - Specified by:
sendin interfaceEmailService
-
send
- Specified by:
sendin interfaceEmailService
-
sendAsync
- Specified by:
sendAsyncin interfaceEmailService
-
sendError
- Specified by:
sendErrorin interfaceEmailService
-
sendError
public void sendError(String subject, String message, Collection<String> to, Throwable e, Collection<File> attachments) - Specified by:
sendErrorin interfaceEmailService
-
sendError
- Specified by:
sendErrorin interfaceEmailService
-
notitySystemErrorAsync
- Specified by:
notitySystemErrorAsyncin interfaceEmailService
-
notitySystemErrorAsync
- Specified by:
notitySystemErrorAsyncin interfaceEmailService
-
notitySystemErrorAsync
public Future<Void> notitySystemErrorAsync(String subject, String message, Throwable e, Set<String> grupos, Set<String> usuarios, Set<String> emails) - Specified by:
notitySystemErrorAsyncin interfaceEmailService
-
notifySystemErrorAsync
public Future<Void> notifySystemErrorAsync(String subject, String message, Throwable e, Collection<File> attachments) - Specified by:
notifySystemErrorAsyncin interfaceEmailService
-
notitySystemError
- Specified by:
notitySystemErrorin interfaceEmailService
-
notitySystemError
-
notifySystemError
public void notifySystemError(String subject, String message, Throwable e, Collection<File> attachments) - Specified by:
notifySystemErrorin interfaceEmailService
-
notifySystemError
public void notifySystemError(String subject, String message, Throwable e, Collection<File> attachments, Set<String> grupos, Set<String> usuarios, Set<String> emails) - Specified by:
notifySystemErrorin interfaceEmailService
-
notitySystemError
- Specified by:
notitySystemErrorin interfaceEmailService
-
sendToUser
- Specified by:
sendToUserin interfaceEmailService
-
sendToUserAsync
- Specified by:
sendToUserAsyncin interfaceEmailService
-
getDefaultAccount
- Specified by:
getDefaultAccountin interfaceEmailService
-
getDefaultSenderAccount
- Specified by:
getDefaultSenderAccountin interfaceEmailService
-
getAccounts
- Specified by:
getAccountsin interfaceEmailService
-
getSenderAccounts
- Specified by:
getSenderAccountsin interfaceEmailService
-
getAccount
- Specified by:
getAccountin interfaceEmailService
-
saveAccount
- Specified by:
saveAccountin interfaceEmailService
-
deleteAccount
- Specified by:
deleteAccountin interfaceEmailService
-