001
014
015 package com.liferay.portlet.journal.service.persistence;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
019 import com.liferay.portal.kernel.exception.SystemException;
020 import com.liferay.portal.kernel.util.OrderByComparator;
021 import com.liferay.portal.service.ServiceContext;
022
023 import com.liferay.portlet.journal.model.JournalArticle;
024
025 import java.util.List;
026
027
033 public class JournalArticleUtil {
034
037 public static void clearCache() {
038 getPersistence().clearCache();
039 }
040
041
044 public static void clearCache(JournalArticle journalArticle) {
045 getPersistence().clearCache(journalArticle);
046 }
047
048
051 public long countWithDynamicQuery(DynamicQuery dynamicQuery)
052 throws SystemException {
053 return getPersistence().countWithDynamicQuery(dynamicQuery);
054 }
055
056
059 public static List<JournalArticle> findWithDynamicQuery(
060 DynamicQuery dynamicQuery) throws SystemException {
061 return getPersistence().findWithDynamicQuery(dynamicQuery);
062 }
063
064
067 public static List<JournalArticle> findWithDynamicQuery(
068 DynamicQuery dynamicQuery, int start, int end)
069 throws SystemException {
070 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
071 }
072
073
076 public static List<JournalArticle> findWithDynamicQuery(
077 DynamicQuery dynamicQuery, int start, int end,
078 OrderByComparator orderByComparator) throws SystemException {
079 return getPersistence()
080 .findWithDynamicQuery(dynamicQuery, start, end,
081 orderByComparator);
082 }
083
084
087 public static JournalArticle remove(JournalArticle journalArticle)
088 throws SystemException {
089 return getPersistence().remove(journalArticle);
090 }
091
092
095 public static JournalArticle update(JournalArticle journalArticle,
096 boolean merge) throws SystemException {
097 return getPersistence().update(journalArticle, merge);
098 }
099
100
103 public static JournalArticle update(JournalArticle journalArticle,
104 boolean merge, ServiceContext serviceContext) throws SystemException {
105 return getPersistence().update(journalArticle, merge, serviceContext);
106 }
107
108 public static void cacheResult(
109 com.liferay.portlet.journal.model.JournalArticle journalArticle) {
110 getPersistence().cacheResult(journalArticle);
111 }
112
113 public static void cacheResult(
114 java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles) {
115 getPersistence().cacheResult(journalArticles);
116 }
117
118 public static com.liferay.portlet.journal.model.JournalArticle create(
119 long id) {
120 return getPersistence().create(id);
121 }
122
123 public static com.liferay.portlet.journal.model.JournalArticle remove(
124 long id)
125 throws com.liferay.portal.kernel.exception.SystemException,
126 com.liferay.portlet.journal.NoSuchArticleException {
127 return getPersistence().remove(id);
128 }
129
130 public static com.liferay.portlet.journal.model.JournalArticle updateImpl(
131 com.liferay.portlet.journal.model.JournalArticle journalArticle,
132 boolean merge)
133 throws com.liferay.portal.kernel.exception.SystemException {
134 return getPersistence().updateImpl(journalArticle, merge);
135 }
136
137 public static com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey(
138 long id)
139 throws com.liferay.portal.kernel.exception.SystemException,
140 com.liferay.portlet.journal.NoSuchArticleException {
141 return getPersistence().findByPrimaryKey(id);
142 }
143
144 public static com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey(
145 long id) throws com.liferay.portal.kernel.exception.SystemException {
146 return getPersistence().fetchByPrimaryKey(id);
147 }
148
149 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
150 java.lang.String uuid)
151 throws com.liferay.portal.kernel.exception.SystemException {
152 return getPersistence().findByUuid(uuid);
153 }
154
155 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
156 java.lang.String uuid, int start, int end)
157 throws com.liferay.portal.kernel.exception.SystemException {
158 return getPersistence().findByUuid(uuid, start, end);
159 }
160
161 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid(
162 java.lang.String uuid, int start, int end,
163 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return getPersistence().findByUuid(uuid, start, end, orderByComparator);
166 }
167
168 public static com.liferay.portlet.journal.model.JournalArticle findByUuid_First(
169 java.lang.String uuid,
170 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
171 throws com.liferay.portal.kernel.exception.SystemException,
172 com.liferay.portlet.journal.NoSuchArticleException {
173 return getPersistence().findByUuid_First(uuid, orderByComparator);
174 }
175
176 public static com.liferay.portlet.journal.model.JournalArticle findByUuid_Last(
177 java.lang.String uuid,
178 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
179 throws com.liferay.portal.kernel.exception.SystemException,
180 com.liferay.portlet.journal.NoSuchArticleException {
181 return getPersistence().findByUuid_Last(uuid, orderByComparator);
182 }
183
184 public static com.liferay.portlet.journal.model.JournalArticle[] findByUuid_PrevAndNext(
185 long id, java.lang.String uuid,
186 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
187 throws com.liferay.portal.kernel.exception.SystemException,
188 com.liferay.portlet.journal.NoSuchArticleException {
189 return getPersistence()
190 .findByUuid_PrevAndNext(id, uuid, orderByComparator);
191 }
192
193 public static com.liferay.portlet.journal.model.JournalArticle findByUUID_G(
194 java.lang.String uuid, long groupId)
195 throws com.liferay.portal.kernel.exception.SystemException,
196 com.liferay.portlet.journal.NoSuchArticleException {
197 return getPersistence().findByUUID_G(uuid, groupId);
198 }
199
200 public static com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G(
201 java.lang.String uuid, long groupId)
202 throws com.liferay.portal.kernel.exception.SystemException {
203 return getPersistence().fetchByUUID_G(uuid, groupId);
204 }
205
206 public static com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G(
207 java.lang.String uuid, long groupId, boolean retrieveFromCache)
208 throws com.liferay.portal.kernel.exception.SystemException {
209 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
210 }
211
212 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey(
213 long resourcePrimKey)
214 throws com.liferay.portal.kernel.exception.SystemException {
215 return getPersistence().findByResourcePrimKey(resourcePrimKey);
216 }
217
218 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey(
219 long resourcePrimKey, int start, int end)
220 throws com.liferay.portal.kernel.exception.SystemException {
221 return getPersistence()
222 .findByResourcePrimKey(resourcePrimKey, start, end);
223 }
224
225 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey(
226 long resourcePrimKey, int start, int end,
227 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
228 throws com.liferay.portal.kernel.exception.SystemException {
229 return getPersistence()
230 .findByResourcePrimKey(resourcePrimKey, start, end,
231 orderByComparator);
232 }
233
234 public static com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_First(
235 long resourcePrimKey,
236 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
237 throws com.liferay.portal.kernel.exception.SystemException,
238 com.liferay.portlet.journal.NoSuchArticleException {
239 return getPersistence()
240 .findByResourcePrimKey_First(resourcePrimKey,
241 orderByComparator);
242 }
243
244 public static com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_Last(
245 long resourcePrimKey,
246 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
247 throws com.liferay.portal.kernel.exception.SystemException,
248 com.liferay.portlet.journal.NoSuchArticleException {
249 return getPersistence()
250 .findByResourcePrimKey_Last(resourcePrimKey,
251 orderByComparator);
252 }
253
254 public static com.liferay.portlet.journal.model.JournalArticle[] findByResourcePrimKey_PrevAndNext(
255 long id, long resourcePrimKey,
256 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
257 throws com.liferay.portal.kernel.exception.SystemException,
258 com.liferay.portlet.journal.NoSuchArticleException {
259 return getPersistence()
260 .findByResourcePrimKey_PrevAndNext(id, resourcePrimKey,
261 orderByComparator);
262 }
263
264 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
265 long groupId)
266 throws com.liferay.portal.kernel.exception.SystemException {
267 return getPersistence().findByGroupId(groupId);
268 }
269
270 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
271 long groupId, int start, int end)
272 throws com.liferay.portal.kernel.exception.SystemException {
273 return getPersistence().findByGroupId(groupId, start, end);
274 }
275
276 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId(
277 long groupId, int start, int end,
278 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
279 throws com.liferay.portal.kernel.exception.SystemException {
280 return getPersistence()
281 .findByGroupId(groupId, start, end, orderByComparator);
282 }
283
284 public static com.liferay.portlet.journal.model.JournalArticle findByGroupId_First(
285 long groupId,
286 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
287 throws com.liferay.portal.kernel.exception.SystemException,
288 com.liferay.portlet.journal.NoSuchArticleException {
289 return getPersistence().findByGroupId_First(groupId, orderByComparator);
290 }
291
292 public static com.liferay.portlet.journal.model.JournalArticle findByGroupId_Last(
293 long groupId,
294 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
295 throws com.liferay.portal.kernel.exception.SystemException,
296 com.liferay.portlet.journal.NoSuchArticleException {
297 return getPersistence().findByGroupId_Last(groupId, orderByComparator);
298 }
299
300 public static com.liferay.portlet.journal.model.JournalArticle[] findByGroupId_PrevAndNext(
301 long id, long groupId,
302 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
303 throws com.liferay.portal.kernel.exception.SystemException,
304 com.liferay.portlet.journal.NoSuchArticleException {
305 return getPersistence()
306 .findByGroupId_PrevAndNext(id, groupId, orderByComparator);
307 }
308
309 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId(
310 long groupId)
311 throws com.liferay.portal.kernel.exception.SystemException {
312 return getPersistence().filterFindByGroupId(groupId);
313 }
314
315 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId(
316 long groupId, int start, int end)
317 throws com.liferay.portal.kernel.exception.SystemException {
318 return getPersistence().filterFindByGroupId(groupId, start, end);
319 }
320
321 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId(
322 long groupId, int start, int end,
323 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
324 throws com.liferay.portal.kernel.exception.SystemException {
325 return getPersistence()
326 .filterFindByGroupId(groupId, start, end, orderByComparator);
327 }
328
329 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
330 long companyId)
331 throws com.liferay.portal.kernel.exception.SystemException {
332 return getPersistence().findByCompanyId(companyId);
333 }
334
335 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
336 long companyId, int start, int end)
337 throws com.liferay.portal.kernel.exception.SystemException {
338 return getPersistence().findByCompanyId(companyId, start, end);
339 }
340
341 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId(
342 long companyId, int start, int end,
343 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
344 throws com.liferay.portal.kernel.exception.SystemException {
345 return getPersistence()
346 .findByCompanyId(companyId, start, end, orderByComparator);
347 }
348
349 public static com.liferay.portlet.journal.model.JournalArticle findByCompanyId_First(
350 long companyId,
351 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
352 throws com.liferay.portal.kernel.exception.SystemException,
353 com.liferay.portlet.journal.NoSuchArticleException {
354 return getPersistence()
355 .findByCompanyId_First(companyId, orderByComparator);
356 }
357
358 public static com.liferay.portlet.journal.model.JournalArticle findByCompanyId_Last(
359 long companyId,
360 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
361 throws com.liferay.portal.kernel.exception.SystemException,
362 com.liferay.portlet.journal.NoSuchArticleException {
363 return getPersistence()
364 .findByCompanyId_Last(companyId, orderByComparator);
365 }
366
367 public static com.liferay.portlet.journal.model.JournalArticle[] findByCompanyId_PrevAndNext(
368 long id, long companyId,
369 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
370 throws com.liferay.portal.kernel.exception.SystemException,
371 com.liferay.portlet.journal.NoSuchArticleException {
372 return getPersistence()
373 .findByCompanyId_PrevAndNext(id, companyId, orderByComparator);
374 }
375
376 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
377 long smallImageId)
378 throws com.liferay.portal.kernel.exception.SystemException {
379 return getPersistence().findBySmallImageId(smallImageId);
380 }
381
382 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
383 long smallImageId, int start, int end)
384 throws com.liferay.portal.kernel.exception.SystemException {
385 return getPersistence().findBySmallImageId(smallImageId, start, end);
386 }
387
388 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId(
389 long smallImageId, int start, int end,
390 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
391 throws com.liferay.portal.kernel.exception.SystemException {
392 return getPersistence()
393 .findBySmallImageId(smallImageId, start, end,
394 orderByComparator);
395 }
396
397 public static com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_First(
398 long smallImageId,
399 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
400 throws com.liferay.portal.kernel.exception.SystemException,
401 com.liferay.portlet.journal.NoSuchArticleException {
402 return getPersistence()
403 .findBySmallImageId_First(smallImageId, orderByComparator);
404 }
405
406 public static com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_Last(
407 long smallImageId,
408 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
409 throws com.liferay.portal.kernel.exception.SystemException,
410 com.liferay.portlet.journal.NoSuchArticleException {
411 return getPersistence()
412 .findBySmallImageId_Last(smallImageId, orderByComparator);
413 }
414
415 public static com.liferay.portlet.journal.model.JournalArticle[] findBySmallImageId_PrevAndNext(
416 long id, long smallImageId,
417 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
418 throws com.liferay.portal.kernel.exception.SystemException,
419 com.liferay.portlet.journal.NoSuchArticleException {
420 return getPersistence()
421 .findBySmallImageId_PrevAndNext(id, smallImageId,
422 orderByComparator);
423 }
424
425 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
426 long resourcePrimKey, int status)
427 throws com.liferay.portal.kernel.exception.SystemException {
428 return getPersistence().findByR_ST(resourcePrimKey, status);
429 }
430
431 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
432 long resourcePrimKey, int status, int start, int end)
433 throws com.liferay.portal.kernel.exception.SystemException {
434 return getPersistence().findByR_ST(resourcePrimKey, status, start, end);
435 }
436
437 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST(
438 long resourcePrimKey, int status, int start, int end,
439 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
440 throws com.liferay.portal.kernel.exception.SystemException {
441 return getPersistence()
442 .findByR_ST(resourcePrimKey, status, start, end,
443 orderByComparator);
444 }
445
446 public static com.liferay.portlet.journal.model.JournalArticle findByR_ST_First(
447 long resourcePrimKey, int status,
448 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
449 throws com.liferay.portal.kernel.exception.SystemException,
450 com.liferay.portlet.journal.NoSuchArticleException {
451 return getPersistence()
452 .findByR_ST_First(resourcePrimKey, status, orderByComparator);
453 }
454
455 public static com.liferay.portlet.journal.model.JournalArticle findByR_ST_Last(
456 long resourcePrimKey, int status,
457 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
458 throws com.liferay.portal.kernel.exception.SystemException,
459 com.liferay.portlet.journal.NoSuchArticleException {
460 return getPersistence()
461 .findByR_ST_Last(resourcePrimKey, status, orderByComparator);
462 }
463
464 public static com.liferay.portlet.journal.model.JournalArticle[] findByR_ST_PrevAndNext(
465 long id, long resourcePrimKey, int status,
466 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
467 throws com.liferay.portal.kernel.exception.SystemException,
468 com.liferay.portlet.journal.NoSuchArticleException {
469 return getPersistence()
470 .findByR_ST_PrevAndNext(id, resourcePrimKey, status,
471 orderByComparator);
472 }
473
474 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
475 long groupId, java.lang.String articleId)
476 throws com.liferay.portal.kernel.exception.SystemException {
477 return getPersistence().findByG_A(groupId, articleId);
478 }
479
480 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
481 long groupId, java.lang.String articleId, int start, int end)
482 throws com.liferay.portal.kernel.exception.SystemException {
483 return getPersistence().findByG_A(groupId, articleId, start, end);
484 }
485
486 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A(
487 long groupId, java.lang.String articleId, int start, int end,
488 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
489 throws com.liferay.portal.kernel.exception.SystemException {
490 return getPersistence()
491 .findByG_A(groupId, articleId, start, end, orderByComparator);
492 }
493
494 public static com.liferay.portlet.journal.model.JournalArticle findByG_A_First(
495 long groupId, java.lang.String articleId,
496 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
497 throws com.liferay.portal.kernel.exception.SystemException,
498 com.liferay.portlet.journal.NoSuchArticleException {
499 return getPersistence()
500 .findByG_A_First(groupId, articleId, orderByComparator);
501 }
502
503 public static com.liferay.portlet.journal.model.JournalArticle findByG_A_Last(
504 long groupId, java.lang.String articleId,
505 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
506 throws com.liferay.portal.kernel.exception.SystemException,
507 com.liferay.portlet.journal.NoSuchArticleException {
508 return getPersistence()
509 .findByG_A_Last(groupId, articleId, orderByComparator);
510 }
511
512 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext(
513 long id, long groupId, java.lang.String articleId,
514 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
515 throws com.liferay.portal.kernel.exception.SystemException,
516 com.liferay.portlet.journal.NoSuchArticleException {
517 return getPersistence()
518 .findByG_A_PrevAndNext(id, groupId, articleId,
519 orderByComparator);
520 }
521
522 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
523 long groupId, java.lang.String articleId)
524 throws com.liferay.portal.kernel.exception.SystemException {
525 return getPersistence().filterFindByG_A(groupId, articleId);
526 }
527
528 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
529 long groupId, java.lang.String articleId, int start, int end)
530 throws com.liferay.portal.kernel.exception.SystemException {
531 return getPersistence().filterFindByG_A(groupId, articleId, start, end);
532 }
533
534 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A(
535 long groupId, java.lang.String articleId, int start, int end,
536 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
537 throws com.liferay.portal.kernel.exception.SystemException {
538 return getPersistence()
539 .filterFindByG_A(groupId, articleId, start, end,
540 orderByComparator);
541 }
542
543 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
544 long groupId, java.lang.String structureId)
545 throws com.liferay.portal.kernel.exception.SystemException {
546 return getPersistence().findByG_S(groupId, structureId);
547 }
548
549 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
550 long groupId, java.lang.String structureId, int start, int end)
551 throws com.liferay.portal.kernel.exception.SystemException {
552 return getPersistence().findByG_S(groupId, structureId, start, end);
553 }
554
555 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S(
556 long groupId, java.lang.String structureId, int start, int end,
557 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
558 throws com.liferay.portal.kernel.exception.SystemException {
559 return getPersistence()
560 .findByG_S(groupId, structureId, start, end,
561 orderByComparator);
562 }
563
564 public static com.liferay.portlet.journal.model.JournalArticle findByG_S_First(
565 long groupId, java.lang.String structureId,
566 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
567 throws com.liferay.portal.kernel.exception.SystemException,
568 com.liferay.portlet.journal.NoSuchArticleException {
569 return getPersistence()
570 .findByG_S_First(groupId, structureId, orderByComparator);
571 }
572
573 public static com.liferay.portlet.journal.model.JournalArticle findByG_S_Last(
574 long groupId, java.lang.String structureId,
575 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
576 throws com.liferay.portal.kernel.exception.SystemException,
577 com.liferay.portlet.journal.NoSuchArticleException {
578 return getPersistence()
579 .findByG_S_Last(groupId, structureId, orderByComparator);
580 }
581
582 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_S_PrevAndNext(
583 long id, long groupId, java.lang.String structureId,
584 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
585 throws com.liferay.portal.kernel.exception.SystemException,
586 com.liferay.portlet.journal.NoSuchArticleException {
587 return getPersistence()
588 .findByG_S_PrevAndNext(id, groupId, structureId,
589 orderByComparator);
590 }
591
592 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
593 long groupId, java.lang.String structureId)
594 throws com.liferay.portal.kernel.exception.SystemException {
595 return getPersistence().filterFindByG_S(groupId, structureId);
596 }
597
598 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
599 long groupId, java.lang.String structureId, int start, int end)
600 throws com.liferay.portal.kernel.exception.SystemException {
601 return getPersistence().filterFindByG_S(groupId, structureId, start, end);
602 }
603
604 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S(
605 long groupId, java.lang.String structureId, int start, int end,
606 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
607 throws com.liferay.portal.kernel.exception.SystemException {
608 return getPersistence()
609 .filterFindByG_S(groupId, structureId, start, end,
610 orderByComparator);
611 }
612
613 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
614 long groupId, java.lang.String templateId)
615 throws com.liferay.portal.kernel.exception.SystemException {
616 return getPersistence().findByG_T(groupId, templateId);
617 }
618
619 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
620 long groupId, java.lang.String templateId, int start, int end)
621 throws com.liferay.portal.kernel.exception.SystemException {
622 return getPersistence().findByG_T(groupId, templateId, start, end);
623 }
624
625 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T(
626 long groupId, java.lang.String templateId, int start, int end,
627 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
628 throws com.liferay.portal.kernel.exception.SystemException {
629 return getPersistence()
630 .findByG_T(groupId, templateId, start, end, orderByComparator);
631 }
632
633 public static com.liferay.portlet.journal.model.JournalArticle findByG_T_First(
634 long groupId, java.lang.String templateId,
635 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
636 throws com.liferay.portal.kernel.exception.SystemException,
637 com.liferay.portlet.journal.NoSuchArticleException {
638 return getPersistence()
639 .findByG_T_First(groupId, templateId, orderByComparator);
640 }
641
642 public static com.liferay.portlet.journal.model.JournalArticle findByG_T_Last(
643 long groupId, java.lang.String templateId,
644 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
645 throws com.liferay.portal.kernel.exception.SystemException,
646 com.liferay.portlet.journal.NoSuchArticleException {
647 return getPersistence()
648 .findByG_T_Last(groupId, templateId, orderByComparator);
649 }
650
651 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_T_PrevAndNext(
652 long id, long groupId, java.lang.String templateId,
653 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
654 throws com.liferay.portal.kernel.exception.SystemException,
655 com.liferay.portlet.journal.NoSuchArticleException {
656 return getPersistence()
657 .findByG_T_PrevAndNext(id, groupId, templateId,
658 orderByComparator);
659 }
660
661 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
662 long groupId, java.lang.String templateId)
663 throws com.liferay.portal.kernel.exception.SystemException {
664 return getPersistence().filterFindByG_T(groupId, templateId);
665 }
666
667 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
668 long groupId, java.lang.String templateId, int start, int end)
669 throws com.liferay.portal.kernel.exception.SystemException {
670 return getPersistence().filterFindByG_T(groupId, templateId, start, end);
671 }
672
673 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T(
674 long groupId, java.lang.String templateId, int start, int end,
675 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
676 throws com.liferay.portal.kernel.exception.SystemException {
677 return getPersistence()
678 .filterFindByG_T(groupId, templateId, start, end,
679 orderByComparator);
680 }
681
682 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
683 long groupId, java.lang.String urlTitle)
684 throws com.liferay.portal.kernel.exception.SystemException {
685 return getPersistence().findByG_UT(groupId, urlTitle);
686 }
687
688 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
689 long groupId, java.lang.String urlTitle, int start, int end)
690 throws com.liferay.portal.kernel.exception.SystemException {
691 return getPersistence().findByG_UT(groupId, urlTitle, start, end);
692 }
693
694 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT(
695 long groupId, java.lang.String urlTitle, int start, int end,
696 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
697 throws com.liferay.portal.kernel.exception.SystemException {
698 return getPersistence()
699 .findByG_UT(groupId, urlTitle, start, end, orderByComparator);
700 }
701
702 public static com.liferay.portlet.journal.model.JournalArticle findByG_UT_First(
703 long groupId, java.lang.String urlTitle,
704 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
705 throws com.liferay.portal.kernel.exception.SystemException,
706 com.liferay.portlet.journal.NoSuchArticleException {
707 return getPersistence()
708 .findByG_UT_First(groupId, urlTitle, orderByComparator);
709 }
710
711 public static com.liferay.portlet.journal.model.JournalArticle findByG_UT_Last(
712 long groupId, java.lang.String urlTitle,
713 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
714 throws com.liferay.portal.kernel.exception.SystemException,
715 com.liferay.portlet.journal.NoSuchArticleException {
716 return getPersistence()
717 .findByG_UT_Last(groupId, urlTitle, orderByComparator);
718 }
719
720 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_PrevAndNext(
721 long id, long groupId, java.lang.String urlTitle,
722 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
723 throws com.liferay.portal.kernel.exception.SystemException,
724 com.liferay.portlet.journal.NoSuchArticleException {
725 return getPersistence()
726 .findByG_UT_PrevAndNext(id, groupId, urlTitle,
727 orderByComparator);
728 }
729
730 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
731 long groupId, java.lang.String urlTitle)
732 throws com.liferay.portal.kernel.exception.SystemException {
733 return getPersistence().filterFindByG_UT(groupId, urlTitle);
734 }
735
736 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
737 long groupId, java.lang.String urlTitle, int start, int end)
738 throws com.liferay.portal.kernel.exception.SystemException {
739 return getPersistence().filterFindByG_UT(groupId, urlTitle, start, end);
740 }
741
742 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT(
743 long groupId, java.lang.String urlTitle, int start, int end,
744 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
745 throws com.liferay.portal.kernel.exception.SystemException {
746 return getPersistence()
747 .filterFindByG_UT(groupId, urlTitle, start, end,
748 orderByComparator);
749 }
750
751 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
752 long groupId, int status)
753 throws com.liferay.portal.kernel.exception.SystemException {
754 return getPersistence().findByG_ST(groupId, status);
755 }
756
757 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
758 long groupId, int status, int start, int end)
759 throws com.liferay.portal.kernel.exception.SystemException {
760 return getPersistence().findByG_ST(groupId, status, start, end);
761 }
762
763 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST(
764 long groupId, int status, int start, int end,
765 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
766 throws com.liferay.portal.kernel.exception.SystemException {
767 return getPersistence()
768 .findByG_ST(groupId, status, start, end, orderByComparator);
769 }
770
771 public static com.liferay.portlet.journal.model.JournalArticle findByG_ST_First(
772 long groupId, int status,
773 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
774 throws com.liferay.portal.kernel.exception.SystemException,
775 com.liferay.portlet.journal.NoSuchArticleException {
776 return getPersistence()
777 .findByG_ST_First(groupId, status, orderByComparator);
778 }
779
780 public static com.liferay.portlet.journal.model.JournalArticle findByG_ST_Last(
781 long groupId, int status,
782 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
783 throws com.liferay.portal.kernel.exception.SystemException,
784 com.liferay.portlet.journal.NoSuchArticleException {
785 return getPersistence()
786 .findByG_ST_Last(groupId, status, orderByComparator);
787 }
788
789 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_ST_PrevAndNext(
790 long id, long groupId, int status,
791 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
792 throws com.liferay.portal.kernel.exception.SystemException,
793 com.liferay.portlet.journal.NoSuchArticleException {
794 return getPersistence()
795 .findByG_ST_PrevAndNext(id, groupId, status,
796 orderByComparator);
797 }
798
799 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
800 long groupId, int status)
801 throws com.liferay.portal.kernel.exception.SystemException {
802 return getPersistence().filterFindByG_ST(groupId, status);
803 }
804
805 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
806 long groupId, int status, int start, int end)
807 throws com.liferay.portal.kernel.exception.SystemException {
808 return getPersistence().filterFindByG_ST(groupId, status, start, end);
809 }
810
811 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST(
812 long groupId, int status, int start, int end,
813 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
814 throws com.liferay.portal.kernel.exception.SystemException {
815 return getPersistence()
816 .filterFindByG_ST(groupId, status, start, end,
817 orderByComparator);
818 }
819
820 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
821 long companyId, int status)
822 throws com.liferay.portal.kernel.exception.SystemException {
823 return getPersistence().findByC_ST(companyId, status);
824 }
825
826 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
827 long companyId, int status, int start, int end)
828 throws com.liferay.portal.kernel.exception.SystemException {
829 return getPersistence().findByC_ST(companyId, status, start, end);
830 }
831
832 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST(
833 long companyId, int status, int start, int end,
834 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
835 throws com.liferay.portal.kernel.exception.SystemException {
836 return getPersistence()
837 .findByC_ST(companyId, status, start, end, orderByComparator);
838 }
839
840 public static com.liferay.portlet.journal.model.JournalArticle findByC_ST_First(
841 long companyId, int status,
842 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
843 throws com.liferay.portal.kernel.exception.SystemException,
844 com.liferay.portlet.journal.NoSuchArticleException {
845 return getPersistence()
846 .findByC_ST_First(companyId, status, orderByComparator);
847 }
848
849 public static com.liferay.portlet.journal.model.JournalArticle findByC_ST_Last(
850 long companyId, int status,
851 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
852 throws com.liferay.portal.kernel.exception.SystemException,
853 com.liferay.portlet.journal.NoSuchArticleException {
854 return getPersistence()
855 .findByC_ST_Last(companyId, status, orderByComparator);
856 }
857
858 public static com.liferay.portlet.journal.model.JournalArticle[] findByC_ST_PrevAndNext(
859 long id, long companyId, int status,
860 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
861 throws com.liferay.portal.kernel.exception.SystemException,
862 com.liferay.portlet.journal.NoSuchArticleException {
863 return getPersistence()
864 .findByC_ST_PrevAndNext(id, companyId, status,
865 orderByComparator);
866 }
867
868 public static com.liferay.portlet.journal.model.JournalArticle findByG_A_V(
869 long groupId, java.lang.String articleId, double version)
870 throws com.liferay.portal.kernel.exception.SystemException,
871 com.liferay.portlet.journal.NoSuchArticleException {
872 return getPersistence().findByG_A_V(groupId, articleId, version);
873 }
874
875 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
876 long groupId, java.lang.String articleId, double version)
877 throws com.liferay.portal.kernel.exception.SystemException {
878 return getPersistence().fetchByG_A_V(groupId, articleId, version);
879 }
880
881 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(
882 long groupId, java.lang.String articleId, double version,
883 boolean retrieveFromCache)
884 throws com.liferay.portal.kernel.exception.SystemException {
885 return getPersistence()
886 .fetchByG_A_V(groupId, articleId, version, retrieveFromCache);
887 }
888
889 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
890 long groupId, java.lang.String articleId, int status)
891 throws com.liferay.portal.kernel.exception.SystemException {
892 return getPersistence().findByG_A_ST(groupId, articleId, status);
893 }
894
895 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
896 long groupId, java.lang.String articleId, int status, int start, int end)
897 throws com.liferay.portal.kernel.exception.SystemException {
898 return getPersistence()
899 .findByG_A_ST(groupId, articleId, status, start, end);
900 }
901
902 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST(
903 long groupId, java.lang.String articleId, int status, int start,
904 int end,
905 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
906 throws com.liferay.portal.kernel.exception.SystemException {
907 return getPersistence()
908 .findByG_A_ST(groupId, articleId, status, start, end,
909 orderByComparator);
910 }
911
912 public static com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_First(
913 long groupId, java.lang.String articleId, int status,
914 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
915 throws com.liferay.portal.kernel.exception.SystemException,
916 com.liferay.portlet.journal.NoSuchArticleException {
917 return getPersistence()
918 .findByG_A_ST_First(groupId, articleId, status,
919 orderByComparator);
920 }
921
922 public static com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_Last(
923 long groupId, java.lang.String articleId, int status,
924 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
925 throws com.liferay.portal.kernel.exception.SystemException,
926 com.liferay.portlet.journal.NoSuchArticleException {
927 return getPersistence()
928 .findByG_A_ST_Last(groupId, articleId, status,
929 orderByComparator);
930 }
931
932 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_A_ST_PrevAndNext(
933 long id, long groupId, java.lang.String articleId, int status,
934 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
935 throws com.liferay.portal.kernel.exception.SystemException,
936 com.liferay.portlet.journal.NoSuchArticleException {
937 return getPersistence()
938 .findByG_A_ST_PrevAndNext(id, groupId, articleId, status,
939 orderByComparator);
940 }
941
942 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
943 long groupId, java.lang.String articleId, int status)
944 throws com.liferay.portal.kernel.exception.SystemException {
945 return getPersistence().filterFindByG_A_ST(groupId, articleId, status);
946 }
947
948 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
949 long groupId, java.lang.String articleId, int status, int start, int end)
950 throws com.liferay.portal.kernel.exception.SystemException {
951 return getPersistence()
952 .filterFindByG_A_ST(groupId, articleId, status, start, end);
953 }
954
955 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST(
956 long groupId, java.lang.String articleId, int status, int start,
957 int end,
958 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
959 throws com.liferay.portal.kernel.exception.SystemException {
960 return getPersistence()
961 .filterFindByG_A_ST(groupId, articleId, status, start, end,
962 orderByComparator);
963 }
964
965 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
966 long groupId, java.lang.String urlTitle, int status)
967 throws com.liferay.portal.kernel.exception.SystemException {
968 return getPersistence().findByG_UT_ST(groupId, urlTitle, status);
969 }
970
971 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
972 long groupId, java.lang.String urlTitle, int status, int start, int end)
973 throws com.liferay.portal.kernel.exception.SystemException {
974 return getPersistence()
975 .findByG_UT_ST(groupId, urlTitle, status, start, end);
976 }
977
978 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST(
979 long groupId, java.lang.String urlTitle, int status, int start,
980 int end,
981 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
982 throws com.liferay.portal.kernel.exception.SystemException {
983 return getPersistence()
984 .findByG_UT_ST(groupId, urlTitle, status, start, end,
985 orderByComparator);
986 }
987
988 public static com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_First(
989 long groupId, java.lang.String urlTitle, int status,
990 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
991 throws com.liferay.portal.kernel.exception.SystemException,
992 com.liferay.portlet.journal.NoSuchArticleException {
993 return getPersistence()
994 .findByG_UT_ST_First(groupId, urlTitle, status,
995 orderByComparator);
996 }
997
998 public static com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_Last(
999 long groupId, java.lang.String urlTitle, int status,
1000 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1001 throws com.liferay.portal.kernel.exception.SystemException,
1002 com.liferay.portlet.journal.NoSuchArticleException {
1003 return getPersistence()
1004 .findByG_UT_ST_Last(groupId, urlTitle, status,
1005 orderByComparator);
1006 }
1007
1008 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_ST_PrevAndNext(
1009 long id, long groupId, java.lang.String urlTitle, int status,
1010 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1011 throws com.liferay.portal.kernel.exception.SystemException,
1012 com.liferay.portlet.journal.NoSuchArticleException {
1013 return getPersistence()
1014 .findByG_UT_ST_PrevAndNext(id, groupId, urlTitle, status,
1015 orderByComparator);
1016 }
1017
1018 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
1019 long groupId, java.lang.String urlTitle, int status)
1020 throws com.liferay.portal.kernel.exception.SystemException {
1021 return getPersistence().filterFindByG_UT_ST(groupId, urlTitle, status);
1022 }
1023
1024 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
1025 long groupId, java.lang.String urlTitle, int status, int start, int end)
1026 throws com.liferay.portal.kernel.exception.SystemException {
1027 return getPersistence()
1028 .filterFindByG_UT_ST(groupId, urlTitle, status, start, end);
1029 }
1030
1031 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST(
1032 long groupId, java.lang.String urlTitle, int status, int start,
1033 int end,
1034 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1035 throws com.liferay.portal.kernel.exception.SystemException {
1036 return getPersistence()
1037 .filterFindByG_UT_ST(groupId, urlTitle, status, start, end,
1038 orderByComparator);
1039 }
1040
1041 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll()
1042 throws com.liferay.portal.kernel.exception.SystemException {
1043 return getPersistence().findAll();
1044 }
1045
1046 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
1047 int start, int end)
1048 throws com.liferay.portal.kernel.exception.SystemException {
1049 return getPersistence().findAll(start, end);
1050 }
1051
1052 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(
1053 int start, int end,
1054 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1055 throws com.liferay.portal.kernel.exception.SystemException {
1056 return getPersistence().findAll(start, end, orderByComparator);
1057 }
1058
1059 public static void removeByUuid(java.lang.String uuid)
1060 throws com.liferay.portal.kernel.exception.SystemException {
1061 getPersistence().removeByUuid(uuid);
1062 }
1063
1064 public static void removeByUUID_G(java.lang.String uuid, long groupId)
1065 throws com.liferay.portal.kernel.exception.SystemException,
1066 com.liferay.portlet.journal.NoSuchArticleException {
1067 getPersistence().removeByUUID_G(uuid, groupId);
1068 }
1069
1070 public static void removeByResourcePrimKey(long resourcePrimKey)
1071 throws com.liferay.portal.kernel.exception.SystemException {
1072 getPersistence().removeByResourcePrimKey(resourcePrimKey);
1073 }
1074
1075 public static void removeByGroupId(long groupId)
1076 throws com.liferay.portal.kernel.exception.SystemException {
1077 getPersistence().removeByGroupId(groupId);
1078 }
1079
1080 public static void removeByCompanyId(long companyId)
1081 throws com.liferay.portal.kernel.exception.SystemException {
1082 getPersistence().removeByCompanyId(companyId);
1083 }
1084
1085 public static void removeBySmallImageId(long smallImageId)
1086 throws com.liferay.portal.kernel.exception.SystemException {
1087 getPersistence().removeBySmallImageId(smallImageId);
1088 }
1089
1090 public static void removeByR_ST(long resourcePrimKey, int status)
1091 throws com.liferay.portal.kernel.exception.SystemException {
1092 getPersistence().removeByR_ST(resourcePrimKey, status);
1093 }
1094
1095 public static void removeByG_A(long groupId, java.lang.String articleId)
1096 throws com.liferay.portal.kernel.exception.SystemException {
1097 getPersistence().removeByG_A(groupId, articleId);
1098 }
1099
1100 public static void removeByG_S(long groupId, java.lang.String structureId)
1101 throws com.liferay.portal.kernel.exception.SystemException {
1102 getPersistence().removeByG_S(groupId, structureId);
1103 }
1104
1105 public static void removeByG_T(long groupId, java.lang.String templateId)
1106 throws com.liferay.portal.kernel.exception.SystemException {
1107 getPersistence().removeByG_T(groupId, templateId);
1108 }
1109
1110 public static void removeByG_UT(long groupId, java.lang.String urlTitle)
1111 throws com.liferay.portal.kernel.exception.SystemException {
1112 getPersistence().removeByG_UT(groupId, urlTitle);
1113 }
1114
1115 public static void removeByG_ST(long groupId, int status)
1116 throws com.liferay.portal.kernel.exception.SystemException {
1117 getPersistence().removeByG_ST(groupId, status);
1118 }
1119
1120 public static void removeByC_ST(long companyId, int status)
1121 throws com.liferay.portal.kernel.exception.SystemException {
1122 getPersistence().removeByC_ST(companyId, status);
1123 }
1124
1125 public static void removeByG_A_V(long groupId, java.lang.String articleId,
1126 double version)
1127 throws com.liferay.portal.kernel.exception.SystemException,
1128 com.liferay.portlet.journal.NoSuchArticleException {
1129 getPersistence().removeByG_A_V(groupId, articleId, version);
1130 }
1131
1132 public static void removeByG_A_ST(long groupId, java.lang.String articleId,
1133 int status) throws com.liferay.portal.kernel.exception.SystemException {
1134 getPersistence().removeByG_A_ST(groupId, articleId, status);
1135 }
1136
1137 public static void removeByG_UT_ST(long groupId, java.lang.String urlTitle,
1138 int status) throws com.liferay.portal.kernel.exception.SystemException {
1139 getPersistence().removeByG_UT_ST(groupId, urlTitle, status);
1140 }
1141
1142 public static void removeAll()
1143 throws com.liferay.portal.kernel.exception.SystemException {
1144 getPersistence().removeAll();
1145 }
1146
1147 public static int countByUuid(java.lang.String uuid)
1148 throws com.liferay.portal.kernel.exception.SystemException {
1149 return getPersistence().countByUuid(uuid);
1150 }
1151
1152 public static int countByUUID_G(java.lang.String uuid, long groupId)
1153 throws com.liferay.portal.kernel.exception.SystemException {
1154 return getPersistence().countByUUID_G(uuid, groupId);
1155 }
1156
1157 public static int countByResourcePrimKey(long resourcePrimKey)
1158 throws com.liferay.portal.kernel.exception.SystemException {
1159 return getPersistence().countByResourcePrimKey(resourcePrimKey);
1160 }
1161
1162 public static int countByGroupId(long groupId)
1163 throws com.liferay.portal.kernel.exception.SystemException {
1164 return getPersistence().countByGroupId(groupId);
1165 }
1166
1167 public static int filterCountByGroupId(long groupId)
1168 throws com.liferay.portal.kernel.exception.SystemException {
1169 return getPersistence().filterCountByGroupId(groupId);
1170 }
1171
1172 public static int countByCompanyId(long companyId)
1173 throws com.liferay.portal.kernel.exception.SystemException {
1174 return getPersistence().countByCompanyId(companyId);
1175 }
1176
1177 public static int countBySmallImageId(long smallImageId)
1178 throws com.liferay.portal.kernel.exception.SystemException {
1179 return getPersistence().countBySmallImageId(smallImageId);
1180 }
1181
1182 public static int countByR_ST(long resourcePrimKey, int status)
1183 throws com.liferay.portal.kernel.exception.SystemException {
1184 return getPersistence().countByR_ST(resourcePrimKey, status);
1185 }
1186
1187 public static int countByG_A(long groupId, java.lang.String articleId)
1188 throws com.liferay.portal.kernel.exception.SystemException {
1189 return getPersistence().countByG_A(groupId, articleId);
1190 }
1191
1192 public static int filterCountByG_A(long groupId, java.lang.String articleId)
1193 throws com.liferay.portal.kernel.exception.SystemException {
1194 return getPersistence().filterCountByG_A(groupId, articleId);
1195 }
1196
1197 public static int countByG_S(long groupId, java.lang.String structureId)
1198 throws com.liferay.portal.kernel.exception.SystemException {
1199 return getPersistence().countByG_S(groupId, structureId);
1200 }
1201
1202 public static int filterCountByG_S(long groupId,
1203 java.lang.String structureId)
1204 throws com.liferay.portal.kernel.exception.SystemException {
1205 return getPersistence().filterCountByG_S(groupId, structureId);
1206 }
1207
1208 public static int countByG_T(long groupId, java.lang.String templateId)
1209 throws com.liferay.portal.kernel.exception.SystemException {
1210 return getPersistence().countByG_T(groupId, templateId);
1211 }
1212
1213 public static int filterCountByG_T(long groupId, java.lang.String templateId)
1214 throws com.liferay.portal.kernel.exception.SystemException {
1215 return getPersistence().filterCountByG_T(groupId, templateId);
1216 }
1217
1218 public static int countByG_UT(long groupId, java.lang.String urlTitle)
1219 throws com.liferay.portal.kernel.exception.SystemException {
1220 return getPersistence().countByG_UT(groupId, urlTitle);
1221 }
1222
1223 public static int filterCountByG_UT(long groupId, java.lang.String urlTitle)
1224 throws com.liferay.portal.kernel.exception.SystemException {
1225 return getPersistence().filterCountByG_UT(groupId, urlTitle);
1226 }
1227
1228 public static int countByG_ST(long groupId, int status)
1229 throws com.liferay.portal.kernel.exception.SystemException {
1230 return getPersistence().countByG_ST(groupId, status);
1231 }
1232
1233 public static int filterCountByG_ST(long groupId, int status)
1234 throws com.liferay.portal.kernel.exception.SystemException {
1235 return getPersistence().filterCountByG_ST(groupId, status);
1236 }
1237
1238 public static int countByC_ST(long companyId, int status)
1239 throws com.liferay.portal.kernel.exception.SystemException {
1240 return getPersistence().countByC_ST(companyId, status);
1241 }
1242
1243 public static int countByG_A_V(long groupId, java.lang.String articleId,
1244 double version)
1245 throws com.liferay.portal.kernel.exception.SystemException {
1246 return getPersistence().countByG_A_V(groupId, articleId, version);
1247 }
1248
1249 public static int filterCountByG_A_V(long groupId,
1250 java.lang.String articleId, double version)
1251 throws com.liferay.portal.kernel.exception.SystemException {
1252 return getPersistence().filterCountByG_A_V(groupId, articleId, version);
1253 }
1254
1255 public static int countByG_A_ST(long groupId, java.lang.String articleId,
1256 int status) throws com.liferay.portal.kernel.exception.SystemException {
1257 return getPersistence().countByG_A_ST(groupId, articleId, status);
1258 }
1259
1260 public static int filterCountByG_A_ST(long groupId,
1261 java.lang.String articleId, int status)
1262 throws com.liferay.portal.kernel.exception.SystemException {
1263 return getPersistence().filterCountByG_A_ST(groupId, articleId, status);
1264 }
1265
1266 public static int countByG_UT_ST(long groupId, java.lang.String urlTitle,
1267 int status) throws com.liferay.portal.kernel.exception.SystemException {
1268 return getPersistence().countByG_UT_ST(groupId, urlTitle, status);
1269 }
1270
1271 public static int filterCountByG_UT_ST(long groupId,
1272 java.lang.String urlTitle, int status)
1273 throws com.liferay.portal.kernel.exception.SystemException {
1274 return getPersistence().filterCountByG_UT_ST(groupId, urlTitle, status);
1275 }
1276
1277 public static int countAll()
1278 throws com.liferay.portal.kernel.exception.SystemException {
1279 return getPersistence().countAll();
1280 }
1281
1282 public static JournalArticlePersistence getPersistence() {
1283 if (_persistence == null) {
1284 _persistence = (JournalArticlePersistence)PortalBeanLocatorUtil.locate(JournalArticlePersistence.class.getName());
1285 }
1286
1287 return _persistence;
1288 }
1289
1290 public void setPersistence(JournalArticlePersistence persistence) {
1291 _persistence = persistence;
1292 }
1293
1294 private static JournalArticlePersistence _persistence;
1295 }