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