@CTAware
public class MailServiceImpl
extends Object
implements com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.mail.kernel.service.MailService
| Constructor and Description |
|---|
MailServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearSession() |
void |
clearSession(long companyId) |
String |
getOSGiServiceIdentifier() |
javax.mail.Session |
getSession() |
javax.mail.Session |
getSession(com.liferay.mail.kernel.model.Account account) |
void |
sendEmail(com.liferay.mail.kernel.model.MailMessage mailMessage) |
@Clusterable public void clearSession()
clearSession in interface com.liferay.mail.kernel.service.MailService@Clusterable public void clearSession(long companyId)
clearSession in interface com.liferay.mail.kernel.service.MailServicepublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiServicepublic javax.mail.Session getSession()
getSession in interface com.liferay.mail.kernel.service.MailServicepublic javax.mail.Session getSession(com.liferay.mail.kernel.model.Account account)
getSession in interface com.liferay.mail.kernel.service.MailServicepublic void sendEmail(com.liferay.mail.kernel.model.MailMessage mailMessage)
sendEmail in interface com.liferay.mail.kernel.service.MailService