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 orderByComparator)
76 throws com.liferay.portal.SystemException;
77
78 public com.liferay.portal.model.PasswordTracker findByUserId_First(
79 long userId,
80 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81 throws com.liferay.portal.NoSuchPasswordTrackerException,
82 com.liferay.portal.SystemException;
83
84 public com.liferay.portal.model.PasswordTracker findByUserId_Last(
85 long userId,
86 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
87 throws com.liferay.portal.NoSuchPasswordTrackerException,
88 com.liferay.portal.SystemException;
89
90 public com.liferay.portal.model.PasswordTracker[] findByUserId_PrevAndNext(
91 long passwordTrackerId, long userId,
92 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
93 throws com.liferay.portal.NoSuchPasswordTrackerException,
94 com.liferay.portal.SystemException;
95
96 public java.util.List<com.liferay.portal.model.PasswordTracker> findAll()
97 throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portal.model.PasswordTracker> findAll(
100 int start, int end) throws com.liferay.portal.SystemException;
101
102 public java.util.List<com.liferay.portal.model.PasswordTracker> findAll(
103 int start, int end,
104 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
105 throws com.liferay.portal.SystemException;
106
107 public void removeByUserId(long userId)
108 throws com.liferay.portal.SystemException;
109
110 public void removeAll() throws com.liferay.portal.SystemException;
111
112 public int countByUserId(long userId)
113 throws com.liferay.portal.SystemException;
114
115 public int countAll() throws com.liferay.portal.SystemException;
116 }