001
014
015 package com.liferay.mail.util;
016
017 import com.liferay.mail.model.Filter;
018 import com.liferay.portal.kernel.log.Log;
019 import com.liferay.portal.kernel.log.LogFactoryUtil;
020
021 import java.util.List;
022
023
026 public class DummyHook implements Hook {
027
028 public void addForward(
029 long companyId, long userId, List<Filter> filters,
030 List<String> emailAddresses, boolean leaveCopy) {
031
032 if (_log.isDebugEnabled()) {
033 _log.debug("addForward");
034 }
035 }
036
037 public void addUser(
038 long companyId, long userId, String password, String firstName,
039 String middleName, String lastName, String emailAddress) {
040
041 if (_log.isDebugEnabled()) {
042 _log.debug("addUser");
043 }
044 }
045
046 public void addVacationMessage(
047 long companyId, long userId, String emailAddress,
048 String vacationMessage) {
049
050 if (_log.isDebugEnabled()) {
051 _log.debug("addVacationMessage");
052 }
053 }
054
055 public void deleteEmailAddress(long companyId, long userId) {
056 if (_log.isDebugEnabled()) {
057 _log.debug("deleteEmailAddress");
058 }
059 }
060
061 public void deleteUser(long companyId, long userId) {
062 if (_log.isDebugEnabled()) {
063 _log.debug("deleteUser");
064 }
065 }
066
067 public void updateBlocked(
068 long companyId, long userId, List<String> blocked) {
069
070 if (_log.isDebugEnabled()) {
071 _log.debug("updateBlocked");
072 }
073 }
074
075 public void updateEmailAddress(
076 long companyId, long userId, String emailAddress) {
077
078 if (_log.isDebugEnabled()) {
079 _log.debug("updateEmailAddress");
080 }
081 }
082
083 public void updatePassword(long companyId, long userId, String password) {
084 if (_log.isDebugEnabled()) {
085 _log.debug("updatePassword");
086 }
087 }
088
089 private static Log _log = LogFactoryUtil.getLog(DummyHook.class);
090
091 }