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, java.lang.String type,
26          java.lang.Long regionId, java.lang.Long countryId,
27          java.util.LinkedHashMap<java.lang.String, java.lang.Object> params)
28          throws com.liferay.portal.SystemException;
29  
30      public int countByO_U(long organizationId, long userId)
31          throws com.liferay.portal.SystemException;
32  
33      public int countByC_PO_N_T_S_C_Z_R_C(long companyId,
34          long parentOrganizationId,
35          java.lang.String parentOrganizationIdComparator, java.lang.String name,
36          java.lang.String type, java.lang.String street, java.lang.String city,
37          java.lang.String zip, java.lang.Long regionId,
38          java.lang.Long countryId,
39          java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
40          boolean andOperator) throws com.liferay.portal.SystemException;
41  
42      public int countByC_PO_N_T_S_C_Z_R_C(long companyId,
43          long parentOrganizationId,
44          java.lang.String parentOrganizationIdComparator,
45          java.lang.String[] names, java.lang.String type,
46          java.lang.String[] streets, java.lang.String[] cities,
47          java.lang.String[] zips, java.lang.Long regionId,
48          java.lang.Long countryId,
49          java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
50          boolean andOperator) throws com.liferay.portal.SystemException;
51  
52      public java.util.List<com.liferay.portal.model.Organization> findByKeywords(
53          long companyId, long parentOrganizationId,
54          java.lang.String parentOrganizationIdComparator,
55          java.lang.String keywords, java.lang.String type,
56          java.lang.Long regionId, java.lang.Long countryId,
57          java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
58          int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
59          throws com.liferay.portal.SystemException;
60  
61      public java.util.List<com.liferay.portal.model.Organization> findByC_PO_N_T_S_C_Z_R_C(
62          long companyId, long parentOrganizationId,
63          java.lang.String parentOrganizationIdComparator, java.lang.String name,
64          java.lang.String type, java.lang.String street, java.lang.String city,
65          java.lang.String zip, java.lang.Long regionId,
66          java.lang.Long countryId,
67          java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
68          boolean andOperator, int start, int end,
69          com.liferay.portal.kernel.util.OrderByComparator obc)
70          throws com.liferay.portal.SystemException;
71  
72      public java.util.List<com.liferay.portal.model.Organization> findByC_PO_N_T_S_C_Z_R_C(
73          long companyId, long parentOrganizationId,
74          java.lang.String parentOrganizationIdComparator,
75          java.lang.String[] names, java.lang.String type,
76          java.lang.String[] streets, java.lang.String[] cities,
77          java.lang.String[] zips, java.lang.Long regionId,
78          java.lang.Long countryId,
79          java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
80          boolean andOperator, int start, int end,
81          com.liferay.portal.kernel.util.OrderByComparator obc)
82          throws com.liferay.portal.SystemException;
83  }