Liferay 6.1.2-ce-ga3

com.liferay.mail.service
Interface MailService

All Known Implementing Classes:
MailServiceImpl

@Transactional(rollbackFor={PortalException.class,SystemException.class})
public interface MailService


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)
           
 javax.mail.Session getSession()
           
 void sendEmail(MailMessage mailMessage)
           
 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)
           
 

Method Detail

addForward

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

addUser

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

addVacationMessage

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

clearSession

void clearSession()

deleteEmailAddress

void deleteEmailAddress(long companyId,
                        long userId)

deleteUser

void deleteUser(long companyId,
                long userId)

getSession

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

sendEmail

void sendEmail(MailMessage mailMessage)

updateBlocked

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

updateEmailAddress

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

updatePassword

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

Liferay 6.1.2-ce-ga3