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 TypeMethodDescriptionvoidvoidclearSession(long companyId) javax.mail.Sessionjavax.mail.SessiongetSession(long companyId) javax.mail.SessiongetSession(com.liferay.mail.kernel.model.Account account) voidsendEmail(com.liferay.mail.kernel.model.MailMessage mailMessage)
-
Constructor Details
-
MailServiceImpl
public MailServiceImpl()
-
-
Method Details
-
clearSession
@Clusterable public void clearSession()- Specified by:
clearSessionin interfacecom.liferay.mail.kernel.service.MailService
-
clearSession
@Clusterable public void clearSession(long companyId) - Specified by:
clearSessionin interfacecom.liferay.mail.kernel.service.MailService
-
getOSGiServiceIdentifier
- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
-
getSession
public javax.mail.Session getSession()- Specified by:
getSessionin interfacecom.liferay.mail.kernel.service.MailService
-
getSession
public javax.mail.Session getSession(com.liferay.mail.kernel.model.Account account) - Specified by:
getSessionin interfacecom.liferay.mail.kernel.service.MailService
-
getSession
public javax.mail.Session getSession(long companyId) - Specified by:
getSessionin interfacecom.liferay.mail.kernel.service.MailService
-
sendEmail
public void sendEmail(com.liferay.mail.kernel.model.MailMessage mailMessage) - Specified by:
sendEmailin interfacecom.liferay.mail.kernel.service.MailService
-