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.portlet.messageboards.service;
016    
017    
018    /**
019     * <p>
020     * This class is a wrapper for {@link MBStatsUserLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       MBStatsUserLocalService
025     * @generated
026     */
027    public class MBStatsUserLocalServiceWrapper implements MBStatsUserLocalService {
028            public MBStatsUserLocalServiceWrapper(
029                    MBStatsUserLocalService mbStatsUserLocalService) {
030                    _mbStatsUserLocalService = mbStatsUserLocalService;
031            }
032    
033            public com.liferay.portlet.messageboards.model.MBStatsUser addMBStatsUser(
034                    com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser)
035                    throws com.liferay.portal.kernel.exception.SystemException {
036                    return _mbStatsUserLocalService.addMBStatsUser(mbStatsUser);
037            }
038    
039            public com.liferay.portlet.messageboards.model.MBStatsUser createMBStatsUser(
040                    long statsUserId) {
041                    return _mbStatsUserLocalService.createMBStatsUser(statsUserId);
042            }
043    
044            public void deleteMBStatsUser(long statsUserId)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _mbStatsUserLocalService.deleteMBStatsUser(statsUserId);
048            }
049    
050            public void deleteMBStatsUser(
051                    com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser)
052                    throws com.liferay.portal.kernel.exception.SystemException {
053                    _mbStatsUserLocalService.deleteMBStatsUser(mbStatsUser);
054            }
055    
056            @SuppressWarnings("unchecked")
057            public java.util.List dynamicQuery(
058                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
059                    throws com.liferay.portal.kernel.exception.SystemException {
060                    return _mbStatsUserLocalService.dynamicQuery(dynamicQuery);
061            }
062    
063            @SuppressWarnings("unchecked")
064            public java.util.List dynamicQuery(
065                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066                    int end) throws com.liferay.portal.kernel.exception.SystemException {
067                    return _mbStatsUserLocalService.dynamicQuery(dynamicQuery, start, end);
068            }
069    
070            @SuppressWarnings("unchecked")
071            public java.util.List dynamicQuery(
072                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
073                    int end,
074                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075                    throws com.liferay.portal.kernel.exception.SystemException {
076                    return _mbStatsUserLocalService.dynamicQuery(dynamicQuery, start, end,
077                            orderByComparator);
078            }
079    
080            public long dynamicQueryCount(
081                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
082                    throws com.liferay.portal.kernel.exception.SystemException {
083                    return _mbStatsUserLocalService.dynamicQueryCount(dynamicQuery);
084            }
085    
086            public com.liferay.portlet.messageboards.model.MBStatsUser getMBStatsUser(
087                    long statsUserId)
088                    throws com.liferay.portal.kernel.exception.PortalException,
089                            com.liferay.portal.kernel.exception.SystemException {
090                    return _mbStatsUserLocalService.getMBStatsUser(statsUserId);
091            }
092    
093            public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> getMBStatsUsers(
094                    int start, int end)
095                    throws com.liferay.portal.kernel.exception.SystemException {
096                    return _mbStatsUserLocalService.getMBStatsUsers(start, end);
097            }
098    
099            public int getMBStatsUsersCount()
100                    throws com.liferay.portal.kernel.exception.SystemException {
101                    return _mbStatsUserLocalService.getMBStatsUsersCount();
102            }
103    
104            public com.liferay.portlet.messageboards.model.MBStatsUser updateMBStatsUser(
105                    com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser)
106                    throws com.liferay.portal.kernel.exception.SystemException {
107                    return _mbStatsUserLocalService.updateMBStatsUser(mbStatsUser);
108            }
109    
110            public com.liferay.portlet.messageboards.model.MBStatsUser updateMBStatsUser(
111                    com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser,
112                    boolean merge)
113                    throws com.liferay.portal.kernel.exception.SystemException {
114                    return _mbStatsUserLocalService.updateMBStatsUser(mbStatsUser, merge);
115            }
116    
117            public com.liferay.portlet.messageboards.model.MBStatsUser addStatsUser(
118                    long groupId, long userId)
119                    throws com.liferay.portal.kernel.exception.SystemException {
120                    return _mbStatsUserLocalService.addStatsUser(groupId, userId);
121            }
122    
123            public void deleteStatsUsersByGroupId(long groupId)
124                    throws com.liferay.portal.kernel.exception.SystemException {
125                    _mbStatsUserLocalService.deleteStatsUsersByGroupId(groupId);
126            }
127    
128            public void deleteStatsUsersByUserId(long userId)
129                    throws com.liferay.portal.kernel.exception.SystemException {
130                    _mbStatsUserLocalService.deleteStatsUsersByUserId(userId);
131            }
132    
133            public long getMessageCountByUserId(long userId)
134                    throws com.liferay.portal.kernel.exception.SystemException {
135                    return _mbStatsUserLocalService.getMessageCountByUserId(userId);
136            }
137    
138            public com.liferay.portlet.messageboards.model.MBStatsUser getStatsUser(
139                    long groupId, long userId)
140                    throws com.liferay.portal.kernel.exception.SystemException {
141                    return _mbStatsUserLocalService.getStatsUser(groupId, userId);
142            }
143    
144            public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> getStatsUsersByGroupId(
145                    long groupId, int start, int end)
146                    throws com.liferay.portal.kernel.exception.SystemException {
147                    return _mbStatsUserLocalService.getStatsUsersByGroupId(groupId, start,
148                            end);
149            }
150    
151            public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> getStatsUsersByUserId(
152                    long userId) throws com.liferay.portal.kernel.exception.SystemException {
153                    return _mbStatsUserLocalService.getStatsUsersByUserId(userId);
154            }
155    
156            public int getStatsUsersByGroupIdCount(long groupId)
157                    throws com.liferay.portal.kernel.exception.SystemException {
158                    return _mbStatsUserLocalService.getStatsUsersByGroupIdCount(groupId);
159            }
160    
161            public com.liferay.portlet.messageboards.model.MBStatsUser updateStatsUser(
162                    long groupId, long userId)
163                    throws com.liferay.portal.kernel.exception.SystemException {
164                    return _mbStatsUserLocalService.updateStatsUser(groupId, userId);
165            }
166    
167            public com.liferay.portlet.messageboards.model.MBStatsUser updateStatsUser(
168                    long groupId, long userId, java.util.Date lastPostDate)
169                    throws com.liferay.portal.kernel.exception.SystemException {
170                    return _mbStatsUserLocalService.updateStatsUser(groupId, userId,
171                            lastPostDate);
172            }
173    
174            public MBStatsUserLocalService getWrappedMBStatsUserLocalService() {
175                    return _mbStatsUserLocalService;
176            }
177    
178            private MBStatsUserLocalService _mbStatsUserLocalService;
179    }