1
19
20 package com.liferay.portlet.bookmarks.service.persistence;
21
22
28 public class BookmarksFolderUtil {
29 public static void cacheResult(
30 com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder) {
31 getPersistence().cacheResult(bookmarksFolder);
32 }
33
34 public static void cacheResult(
35 java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> bookmarksFolders) {
36 getPersistence().cacheResult(bookmarksFolders);
37 }
38
39 public static void clearCache() {
40 getPersistence().clearCache();
41 }
42
43 public static com.liferay.portlet.bookmarks.model.BookmarksFolder create(
44 long folderId) {
45 return getPersistence().create(folderId);
46 }
47
48 public static com.liferay.portlet.bookmarks.model.BookmarksFolder remove(
49 long folderId)
50 throws com.liferay.portal.SystemException,
51 com.liferay.portlet.bookmarks.NoSuchFolderException {
52 return getPersistence().remove(folderId);
53 }
54
55 public static com.liferay.portlet.bookmarks.model.BookmarksFolder remove(
56 com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
57 throws com.liferay.portal.SystemException {
58 return getPersistence().remove(bookmarksFolder);
59 }
60
61
64 public static com.liferay.portlet.bookmarks.model.BookmarksFolder update(
65 com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
66 throws com.liferay.portal.SystemException {
67 return getPersistence().update(bookmarksFolder);
68 }
69
70
83 public static com.liferay.portlet.bookmarks.model.BookmarksFolder update(
84 com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder,
85 boolean merge) throws com.liferay.portal.SystemException {
86 return getPersistence().update(bookmarksFolder, merge);
87 }
88
89 public static com.liferay.portlet.bookmarks.model.BookmarksFolder updateImpl(
90 com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder,
91 boolean merge) throws com.liferay.portal.SystemException {
92 return getPersistence().updateImpl(bookmarksFolder, merge);
93 }
94
95 public static com.liferay.portlet.bookmarks.model.BookmarksFolder findByPrimaryKey(
96 long folderId)
97 throws com.liferay.portal.SystemException,
98 com.liferay.portlet.bookmarks.NoSuchFolderException {
99 return getPersistence().findByPrimaryKey(folderId);
100 }
101
102 public static com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByPrimaryKey(
103 long folderId) throws com.liferay.portal.SystemException {
104 return getPersistence().fetchByPrimaryKey(folderId);
105 }
106
107 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> 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.BookmarksFolder> 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.BookmarksFolder> 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.BookmarksFolder 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.NoSuchFolderException {
130 return getPersistence().findByUuid_First(uuid, obc);
131 }
132
133 public static com.liferay.portlet.bookmarks.model.BookmarksFolder 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.NoSuchFolderException {
138 return getPersistence().findByUuid_Last(uuid, obc);
139 }
140
141 public static com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByUuid_PrevAndNext(
142 long folderId, java.lang.String uuid,
143 com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.SystemException,
145 com.liferay.portlet.bookmarks.NoSuchFolderException {
146 return getPersistence().findByUuid_PrevAndNext(folderId, uuid, obc);
147 }
148
149 public static com.liferay.portlet.bookmarks.model.BookmarksFolder findByUUID_G(
150 java.lang.String uuid, long groupId)
151 throws com.liferay.portal.SystemException,
152 com.liferay.portlet.bookmarks.NoSuchFolderException {
153 return getPersistence().findByUUID_G(uuid, groupId);
154 }
155
156 public static com.liferay.portlet.bookmarks.model.BookmarksFolder 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.BookmarksFolder 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.BookmarksFolder> 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.BookmarksFolder> 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.BookmarksFolder> 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.BookmarksFolder findByGroupId_First(
187 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
188 throws com.liferay.portal.SystemException,
189 com.liferay.portlet.bookmarks.NoSuchFolderException {
190 return getPersistence().findByGroupId_First(groupId, obc);
191 }
192
193 public static com.liferay.portlet.bookmarks.model.BookmarksFolder findByGroupId_Last(
194 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
195 throws com.liferay.portal.SystemException,
196 com.liferay.portlet.bookmarks.NoSuchFolderException {
197 return getPersistence().findByGroupId_Last(groupId, obc);
198 }
199
200 public static com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByGroupId_PrevAndNext(
201 long folderId, long groupId,
202 com.liferay.portal.kernel.util.OrderByComparator obc)
203 throws com.liferay.portal.SystemException,
204 com.liferay.portlet.bookmarks.NoSuchFolderException {
205 return getPersistence().findByGroupId_PrevAndNext(folderId, groupId, obc);
206 }
207
208 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByCompanyId(
209 long companyId) throws com.liferay.portal.SystemException {
210 return getPersistence().findByCompanyId(companyId);
211 }
212
213 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByCompanyId(
214 long companyId, int start, int end)
215 throws com.liferay.portal.SystemException {
216 return getPersistence().findByCompanyId(companyId, start, end);
217 }
218
219 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByCompanyId(
220 long companyId, int start, int end,
221 com.liferay.portal.kernel.util.OrderByComparator obc)
222 throws com.liferay.portal.SystemException {
223 return getPersistence().findByCompanyId(companyId, start, end, obc);
224 }
225
226 public static com.liferay.portlet.bookmarks.model.BookmarksFolder findByCompanyId_First(
227 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
228 throws com.liferay.portal.SystemException,
229 com.liferay.portlet.bookmarks.NoSuchFolderException {
230 return getPersistence().findByCompanyId_First(companyId, obc);
231 }
232
233 public static com.liferay.portlet.bookmarks.model.BookmarksFolder findByCompanyId_Last(
234 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
235 throws com.liferay.portal.SystemException,
236 com.liferay.portlet.bookmarks.NoSuchFolderException {
237 return getPersistence().findByCompanyId_Last(companyId, obc);
238 }
239
240 public static com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByCompanyId_PrevAndNext(
241 long folderId, long companyId,
242 com.liferay.portal.kernel.util.OrderByComparator obc)
243 throws com.liferay.portal.SystemException,
244 com.liferay.portlet.bookmarks.NoSuchFolderException {
245 return getPersistence()
246 .findByCompanyId_PrevAndNext(folderId, companyId, obc);
247 }
248
249 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByG_P(
250 long groupId, long parentFolderId)
251 throws com.liferay.portal.SystemException {
252 return getPersistence().findByG_P(groupId, parentFolderId);
253 }
254
255 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByG_P(
256 long groupId, long parentFolderId, int start, int end)
257 throws com.liferay.portal.SystemException {
258 return getPersistence().findByG_P(groupId, parentFolderId, start, end);
259 }
260
261 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByG_P(
262 long groupId, long parentFolderId, int start, int end,
263 com.liferay.portal.kernel.util.OrderByComparator obc)
264 throws com.liferay.portal.SystemException {
265 return getPersistence()
266 .findByG_P(groupId, parentFolderId, start, end, obc);
267 }
268
269 public static com.liferay.portlet.bookmarks.model.BookmarksFolder findByG_P_First(
270 long groupId, long parentFolderId,
271 com.liferay.portal.kernel.util.OrderByComparator obc)
272 throws com.liferay.portal.SystemException,
273 com.liferay.portlet.bookmarks.NoSuchFolderException {
274 return getPersistence().findByG_P_First(groupId, parentFolderId, obc);
275 }
276
277 public static com.liferay.portlet.bookmarks.model.BookmarksFolder findByG_P_Last(
278 long groupId, long parentFolderId,
279 com.liferay.portal.kernel.util.OrderByComparator obc)
280 throws com.liferay.portal.SystemException,
281 com.liferay.portlet.bookmarks.NoSuchFolderException {
282 return getPersistence().findByG_P_Last(groupId, parentFolderId, obc);
283 }
284
285 public static com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByG_P_PrevAndNext(
286 long folderId, long groupId, long parentFolderId,
287 com.liferay.portal.kernel.util.OrderByComparator obc)
288 throws com.liferay.portal.SystemException,
289 com.liferay.portlet.bookmarks.NoSuchFolderException {
290 return getPersistence()
291 .findByG_P_PrevAndNext(folderId, groupId, parentFolderId, obc);
292 }
293
294 public static java.util.List<Object> findWithDynamicQuery(
295 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
296 throws com.liferay.portal.SystemException {
297 return getPersistence().findWithDynamicQuery(dynamicQuery);
298 }
299
300 public static java.util.List<Object> findWithDynamicQuery(
301 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
302 int end) throws com.liferay.portal.SystemException {
303 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
304 }
305
306 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findAll()
307 throws com.liferay.portal.SystemException {
308 return getPersistence().findAll();
309 }
310
311 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findAll(
312 int start, int end) throws com.liferay.portal.SystemException {
313 return getPersistence().findAll(start, end);
314 }
315
316 public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findAll(
317 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
318 throws com.liferay.portal.SystemException {
319 return getPersistence().findAll(start, end, obc);
320 }
321
322 public static void removeByUuid(java.lang.String uuid)
323 throws com.liferay.portal.SystemException {
324 getPersistence().removeByUuid(uuid);
325 }
326
327 public static void removeByUUID_G(java.lang.String uuid, long groupId)
328 throws com.liferay.portal.SystemException,
329 com.liferay.portlet.bookmarks.NoSuchFolderException {
330 getPersistence().removeByUUID_G(uuid, groupId);
331 }
332
333 public static void removeByGroupId(long groupId)
334 throws com.liferay.portal.SystemException {
335 getPersistence().removeByGroupId(groupId);
336 }
337
338 public static void removeByCompanyId(long companyId)
339 throws com.liferay.portal.SystemException {
340 getPersistence().removeByCompanyId(companyId);
341 }
342
343 public static void removeByG_P(long groupId, long parentFolderId)
344 throws com.liferay.portal.SystemException {
345 getPersistence().removeByG_P(groupId, parentFolderId);
346 }
347
348 public static void removeAll() throws com.liferay.portal.SystemException {
349 getPersistence().removeAll();
350 }
351
352 public static int countByUuid(java.lang.String uuid)
353 throws com.liferay.portal.SystemException {
354 return getPersistence().countByUuid(uuid);
355 }
356
357 public static int countByUUID_G(java.lang.String uuid, long groupId)
358 throws com.liferay.portal.SystemException {
359 return getPersistence().countByUUID_G(uuid, groupId);
360 }
361
362 public static int countByGroupId(long groupId)
363 throws com.liferay.portal.SystemException {
364 return getPersistence().countByGroupId(groupId);
365 }
366
367 public static int countByCompanyId(long companyId)
368 throws com.liferay.portal.SystemException {
369 return getPersistence().countByCompanyId(companyId);
370 }
371
372 public static int countByG_P(long groupId, long parentFolderId)
373 throws com.liferay.portal.SystemException {
374 return getPersistence().countByG_P(groupId, parentFolderId);
375 }
376
377 public static int countAll() throws com.liferay.portal.SystemException {
378 return getPersistence().countAll();
379 }
380
381 public static BookmarksFolderPersistence getPersistence() {
382 return _persistence;
383 }
384
385 public void setPersistence(BookmarksFolderPersistence persistence) {
386 _persistence = persistence;
387 }
388
389 private static BookmarksFolderPersistence _persistence;
390 }