1
22
23 package com.liferay.portlet.journal.service.persistence;
24
25 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
26
27
32 public class JournalFeedFinderUtil {
33 public static int countByKeywords(long companyId, long groupId,
34 java.lang.String keywords) throws com.liferay.portal.SystemException {
35 return getFinder().countByKeywords(companyId, groupId, keywords);
36 }
37
38 public static int countByC_G_F_N_D(long companyId, long groupId,
39 java.lang.String feedId, java.lang.String name,
40 java.lang.String description, boolean andOperator)
41 throws com.liferay.portal.SystemException {
42 return getFinder()
43 .countByC_G_F_N_D(companyId, groupId, feedId, name,
44 description, andOperator);
45 }
46
47 public static int countByC_G_F_N_D(long companyId, long groupId,
48 java.lang.String[] feedIds, java.lang.String[] names,
49 java.lang.String[] descriptions, boolean andOperator)
50 throws com.liferay.portal.SystemException {
51 return getFinder()
52 .countByC_G_F_N_D(companyId, groupId, feedIds, names,
53 descriptions, andOperator);
54 }
55
56 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByKeywords(
57 long companyId, long groupId, java.lang.String keywords, int start,
58 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
59 throws com.liferay.portal.SystemException {
60 return getFinder()
61 .findByKeywords(companyId, groupId, keywords, start, end, obc);
62 }
63
64 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByC_G_F_N_D(
65 long companyId, long groupId, java.lang.String feedId,
66 java.lang.String name, java.lang.String description,
67 boolean andOperator, int start, int end,
68 com.liferay.portal.kernel.util.OrderByComparator obc)
69 throws com.liferay.portal.SystemException {
70 return getFinder()
71 .findByC_G_F_N_D(companyId, groupId, feedId, name,
72 description, andOperator, start, end, obc);
73 }
74
75 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByC_G_F_N_D(
76 long companyId, long groupId, java.lang.String[] feedIds,
77 java.lang.String[] names, java.lang.String[] descriptions,
78 boolean andOperator, int start, int end,
79 com.liferay.portal.kernel.util.OrderByComparator obc)
80 throws com.liferay.portal.SystemException {
81 return getFinder()
82 .findByC_G_F_N_D(companyId, groupId, feedIds, names,
83 descriptions, andOperator, start, end, obc);
84 }
85
86 public static JournalFeedFinder getFinder() {
87 if (_finder == null) {
88 _finder = (JournalFeedFinder)PortalBeanLocatorUtil.locate(JournalFeedFinder.class.getName());
89 }
90
91 return _finder;
92 }
93
94 public void setFinder(JournalFeedFinder finder) {
95 _finder = finder;
96 }
97
98 private static JournalFeedFinder _finder;
99 }