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