1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.service.persistence;
16  
17  import com.liferay.portal.model.PasswordTracker;
18  
19  /**
20   * <a href="PasswordTrackerPersistence.java.html"><b><i>View Source</i></b></a>
21   *
22   * <p>
23   * ServiceBuilder generated this class. Modifications in this class will be
24   * overwritten the next time is generated.
25   * </p>
26   *
27   * @author    Brian Wing Shun Chan
28   * @see       PasswordTrackerPersistenceImpl
29   * @see       PasswordTrackerUtil
30   * @generated
31   */
32  public interface PasswordTrackerPersistence extends BasePersistence<PasswordTracker> {
33      public void cacheResult(
34          com.liferay.portal.model.PasswordTracker passwordTracker);
35  
36      public void cacheResult(
37          java.util.List<com.liferay.portal.model.PasswordTracker> passwordTrackers);
38  
39      public com.liferay.portal.model.PasswordTracker create(
40          long passwordTrackerId);
41  
42      public com.liferay.portal.model.PasswordTracker remove(
43          long passwordTrackerId)
44          throws com.liferay.portal.NoSuchPasswordTrackerException,
45              com.liferay.portal.kernel.exception.SystemException;
46  
47      public com.liferay.portal.model.PasswordTracker updateImpl(
48          com.liferay.portal.model.PasswordTracker passwordTracker, boolean merge)
49          throws com.liferay.portal.kernel.exception.SystemException;
50  
51      public com.liferay.portal.model.PasswordTracker findByPrimaryKey(
52          long passwordTrackerId)
53          throws com.liferay.portal.NoSuchPasswordTrackerException,
54              com.liferay.portal.kernel.exception.SystemException;
55  
56      public com.liferay.portal.model.PasswordTracker fetchByPrimaryKey(
57          long passwordTrackerId)
58          throws com.liferay.portal.kernel.exception.SystemException;
59  
60      public java.util.List<com.liferay.portal.model.PasswordTracker> findByUserId(
61          long userId) throws com.liferay.portal.kernel.exception.SystemException;
62  
63      public java.util.List<com.liferay.portal.model.PasswordTracker> findByUserId(
64          long userId, int start, int end)
65          throws com.liferay.portal.kernel.exception.SystemException;
66  
67      public java.util.List<com.liferay.portal.model.PasswordTracker> findByUserId(
68          long userId, int start, int end,
69          com.liferay.portal.kernel.util.OrderByComparator obc)
70          throws com.liferay.portal.kernel.exception.SystemException;
71  
72      public com.liferay.portal.model.PasswordTracker findByUserId_First(
73          long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
74          throws com.liferay.portal.NoSuchPasswordTrackerException,
75              com.liferay.portal.kernel.exception.SystemException;
76  
77      public com.liferay.portal.model.PasswordTracker findByUserId_Last(
78          long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
79          throws com.liferay.portal.NoSuchPasswordTrackerException,
80              com.liferay.portal.kernel.exception.SystemException;
81  
82      public com.liferay.portal.model.PasswordTracker[] findByUserId_PrevAndNext(
83          long passwordTrackerId, long userId,
84          com.liferay.portal.kernel.util.OrderByComparator obc)
85          throws com.liferay.portal.NoSuchPasswordTrackerException,
86              com.liferay.portal.kernel.exception.SystemException;
87  
88      public java.util.List<com.liferay.portal.model.PasswordTracker> findAll()
89          throws com.liferay.portal.kernel.exception.SystemException;
90  
91      public java.util.List<com.liferay.portal.model.PasswordTracker> findAll(
92          int start, int end)
93          throws com.liferay.portal.kernel.exception.SystemException;
94  
95      public java.util.List<com.liferay.portal.model.PasswordTracker> findAll(
96          int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
97          throws com.liferay.portal.kernel.exception.SystemException;
98  
99      public void removeByUserId(long userId)
100         throws com.liferay.portal.kernel.exception.SystemException;
101 
102     public void removeAll()
103         throws com.liferay.portal.kernel.exception.SystemException;
104 
105     public int countByUserId(long userId)
106         throws com.liferay.portal.kernel.exception.SystemException;
107 
108     public int countAll()
109         throws com.liferay.portal.kernel.exception.SystemException;
110 }