001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
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    /**
024     * @author Brian Wing Shun Chan
025     */
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    }