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 @Override
029 public void addForward(
030 long companyId, long userId, List<Filter> filters,
031 List<String> emailAddresses, boolean leaveCopy) {
032
033 if (_log.isDebugEnabled()) {
034 _log.debug("addForward");
035 }
036 }
037
038 @Override
039 public void addUser(
040 long companyId, long userId, String password, String firstName,
041 String middleName, String lastName, String emailAddress) {
042
043 if (_log.isDebugEnabled()) {
044 _log.debug("addUser");
045 }
046 }
047
048 @Override
049 public void addVacationMessage(
050 long companyId, long userId, String emailAddress,
051 String vacationMessage) {
052
053 if (_log.isDebugEnabled()) {
054 _log.debug("addVacationMessage");
055 }
056 }
057
058 @Override
059 public void deleteEmailAddress(long companyId, long userId) {
060 if (_log.isDebugEnabled()) {
061 _log.debug("deleteEmailAddress");
062 }
063 }
064
065 @Override
066 public void deleteUser(long companyId, long userId) {
067 if (_log.isDebugEnabled()) {
068 _log.debug("deleteUser");
069 }
070 }
071
072 @Override
073 public void updateBlocked(
074 long companyId, long userId, List<String> blocked) {
075
076 if (_log.isDebugEnabled()) {
077 _log.debug("updateBlocked");
078 }
079 }
080
081 @Override
082 public void updateEmailAddress(
083 long companyId, long userId, String emailAddress) {
084
085 if (_log.isDebugEnabled()) {
086 _log.debug("updateEmailAddress");
087 }
088 }
089
090 @Override
091 public void updatePassword(long companyId, long userId, String password) {
092 if (_log.isDebugEnabled()) {
093 _log.debug("updatePassword");
094 }
095 }
096
097 private static Log _log = LogFactoryUtil.getLog(DummyHook.class);
098
099 }