com.liferay.mail.service.impl
Class MailServiceImpl

java.lang.Object
  extended bycom.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 userId, java.util.List filters, java.util.List emailAddresses, boolean leaveCopy)
           
 void addUser(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 userId, java.lang.String emailAddress, java.lang.String vacationMessage)
           
 void deleteEmailAddress(long userId)
           
 void deleteUser(long userId)
           
 void sendEmail(com.liferay.portal.kernel.mail.MailMessage mailMessage)
           
 void updateBlocked(long userId, java.util.List blocked)
           
 void updateEmailAddress(long userId, java.lang.String emailAddress)
           
 void updatePassword(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 userId,
                       java.util.List filters,
                       java.util.List emailAddresses,
                       boolean leaveCopy)
                throws com.liferay.portal.SystemException
Specified by:
addForward in interface com.liferay.mail.service.MailService
Throws:
com.liferay.portal.SystemException

addUser

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

addVacationMessage

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

deleteEmailAddress

public void deleteEmailAddress(long userId)
                        throws com.liferay.portal.SystemException
Specified by:
deleteEmailAddress in interface com.liferay.mail.service.MailService
Throws:
com.liferay.portal.SystemException

deleteUser

public void deleteUser(long userId)
                throws com.liferay.portal.SystemException
Specified by:
deleteUser in interface com.liferay.mail.service.MailService
Throws:
com.liferay.portal.SystemException

sendEmail

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

updateBlocked

public void updateBlocked(long userId,
                          java.util.List blocked)
                   throws com.liferay.portal.SystemException
Specified by:
updateBlocked in interface com.liferay.mail.service.MailService
Throws:
com.liferay.portal.SystemException

updateEmailAddress

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

updatePassword

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