public class MailServiceImpl extends Object implements com.liferay.mail.kernel.service.MailService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
| Constructor and Description |
|---|
MailServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addForward(long companyId,
long userId,
List<com.liferay.mail.kernel.model.Filter> filters,
List<String> emailAddresses,
boolean leaveCopy) |
void |
addUser(long companyId,
long userId,
String password,
String firstName,
String middleName,
String lastName,
String emailAddress) |
void |
addVacationMessage(long companyId,
long userId,
String emailAddress,
String vacationMessage) |
void |
clearSession() |
void |
deleteEmailAddress(long companyId,
long userId) |
void |
deleteUser(long companyId,
long userId) |
String |
getOSGiServiceIdentifier() |
javax.mail.Session |
getSession() |
void |
sendEmail(com.liferay.mail.kernel.model.MailMessage mailMessage) |
void |
updateBlocked(long companyId,
long userId,
List<String> blocked) |
void |
updateEmailAddress(long companyId,
long userId,
String emailAddress) |
void |
updatePassword(long companyId,
long userId,
String password) |
public void addForward(long companyId,
long userId,
List<com.liferay.mail.kernel.model.Filter> filters,
List<String> emailAddresses,
boolean leaveCopy)
addForward in interface com.liferay.mail.kernel.service.MailServicepublic void addUser(long companyId,
long userId,
String password,
String firstName,
String middleName,
String lastName,
String emailAddress)
addUser in interface com.liferay.mail.kernel.service.MailServicepublic void addVacationMessage(long companyId,
long userId,
String emailAddress,
String vacationMessage)
addVacationMessage in interface com.liferay.mail.kernel.service.MailServicepublic void clearSession()
clearSession in interface com.liferay.mail.kernel.service.MailServicepublic void deleteEmailAddress(long companyId,
long userId)
deleteEmailAddress in interface com.liferay.mail.kernel.service.MailServicepublic void deleteUser(long companyId,
long userId)
deleteUser 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 void sendEmail(com.liferay.mail.kernel.model.MailMessage mailMessage)
sendEmail in interface com.liferay.mail.kernel.service.MailServicepublic void updateBlocked(long companyId,
long userId,
List<String> blocked)
updateBlocked in interface com.liferay.mail.kernel.service.MailServicepublic void updateEmailAddress(long companyId,
long userId,
String emailAddress)
updateEmailAddress in interface com.liferay.mail.kernel.service.MailServicepublic void updatePassword(long companyId,
long userId,
String password)
updatePassword in interface com.liferay.mail.kernel.service.MailService