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.portlet.messageboards.service;
16  
17  /**
18   * <a href="MBStatsUserLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link MBStatsUserLocalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       MBStatsUserLocalService
31   * @generated
32   */
33  public class MBStatsUserLocalServiceWrapper implements MBStatsUserLocalService {
34      public MBStatsUserLocalServiceWrapper(
35          MBStatsUserLocalService mbStatsUserLocalService) {
36          _mbStatsUserLocalService = mbStatsUserLocalService;
37      }
38  
39      public com.liferay.portlet.messageboards.model.MBStatsUser addMBStatsUser(
40          com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser)
41          throws com.liferay.portal.SystemException {
42          return _mbStatsUserLocalService.addMBStatsUser(mbStatsUser);
43      }
44  
45      public com.liferay.portlet.messageboards.model.MBStatsUser createMBStatsUser(
46          long statsUserId) {
47          return _mbStatsUserLocalService.createMBStatsUser(statsUserId);
48      }
49  
50      public void deleteMBStatsUser(long statsUserId)
51          throws com.liferay.portal.PortalException,
52              com.liferay.portal.SystemException {
53          _mbStatsUserLocalService.deleteMBStatsUser(statsUserId);
54      }
55  
56      public void deleteMBStatsUser(
57          com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser)
58          throws com.liferay.portal.SystemException {
59          _mbStatsUserLocalService.deleteMBStatsUser(mbStatsUser);
60      }
61  
62      @SuppressWarnings("rawtypes")
63      public java.util.List dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.SystemException {
66          return _mbStatsUserLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      @SuppressWarnings("rawtypes")
70      public java.util.List dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.SystemException {
73          return _mbStatsUserLocalService.dynamicQuery(dynamicQuery, start, end);
74      }
75  
76      @SuppressWarnings("rawtypes")
77      public java.util.List dynamicQuery(
78          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79          int end,
80          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81          throws com.liferay.portal.SystemException {
82          return _mbStatsUserLocalService.dynamicQuery(dynamicQuery, start, end,
83              orderByComparator);
84      }
85  
86      public int dynamicQueryCount(
87          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
88          throws com.liferay.portal.SystemException {
89          return _mbStatsUserLocalService.dynamicQueryCount(dynamicQuery);
90      }
91  
92      public com.liferay.portlet.messageboards.model.MBStatsUser getMBStatsUser(
93          long statsUserId)
94          throws com.liferay.portal.PortalException,
95              com.liferay.portal.SystemException {
96          return _mbStatsUserLocalService.getMBStatsUser(statsUserId);
97      }
98  
99      public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> getMBStatsUsers(
100         int start, int end) throws com.liferay.portal.SystemException {
101         return _mbStatsUserLocalService.getMBStatsUsers(start, end);
102     }
103 
104     public int getMBStatsUsersCount() throws com.liferay.portal.SystemException {
105         return _mbStatsUserLocalService.getMBStatsUsersCount();
106     }
107 
108     public com.liferay.portlet.messageboards.model.MBStatsUser updateMBStatsUser(
109         com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser)
110         throws com.liferay.portal.SystemException {
111         return _mbStatsUserLocalService.updateMBStatsUser(mbStatsUser);
112     }
113 
114     public com.liferay.portlet.messageboards.model.MBStatsUser updateMBStatsUser(
115         com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser,
116         boolean merge) throws com.liferay.portal.SystemException {
117         return _mbStatsUserLocalService.updateMBStatsUser(mbStatsUser, merge);
118     }
119 
120     public com.liferay.portlet.messageboards.model.MBStatsUser addStatsUser(
121         long groupId, long userId) throws com.liferay.portal.SystemException {
122         return _mbStatsUserLocalService.addStatsUser(groupId, userId);
123     }
124 
125     /**
126     * @deprecated
127     */
128     public void deleteStatsUserByGroupId(long groupId)
129         throws com.liferay.portal.SystemException {
130         _mbStatsUserLocalService.deleteStatsUserByGroupId(groupId);
131     }
132 
133     /**
134     * @deprecated
135     */
136     public void deleteStatsUserByUserId(long userId)
137         throws com.liferay.portal.SystemException {
138         _mbStatsUserLocalService.deleteStatsUserByUserId(userId);
139     }
140 
141     public void deleteStatsUsersByGroupId(long groupId)
142         throws com.liferay.portal.SystemException {
143         _mbStatsUserLocalService.deleteStatsUsersByGroupId(groupId);
144     }
145 
146     public void deleteStatsUsersByUserId(long userId)
147         throws com.liferay.portal.SystemException {
148         _mbStatsUserLocalService.deleteStatsUsersByUserId(userId);
149     }
150 
151     public int getMessageCountByUserId(long userId)
152         throws com.liferay.portal.SystemException {
153         return _mbStatsUserLocalService.getMessageCountByUserId(userId);
154     }
155 
156     public com.liferay.portlet.messageboards.model.MBStatsUser getStatsUser(
157         long groupId, long userId) throws com.liferay.portal.SystemException {
158         return _mbStatsUserLocalService.getStatsUser(groupId, userId);
159     }
160 
161     /**
162     * @deprecated
163     */
164     public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> getStatsUsers(
165         long groupId, int start, int end)
166         throws com.liferay.portal.SystemException {
167         return _mbStatsUserLocalService.getStatsUsers(groupId, start, end);
168     }
169 
170     public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> getStatsUsersByGroupId(
171         long groupId, int start, int end)
172         throws com.liferay.portal.SystemException {
173         return _mbStatsUserLocalService.getStatsUsersByGroupId(groupId, start,
174             end);
175     }
176 
177     public int getStatsUsersByGroupIdCount(long groupId)
178         throws com.liferay.portal.SystemException {
179         return _mbStatsUserLocalService.getStatsUsersByGroupIdCount(groupId);
180     }
181 
182     public java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> getStatsUsersByUserId(
183         long userId) throws com.liferay.portal.SystemException {
184         return _mbStatsUserLocalService.getStatsUsersByUserId(userId);
185     }
186 
187     /**
188     * @deprecated
189     */
190     public int getStatsUsersCount(long groupId)
191         throws com.liferay.portal.SystemException {
192         return _mbStatsUserLocalService.getStatsUsersCount(groupId);
193     }
194 
195     public com.liferay.portlet.messageboards.model.MBStatsUser updateStatsUser(
196         long groupId, long userId) throws com.liferay.portal.SystemException {
197         return _mbStatsUserLocalService.updateStatsUser(groupId, userId);
198     }
199 
200     public com.liferay.portlet.messageboards.model.MBStatsUser updateStatsUser(
201         long groupId, long userId, java.util.Date lastPostDate)
202         throws com.liferay.portal.SystemException {
203         return _mbStatsUserLocalService.updateStatsUser(groupId, userId,
204             lastPostDate);
205     }
206 
207     public MBStatsUserLocalService getWrappedMBStatsUserLocalService() {
208         return _mbStatsUserLocalService;
209     }
210 
211     private MBStatsUserLocalService _mbStatsUserLocalService;
212 }