1   /**
2    * Copyright (c) 2000-2009 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   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
17   * SOFTWARE.
18   */
19  
20  package com.liferay.portal.service.persistence;
21  
22  /**
23   * <a href="UserFinder.java.html"><b><i>View Source</i></b></a>
24   *
25   * @author Brian Wing Shun Chan
26   *
27   */
28  public interface UserFinder {
29      public int countByKeywords(long companyId, java.lang.String keywords,
30          java.lang.Boolean active, java.util.LinkedHashMap<String, Object> params)
31          throws com.liferay.portal.SystemException;
32  
33      public int countByC_FN_MN_LN_SN_EA_A(long companyId,
34          java.lang.String firstName, java.lang.String middleName,
35          java.lang.String lastName, java.lang.String screenName,
36          java.lang.String emailAddress, java.lang.Boolean active,
37          java.util.LinkedHashMap<String, Object> params, boolean andOperator)
38          throws com.liferay.portal.SystemException;
39  
40      public int countByC_FN_MN_LN_SN_EA_A(long companyId,
41          java.lang.String[] firstNames, java.lang.String[] middleNames,
42          java.lang.String[] lastNames, java.lang.String[] screenNames,
43          java.lang.String[] emailAddresses, java.lang.Boolean active,
44          java.util.LinkedHashMap<String, Object> params, boolean andOperator)
45          throws com.liferay.portal.SystemException;
46  
47      public java.util.List<com.liferay.portal.model.User> findByKeywords(
48          long companyId, java.lang.String keywords, java.lang.Boolean active,
49          java.util.LinkedHashMap<String, Object> params, int start, int end,
50          com.liferay.portal.kernel.util.OrderByComparator obc)
51          throws com.liferay.portal.SystemException;
52  
53      public java.util.List<com.liferay.portal.model.User> findByNoAnnouncementsDeliveries(
54          java.lang.String type) 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  }