1
14
15 package com.liferay.portlet.journal.service.persistence;
16
17 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18
19
24 public class JournalStructureFinderUtil {
25 public static int countByKeywords(long companyId, long groupId,
26 java.lang.String keywords) throws com.liferay.portal.SystemException {
27 return getFinder().countByKeywords(companyId, groupId, keywords);
28 }
29
30 public static int countByC_G_S_N_D(long companyId, long groupId,
31 java.lang.String structureId, java.lang.String name,
32 java.lang.String description, boolean andOperator)
33 throws com.liferay.portal.SystemException {
34 return getFinder()
35 .countByC_G_S_N_D(companyId, groupId, structureId, name,
36 description, andOperator);
37 }
38
39 public static int countByC_G_S_N_D(long companyId, long groupId,
40 java.lang.String[] structureIds, java.lang.String[] names,
41 java.lang.String[] descriptions, boolean andOperator)
42 throws com.liferay.portal.SystemException {
43 return getFinder()
44 .countByC_G_S_N_D(companyId, groupId, structureIds, names,
45 descriptions, andOperator);
46 }
47
48 public static java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByKeywords(
49 long companyId, long groupId, java.lang.String keywords, int start,
50 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
51 throws com.liferay.portal.SystemException {
52 return getFinder()
53 .findByKeywords(companyId, groupId, keywords, start, end, obc);
54 }
55
56 public static java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByC_G_S_N_D(
57 long companyId, long groupId, java.lang.String structureId,
58 java.lang.String name, java.lang.String description,
59 boolean andOperator, int start, int end,
60 com.liferay.portal.kernel.util.OrderByComparator obc)
61 throws com.liferay.portal.SystemException {
62 return getFinder()
63 .findByC_G_S_N_D(companyId, groupId, structureId, name,
64 description, andOperator, start, end, obc);
65 }
66
67 public static java.util.List<com.liferay.portlet.journal.model.JournalStructure> findByC_G_S_N_D(
68 long companyId, long groupId, java.lang.String[] structureIds,
69 java.lang.String[] names, java.lang.String[] descriptions,
70 boolean andOperator, int start, int end,
71 com.liferay.portal.kernel.util.OrderByComparator obc)
72 throws com.liferay.portal.SystemException {
73 return getFinder()
74 .findByC_G_S_N_D(companyId, groupId, structureIds, names,
75 descriptions, andOperator, start, end, obc);
76 }
77
78 public static JournalStructureFinder getFinder() {
79 if (_finder == null) {
80 _finder = (JournalStructureFinder)PortalBeanLocatorUtil.locate(JournalStructureFinder.class.getName());
81 }
82
83 return _finder;
84 }
85
86 public void setFinder(JournalStructureFinder finder) {
87 _finder = finder;
88 }
89
90 private static JournalStructureFinder _finder;
91 }