1
22
23 package com.liferay.portal.service.persistence;
24
25
31 public class OrganizationFinderUtil {
32 public static int countByKeywords(long companyId,
33 long parentOrganizationId,
34 java.lang.String parentOrganizationComparator,
35 java.lang.String keywords, int type, java.lang.Long regionId,
36 java.lang.Long countryId, java.util.LinkedHashMap params)
37 throws com.liferay.portal.SystemException {
38 return getFinder().countByKeywords(companyId, parentOrganizationId,
39 parentOrganizationComparator, keywords, type, regionId, countryId,
40 params);
41 }
42
43 public static int countByC_PO_N_T_S_C_Z_R_C(long companyId,
44 long parentOrganizationId,
45 java.lang.String parentOrganizationComparator, java.lang.String name,
46 int type, java.lang.String street, java.lang.String city,
47 java.lang.String zip, java.lang.Long regionId,
48 java.lang.Long countryId, java.util.LinkedHashMap params,
49 boolean andOperator) throws com.liferay.portal.SystemException {
50 return getFinder().countByC_PO_N_T_S_C_Z_R_C(companyId,
51 parentOrganizationId, parentOrganizationComparator, name, type,
52 street, city, zip, regionId, countryId, params, andOperator);
53 }
54
55 public static int countByC_PO_N_T_S_C_Z_R_C(long companyId,
56 long parentOrganizationId,
57 java.lang.String parentOrganizationComparator,
58 java.lang.String[] names, int type, java.lang.String[] streets,
59 java.lang.String[] cities, java.lang.String[] zips,
60 java.lang.Long regionId, java.lang.Long countryId,
61 java.util.LinkedHashMap params, boolean andOperator)
62 throws com.liferay.portal.SystemException {
63 return getFinder().countByC_PO_N_T_S_C_Z_R_C(companyId,
64 parentOrganizationId, parentOrganizationComparator, names, type,
65 streets, cities, zips, regionId, countryId, params, andOperator);
66 }
67
68 public static java.util.List findByKeywords(long companyId,
69 long parentOrganizationId,
70 java.lang.String parentOrganizationComparator,
71 java.lang.String keywords, int type, java.lang.Long regionId,
72 java.lang.Long countryId, java.util.LinkedHashMap params, int begin,
73 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
74 throws com.liferay.portal.SystemException {
75 return getFinder().findByKeywords(companyId, parentOrganizationId,
76 parentOrganizationComparator, keywords, type, regionId, countryId,
77 params, begin, end, obc);
78 }
79
80 public static java.util.List findByC_PO_N_T_S_C_Z_R_C(long companyId,
81 long parentOrganizationId,
82 java.lang.String parentOrganizationComparator, java.lang.String name,
83 int type, java.lang.String street, java.lang.String city,
84 java.lang.String zip, java.lang.Long regionId,
85 java.lang.Long countryId, java.util.LinkedHashMap params,
86 boolean andOperator, int begin, int end,
87 com.liferay.portal.kernel.util.OrderByComparator obc)
88 throws com.liferay.portal.SystemException {
89 return getFinder().findByC_PO_N_T_S_C_Z_R_C(companyId,
90 parentOrganizationId, parentOrganizationComparator, name, type,
91 street, city, zip, regionId, countryId, params, andOperator, begin,
92 end, obc);
93 }
94
95 public static java.util.List findByC_PO_N_T_S_C_Z_R_C(long companyId,
96 long parentOrganizationId,
97 java.lang.String parentOrganizationComparator,
98 java.lang.String[] names, int type, java.lang.String[] streets,
99 java.lang.String[] cities, java.lang.String[] zips,
100 java.lang.Long regionId, java.lang.Long countryId,
101 java.util.LinkedHashMap params, boolean andOperator, int begin,
102 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
103 throws com.liferay.portal.SystemException {
104 return getFinder().findByC_PO_N_T_S_C_Z_R_C(companyId,
105 parentOrganizationId, parentOrganizationComparator, names, type,
106 streets, cities, zips, regionId, countryId, params, andOperator,
107 begin, end, obc);
108 }
109
110 public static OrganizationFinder getFinder() {
111 return _getUtil()._finder;
112 }
113
114 public void setFinder(OrganizationFinder finder) {
115 _finder = finder;
116 }
117
118 private static OrganizationFinderUtil _getUtil() {
119 if (_util == null) {
120 _util = (OrganizationFinderUtil)com.liferay.portal.kernel.bean.BeanLocatorUtil.locate(_UTIL);
121 }
122
123 return _util;
124 }
125
126 private static final String _UTIL = OrganizationFinderUtil.class.getName();
127 private static OrganizationFinderUtil _util;
128 private OrganizationFinder _finder;
129 }