com.liferay.mail.service.impl
Class MailServiceImpl

java.lang.Object
  extended by com.liferay.mail.service.impl.MailServiceImpl
All Implemented Interfaces:
com.liferay.mail.service.MailService

public class MailServiceImpl
extends java.lang.Object
implements com.liferay.mail.service.MailService

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
MailServiceImpl()
           
 
Method Summary
 void addForward(long companyId, long userId, java.util.List<com.liferay.mail.model.Filter> filters, java.util.List<java.lang.String> emailAddresses, boolean leaveCopy)
           
 void addUser(long companyId, long userId, java.lang.String password, java.lang.String firstName, java.lang.String middleName, java.lang.String lastName, java.lang.String emailAddress)
           
 void addVacationMessage(long companyId, long userId, java.lang.String emailAddress, java.lang.String vacationMessage)
           
 void clearSession()
           
 void deleteEmailAddress(long companyId, long userId)
           
 void deleteUser(long companyId, long userId)
           
 javax.mail.Session getSession()
           
 void sendEmail(com.liferay.portal.kernel.mail.MailMessage mailMessage)
           
 void updateBlocked(long companyId, long userId, java.util.List<java.lang.String> blocked)
           
 void updateEmailAddress(long companyId, long userId, java.lang.String emailAddress)
           
 void updatePassword(long companyId, long userId, java.lang.String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailServiceImpl

public MailServiceImpl()
Method Detail

addForward

public void addForward(long companyId,
                       long userId,
                       java.util.List<com.liferay.mail.model.Filter> filters,
                       java.util.List<java.lang.String> emailAddresses,
                       boolean leaveCopy)
Specified by:
addForward in interface com.liferay.mail.service.MailService

addUser

public void addUser(long companyId,
                    long userId,
                    java.lang.String password,
                    java.lang.String firstName,
                    java.lang.String middleName,
                    java.lang.String lastName,
                    java.lang.String emailAddress)
Specified by:
addUser in interface com.liferay.mail.service.MailService

addVacationMessage

public void addVacationMessage(long companyId,
                               long userId,
                               java.lang.String emailAddress,
                               java.lang.String vacationMessage)
Specified by:
addVacationMessage in interface com.liferay.mail.service.MailService

clearSession

public void clearSession()
Specified by:
clearSession in interface com.liferay.mail.service.MailService

deleteEmailAddress

public void deleteEmailAddress(long companyId,
                               long userId)
Specified by:
deleteEmailAddress in interface com.liferay.mail.service.MailService

deleteUser

public void deleteUser(long companyId,
                       long userId)
Specified by:
deleteUser in interface com.liferay.mail.service.MailService

getSession

public javax.mail.Session getSession()
                              throws com.liferay.portal.SystemException
Specified by:
getSession in interface com.liferay.mail.service.MailService
Throws:
com.liferay.portal.SystemException

sendEmail

public void sendEmail(com.liferay.portal.kernel.mail.MailMessage mailMessage)
Specified by:
sendEmail in interface com.liferay.mail.service.MailService

updateBlocked

public void updateBlocked(long companyId,
                          long userId,
                          java.util.List<java.lang.String> blocked)
Specified by:
updateBlocked in interface com.liferay.mail.service.MailService

updateEmailAddress

public void updateEmailAddress(long companyId,
                               long userId,
                               java.lang.String emailAddress)
Specified by:
updateEmailAddress in interface com.liferay.mail.service.MailService

updatePassword

public void updatePassword(long companyId,
                           long userId,
                           java.lang.String password)
Specified by:
updatePassword in interface com.liferay.mail.service.MailService