Liferay 6.1.2-ce-ga3

com.liferay.mail.service.impl
Class MailServiceImpl

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

public class MailServiceImpl
extends Object
implements MailService, IdentifiableBean


Constructor Summary
MailServiceImpl()
           
 
Method Summary
 void addForward(long companyId, long userId, List<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 deleteEmailAddress(long companyId, long userId)
           
 void deleteUser(long companyId, long userId)
           
 String getBeanIdentifier()
           
 javax.mail.Session getSession()
           
 void sendEmail(MailMessage mailMessage)
           
 void setBeanIdentifier(String beanIdentifier)
           
 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)
           
 
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,
                       List<Filter> filters,
                       List<String> emailAddresses,
                       boolean leaveCopy)
Specified by:
addForward in interface MailService

addUser

public void addUser(long companyId,
                    long userId,
                    String password,
                    String firstName,
                    String middleName,
                    String lastName,
                    String emailAddress)
Specified by:
addUser in interface MailService

addVacationMessage

public void addVacationMessage(long companyId,
                               long userId,
                               String emailAddress,
                               String vacationMessage)
Specified by:
addVacationMessage in interface MailService

clearSession

public void clearSession()
Specified by:
clearSession in interface MailService

deleteEmailAddress

public void deleteEmailAddress(long companyId,
                               long userId)
Specified by:
deleteEmailAddress in interface MailService

deleteUser

public void deleteUser(long companyId,
                       long userId)
Specified by:
deleteUser in interface MailService

getBeanIdentifier

public String getBeanIdentifier()
Specified by:
getBeanIdentifier in interface IdentifiableBean

getSession

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

sendEmail

public void sendEmail(MailMessage mailMessage)
Specified by:
sendEmail in interface MailService

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Specified by:
setBeanIdentifier in interface IdentifiableBean

updateBlocked

public void updateBlocked(long companyId,
                          long userId,
                          List<String> blocked)
Specified by:
updateBlocked in interface MailService

updateEmailAddress

public void updateEmailAddress(long companyId,
                               long userId,
                               String emailAddress)
Specified by:
updateEmailAddress in interface MailService

updatePassword

public void updatePassword(long companyId,
                           long userId,
                           String password)
Specified by:
updatePassword in interface MailService

Liferay 6.1.2-ce-ga3