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