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