1
19
20 package com.liferay.portlet.blogs.service.persistence;
21
22
28 public class BlogsStatsUserUtil {
29 public static com.liferay.portlet.blogs.model.BlogsStatsUser create(
30 long statsUserId) {
31 return getPersistence().create(statsUserId);
32 }
33
34 public static com.liferay.portlet.blogs.model.BlogsStatsUser remove(
35 long statsUserId)
36 throws com.liferay.portal.SystemException,
37 com.liferay.portlet.blogs.NoSuchStatsUserException {
38 return getPersistence().remove(statsUserId);
39 }
40
41 public static com.liferay.portlet.blogs.model.BlogsStatsUser remove(
42 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
43 throws com.liferay.portal.SystemException {
44 return getPersistence().remove(blogsStatsUser);
45 }
46
47
50 public static com.liferay.portlet.blogs.model.BlogsStatsUser update(
51 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
52 throws com.liferay.portal.SystemException {
53 return getPersistence().update(blogsStatsUser);
54 }
55
56
69 public static com.liferay.portlet.blogs.model.BlogsStatsUser update(
70 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser,
71 boolean merge) throws com.liferay.portal.SystemException {
72 return getPersistence().update(blogsStatsUser, merge);
73 }
74
75 public static com.liferay.portlet.blogs.model.BlogsStatsUser updateImpl(
76 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser,
77 boolean merge) throws com.liferay.portal.SystemException {
78 return getPersistence().updateImpl(blogsStatsUser, merge);
79 }
80
81 public static com.liferay.portlet.blogs.model.BlogsStatsUser findByPrimaryKey(
82 long statsUserId)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portlet.blogs.NoSuchStatsUserException {
85 return getPersistence().findByPrimaryKey(statsUserId);
86 }
87
88 public static com.liferay.portlet.blogs.model.BlogsStatsUser fetchByPrimaryKey(
89 long statsUserId) throws com.liferay.portal.SystemException {
90 return getPersistence().fetchByPrimaryKey(statsUserId);
91 }
92
93 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
94 long groupId) throws com.liferay.portal.SystemException {
95 return getPersistence().findByGroupId(groupId);
96 }
97
98 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
99 long groupId, int start, int end)
100 throws com.liferay.portal.SystemException {
101 return getPersistence().findByGroupId(groupId, start, end);
102 }
103
104 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByGroupId(
105 long groupId, int start, int end,
106 com.liferay.portal.kernel.util.OrderByComparator obc)
107 throws com.liferay.portal.SystemException {
108 return getPersistence().findByGroupId(groupId, start, end, obc);
109 }
110
111 public static com.liferay.portlet.blogs.model.BlogsStatsUser findByGroupId_First(
112 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
113 throws com.liferay.portal.SystemException,
114 com.liferay.portlet.blogs.NoSuchStatsUserException {
115 return getPersistence().findByGroupId_First(groupId, obc);
116 }
117
118 public static com.liferay.portlet.blogs.model.BlogsStatsUser findByGroupId_Last(
119 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
120 throws com.liferay.portal.SystemException,
121 com.liferay.portlet.blogs.NoSuchStatsUserException {
122 return getPersistence().findByGroupId_Last(groupId, obc);
123 }
124
125 public static com.liferay.portlet.blogs.model.BlogsStatsUser[] findByGroupId_PrevAndNext(
126 long statsUserId, long groupId,
127 com.liferay.portal.kernel.util.OrderByComparator obc)
128 throws com.liferay.portal.SystemException,
129 com.liferay.portlet.blogs.NoSuchStatsUserException {
130 return getPersistence()
131 .findByGroupId_PrevAndNext(statsUserId, groupId, obc);
132 }
133
134 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
135 long userId) throws com.liferay.portal.SystemException {
136 return getPersistence().findByUserId(userId);
137 }
138
139 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
140 long userId, int start, int end)
141 throws com.liferay.portal.SystemException {
142 return getPersistence().findByUserId(userId, start, end);
143 }
144
145 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByUserId(
146 long userId, int start, int end,
147 com.liferay.portal.kernel.util.OrderByComparator obc)
148 throws com.liferay.portal.SystemException {
149 return getPersistence().findByUserId(userId, start, end, obc);
150 }
151
152 public static com.liferay.portlet.blogs.model.BlogsStatsUser findByUserId_First(
153 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
154 throws com.liferay.portal.SystemException,
155 com.liferay.portlet.blogs.NoSuchStatsUserException {
156 return getPersistence().findByUserId_First(userId, obc);
157 }
158
159 public static com.liferay.portlet.blogs.model.BlogsStatsUser findByUserId_Last(
160 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
161 throws com.liferay.portal.SystemException,
162 com.liferay.portlet.blogs.NoSuchStatsUserException {
163 return getPersistence().findByUserId_Last(userId, obc);
164 }
165
166 public static com.liferay.portlet.blogs.model.BlogsStatsUser[] findByUserId_PrevAndNext(
167 long statsUserId, long userId,
168 com.liferay.portal.kernel.util.OrderByComparator obc)
169 throws com.liferay.portal.SystemException,
170 com.liferay.portlet.blogs.NoSuchStatsUserException {
171 return getPersistence()
172 .findByUserId_PrevAndNext(statsUserId, userId, obc);
173 }
174
175 public static com.liferay.portlet.blogs.model.BlogsStatsUser findByG_U(
176 long groupId, long userId)
177 throws com.liferay.portal.SystemException,
178 com.liferay.portlet.blogs.NoSuchStatsUserException {
179 return getPersistence().findByG_U(groupId, userId);
180 }
181
182 public static com.liferay.portlet.blogs.model.BlogsStatsUser fetchByG_U(
183 long groupId, long userId) throws com.liferay.portal.SystemException {
184 return getPersistence().fetchByG_U(groupId, userId);
185 }
186
187 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_E(
188 long groupId, int entryCount) throws com.liferay.portal.SystemException {
189 return getPersistence().findByG_E(groupId, entryCount);
190 }
191
192 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_E(
193 long groupId, int entryCount, int start, int end)
194 throws com.liferay.portal.SystemException {
195 return getPersistence().findByG_E(groupId, entryCount, start, end);
196 }
197
198 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByG_E(
199 long groupId, int entryCount, int start, int end,
200 com.liferay.portal.kernel.util.OrderByComparator obc)
201 throws com.liferay.portal.SystemException {
202 return getPersistence().findByG_E(groupId, entryCount, start, end, obc);
203 }
204
205 public static com.liferay.portlet.blogs.model.BlogsStatsUser findByG_E_First(
206 long groupId, int entryCount,
207 com.liferay.portal.kernel.util.OrderByComparator obc)
208 throws com.liferay.portal.SystemException,
209 com.liferay.portlet.blogs.NoSuchStatsUserException {
210 return getPersistence().findByG_E_First(groupId, entryCount, obc);
211 }
212
213 public static com.liferay.portlet.blogs.model.BlogsStatsUser findByG_E_Last(
214 long groupId, int entryCount,
215 com.liferay.portal.kernel.util.OrderByComparator obc)
216 throws com.liferay.portal.SystemException,
217 com.liferay.portlet.blogs.NoSuchStatsUserException {
218 return getPersistence().findByG_E_Last(groupId, entryCount, obc);
219 }
220
221 public static com.liferay.portlet.blogs.model.BlogsStatsUser[] findByG_E_PrevAndNext(
222 long statsUserId, long groupId, int entryCount,
223 com.liferay.portal.kernel.util.OrderByComparator obc)
224 throws com.liferay.portal.SystemException,
225 com.liferay.portlet.blogs.NoSuchStatsUserException {
226 return getPersistence()
227 .findByG_E_PrevAndNext(statsUserId, groupId, entryCount, obc);
228 }
229
230 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_E(
231 long companyId, int entryCount)
232 throws com.liferay.portal.SystemException {
233 return getPersistence().findByC_E(companyId, entryCount);
234 }
235
236 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_E(
237 long companyId, int entryCount, int start, int end)
238 throws com.liferay.portal.SystemException {
239 return getPersistence().findByC_E(companyId, entryCount, start, end);
240 }
241
242 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findByC_E(
243 long companyId, int entryCount, int start, int end,
244 com.liferay.portal.kernel.util.OrderByComparator obc)
245 throws com.liferay.portal.SystemException {
246 return getPersistence().findByC_E(companyId, entryCount, start, end, obc);
247 }
248
249 public static com.liferay.portlet.blogs.model.BlogsStatsUser findByC_E_First(
250 long companyId, int entryCount,
251 com.liferay.portal.kernel.util.OrderByComparator obc)
252 throws com.liferay.portal.SystemException,
253 com.liferay.portlet.blogs.NoSuchStatsUserException {
254 return getPersistence().findByC_E_First(companyId, entryCount, obc);
255 }
256
257 public static com.liferay.portlet.blogs.model.BlogsStatsUser findByC_E_Last(
258 long companyId, int entryCount,
259 com.liferay.portal.kernel.util.OrderByComparator obc)
260 throws com.liferay.portal.SystemException,
261 com.liferay.portlet.blogs.NoSuchStatsUserException {
262 return getPersistence().findByC_E_Last(companyId, entryCount, obc);
263 }
264
265 public static com.liferay.portlet.blogs.model.BlogsStatsUser[] findByC_E_PrevAndNext(
266 long statsUserId, long companyId, int entryCount,
267 com.liferay.portal.kernel.util.OrderByComparator obc)
268 throws com.liferay.portal.SystemException,
269 com.liferay.portlet.blogs.NoSuchStatsUserException {
270 return getPersistence()
271 .findByC_E_PrevAndNext(statsUserId, companyId, entryCount,
272 obc);
273 }
274
275 public static java.util.List<Object> findWithDynamicQuery(
276 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
277 throws com.liferay.portal.SystemException {
278 return getPersistence().findWithDynamicQuery(dynamicQuery);
279 }
280
281 public static java.util.List<Object> findWithDynamicQuery(
282 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
283 int end) throws com.liferay.portal.SystemException {
284 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
285 }
286
287 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll()
288 throws com.liferay.portal.SystemException {
289 return getPersistence().findAll();
290 }
291
292 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll(
293 int start, int end) throws com.liferay.portal.SystemException {
294 return getPersistence().findAll(start, end);
295 }
296
297 public static java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> findAll(
298 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
299 throws com.liferay.portal.SystemException {
300 return getPersistence().findAll(start, end, obc);
301 }
302
303 public static void removeByGroupId(long groupId)
304 throws com.liferay.portal.SystemException {
305 getPersistence().removeByGroupId(groupId);
306 }
307
308 public static void removeByUserId(long userId)
309 throws com.liferay.portal.SystemException {
310 getPersistence().removeByUserId(userId);
311 }
312
313 public static void removeByG_U(long groupId, long userId)
314 throws com.liferay.portal.SystemException,
315 com.liferay.portlet.blogs.NoSuchStatsUserException {
316 getPersistence().removeByG_U(groupId, userId);
317 }
318
319 public static void removeByG_E(long groupId, int entryCount)
320 throws com.liferay.portal.SystemException {
321 getPersistence().removeByG_E(groupId, entryCount);
322 }
323
324 public static void removeByC_E(long companyId, int entryCount)
325 throws com.liferay.portal.SystemException {
326 getPersistence().removeByC_E(companyId, entryCount);
327 }
328
329 public static void removeAll() throws com.liferay.portal.SystemException {
330 getPersistence().removeAll();
331 }
332
333 public static int countByGroupId(long groupId)
334 throws com.liferay.portal.SystemException {
335 return getPersistence().countByGroupId(groupId);
336 }
337
338 public static int countByUserId(long userId)
339 throws com.liferay.portal.SystemException {
340 return getPersistence().countByUserId(userId);
341 }
342
343 public static int countByG_U(long groupId, long userId)
344 throws com.liferay.portal.SystemException {
345 return getPersistence().countByG_U(groupId, userId);
346 }
347
348 public static int countByG_E(long groupId, int entryCount)
349 throws com.liferay.portal.SystemException {
350 return getPersistence().countByG_E(groupId, entryCount);
351 }
352
353 public static int countByC_E(long companyId, int entryCount)
354 throws com.liferay.portal.SystemException {
355 return getPersistence().countByC_E(companyId, entryCount);
356 }
357
358 public static int countAll() throws com.liferay.portal.SystemException {
359 return getPersistence().countAll();
360 }
361
362 public static BlogsStatsUserPersistence getPersistence() {
363 return _persistence;
364 }
365
366 public void setPersistence(BlogsStatsUserPersistence persistence) {
367 _persistence = persistence;
368 }
369
370 private static BlogsStatsUserPersistence _persistence;
371 }