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 countByUser(long userId,
24          java.util.LinkedHashMap<java.lang.String, java.lang.Object> params)
25          throws com.liferay.portal.SystemException;
26  
27      public int countByKeywords(long companyId, java.lang.String keywords,
28          java.lang.Boolean active,
29          java.util.LinkedHashMap<java.lang.String, java.lang.Object> params)
30          throws com.liferay.portal.SystemException;
31  
32      public int countByC_FN_MN_LN_SN_EA_A(long companyId,
33          java.lang.String firstName, java.lang.String middleName,
34          java.lang.String lastName, java.lang.String screenName,
35          java.lang.String emailAddress, java.lang.Boolean active,
36          java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
37          boolean andOperator) throws com.liferay.portal.SystemException;
38  
39      public int countByC_FN_MN_LN_SN_EA_A(long companyId,
40          java.lang.String[] firstNames, java.lang.String[] middleNames,
41          java.lang.String[] lastNames, java.lang.String[] screenNames,
42          java.lang.String[] emailAddresses, java.lang.Boolean active,
43          java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
44          boolean andOperator) throws com.liferay.portal.SystemException;
45  
46      public java.util.List<com.liferay.portal.model.User> findByKeywords(
47          long companyId, java.lang.String keywords, java.lang.Boolean active,
48          java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
49          int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
50          throws com.liferay.portal.SystemException;
51  
52      public java.util.List<com.liferay.portal.model.User> findByNoAnnouncementsDeliveries(
53          java.lang.String type) throws com.liferay.portal.SystemException;
54  
55      public java.util.List<com.liferay.portal.model.User> findByNoContacts()
56          throws com.liferay.portal.SystemException;
57  
58      public java.util.List<com.liferay.portal.model.User> findByNoGroups()
59          throws com.liferay.portal.SystemException;
60  
61      public java.util.List<com.liferay.portal.model.User> findByC_FN_MN_LN_SN_EA_A(
62          long companyId, java.lang.String firstName,
63          java.lang.String middleName, java.lang.String lastName,
64          java.lang.String screenName, java.lang.String emailAddress,
65          java.lang.Boolean active,
66          java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
67          boolean andOperator, int start, int end,
68          com.liferay.portal.kernel.util.OrderByComparator obc)
69          throws com.liferay.portal.SystemException;
70  
71      public java.util.List<com.liferay.portal.model.User> findByC_FN_MN_LN_SN_EA_A(
72          long companyId, java.lang.String[] firstNames,
73          java.lang.String[] middleNames, java.lang.String[] lastNames,
74          java.lang.String[] screenNames, java.lang.String[] emailAddresses,
75          java.lang.Boolean active,
76          java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
77          boolean andOperator, int start, int end,
78          com.liferay.portal.kernel.util.OrderByComparator obc)
79          throws com.liferay.portal.SystemException;
80  }