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