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="UserFinder.java.html"><b><i>View Source</i></b></a>
19   *
20   * @author Brian Wing Shun Chan
21   */
22  public interface UserFinder {
23      public int countByKeywords(long companyId, java.lang.String keywords,
24          java.lang.Boolean active, java.util.LinkedHashMap<String, Object> params)
25          throws com.liferay.portal.SystemException;
26  
27      public int countByC_FN_MN_LN_SN_EA_A(long companyId,
28          java.lang.String firstName, java.lang.String middleName,
29          java.lang.String lastName, java.lang.String screenName,
30          java.lang.String emailAddress, java.lang.Boolean active,
31          java.util.LinkedHashMap<String, Object> params, boolean andOperator)
32          throws com.liferay.portal.SystemException;
33  
34      public int countByC_FN_MN_LN_SN_EA_A(long companyId,
35          java.lang.String[] firstNames, java.lang.String[] middleNames,
36          java.lang.String[] lastNames, java.lang.String[] screenNames,
37          java.lang.String[] emailAddresses, java.lang.Boolean active,
38          java.util.LinkedHashMap<String, Object> params, boolean andOperator)
39          throws com.liferay.portal.SystemException;
40  
41      public java.util.List<com.liferay.portal.model.User> findByKeywords(
42          long companyId, java.lang.String keywords, java.lang.Boolean active,
43          java.util.LinkedHashMap<String, Object> params, int start, int end,
44          com.liferay.portal.kernel.util.OrderByComparator obc)
45          throws com.liferay.portal.SystemException;
46  
47      public java.util.List<com.liferay.portal.model.User> findByNoAnnouncementsDeliveries(
48          java.lang.String type) throws com.liferay.portal.SystemException;
49  
50      public java.util.List<com.liferay.portal.model.User> findByNoContacts()
51          throws com.liferay.portal.SystemException;
52  
53      public java.util.List<com.liferay.portal.model.User> findByNoGroups()
54          throws com.liferay.portal.SystemException;
55  
56      public java.util.List<com.liferay.portal.model.User> findByC_FN_MN_LN_SN_EA_A(
57          long companyId, java.lang.String firstName,
58          java.lang.String middleName, java.lang.String lastName,
59          java.lang.String screenName, java.lang.String emailAddress,
60          java.lang.Boolean active,
61          java.util.LinkedHashMap<String, Object> params, boolean andOperator,
62          int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
63          throws com.liferay.portal.SystemException;
64  
65      public java.util.List<com.liferay.portal.model.User> findByC_FN_MN_LN_SN_EA_A(
66          long companyId, java.lang.String[] firstNames,
67          java.lang.String[] middleNames, java.lang.String[] lastNames,
68          java.lang.String[] screenNames, java.lang.String[] emailAddresses,
69          java.lang.Boolean active,
70          java.util.LinkedHashMap<String, Object> params, boolean andOperator,
71          int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
72          throws com.liferay.portal.SystemException;
73  }