com.liferay.mail.util
Class ShellHook
java.lang.Object
com.liferay.mail.util.ShellHook
- All Implemented Interfaces:
- com.liferay.mail.kernel.util.Hook
public class ShellHook
- extends Object
- implements com.liferay.mail.kernel.util.Hook
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHELL_SCRIPT
public static final String SHELL_SCRIPT
ShellHook
public ShellHook()
addFilters
public void addFilters(long companyId,
long userId,
List<String> filters)
addForward
public void addForward(long companyId,
long userId,
List<com.liferay.mail.kernel.model.Filter> filters,
List<String> emailAddresses,
boolean leaveCopy)
- Specified by:
addForward
in interface com.liferay.mail.kernel.util.Hook
addUser
public void addUser(long companyId,
long userId,
String password,
String firstName,
String middleName,
String lastName,
String emailAddress)
- Specified by:
addUser
in interface com.liferay.mail.kernel.util.Hook
addVacationMessage
public void addVacationMessage(long companyId,
long userId,
String emailAddress,
String vacationMessage)
- Specified by:
addVacationMessage
in interface com.liferay.mail.kernel.util.Hook
deleteEmailAddress
public void deleteEmailAddress(long companyId,
long userId)
- Specified by:
deleteEmailAddress
in interface com.liferay.mail.kernel.util.Hook
deleteUser
public void deleteUser(long companyId,
long userId)
- Specified by:
deleteUser
in interface com.liferay.mail.kernel.util.Hook
updateBlocked
public void updateBlocked(long companyId,
long userId,
List<String> blocked)
- Specified by:
updateBlocked
in interface com.liferay.mail.kernel.util.Hook
updateEmailAddress
public void updateEmailAddress(long companyId,
long userId,
String emailAddress)
- Specified by:
updateEmailAddress
in interface com.liferay.mail.kernel.util.Hook
updatePassword
public void updatePassword(long companyId,
long userId,
String password)
- Specified by:
updatePassword
in interface com.liferay.mail.kernel.util.Hook
execute
protected void execute(String[] cmdLine)