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 void addFilters(long companyId, long userId, List<String> filters)
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.Hook
public void addUser(long companyId, long userId, String password, String firstName, String middleName, String lastName, String emailAddress)
addUser
in interface com.liferay.mail.kernel.util.Hook
public void addVacationMessage(long companyId, long userId, String emailAddress, String vacationMessage)
addVacationMessage
in interface com.liferay.mail.kernel.util.Hook
public void deleteEmailAddress(long companyId, long userId)
deleteEmailAddress
in interface com.liferay.mail.kernel.util.Hook
public void deleteUser(long companyId, long userId)
deleteUser
in interface com.liferay.mail.kernel.util.Hook
public void updateBlocked(long companyId, long userId, List<String> blocked)
updateBlocked
in interface com.liferay.mail.kernel.util.Hook
public void updateEmailAddress(long companyId, long userId, String emailAddress)
updateEmailAddress
in interface com.liferay.mail.kernel.util.Hook
public void updatePassword(long companyId, long userId, String password)
updatePassword
in interface com.liferay.mail.kernel.util.Hook
protected void execute(String[] cmdLine)