1
22
23 package com.liferay.portlet.messageboards.service.persistence;
24
25
31 public class MBStatsUserUtil {
32 public static com.liferay.portlet.messageboards.model.MBStatsUser create(
33 long statsUserId) {
34 return getPersistence().create(statsUserId);
35 }
36
37 public static com.liferay.portlet.messageboards.model.MBStatsUser remove(
38 long statsUserId)
39 throws com.liferay.portal.SystemException,
40 com.liferay.portlet.messageboards.NoSuchStatsUserException {
41 return getPersistence().remove(statsUserId);
42 }
43
44 public static com.liferay.portlet.messageboards.model.MBStatsUser remove(
45 com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser)
46 throws com.liferay.portal.SystemException {
47 return getPersistence().remove(mbStatsUser);
48 }
49
50
53 public static com.liferay.portlet.messageboards.model.MBStatsUser update(
54 com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser)
55 throws com.liferay.portal.SystemException {
56 return getPersistence().update(mbStatsUser);
57 }
58
59
72 public static com.liferay.portlet.messageboards.model.MBStatsUser update(
73 com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser,
74 boolean merge) throws com.liferay.portal.SystemException {
75 return getPersistence().update(mbStatsUser, merge);
76 }
77
78 public static com.liferay.portlet.messageboards.model.MBStatsUser updateImpl(
79 com.liferay.portlet.messageboards.model.MBStatsUser mbStatsUser,
80 boolean merge) throws com.liferay.portal.SystemException {
81 return getPersistence().updateImpl(mbStatsUser, merge);
82 }
83
84 public static com.liferay.portlet.messageboards.model.MBStatsUser findByPrimaryKey(
85 long statsUserId)
86 throws com.liferay.portal.SystemException,
87 com.liferay.portlet.messageboards.NoSuchStatsUserException {
88 return getPersistence().findByPrimaryKey(statsUserId);
89 }
90
91 public static com.liferay.portlet.messageboards.model.MBStatsUser fetchByPrimaryKey(
92 long statsUserId) throws com.liferay.portal.SystemException {
93 return getPersistence().fetchByPrimaryKey(statsUserId);
94 }
95
96 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByGroupId(
97 long groupId) throws com.liferay.portal.SystemException {
98 return getPersistence().findByGroupId(groupId);
99 }
100
101 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByGroupId(
102 long groupId, int start, int end)
103 throws com.liferay.portal.SystemException {
104 return getPersistence().findByGroupId(groupId, start, end);
105 }
106
107 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByGroupId(
108 long groupId, int start, int end,
109 com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException {
111 return getPersistence().findByGroupId(groupId, start, end, obc);
112 }
113
114 public static com.liferay.portlet.messageboards.model.MBStatsUser findByGroupId_First(
115 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
116 throws com.liferay.portal.SystemException,
117 com.liferay.portlet.messageboards.NoSuchStatsUserException {
118 return getPersistence().findByGroupId_First(groupId, obc);
119 }
120
121 public static com.liferay.portlet.messageboards.model.MBStatsUser findByGroupId_Last(
122 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portlet.messageboards.NoSuchStatsUserException {
125 return getPersistence().findByGroupId_Last(groupId, obc);
126 }
127
128 public static com.liferay.portlet.messageboards.model.MBStatsUser[] findByGroupId_PrevAndNext(
129 long statsUserId, long groupId,
130 com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException,
132 com.liferay.portlet.messageboards.NoSuchStatsUserException {
133 return getPersistence()
134 .findByGroupId_PrevAndNext(statsUserId, groupId, obc);
135 }
136
137 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByUserId(
138 long userId) throws com.liferay.portal.SystemException {
139 return getPersistence().findByUserId(userId);
140 }
141
142 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByUserId(
143 long userId, int start, int end)
144 throws com.liferay.portal.SystemException {
145 return getPersistence().findByUserId(userId, start, end);
146 }
147
148 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByUserId(
149 long userId, int start, int end,
150 com.liferay.portal.kernel.util.OrderByComparator obc)
151 throws com.liferay.portal.SystemException {
152 return getPersistence().findByUserId(userId, start, end, obc);
153 }
154
155 public static com.liferay.portlet.messageboards.model.MBStatsUser findByUserId_First(
156 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
157 throws com.liferay.portal.SystemException,
158 com.liferay.portlet.messageboards.NoSuchStatsUserException {
159 return getPersistence().findByUserId_First(userId, obc);
160 }
161
162 public static com.liferay.portlet.messageboards.model.MBStatsUser findByUserId_Last(
163 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
164 throws com.liferay.portal.SystemException,
165 com.liferay.portlet.messageboards.NoSuchStatsUserException {
166 return getPersistence().findByUserId_Last(userId, obc);
167 }
168
169 public static com.liferay.portlet.messageboards.model.MBStatsUser[] findByUserId_PrevAndNext(
170 long statsUserId, long userId,
171 com.liferay.portal.kernel.util.OrderByComparator obc)
172 throws com.liferay.portal.SystemException,
173 com.liferay.portlet.messageboards.NoSuchStatsUserException {
174 return getPersistence()
175 .findByUserId_PrevAndNext(statsUserId, userId, obc);
176 }
177
178 public static com.liferay.portlet.messageboards.model.MBStatsUser findByG_U(
179 long groupId, long userId)
180 throws com.liferay.portal.SystemException,
181 com.liferay.portlet.messageboards.NoSuchStatsUserException {
182 return getPersistence().findByG_U(groupId, userId);
183 }
184
185 public static com.liferay.portlet.messageboards.model.MBStatsUser fetchByG_U(
186 long groupId, long userId) throws com.liferay.portal.SystemException {
187 return getPersistence().fetchByG_U(groupId, userId);
188 }
189
190 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByG_M(
191 long groupId, int messageCount)
192 throws com.liferay.portal.SystemException {
193 return getPersistence().findByG_M(groupId, messageCount);
194 }
195
196 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByG_M(
197 long groupId, int messageCount, int start, int end)
198 throws com.liferay.portal.SystemException {
199 return getPersistence().findByG_M(groupId, messageCount, start, end);
200 }
201
202 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findByG_M(
203 long groupId, int messageCount, int start, int end,
204 com.liferay.portal.kernel.util.OrderByComparator obc)
205 throws com.liferay.portal.SystemException {
206 return getPersistence().findByG_M(groupId, messageCount, start, end, obc);
207 }
208
209 public static com.liferay.portlet.messageboards.model.MBStatsUser findByG_M_First(
210 long groupId, int messageCount,
211 com.liferay.portal.kernel.util.OrderByComparator obc)
212 throws com.liferay.portal.SystemException,
213 com.liferay.portlet.messageboards.NoSuchStatsUserException {
214 return getPersistence().findByG_M_First(groupId, messageCount, obc);
215 }
216
217 public static com.liferay.portlet.messageboards.model.MBStatsUser findByG_M_Last(
218 long groupId, int messageCount,
219 com.liferay.portal.kernel.util.OrderByComparator obc)
220 throws com.liferay.portal.SystemException,
221 com.liferay.portlet.messageboards.NoSuchStatsUserException {
222 return getPersistence().findByG_M_Last(groupId, messageCount, obc);
223 }
224
225 public static com.liferay.portlet.messageboards.model.MBStatsUser[] findByG_M_PrevAndNext(
226 long statsUserId, long groupId, int messageCount,
227 com.liferay.portal.kernel.util.OrderByComparator obc)
228 throws com.liferay.portal.SystemException,
229 com.liferay.portlet.messageboards.NoSuchStatsUserException {
230 return getPersistence()
231 .findByG_M_PrevAndNext(statsUserId, groupId, messageCount,
232 obc);
233 }
234
235 public static java.util.List<Object> findWithDynamicQuery(
236 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
237 throws com.liferay.portal.SystemException {
238 return getPersistence().findWithDynamicQuery(dynamicQuery);
239 }
240
241 public static java.util.List<Object> findWithDynamicQuery(
242 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
243 int end) throws com.liferay.portal.SystemException {
244 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
245 }
246
247 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findAll()
248 throws com.liferay.portal.SystemException {
249 return getPersistence().findAll();
250 }
251
252 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findAll(
253 int start, int end) throws com.liferay.portal.SystemException {
254 return getPersistence().findAll(start, end);
255 }
256
257 public static java.util.List<com.liferay.portlet.messageboards.model.MBStatsUser> findAll(
258 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
259 throws com.liferay.portal.SystemException {
260 return getPersistence().findAll(start, end, obc);
261 }
262
263 public static void removeByGroupId(long groupId)
264 throws com.liferay.portal.SystemException {
265 getPersistence().removeByGroupId(groupId);
266 }
267
268 public static void removeByUserId(long userId)
269 throws com.liferay.portal.SystemException {
270 getPersistence().removeByUserId(userId);
271 }
272
273 public static void removeByG_U(long groupId, long userId)
274 throws com.liferay.portal.SystemException,
275 com.liferay.portlet.messageboards.NoSuchStatsUserException {
276 getPersistence().removeByG_U(groupId, userId);
277 }
278
279 public static void removeByG_M(long groupId, int messageCount)
280 throws com.liferay.portal.SystemException {
281 getPersistence().removeByG_M(groupId, messageCount);
282 }
283
284 public static void removeAll() throws com.liferay.portal.SystemException {
285 getPersistence().removeAll();
286 }
287
288 public static int countByGroupId(long groupId)
289 throws com.liferay.portal.SystemException {
290 return getPersistence().countByGroupId(groupId);
291 }
292
293 public static int countByUserId(long userId)
294 throws com.liferay.portal.SystemException {
295 return getPersistence().countByUserId(userId);
296 }
297
298 public static int countByG_U(long groupId, long userId)
299 throws com.liferay.portal.SystemException {
300 return getPersistence().countByG_U(groupId, userId);
301 }
302
303 public static int countByG_M(long groupId, int messageCount)
304 throws com.liferay.portal.SystemException {
305 return getPersistence().countByG_M(groupId, messageCount);
306 }
307
308 public static int countAll() throws com.liferay.portal.SystemException {
309 return getPersistence().countAll();
310 }
311
312 public static MBStatsUserPersistence getPersistence() {
313 return _persistence;
314 }
315
316 public void setPersistence(MBStatsUserPersistence persistence) {
317 _persistence = persistence;
318 }
319
320 private static MBStatsUserPersistence _persistence;
321 }