1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.mail.util;
16  
17  import com.liferay.mail.model.Filter;
18  import com.liferay.portal.kernel.log.Log;
19  import com.liferay.portal.kernel.log.LogFactoryUtil;
20  
21  import java.util.List;
22  
23  /**
24   * <a href="DummyHook.java.html"><b><i>View Source</i></b></a>
25   *
26   * @author Brian Wing Shun Chan
27   */
28  public class DummyHook implements Hook {
29  
30      public void addForward(
31          long companyId, long userId, List<Filter> filters,
32          List<String> emailAddresses, boolean leaveCopy) {
33  
34          if (_log.isDebugEnabled()) {
35              _log.debug("addForward");
36          }
37      }
38  
39      public void addUser(
40          long companyId, long userId, String password, String firstName,
41          String middleName, String lastName, String emailAddress) {
42  
43          if (_log.isDebugEnabled()) {
44              _log.debug("addUser");
45          }
46      }
47  
48      public void addVacationMessage(
49          long companyId, long userId, String emailAddress,
50          String vacationMessage) {
51  
52          if (_log.isDebugEnabled()) {
53              _log.debug("addVacationMessage");
54          }
55      }
56  
57      public void deleteEmailAddress(long companyId, long userId) {
58          if (_log.isDebugEnabled()) {
59              _log.debug("deleteEmailAddress");
60          }
61      }
62  
63      public void deleteUser(long companyId, long userId) {
64          if (_log.isDebugEnabled()) {
65              _log.debug("deleteUser");
66          }
67      }
68  
69      public void updateBlocked(
70          long companyId, long userId, List<String> blocked) {
71  
72          if (_log.isDebugEnabled()) {
73              _log.debug("updateBlocked");
74          }
75      }
76  
77      public void updateEmailAddress(
78          long companyId, long userId, String emailAddress) {
79  
80          if (_log.isDebugEnabled()) {
81              _log.debug("updateEmailAddress");
82          }
83      }
84  
85      public void updatePassword(long companyId, long userId, String password) {
86          if (_log.isDebugEnabled()) {
87              _log.debug("updatePassword");
88          }
89      }
90  
91      private static Log _log = LogFactoryUtil.getLog(DummyHook.class);
92  
93  }