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 |
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 |
clearSession(long companyId) |
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.MailService
public void addUser(long companyId, long userId, String password, String firstName, String middleName, String lastName, String emailAddress)
addUser
in interface com.liferay.mail.kernel.service.MailService
public void addVacationMessage(long companyId, long userId, String emailAddress, String vacationMessage)
addVacationMessage
in interface com.liferay.mail.kernel.service.MailService
@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.MailService
public void deleteEmailAddress(long companyId, long userId)
deleteEmailAddress
in interface com.liferay.mail.kernel.service.MailService
public void deleteUser(long companyId, long userId)
deleteUser
in interface com.liferay.mail.kernel.service.MailService
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
public javax.mail.Session getSession()
getSession
in interface com.liferay.mail.kernel.service.MailService
public void sendEmail(com.liferay.mail.kernel.model.MailMessage mailMessage)
sendEmail
in interface com.liferay.mail.kernel.service.MailService
public void updateBlocked(long companyId, long userId, List<String> blocked)
updateBlocked
in interface com.liferay.mail.kernel.service.MailService
public void updateEmailAddress(long companyId, long userId, String emailAddress)
updateEmailAddress
in interface com.liferay.mail.kernel.service.MailService
public void updatePassword(long companyId, long userId, String password)
updatePassword
in interface com.liferay.mail.kernel.service.MailService