001
014
015 package com.liferay.portlet.journal.service.persistence;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.ReferenceRegistry;
019
020
023 public class JournalFeedFinderUtil {
024 public static int countByKeywords(long companyId, long groupId,
025 java.lang.String keywords)
026 throws com.liferay.portal.kernel.exception.SystemException {
027 return getFinder().countByKeywords(companyId, groupId, keywords);
028 }
029
030 public static int countByC_G_F_N_D(long companyId, long groupId,
031 java.lang.String feedId, java.lang.String name,
032 java.lang.String description, boolean andOperator)
033 throws com.liferay.portal.kernel.exception.SystemException {
034 return getFinder()
035 .countByC_G_F_N_D(companyId, groupId, feedId, name,
036 description, andOperator);
037 }
038
039 public static int countByC_G_F_N_D(long companyId, long groupId,
040 java.lang.String[] feedIds, java.lang.String[] names,
041 java.lang.String[] descriptions, boolean andOperator)
042 throws com.liferay.portal.kernel.exception.SystemException {
043 return getFinder()
044 .countByC_G_F_N_D(companyId, groupId, feedIds, names,
045 descriptions, andOperator);
046 }
047
048 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByKeywords(
049 long companyId, long groupId, java.lang.String keywords, int start,
050 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
051 throws com.liferay.portal.kernel.exception.SystemException {
052 return getFinder()
053 .findByKeywords(companyId, groupId, keywords, start, end, obc);
054 }
055
056 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByC_G_F_N_D(
057 long companyId, long groupId, java.lang.String feedId,
058 java.lang.String name, java.lang.String description,
059 boolean andOperator, int start, int end,
060 com.liferay.portal.kernel.util.OrderByComparator obc)
061 throws com.liferay.portal.kernel.exception.SystemException {
062 return getFinder()
063 .findByC_G_F_N_D(companyId, groupId, feedId, name,
064 description, andOperator, start, end, obc);
065 }
066
067 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByC_G_F_N_D(
068 long companyId, long groupId, java.lang.String[] feedIds,
069 java.lang.String[] names, java.lang.String[] descriptions,
070 boolean andOperator, int start, int end,
071 com.liferay.portal.kernel.util.OrderByComparator obc)
072 throws com.liferay.portal.kernel.exception.SystemException {
073 return getFinder()
074 .findByC_G_F_N_D(companyId, groupId, feedIds, names,
075 descriptions, andOperator, start, end, obc);
076 }
077
078 public static JournalFeedFinder getFinder() {
079 if (_finder == null) {
080 _finder = (JournalFeedFinder)PortalBeanLocatorUtil.locate(JournalFeedFinder.class.getName());
081
082 ReferenceRegistry.registerReference(JournalFeedFinderUtil.class,
083 "_finder");
084 }
085
086 return _finder;
087 }
088
089 public void setFinder(JournalFeedFinder finder) {
090 _finder = finder;
091
092 ReferenceRegistry.registerReference(JournalFeedFinderUtil.class,
093 "_finder");
094 }
095
096 private static JournalFeedFinder _finder;
097 }