1
22
23 package com.liferay.portlet.journal.service.persistence;
24
25
31 public class JournalContentSearchUtil {
32 public static void cacheResult(
33 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch) {
34 getPersistence().cacheResult(journalContentSearch);
35 }
36
37 public static void cacheResult(
38 java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> journalContentSearchs) {
39 getPersistence().cacheResult(journalContentSearchs);
40 }
41
42 public static void clearCache() {
43 getPersistence().clearCache();
44 }
45
46 public static com.liferay.portlet.journal.model.JournalContentSearch create(
47 long contentSearchId) {
48 return getPersistence().create(contentSearchId);
49 }
50
51 public static com.liferay.portlet.journal.model.JournalContentSearch remove(
52 long contentSearchId)
53 throws com.liferay.portal.SystemException,
54 com.liferay.portlet.journal.NoSuchContentSearchException {
55 return getPersistence().remove(contentSearchId);
56 }
57
58 public static com.liferay.portlet.journal.model.JournalContentSearch remove(
59 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
60 throws com.liferay.portal.SystemException {
61 return getPersistence().remove(journalContentSearch);
62 }
63
64
67 public static com.liferay.portlet.journal.model.JournalContentSearch update(
68 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
69 throws com.liferay.portal.SystemException {
70 return getPersistence().update(journalContentSearch);
71 }
72
73
86 public static com.liferay.portlet.journal.model.JournalContentSearch update(
87 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
88 boolean merge) throws com.liferay.portal.SystemException {
89 return getPersistence().update(journalContentSearch, merge);
90 }
91
92 public static com.liferay.portlet.journal.model.JournalContentSearch updateImpl(
93 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
94 boolean merge) throws com.liferay.portal.SystemException {
95 return getPersistence().updateImpl(journalContentSearch, merge);
96 }
97
98 public static com.liferay.portlet.journal.model.JournalContentSearch findByPrimaryKey(
99 long contentSearchId)
100 throws com.liferay.portal.SystemException,
101 com.liferay.portlet.journal.NoSuchContentSearchException {
102 return getPersistence().findByPrimaryKey(contentSearchId);
103 }
104
105 public static com.liferay.portlet.journal.model.JournalContentSearch fetchByPrimaryKey(
106 long contentSearchId) throws com.liferay.portal.SystemException {
107 return getPersistence().fetchByPrimaryKey(contentSearchId);
108 }
109
110 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
111 long groupId, boolean privateLayout)
112 throws com.liferay.portal.SystemException {
113 return getPersistence().findByG_P(groupId, privateLayout);
114 }
115
116 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
117 long groupId, boolean privateLayout, int start, int end)
118 throws com.liferay.portal.SystemException {
119 return getPersistence().findByG_P(groupId, privateLayout, start, end);
120 }
121
122 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P(
123 long groupId, boolean privateLayout, int start, int end,
124 com.liferay.portal.kernel.util.OrderByComparator obc)
125 throws com.liferay.portal.SystemException {
126 return getPersistence()
127 .findByG_P(groupId, privateLayout, start, end, obc);
128 }
129
130 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_First(
131 long groupId, boolean privateLayout,
132 com.liferay.portal.kernel.util.OrderByComparator obc)
133 throws com.liferay.portal.SystemException,
134 com.liferay.portlet.journal.NoSuchContentSearchException {
135 return getPersistence().findByG_P_First(groupId, privateLayout, obc);
136 }
137
138 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_Last(
139 long groupId, boolean privateLayout,
140 com.liferay.portal.kernel.util.OrderByComparator obc)
141 throws com.liferay.portal.SystemException,
142 com.liferay.portlet.journal.NoSuchContentSearchException {
143 return getPersistence().findByG_P_Last(groupId, privateLayout, obc);
144 }
145
146 public static com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_PrevAndNext(
147 long contentSearchId, long groupId, boolean privateLayout,
148 com.liferay.portal.kernel.util.OrderByComparator obc)
149 throws com.liferay.portal.SystemException,
150 com.liferay.portlet.journal.NoSuchContentSearchException {
151 return getPersistence()
152 .findByG_P_PrevAndNext(contentSearchId, groupId,
153 privateLayout, obc);
154 }
155
156 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
157 long groupId, java.lang.String articleId)
158 throws com.liferay.portal.SystemException {
159 return getPersistence().findByG_A(groupId, articleId);
160 }
161
162 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
163 long groupId, java.lang.String articleId, int start, int end)
164 throws com.liferay.portal.SystemException {
165 return getPersistence().findByG_A(groupId, articleId, start, end);
166 }
167
168 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A(
169 long groupId, java.lang.String articleId, int start, int end,
170 com.liferay.portal.kernel.util.OrderByComparator obc)
171 throws com.liferay.portal.SystemException {
172 return getPersistence().findByG_A(groupId, articleId, start, end, obc);
173 }
174
175 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_A_First(
176 long groupId, java.lang.String articleId,
177 com.liferay.portal.kernel.util.OrderByComparator obc)
178 throws com.liferay.portal.SystemException,
179 com.liferay.portlet.journal.NoSuchContentSearchException {
180 return getPersistence().findByG_A_First(groupId, articleId, obc);
181 }
182
183 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_A_Last(
184 long groupId, java.lang.String articleId,
185 com.liferay.portal.kernel.util.OrderByComparator obc)
186 throws com.liferay.portal.SystemException,
187 com.liferay.portlet.journal.NoSuchContentSearchException {
188 return getPersistence().findByG_A_Last(groupId, articleId, obc);
189 }
190
191 public static com.liferay.portlet.journal.model.JournalContentSearch[] findByG_A_PrevAndNext(
192 long contentSearchId, long groupId, java.lang.String articleId,
193 com.liferay.portal.kernel.util.OrderByComparator obc)
194 throws com.liferay.portal.SystemException,
195 com.liferay.portlet.journal.NoSuchContentSearchException {
196 return getPersistence()
197 .findByG_A_PrevAndNext(contentSearchId, groupId, articleId,
198 obc);
199 }
200
201 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
202 long groupId, boolean privateLayout, long layoutId)
203 throws com.liferay.portal.SystemException {
204 return getPersistence().findByG_P_L(groupId, privateLayout, layoutId);
205 }
206
207 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
208 long groupId, boolean privateLayout, long layoutId, int start, int end)
209 throws com.liferay.portal.SystemException {
210 return getPersistence()
211 .findByG_P_L(groupId, privateLayout, layoutId, start, end);
212 }
213
214 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L(
215 long groupId, boolean privateLayout, long layoutId, int start, int end,
216 com.liferay.portal.kernel.util.OrderByComparator obc)
217 throws com.liferay.portal.SystemException {
218 return getPersistence()
219 .findByG_P_L(groupId, privateLayout, layoutId, start, end,
220 obc);
221 }
222
223 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_First(
224 long groupId, boolean privateLayout, long layoutId,
225 com.liferay.portal.kernel.util.OrderByComparator obc)
226 throws com.liferay.portal.SystemException,
227 com.liferay.portlet.journal.NoSuchContentSearchException {
228 return getPersistence()
229 .findByG_P_L_First(groupId, privateLayout, layoutId, obc);
230 }
231
232 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_Last(
233 long groupId, boolean privateLayout, long layoutId,
234 com.liferay.portal.kernel.util.OrderByComparator obc)
235 throws com.liferay.portal.SystemException,
236 com.liferay.portlet.journal.NoSuchContentSearchException {
237 return getPersistence()
238 .findByG_P_L_Last(groupId, privateLayout, layoutId, obc);
239 }
240
241 public static com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_PrevAndNext(
242 long contentSearchId, long groupId, boolean privateLayout,
243 long layoutId, com.liferay.portal.kernel.util.OrderByComparator obc)
244 throws com.liferay.portal.SystemException,
245 com.liferay.portlet.journal.NoSuchContentSearchException {
246 return getPersistence()
247 .findByG_P_L_PrevAndNext(contentSearchId, groupId,
248 privateLayout, layoutId, obc);
249 }
250
251 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
252 long groupId, boolean privateLayout, java.lang.String articleId)
253 throws com.liferay.portal.SystemException {
254 return getPersistence().findByG_P_A(groupId, privateLayout, articleId);
255 }
256
257 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
258 long groupId, boolean privateLayout, java.lang.String articleId,
259 int start, int end) throws com.liferay.portal.SystemException {
260 return getPersistence()
261 .findByG_P_A(groupId, privateLayout, articleId, start, end);
262 }
263
264 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A(
265 long groupId, boolean privateLayout, java.lang.String articleId,
266 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
267 throws com.liferay.portal.SystemException {
268 return getPersistence()
269 .findByG_P_A(groupId, privateLayout, articleId, start, end,
270 obc);
271 }
272
273 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_First(
274 long groupId, boolean privateLayout, java.lang.String articleId,
275 com.liferay.portal.kernel.util.OrderByComparator obc)
276 throws com.liferay.portal.SystemException,
277 com.liferay.portlet.journal.NoSuchContentSearchException {
278 return getPersistence()
279 .findByG_P_A_First(groupId, privateLayout, articleId, obc);
280 }
281
282 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_Last(
283 long groupId, boolean privateLayout, java.lang.String articleId,
284 com.liferay.portal.kernel.util.OrderByComparator obc)
285 throws com.liferay.portal.SystemException,
286 com.liferay.portlet.journal.NoSuchContentSearchException {
287 return getPersistence()
288 .findByG_P_A_Last(groupId, privateLayout, articleId, obc);
289 }
290
291 public static com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_A_PrevAndNext(
292 long contentSearchId, long groupId, boolean privateLayout,
293 java.lang.String articleId,
294 com.liferay.portal.kernel.util.OrderByComparator obc)
295 throws com.liferay.portal.SystemException,
296 com.liferay.portlet.journal.NoSuchContentSearchException {
297 return getPersistence()
298 .findByG_P_A_PrevAndNext(contentSearchId, groupId,
299 privateLayout, articleId, obc);
300 }
301
302 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
303 long groupId, boolean privateLayout, long layoutId,
304 java.lang.String portletId) throws com.liferay.portal.SystemException {
305 return getPersistence()
306 .findByG_P_L_P(groupId, privateLayout, layoutId, portletId);
307 }
308
309 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
310 long groupId, boolean privateLayout, long layoutId,
311 java.lang.String portletId, int start, int end)
312 throws com.liferay.portal.SystemException {
313 return getPersistence()
314 .findByG_P_L_P(groupId, privateLayout, layoutId, portletId,
315 start, end);
316 }
317
318 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P(
319 long groupId, boolean privateLayout, long layoutId,
320 java.lang.String portletId, int start, int end,
321 com.liferay.portal.kernel.util.OrderByComparator obc)
322 throws com.liferay.portal.SystemException {
323 return getPersistence()
324 .findByG_P_L_P(groupId, privateLayout, layoutId, portletId,
325 start, end, obc);
326 }
327
328 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_First(
329 long groupId, boolean privateLayout, long layoutId,
330 java.lang.String portletId,
331 com.liferay.portal.kernel.util.OrderByComparator obc)
332 throws com.liferay.portal.SystemException,
333 com.liferay.portlet.journal.NoSuchContentSearchException {
334 return getPersistence()
335 .findByG_P_L_P_First(groupId, privateLayout, layoutId,
336 portletId, obc);
337 }
338
339 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_Last(
340 long groupId, boolean privateLayout, long layoutId,
341 java.lang.String portletId,
342 com.liferay.portal.kernel.util.OrderByComparator obc)
343 throws com.liferay.portal.SystemException,
344 com.liferay.portlet.journal.NoSuchContentSearchException {
345 return getPersistence()
346 .findByG_P_L_P_Last(groupId, privateLayout, layoutId,
347 portletId, obc);
348 }
349
350 public static com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_P_PrevAndNext(
351 long contentSearchId, long groupId, boolean privateLayout,
352 long layoutId, java.lang.String portletId,
353 com.liferay.portal.kernel.util.OrderByComparator obc)
354 throws com.liferay.portal.SystemException,
355 com.liferay.portlet.journal.NoSuchContentSearchException {
356 return getPersistence()
357 .findByG_P_L_P_PrevAndNext(contentSearchId, groupId,
358 privateLayout, layoutId, portletId, obc);
359 }
360
361 public static com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_A(
362 long groupId, boolean privateLayout, long layoutId,
363 java.lang.String portletId, java.lang.String articleId)
364 throws com.liferay.portal.SystemException,
365 com.liferay.portlet.journal.NoSuchContentSearchException {
366 return getPersistence()
367 .findByG_P_L_P_A(groupId, privateLayout, layoutId,
368 portletId, articleId);
369 }
370
371 public static com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_A(
372 long groupId, boolean privateLayout, long layoutId,
373 java.lang.String portletId, java.lang.String articleId)
374 throws com.liferay.portal.SystemException {
375 return getPersistence()
376 .fetchByG_P_L_P_A(groupId, privateLayout, layoutId,
377 portletId, articleId);
378 }
379
380 public static com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_A(
381 long groupId, boolean privateLayout, long layoutId,
382 java.lang.String portletId, java.lang.String articleId,
383 boolean retrieveFromCache) throws com.liferay.portal.SystemException {
384 return getPersistence()
385 .fetchByG_P_L_P_A(groupId, privateLayout, layoutId,
386 portletId, articleId, retrieveFromCache);
387 }
388
389 public static java.util.List<Object> findWithDynamicQuery(
390 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
391 throws com.liferay.portal.SystemException {
392 return getPersistence().findWithDynamicQuery(dynamicQuery);
393 }
394
395 public static java.util.List<Object> findWithDynamicQuery(
396 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
397 int end) throws com.liferay.portal.SystemException {
398 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
399 }
400
401 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll()
402 throws com.liferay.portal.SystemException {
403 return getPersistence().findAll();
404 }
405
406 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll(
407 int start, int end) throws com.liferay.portal.SystemException {
408 return getPersistence().findAll(start, end);
409 }
410
411 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll(
412 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
413 throws com.liferay.portal.SystemException {
414 return getPersistence().findAll(start, end, obc);
415 }
416
417 public static void removeByG_P(long groupId, boolean privateLayout)
418 throws com.liferay.portal.SystemException {
419 getPersistence().removeByG_P(groupId, privateLayout);
420 }
421
422 public static void removeByG_A(long groupId, java.lang.String articleId)
423 throws com.liferay.portal.SystemException {
424 getPersistence().removeByG_A(groupId, articleId);
425 }
426
427 public static void removeByG_P_L(long groupId, boolean privateLayout,
428 long layoutId) throws com.liferay.portal.SystemException {
429 getPersistence().removeByG_P_L(groupId, privateLayout, layoutId);
430 }
431
432 public static void removeByG_P_A(long groupId, boolean privateLayout,
433 java.lang.String articleId) throws com.liferay.portal.SystemException {
434 getPersistence().removeByG_P_A(groupId, privateLayout, articleId);
435 }
436
437 public static void removeByG_P_L_P(long groupId, boolean privateLayout,
438 long layoutId, java.lang.String portletId)
439 throws com.liferay.portal.SystemException {
440 getPersistence()
441 .removeByG_P_L_P(groupId, privateLayout, layoutId, portletId);
442 }
443
444 public static void removeByG_P_L_P_A(long groupId, boolean privateLayout,
445 long layoutId, java.lang.String portletId, java.lang.String articleId)
446 throws com.liferay.portal.SystemException,
447 com.liferay.portlet.journal.NoSuchContentSearchException {
448 getPersistence()
449 .removeByG_P_L_P_A(groupId, privateLayout, layoutId, portletId,
450 articleId);
451 }
452
453 public static void removeAll() throws com.liferay.portal.SystemException {
454 getPersistence().removeAll();
455 }
456
457 public static int countByG_P(long groupId, boolean privateLayout)
458 throws com.liferay.portal.SystemException {
459 return getPersistence().countByG_P(groupId, privateLayout);
460 }
461
462 public static int countByG_A(long groupId, java.lang.String articleId)
463 throws com.liferay.portal.SystemException {
464 return getPersistence().countByG_A(groupId, articleId);
465 }
466
467 public static int countByG_P_L(long groupId, boolean privateLayout,
468 long layoutId) throws com.liferay.portal.SystemException {
469 return getPersistence().countByG_P_L(groupId, privateLayout, layoutId);
470 }
471
472 public static int countByG_P_A(long groupId, boolean privateLayout,
473 java.lang.String articleId) throws com.liferay.portal.SystemException {
474 return getPersistence().countByG_P_A(groupId, privateLayout, articleId);
475 }
476
477 public static int countByG_P_L_P(long groupId, boolean privateLayout,
478 long layoutId, java.lang.String portletId)
479 throws com.liferay.portal.SystemException {
480 return getPersistence()
481 .countByG_P_L_P(groupId, privateLayout, layoutId, portletId);
482 }
483
484 public static int countByG_P_L_P_A(long groupId, boolean privateLayout,
485 long layoutId, java.lang.String portletId, java.lang.String articleId)
486 throws com.liferay.portal.SystemException {
487 return getPersistence()
488 .countByG_P_L_P_A(groupId, privateLayout, layoutId,
489 portletId, articleId);
490 }
491
492 public static int countAll() throws com.liferay.portal.SystemException {
493 return getPersistence().countAll();
494 }
495
496 public static JournalContentSearchPersistence getPersistence() {
497 return _persistence;
498 }
499
500 public void setPersistence(JournalContentSearchPersistence persistence) {
501 _persistence = persistence;
502 }
503
504 private static JournalContentSearchPersistence _persistence;
505 }