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