com.liferay.mail.service
Interface MailService


public interface MailService

View Source

Author:
Brian Wing Shun Chan

Method Summary
 void addForward(long userId, java.util.List<Filter> filters, java.util.List<java.lang.String> 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<java.lang.String> blocked)
           
 void updateEmailAddress(long userId, java.lang.String emailAddress)
           
 void updatePassword(long userId, java.lang.String password)
           
 

Method Detail

addForward

void addForward(long userId,
                java.util.List<Filter> filters,
                java.util.List<java.lang.String> emailAddresses,
                boolean leaveCopy)
                throws java.rmi.RemoteException,
                       com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

addUser

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 java.rmi.RemoteException,
                    com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

addVacationMessage

void addVacationMessage(long userId,
                        java.lang.String emailAddress,
                        java.lang.String vacationMessage)
                        throws java.rmi.RemoteException,
                               com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

deleteEmailAddress

void deleteEmailAddress(long userId)
                        throws java.rmi.RemoteException,
                               com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

deleteUser

void deleteUser(long userId)
                throws java.rmi.RemoteException,
                       com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

sendEmail

void sendEmail(com.liferay.portal.kernel.mail.MailMessage mailMessage)
               throws java.rmi.RemoteException,
                      com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

updateBlocked

void updateBlocked(long userId,
                   java.util.List<java.lang.String> blocked)
                   throws java.rmi.RemoteException,
                          com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

updateEmailAddress

void updateEmailAddress(long userId,
                        java.lang.String emailAddress)
                        throws java.rmi.RemoteException,
                               com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

updatePassword

void updatePassword(long userId,
                    java.lang.String password)
                    throws java.rmi.RemoteException,
                           com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException