Package com.liferay.mail.service.impl
Class MailServiceImpl
Object
com.liferay.mail.service.impl.MailServiceImpl
- All Implemented Interfaces:
com.liferay.mail.kernel.service.MailService
,com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
@CTAware
public class MailServiceImpl
extends Object
implements com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.mail.kernel.service.MailService
- Author:
- Brian Wing Shun Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
clearSession
(long companyId) javax.mail.Session
javax.mail.Session
getSession
(long companyId) javax.mail.Session
getSession
(com.liferay.mail.kernel.model.Account account) void
sendEmail
(com.liferay.mail.kernel.model.MailMessage mailMessage)
-
Constructor Details
-
MailServiceImpl
public MailServiceImpl()
-
-
Method Details
-
clearSession
@Clusterable public void clearSession()- Specified by:
clearSession
in interfacecom.liferay.mail.kernel.service.MailService
-
clearSession
@Clusterable public void clearSession(long companyId) - Specified by:
clearSession
in interfacecom.liferay.mail.kernel.service.MailService
-
getOSGiServiceIdentifier
- Specified by:
getOSGiServiceIdentifier
in interfacecom.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
-
getSession
public javax.mail.Session getSession()- Specified by:
getSession
in interfacecom.liferay.mail.kernel.service.MailService
-
getSession
public javax.mail.Session getSession(com.liferay.mail.kernel.model.Account account) - Specified by:
getSession
in interfacecom.liferay.mail.kernel.service.MailService
-
getSession
public javax.mail.Session getSession(long companyId) - Specified by:
getSession
in interfacecom.liferay.mail.kernel.service.MailService
-
sendEmail
public void sendEmail(com.liferay.mail.kernel.model.MailMessage mailMessage) - Specified by:
sendEmail
in interfacecom.liferay.mail.kernel.service.MailService
-