public class ShellHook extends Object implements com.liferay.mail.kernel.util.Hook
| Modifier and Type | Field and Description |
|---|---|
static String |
SHELL_SCRIPT |
| Constructor and Description |
|---|
ShellHook() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFilters(long companyId,
long userId,
List<String> filters) |
void |
addForward(long companyId,
long userId,
List<com.liferay.mail.kernel.model.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 void |
execute(String[] cmdLine) |
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) |
public static final String SHELL_SCRIPT
public void addForward(long companyId,
long userId,
List<com.liferay.mail.kernel.model.Filter> filters,
List<String> emailAddresses,
boolean leaveCopy)
addForward in interface com.liferay.mail.kernel.util.Hookpublic void addUser(long companyId,
long userId,
String password,
String firstName,
String middleName,
String lastName,
String emailAddress)
addUser in interface com.liferay.mail.kernel.util.Hookpublic void addVacationMessage(long companyId,
long userId,
String emailAddress,
String vacationMessage)
addVacationMessage in interface com.liferay.mail.kernel.util.Hookpublic void deleteEmailAddress(long companyId,
long userId)
deleteEmailAddress in interface com.liferay.mail.kernel.util.Hookpublic void deleteUser(long companyId,
long userId)
deleteUser in interface com.liferay.mail.kernel.util.Hookpublic void updateBlocked(long companyId,
long userId,
List<String> blocked)
updateBlocked in interface com.liferay.mail.kernel.util.Hookpublic void updateEmailAddress(long companyId,
long userId,
String emailAddress)
updateEmailAddress in interface com.liferay.mail.kernel.util.Hookpublic void updatePassword(long companyId,
long userId,
String password)
updatePassword in interface com.liferay.mail.kernel.util.Hookprotected void execute(String[] cmdLine)