1
14
15 package com.liferay.portal.service.persistence;
16
17 import com.liferay.portal.model.PasswordTracker;
18
19
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.SystemException;
46
47
50 public com.liferay.portal.model.PasswordTracker update(
51 com.liferay.portal.model.PasswordTracker passwordTracker)
52 throws com.liferay.portal.SystemException;
53
54 public com.liferay.portal.model.PasswordTracker updateImpl(
55 com.liferay.portal.model.PasswordTracker passwordTracker, boolean merge)
56 throws com.liferay.portal.SystemException;
57
58 public com.liferay.portal.model.PasswordTracker findByPrimaryKey(
59 long passwordTrackerId)
60 throws com.liferay.portal.NoSuchPasswordTrackerException,
61 com.liferay.portal.SystemException;
62
63 public com.liferay.portal.model.PasswordTracker fetchByPrimaryKey(
64 long passwordTrackerId) throws com.liferay.portal.SystemException;
65
66 public java.util.List<com.liferay.portal.model.PasswordTracker> findByUserId(
67 long userId) throws com.liferay.portal.SystemException;
68
69 public java.util.List<com.liferay.portal.model.PasswordTracker> findByUserId(
70 long userId, int start, int end)
71 throws com.liferay.portal.SystemException;
72
73 public java.util.List<com.liferay.portal.model.PasswordTracker> findByUserId(
74 long userId, int start, int end,
75 com.liferay.portal.kernel.util.OrderByComparator obc)
76 throws com.liferay.portal.SystemException;
77
78 public com.liferay.portal.model.PasswordTracker findByUserId_First(
79 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
80 throws com.liferay.portal.NoSuchPasswordTrackerException,
81 com.liferay.portal.SystemException;
82
83 public com.liferay.portal.model.PasswordTracker findByUserId_Last(
84 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
85 throws com.liferay.portal.NoSuchPasswordTrackerException,
86 com.liferay.portal.SystemException;
87
88 public com.liferay.portal.model.PasswordTracker[] findByUserId_PrevAndNext(
89 long passwordTrackerId, long userId,
90 com.liferay.portal.kernel.util.OrderByComparator obc)
91 throws com.liferay.portal.NoSuchPasswordTrackerException,
92 com.liferay.portal.SystemException;
93
94 public java.util.List<com.liferay.portal.model.PasswordTracker> findAll()
95 throws com.liferay.portal.SystemException;
96
97 public java.util.List<com.liferay.portal.model.PasswordTracker> findAll(
98 int start, int end) throws com.liferay.portal.SystemException;
99
100 public java.util.List<com.liferay.portal.model.PasswordTracker> findAll(
101 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
102 throws com.liferay.portal.SystemException;
103
104 public void removeByUserId(long userId)
105 throws com.liferay.portal.SystemException;
106
107 public void removeAll() throws com.liferay.portal.SystemException;
108
109 public int countByUserId(long userId)
110 throws com.liferay.portal.SystemException;
111
112 public int countAll() throws com.liferay.portal.SystemException;
113 }