1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   * 
13   */
14  
15  package com.liferay.portal.service.persistence;
16  
17  /**
18   * <a href="OrganizationFinder.java.html"><b><i>View Source</i></b></a>
19   *
20   * @author Brian Wing Shun Chan
21   */
22  public interface OrganizationFinder {
23      public int countByKeywords(long companyId, long parentOrganizationId,
24          java.lang.String parentOrganizationIdComparator,
25          java.lang.String keywords, int type, java.lang.Long regionId,
26          java.lang.Long countryId, java.util.LinkedHashMap<String, Object> params)
27          throws com.liferay.portal.SystemException;
28  
29      public int countByO_U(long organizationId, long userId)
30          throws com.liferay.portal.SystemException;
31  
32      public int countByC_PO_N_T_S_C_Z_R_C(long companyId,
33          long parentOrganizationId,
34          java.lang.String parentOrganizationIdComparator, java.lang.String name,
35          int type, java.lang.String street, java.lang.String city,
36          java.lang.String zip, java.lang.Long regionId,
37          java.lang.Long countryId,
38          java.util.LinkedHashMap<String, Object> params, boolean andOperator)
39          throws com.liferay.portal.SystemException;
40  
41      public int countByC_PO_N_T_S_C_Z_R_C(long companyId,
42          long parentOrganizationId,
43          java.lang.String parentOrganizationIdComparator,
44          java.lang.String[] names, int type, java.lang.String[] streets,
45          java.lang.String[] cities, java.lang.String[] zips,
46          java.lang.Long regionId, java.lang.Long countryId,
47          java.util.LinkedHashMap<String, Object> params, boolean andOperator)
48          throws com.liferay.portal.SystemException;
49  
50      public java.util.List<com.liferay.portal.model.Organization> findByKeywords(
51          long companyId, long parentOrganizationId,
52          java.lang.String parentOrganizationIdComparator,
53          java.lang.String keywords, int type, java.lang.Long regionId,
54          java.lang.Long countryId,
55          java.util.LinkedHashMap<String, Object> params, int start, int end,
56          com.liferay.portal.kernel.util.OrderByComparator obc)
57          throws com.liferay.portal.SystemException;
58  
59      public java.util.List<com.liferay.portal.model.Organization> findByC_PO_N_T_S_C_Z_R_C(
60          long companyId, long parentOrganizationId,
61          java.lang.String parentOrganizationIdComparator, java.lang.String name,
62          int type, java.lang.String street, java.lang.String city,
63          java.lang.String zip, java.lang.Long regionId,
64          java.lang.Long countryId,
65          java.util.LinkedHashMap<String, Object> params, boolean andOperator,
66          int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
67          throws com.liferay.portal.SystemException;
68  
69      public java.util.List<com.liferay.portal.model.Organization> findByC_PO_N_T_S_C_Z_R_C(
70          long companyId, long parentOrganizationId,
71          java.lang.String parentOrganizationIdComparator,
72          java.lang.String[] names, int type, java.lang.String[] streets,
73          java.lang.String[] cities, java.lang.String[] zips,
74          java.lang.Long regionId, java.lang.Long countryId,
75          java.util.LinkedHashMap<String, Object> params, boolean andOperator,
76          int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
77          throws com.liferay.portal.SystemException;
78  }