1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.messageboards.service;
24  
25  
26  /**
27   * <a href="MBStatsUserLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link MBStatsUserLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       MBStatsUserLocalService
40   * @generated
41   */
42  public class MBStatsUserLocalServiceWrapper implements MBStatsUserLocalService {
43      public MBStatsUserLocalServiceWrapper(
44          MBStatsUserLocalService mbStatsUserLocalService) {
45          _mbStatsUserLocalService = mbStatsUserLocalService;
46      }
47  
48      public com.liferay.portlet.messageboards.model.MBStatsUser addMBStatsUser(
49          com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser)
50          throws com.liferay.portal.SystemException {
51          return _mbStatsUserLocalService.addMBStatsUser(mbStatsUser);
52      }
53  
54      public com.liferay.portlet.messageboards.model.MBStatsUser createMBStatsUser(
55          long statsUserId) {
56          return _mbStatsUserLocalService.createMBStatsUser(statsUserId);
57      }
58  
59      public void deleteMBStatsUser(long statsUserId)
60          throws com.liferay.portal.PortalException,
61              com.liferay.portal.SystemException {
62          _mbStatsUserLocalService.deleteMBStatsUser(statsUserId);
63      }
64  
65      public void deleteMBStatsUser(
66          com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser)
67          throws com.liferay.portal.SystemException {
68          _mbStatsUserLocalService.deleteMBStatsUser(mbStatsUser);
69      }
70  
71      public java.util.List<Object> dynamicQuery(
72          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
73          throws com.liferay.portal.SystemException {
74          return _mbStatsUserLocalService.dynamicQuery(dynamicQuery);
75      }
76  
77      public java.util.List<Object> dynamicQuery(
78          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79          int end) throws com.liferay.portal.SystemException {
80          return _mbStatsUserLocalService.dynamicQuery(dynamicQuery, start, end);
81      }
82  
83      public com.liferay.portlet.messageboards.model.MBStatsUser getMBStatsUser(
84          long statsUserId)
85          throws com.liferay.portal.PortalException,
86              com.liferay.portal.SystemException {
87          return _mbStatsUserLocalService.getMBStatsUser(statsUserId);
88      }
89  
90      public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> getMBStatsUsers(
91          int start, int end) throws com.liferay.portal.SystemException {
92          return _mbStatsUserLocalService.getMBStatsUsers(start, end);
93      }
94  
95      public int getMBStatsUsersCount() throws com.liferay.portal.SystemException {
96          return _mbStatsUserLocalService.getMBStatsUsersCount();
97      }
98  
99      public com.liferay.portlet.messageboards.model.MBStatsUser updateMBStatsUser(
100         com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser)
101         throws com.liferay.portal.SystemException {
102         return _mbStatsUserLocalService.updateMBStatsUser(mbStatsUser);
103     }
104 
105     public com.liferay.portlet.messageboards.model.MBStatsUser updateMBStatsUser(
106         com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser,
107         boolean merge) throws com.liferay.portal.SystemException {
108         return _mbStatsUserLocalService.updateMBStatsUser(mbStatsUser, merge);
109     }
110 
111     public com.liferay.portlet.messageboards.model.MBStatsUser addStatsUser(
112         long groupId, long userId) throws com.liferay.portal.SystemException {
113         return _mbStatsUserLocalService.addStatsUser(groupId, userId);
114     }
115 
116     public void deleteStatsUserByGroupId(long groupId)
117         throws com.liferay.portal.SystemException {
118         _mbStatsUserLocalService.deleteStatsUserByGroupId(groupId);
119     }
120 
121     public void deleteStatsUserByUserId(long userId)
122         throws com.liferay.portal.SystemException {
123         _mbStatsUserLocalService.deleteStatsUserByUserId(userId);
124     }
125 
126     public void deleteStatsUsersByGroupId(long groupId)
127         throws com.liferay.portal.SystemException {
128         _mbStatsUserLocalService.deleteStatsUsersByGroupId(groupId);
129     }
130 
131     public void deleteStatsUsersByUserId(long userId)
132         throws com.liferay.portal.SystemException {
133         _mbStatsUserLocalService.deleteStatsUsersByUserId(userId);
134     }
135 
136     public int getMessageCountByUserId(long userId)
137         throws com.liferay.portal.SystemException {
138         return _mbStatsUserLocalService.getMessageCountByUserId(userId);
139     }
140 
141     public com.liferay.portlet.messageboards.model.MBStatsUser getStatsUser(
142         long groupId, long userId) throws com.liferay.portal.SystemException {
143         return _mbStatsUserLocalService.getStatsUser(groupId, userId);
144     }
145 
146     public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> getStatsUsers(
147         long groupId, int start, int end)
148         throws com.liferay.portal.SystemException {
149         return _mbStatsUserLocalService.getStatsUsers(groupId, start, end);
150     }
151 
152     public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> getStatsUsersByGroupId(
153         long groupId, int start, int end)
154         throws com.liferay.portal.SystemException {
155         return _mbStatsUserLocalService.getStatsUsersByGroupId(groupId, start,
156             end);
157     }
158 
159     public int getStatsUsersByGroupIdCount(long groupId)
160         throws com.liferay.portal.SystemException {
161         return _mbStatsUserLocalService.getStatsUsersByGroupIdCount(groupId);
162     }
163 
164     public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> getStatsUsersByUserId(
165         long userId) throws com.liferay.portal.SystemException {
166         return _mbStatsUserLocalService.getStatsUsersByUserId(userId);
167     }
168 
169     public int getStatsUsersCount(long groupId)
170         throws com.liferay.portal.SystemException {
171         return _mbStatsUserLocalService.getStatsUsersCount(groupId);
172     }
173 
174     public com.liferay.portlet.messageboards.model.MBStatsUser updateStatsUser(
175         long groupId, long userId) throws com.liferay.portal.SystemException {
176         return _mbStatsUserLocalService.updateStatsUser(groupId, userId);
177     }
178 
179     public com.liferay.portlet.messageboards.model.MBStatsUser updateStatsUser(
180         long groupId, long userId, java.util.Date lastPostDate)
181         throws com.liferay.portal.SystemException {
182         return _mbStatsUserLocalService.updateStatsUser(groupId, userId,
183             lastPostDate);
184     }
185 
186     public MBStatsUserLocalService getWrappedMBStatsUserLocalService() {
187         return _mbStatsUserLocalService;
188     }
189 
190     private MBStatsUserLocalService _mbStatsUserLocalService;
191 }