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