1
22
23 package com.liferay.portal.service.persistence;
24
25
31 public class PasswordTrackerUtil {
32 public static void cacheResult(
33 com.liferay.portal.model.PasswordTracker passwordTracker) {
34 getPersistence().cacheResult(passwordTracker);
35 }
36
37 public static void cacheResult(
38 java.util.List<com.liferay.portal.model.PasswordTracker> passwordTrackers) {
39 getPersistence().cacheResult(passwordTrackers);
40 }
41
42 public static void clearCache() {
43 getPersistence().clearCache();
44 }
45
46 public static com.liferay.portal.model.PasswordTracker create(
47 long passwordTrackerId) {
48 return getPersistence().create(passwordTrackerId);
49 }
50
51 public static com.liferay.portal.model.PasswordTracker remove(
52 long passwordTrackerId)
53 throws com.liferay.portal.NoSuchPasswordTrackerException,
54 com.liferay.portal.SystemException {
55 return getPersistence().remove(passwordTrackerId);
56 }
57
58 public static com.liferay.portal.model.PasswordTracker remove(
59 com.liferay.portal.model.PasswordTracker passwordTracker)
60 throws com.liferay.portal.SystemException {
61 return getPersistence().remove(passwordTracker);
62 }
63
64
67 public static com.liferay.portal.model.PasswordTracker update(
68 com.liferay.portal.model.PasswordTracker passwordTracker)
69 throws com.liferay.portal.SystemException {
70 return getPersistence().update(passwordTracker);
71 }
72
73
86 public static com.liferay.portal.model.PasswordTracker update(
87 com.liferay.portal.model.PasswordTracker passwordTracker, boolean merge)
88 throws com.liferay.portal.SystemException {
89 return getPersistence().update(passwordTracker, merge);
90 }
91
92 public static com.liferay.portal.model.PasswordTracker updateImpl(
93 com.liferay.portal.model.PasswordTracker passwordTracker, boolean merge)
94 throws com.liferay.portal.SystemException {
95 return getPersistence().updateImpl(passwordTracker, merge);
96 }
97
98 public static com.liferay.portal.model.PasswordTracker findByPrimaryKey(
99 long passwordTrackerId)
100 throws com.liferay.portal.NoSuchPasswordTrackerException,
101 com.liferay.portal.SystemException {
102 return getPersistence().findByPrimaryKey(passwordTrackerId);
103 }
104
105 public static com.liferay.portal.model.PasswordTracker fetchByPrimaryKey(
106 long passwordTrackerId) throws com.liferay.portal.SystemException {
107 return getPersistence().fetchByPrimaryKey(passwordTrackerId);
108 }
109
110 public static java.util.List<com.liferay.portal.model.PasswordTracker> findByUserId(
111 long userId) throws com.liferay.portal.SystemException {
112 return getPersistence().findByUserId(userId);
113 }
114
115 public static java.util.List<com.liferay.portal.model.PasswordTracker> findByUserId(
116 long userId, int start, int end)
117 throws com.liferay.portal.SystemException {
118 return getPersistence().findByUserId(userId, start, end);
119 }
120
121 public static java.util.List<com.liferay.portal.model.PasswordTracker> findByUserId(
122 long userId, int start, int end,
123 com.liferay.portal.kernel.util.OrderByComparator obc)
124 throws com.liferay.portal.SystemException {
125 return getPersistence().findByUserId(userId, start, end, obc);
126 }
127
128 public static com.liferay.portal.model.PasswordTracker findByUserId_First(
129 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
130 throws com.liferay.portal.NoSuchPasswordTrackerException,
131 com.liferay.portal.SystemException {
132 return getPersistence().findByUserId_First(userId, obc);
133 }
134
135 public static com.liferay.portal.model.PasswordTracker findByUserId_Last(
136 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.NoSuchPasswordTrackerException,
138 com.liferay.portal.SystemException {
139 return getPersistence().findByUserId_Last(userId, obc);
140 }
141
142 public static com.liferay.portal.model.PasswordTracker[] findByUserId_PrevAndNext(
143 long passwordTrackerId, long userId,
144 com.liferay.portal.kernel.util.OrderByComparator obc)
145 throws com.liferay.portal.NoSuchPasswordTrackerException,
146 com.liferay.portal.SystemException {
147 return getPersistence()
148 .findByUserId_PrevAndNext(passwordTrackerId, userId, obc);
149 }
150
151 public static java.util.List<Object> findWithDynamicQuery(
152 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
153 throws com.liferay.portal.SystemException {
154 return getPersistence().findWithDynamicQuery(dynamicQuery);
155 }
156
157 public static java.util.List<Object> findWithDynamicQuery(
158 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
159 int end) throws com.liferay.portal.SystemException {
160 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
161 }
162
163 public static java.util.List<com.liferay.portal.model.PasswordTracker> findAll()
164 throws com.liferay.portal.SystemException {
165 return getPersistence().findAll();
166 }
167
168 public static java.util.List<com.liferay.portal.model.PasswordTracker> findAll(
169 int start, int end) throws com.liferay.portal.SystemException {
170 return getPersistence().findAll(start, end);
171 }
172
173 public static java.util.List<com.liferay.portal.model.PasswordTracker> findAll(
174 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
175 throws com.liferay.portal.SystemException {
176 return getPersistence().findAll(start, end, obc);
177 }
178
179 public static void removeByUserId(long userId)
180 throws com.liferay.portal.SystemException {
181 getPersistence().removeByUserId(userId);
182 }
183
184 public static void removeAll() throws com.liferay.portal.SystemException {
185 getPersistence().removeAll();
186 }
187
188 public static int countByUserId(long userId)
189 throws com.liferay.portal.SystemException {
190 return getPersistence().countByUserId(userId);
191 }
192
193 public static int countAll() throws com.liferay.portal.SystemException {
194 return getPersistence().countAll();
195 }
196
197 public static PasswordTrackerPersistence getPersistence() {
198 return _persistence;
199 }
200
201 public void setPersistence(PasswordTrackerPersistence persistence) {
202 _persistence = persistence;
203 }
204
205 private static PasswordTrackerPersistence _persistence;
206 }