Liferay 6.0.5

com.liferay.mail.service
Class MailServiceUtil

java.lang.Object
  extended by com.liferay.mail.service.MailServiceUtil

public class MailServiceUtil
extends Object


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

Constructor Detail

MailServiceUtil

public MailServiceUtil()
Method Detail

addForward

public static void addForward(long companyId,
                              long userId,
                              List<Filter> filters,
                              List<String> emailAddresses,
                              boolean leaveCopy)

addUser

public static void addUser(long companyId,
                           long userId,
                           String password,
                           String firstName,
                           String middleName,
                           String lastName,
                           String emailAddress)

addVacationMessage

public static void addVacationMessage(long companyId,
                                      long userId,
                                      String emailAddress,
                                      String vacationMessage)

clearSession

public static void clearSession()

deleteEmailAddress

public static void deleteEmailAddress(long companyId,
                                      long userId)

deleteUser

public static void deleteUser(long companyId,
                              long userId)

getService

public static MailService getService()

getSession

public static javax.mail.Session getSession()
                                     throws SystemException
Throws:
SystemException

sendEmail

public static void sendEmail(MailMessage mailMessage)

updateBlocked

public static void updateBlocked(long companyId,
                                 long userId,
                                 List<String> blocked)

updateEmailAddress

public static void updateEmailAddress(long companyId,
                                      long userId,
                                      String emailAddress)

updatePassword

public static void updatePassword(long companyId,
                                  long userId,
                                  String password)

setService

public void setService(MailService service)

Liferay 6.0.5