com.liferay.mail.util
Class FuseMailHook
java.lang.Object
com.liferay.mail.util.FuseMailHook
- All Implemented Interfaces:
- Hook
public class FuseMailHook
- extends Object
- implements Hook
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 |
deleteEmailAddress(long companyId,
long userId)
|
void |
deleteUser(long companyId,
long userId)
|
protected int |
executeMethod(org.apache.commons.httpclient.methods.PostMethod method)
|
protected org.apache.commons.httpclient.HttpClient |
getHttpClient()
|
protected String |
getMailUserId(long companyId,
long userId)
|
protected org.apache.commons.httpclient.methods.PostMethod |
getPostMethod()
|
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 |
FuseMailHook
public FuseMailHook()
addForward
public void addForward(long companyId,
long userId,
List<Filter> filters,
List<String> emailAddresses,
boolean leaveCopy)
- Specified by:
addForward
in interface Hook
addUser
public void addUser(long companyId,
long userId,
String password,
String firstName,
String middleName,
String lastName,
String emailAddress)
- Specified by:
addUser
in interface Hook
addVacationMessage
public void addVacationMessage(long companyId,
long userId,
String emailAddress,
String vacationMessage)
- Specified by:
addVacationMessage
in interface Hook
deleteEmailAddress
public void deleteEmailAddress(long companyId,
long userId)
- Specified by:
deleteEmailAddress
in interface Hook
deleteUser
public void deleteUser(long companyId,
long userId)
- Specified by:
deleteUser
in interface Hook
updateBlocked
public void updateBlocked(long companyId,
long userId,
List<String> blocked)
- Specified by:
updateBlocked
in interface Hook
updateEmailAddress
public void updateEmailAddress(long companyId,
long userId,
String emailAddress)
- Specified by:
updateEmailAddress
in interface Hook
updatePassword
public void updatePassword(long companyId,
long userId,
String password)
- Specified by:
updatePassword
in interface Hook
executeMethod
protected int executeMethod(org.apache.commons.httpclient.methods.PostMethod method)
throws Exception
- Throws:
Exception
getHttpClient
protected org.apache.commons.httpclient.HttpClient getHttpClient()
getMailUserId
protected String getMailUserId(long companyId,
long userId)
throws Exception
- Throws:
Exception
getPostMethod
protected org.apache.commons.httpclient.methods.PostMethod getPostMethod()