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