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