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