1
19
20 package com.liferay.portlet.bookmarks.service.persistence;
21
22
28 public class BookmarksEntryUtil {
29 public static void cacheResult(
30 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry) {
31 getPersistence().cacheResult(bookmarksEntry);
32 }
33
34 public static void cacheResult(
35 java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> bookmarksEntries) {
36 getPersistence().cacheResult(bookmarksEntries);
37 }
38
39 public static void clearCache() {
40 getPersistence().clearCache();
41 }
42
43 public static com.liferay.portlet.bookmarks.model.BookmarksEntry create(
44 long entryId) {
45 return getPersistence().create(entryId);
46 }
47
48 public static com.liferay.portlet.bookmarks.model.BookmarksEntry remove(
49 long entryId)
50 throws com.liferay.portal.SystemException,
51 com.liferay.portlet.bookmarks.NoSuchEntryException {
52 return getPersistence().remove(entryId);
53 }
54
55 public static com.liferay.portlet.bookmarks.model.BookmarksEntry remove(
56 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
57 throws com.liferay.portal.SystemException {
58 return getPersistence().remove(bookmarksEntry);
59 }
60
61
64 public static com.liferay.portlet.bookmarks.model.BookmarksEntry update(
65 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry)
66 throws com.liferay.portal.SystemException {
67 return getPersistence().update(bookmarksEntry);
68 }
69
70
83 public static com.liferay.portlet.bookmarks.model.BookmarksEntry update(
84 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry,
85 boolean merge) throws com.liferay.portal.SystemException {
86 return getPersistence().update(bookmarksEntry, merge);
87 }
88
89 public static com.liferay.portlet.bookmarks.model.BookmarksEntry updateImpl(
90 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry,
91 boolean merge) throws com.liferay.portal.SystemException {
92 return getPersistence().updateImpl(bookmarksEntry, merge);
93 }
94
95 public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByPrimaryKey(
96 long entryId)
97 throws com.liferay.portal.SystemException,
98 com.liferay.portlet.bookmarks.NoSuchEntryException {
99 return getPersistence().findByPrimaryKey(entryId);
100 }
101
102 public static com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByPrimaryKey(
103 long entryId) throws com.liferay.portal.SystemException {
104 return getPersistence().fetchByPrimaryKey(entryId);
105 }
106
107 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
108 java.lang.String uuid) throws com.liferay.portal.SystemException {
109 return getPersistence().findByUuid(uuid);
110 }
111
112 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
113 java.lang.String uuid, int start, int end)
114 throws com.liferay.portal.SystemException {
115 return getPersistence().findByUuid(uuid, start, end);
116 }
117
118 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
119 java.lang.String uuid, int start, int end,
120 com.liferay.portal.kernel.util.OrderByComparator obc)
121 throws com.liferay.portal.SystemException {
122 return getPersistence().findByUuid(uuid, start, end, obc);
123 }
124
125 public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_First(
126 java.lang.String uuid,
127 com.liferay.portal.kernel.util.OrderByComparator obc)
128 throws com.liferay.portal.SystemException,
129 com.liferay.portlet.bookmarks.NoSuchEntryException {
130 return getPersistence().findByUuid_First(uuid, obc);
131 }
132
133 public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_Last(
134 java.lang.String uuid,
135 com.liferay.portal.kernel.util.OrderByComparator obc)
136 throws com.liferay.portal.SystemException,
137 com.liferay.portlet.bookmarks.NoSuchEntryException {
138 return getPersistence().findByUuid_Last(uuid, obc);
139 }
140
141 public static com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByUuid_PrevAndNext(
142 long entryId, java.lang.String uuid,
143 com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.SystemException,
145 com.liferay.portlet.bookmarks.NoSuchEntryException {
146 return getPersistence().findByUuid_PrevAndNext(entryId, uuid, obc);
147 }
148
149 public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByUUID_G(
150 java.lang.String uuid, long groupId)
151 throws com.liferay.portal.SystemException,
152 com.liferay.portlet.bookmarks.NoSuchEntryException {
153 return getPersistence().findByUUID_G(uuid, groupId);
154 }
155
156 public static com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G(
157 java.lang.String uuid, long groupId)
158 throws com.liferay.portal.SystemException {
159 return getPersistence().fetchByUUID_G(uuid, groupId);
160 }
161
162 public static com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G(
163 java.lang.String uuid, long groupId, boolean retrieveFromCache)
164 throws com.liferay.portal.SystemException {
165 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
166 }
167
168 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByGroupId(
169 long groupId) throws com.liferay.portal.SystemException {
170 return getPersistence().findByGroupId(groupId);
171 }
172
173 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByGroupId(
174 long groupId, int start, int end)
175 throws com.liferay.portal.SystemException {
176 return getPersistence().findByGroupId(groupId, start, end);
177 }
178
179 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByGroupId(
180 long groupId, int start, int end,
181 com.liferay.portal.kernel.util.OrderByComparator obc)
182 throws com.liferay.portal.SystemException {
183 return getPersistence().findByGroupId(groupId, start, end, obc);
184 }
185
186 public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByGroupId_First(
187 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
188 throws com.liferay.portal.SystemException,
189 com.liferay.portlet.bookmarks.NoSuchEntryException {
190 return getPersistence().findByGroupId_First(groupId, obc);
191 }
192
193 public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByGroupId_Last(
194 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
195 throws com.liferay.portal.SystemException,
196 com.liferay.portlet.bookmarks.NoSuchEntryException {
197 return getPersistence().findByGroupId_Last(groupId, obc);
198 }
199
200 public static com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByGroupId_PrevAndNext(
201 long entryId, long groupId,
202 com.liferay.portal.kernel.util.OrderByComparator obc)
203 throws com.liferay.portal.SystemException,
204 com.liferay.portlet.bookmarks.NoSuchEntryException {
205 return getPersistence().findByGroupId_PrevAndNext(entryId, groupId, obc);
206 }
207
208 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByFolderId(
209 long folderId) throws com.liferay.portal.SystemException {
210 return getPersistence().findByFolderId(folderId);
211 }
212
213 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByFolderId(
214 long folderId, int start, int end)
215 throws com.liferay.portal.SystemException {
216 return getPersistence().findByFolderId(folderId, start, end);
217 }
218
219 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByFolderId(
220 long folderId, int start, int end,
221 com.liferay.portal.kernel.util.OrderByComparator obc)
222 throws com.liferay.portal.SystemException {
223 return getPersistence().findByFolderId(folderId, start, end, obc);
224 }
225
226 public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByFolderId_First(
227 long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
228 throws com.liferay.portal.SystemException,
229 com.liferay.portlet.bookmarks.NoSuchEntryException {
230 return getPersistence().findByFolderId_First(folderId, obc);
231 }
232
233 public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByFolderId_Last(
234 long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
235 throws com.liferay.portal.SystemException,
236 com.liferay.portlet.bookmarks.NoSuchEntryException {
237 return getPersistence().findByFolderId_Last(folderId, obc);
238 }
239
240 public static com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByFolderId_PrevAndNext(
241 long entryId, long folderId,
242 com.liferay.portal.kernel.util.OrderByComparator obc)
243 throws com.liferay.portal.SystemException,
244 com.liferay.portlet.bookmarks.NoSuchEntryException {
245 return getPersistence()
246 .findByFolderId_PrevAndNext(entryId, folderId, obc);
247 }
248
249 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U(
250 long groupId, long userId) throws com.liferay.portal.SystemException {
251 return getPersistence().findByG_U(groupId, userId);
252 }
253
254 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U(
255 long groupId, long userId, int start, int end)
256 throws com.liferay.portal.SystemException {
257 return getPersistence().findByG_U(groupId, userId, start, end);
258 }
259
260 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U(
261 long groupId, long userId, int start, int end,
262 com.liferay.portal.kernel.util.OrderByComparator obc)
263 throws com.liferay.portal.SystemException {
264 return getPersistence().findByG_U(groupId, userId, start, end, obc);
265 }
266
267 public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_First(
268 long groupId, long userId,
269 com.liferay.portal.kernel.util.OrderByComparator obc)
270 throws com.liferay.portal.SystemException,
271 com.liferay.portlet.bookmarks.NoSuchEntryException {
272 return getPersistence().findByG_U_First(groupId, userId, obc);
273 }
274
275 public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_Last(
276 long groupId, long userId,
277 com.liferay.portal.kernel.util.OrderByComparator obc)
278 throws com.liferay.portal.SystemException,
279 com.liferay.portlet.bookmarks.NoSuchEntryException {
280 return getPersistence().findByG_U_Last(groupId, userId, obc);
281 }
282
283 public static com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_U_PrevAndNext(
284 long entryId, long groupId, long userId,
285 com.liferay.portal.kernel.util.OrderByComparator obc)
286 throws com.liferay.portal.SystemException,
287 com.liferay.portlet.bookmarks.NoSuchEntryException {
288 return getPersistence()
289 .findByG_U_PrevAndNext(entryId, groupId, userId, obc);
290 }
291
292 public static java.util.List<Object> findWithDynamicQuery(
293 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
294 throws com.liferay.portal.SystemException {
295 return getPersistence().findWithDynamicQuery(dynamicQuery);
296 }
297
298 public static java.util.List<Object> findWithDynamicQuery(
299 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
300 int end) throws com.liferay.portal.SystemException {
301 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
302 }
303
304 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll()
305 throws com.liferay.portal.SystemException {
306 return getPersistence().findAll();
307 }
308
309 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll(
310 int start, int end) throws com.liferay.portal.SystemException {
311 return getPersistence().findAll(start, end);
312 }
313
314 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll(
315 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
316 throws com.liferay.portal.SystemException {
317 return getPersistence().findAll(start, end, obc);
318 }
319
320 public static void removeByUuid(java.lang.String uuid)
321 throws com.liferay.portal.SystemException {
322 getPersistence().removeByUuid(uuid);
323 }
324
325 public static void removeByUUID_G(java.lang.String uuid, long groupId)
326 throws com.liferay.portal.SystemException,
327 com.liferay.portlet.bookmarks.NoSuchEntryException {
328 getPersistence().removeByUUID_G(uuid, groupId);
329 }
330
331 public static void removeByGroupId(long groupId)
332 throws com.liferay.portal.SystemException {
333 getPersistence().removeByGroupId(groupId);
334 }
335
336 public static void removeByFolderId(long folderId)
337 throws com.liferay.portal.SystemException {
338 getPersistence().removeByFolderId(folderId);
339 }
340
341 public static void removeByG_U(long groupId, long userId)
342 throws com.liferay.portal.SystemException {
343 getPersistence().removeByG_U(groupId, userId);
344 }
345
346 public static void removeAll() throws com.liferay.portal.SystemException {
347 getPersistence().removeAll();
348 }
349
350 public static int countByUuid(java.lang.String uuid)
351 throws com.liferay.portal.SystemException {
352 return getPersistence().countByUuid(uuid);
353 }
354
355 public static int countByUUID_G(java.lang.String uuid, long groupId)
356 throws com.liferay.portal.SystemException {
357 return getPersistence().countByUUID_G(uuid, groupId);
358 }
359
360 public static int countByGroupId(long groupId)
361 throws com.liferay.portal.SystemException {
362 return getPersistence().countByGroupId(groupId);
363 }
364
365 public static int countByFolderId(long folderId)
366 throws com.liferay.portal.SystemException {
367 return getPersistence().countByFolderId(folderId);
368 }
369
370 public static int countByG_U(long groupId, long userId)
371 throws com.liferay.portal.SystemException {
372 return getPersistence().countByG_U(groupId, userId);
373 }
374
375 public static int countAll() throws com.liferay.portal.SystemException {
376 return getPersistence().countAll();
377 }
378
379 public static BookmarksEntryPersistence getPersistence() {
380 return _persistence;
381 }
382
383 public void setPersistence(BookmarksEntryPersistence persistence) {
384 _persistence = persistence;
385 }
386
387 private static BookmarksEntryPersistence _persistence;
388 }