1
22
23 package com.liferay.portlet.documentlibrary.service.persistence;
24
25
31 public class DLFolderUtil {
32 public static com.liferay.portlet.documentlibrary.model.DLFolder create(
33 long folderId) {
34 return getPersistence().create(folderId);
35 }
36
37 public static com.liferay.portlet.documentlibrary.model.DLFolder remove(
38 long folderId)
39 throws com.liferay.portal.SystemException,
40 com.liferay.portlet.documentlibrary.NoSuchFolderException {
41 return getPersistence().remove(folderId);
42 }
43
44 public static com.liferay.portlet.documentlibrary.model.DLFolder remove(
45 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
46 throws com.liferay.portal.SystemException {
47 return getPersistence().remove(dlFolder);
48 }
49
50 public static com.liferay.portlet.documentlibrary.model.DLFolder update(
51 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
52 throws com.liferay.portal.SystemException {
53 return getPersistence().update(dlFolder);
54 }
55
56 public static com.liferay.portlet.documentlibrary.model.DLFolder update(
57 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
58 boolean merge) throws com.liferay.portal.SystemException {
59 return getPersistence().update(dlFolder, merge);
60 }
61
62 public static com.liferay.portlet.documentlibrary.model.DLFolder updateImpl(
63 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
64 boolean merge) throws com.liferay.portal.SystemException {
65 return getPersistence().updateImpl(dlFolder, merge);
66 }
67
68 public static com.liferay.portlet.documentlibrary.model.DLFolder findByPrimaryKey(
69 long folderId)
70 throws com.liferay.portal.SystemException,
71 com.liferay.portlet.documentlibrary.NoSuchFolderException {
72 return getPersistence().findByPrimaryKey(folderId);
73 }
74
75 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByPrimaryKey(
76 long folderId) throws com.liferay.portal.SystemException {
77 return getPersistence().fetchByPrimaryKey(folderId);
78 }
79
80 public static java.util.List findByUuid(java.lang.String uuid)
81 throws com.liferay.portal.SystemException {
82 return getPersistence().findByUuid(uuid);
83 }
84
85 public static java.util.List findByUuid(java.lang.String uuid, int begin,
86 int end) throws com.liferay.portal.SystemException {
87 return getPersistence().findByUuid(uuid, begin, end);
88 }
89
90 public static java.util.List findByUuid(java.lang.String uuid, int begin,
91 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
92 throws com.liferay.portal.SystemException {
93 return getPersistence().findByUuid(uuid, begin, end, obc);
94 }
95
96 public static com.liferay.portlet.documentlibrary.model.DLFolder findByUuid_First(
97 java.lang.String uuid,
98 com.liferay.portal.kernel.util.OrderByComparator obc)
99 throws com.liferay.portal.SystemException,
100 com.liferay.portlet.documentlibrary.NoSuchFolderException {
101 return getPersistence().findByUuid_First(uuid, obc);
102 }
103
104 public static com.liferay.portlet.documentlibrary.model.DLFolder findByUuid_Last(
105 java.lang.String uuid,
106 com.liferay.portal.kernel.util.OrderByComparator obc)
107 throws com.liferay.portal.SystemException,
108 com.liferay.portlet.documentlibrary.NoSuchFolderException {
109 return getPersistence().findByUuid_Last(uuid, obc);
110 }
111
112 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByUuid_PrevAndNext(
113 long folderId, java.lang.String uuid,
114 com.liferay.portal.kernel.util.OrderByComparator obc)
115 throws com.liferay.portal.SystemException,
116 com.liferay.portlet.documentlibrary.NoSuchFolderException {
117 return getPersistence().findByUuid_PrevAndNext(folderId, uuid, obc);
118 }
119
120 public static com.liferay.portlet.documentlibrary.model.DLFolder findByUUID_G(
121 java.lang.String uuid, long groupId)
122 throws com.liferay.portal.SystemException,
123 com.liferay.portlet.documentlibrary.NoSuchFolderException {
124 return getPersistence().findByUUID_G(uuid, groupId);
125 }
126
127 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByUUID_G(
128 java.lang.String uuid, long groupId)
129 throws com.liferay.portal.SystemException {
130 return getPersistence().fetchByUUID_G(uuid, groupId);
131 }
132
133 public static java.util.List findByGroupId(long groupId)
134 throws com.liferay.portal.SystemException {
135 return getPersistence().findByGroupId(groupId);
136 }
137
138 public static java.util.List findByGroupId(long groupId, int begin, int end)
139 throws com.liferay.portal.SystemException {
140 return getPersistence().findByGroupId(groupId, begin, end);
141 }
142
143 public static java.util.List findByGroupId(long groupId, int begin,
144 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
145 throws com.liferay.portal.SystemException {
146 return getPersistence().findByGroupId(groupId, begin, end, obc);
147 }
148
149 public static com.liferay.portlet.documentlibrary.model.DLFolder findByGroupId_First(
150 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
151 throws com.liferay.portal.SystemException,
152 com.liferay.portlet.documentlibrary.NoSuchFolderException {
153 return getPersistence().findByGroupId_First(groupId, obc);
154 }
155
156 public static com.liferay.portlet.documentlibrary.model.DLFolder findByGroupId_Last(
157 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
158 throws com.liferay.portal.SystemException,
159 com.liferay.portlet.documentlibrary.NoSuchFolderException {
160 return getPersistence().findByGroupId_Last(groupId, obc);
161 }
162
163 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByGroupId_PrevAndNext(
164 long folderId, long groupId,
165 com.liferay.portal.kernel.util.OrderByComparator obc)
166 throws com.liferay.portal.SystemException,
167 com.liferay.portlet.documentlibrary.NoSuchFolderException {
168 return getPersistence().findByGroupId_PrevAndNext(folderId, groupId, obc);
169 }
170
171 public static java.util.List findByCompanyId(long companyId)
172 throws com.liferay.portal.SystemException {
173 return getPersistence().findByCompanyId(companyId);
174 }
175
176 public static java.util.List findByCompanyId(long companyId, int begin,
177 int end) throws com.liferay.portal.SystemException {
178 return getPersistence().findByCompanyId(companyId, begin, end);
179 }
180
181 public static java.util.List findByCompanyId(long companyId, int begin,
182 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
183 throws com.liferay.portal.SystemException {
184 return getPersistence().findByCompanyId(companyId, begin, end, obc);
185 }
186
187 public static com.liferay.portlet.documentlibrary.model.DLFolder findByCompanyId_First(
188 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
189 throws com.liferay.portal.SystemException,
190 com.liferay.portlet.documentlibrary.NoSuchFolderException {
191 return getPersistence().findByCompanyId_First(companyId, obc);
192 }
193
194 public static com.liferay.portlet.documentlibrary.model.DLFolder findByCompanyId_Last(
195 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
196 throws com.liferay.portal.SystemException,
197 com.liferay.portlet.documentlibrary.NoSuchFolderException {
198 return getPersistence().findByCompanyId_Last(companyId, obc);
199 }
200
201 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByCompanyId_PrevAndNext(
202 long folderId, long companyId,
203 com.liferay.portal.kernel.util.OrderByComparator obc)
204 throws com.liferay.portal.SystemException,
205 com.liferay.portlet.documentlibrary.NoSuchFolderException {
206 return getPersistence().findByCompanyId_PrevAndNext(folderId,
207 companyId, obc);
208 }
209
210 public static java.util.List findByG_P(long groupId, long parentFolderId)
211 throws com.liferay.portal.SystemException {
212 return getPersistence().findByG_P(groupId, parentFolderId);
213 }
214
215 public static java.util.List findByG_P(long groupId, long parentFolderId,
216 int begin, int end) throws com.liferay.portal.SystemException {
217 return getPersistence().findByG_P(groupId, parentFolderId, begin, end);
218 }
219
220 public static java.util.List findByG_P(long groupId, long parentFolderId,
221 int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
222 throws com.liferay.portal.SystemException {
223 return getPersistence().findByG_P(groupId, parentFolderId, begin, end,
224 obc);
225 }
226
227 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_First(
228 long groupId, long parentFolderId,
229 com.liferay.portal.kernel.util.OrderByComparator obc)
230 throws com.liferay.portal.SystemException,
231 com.liferay.portlet.documentlibrary.NoSuchFolderException {
232 return getPersistence().findByG_P_First(groupId, parentFolderId, obc);
233 }
234
235 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_Last(
236 long groupId, long parentFolderId,
237 com.liferay.portal.kernel.util.OrderByComparator obc)
238 throws com.liferay.portal.SystemException,
239 com.liferay.portlet.documentlibrary.NoSuchFolderException {
240 return getPersistence().findByG_P_Last(groupId, parentFolderId, obc);
241 }
242
243 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_P_PrevAndNext(
244 long folderId, long groupId, long parentFolderId,
245 com.liferay.portal.kernel.util.OrderByComparator obc)
246 throws com.liferay.portal.SystemException,
247 com.liferay.portlet.documentlibrary.NoSuchFolderException {
248 return getPersistence().findByG_P_PrevAndNext(folderId, groupId,
249 parentFolderId, obc);
250 }
251
252 public static java.util.List findByP_N(long parentFolderId,
253 java.lang.String name) throws com.liferay.portal.SystemException {
254 return getPersistence().findByP_N(parentFolderId, name);
255 }
256
257 public static java.util.List findByP_N(long parentFolderId,
258 java.lang.String name, int begin, int end)
259 throws com.liferay.portal.SystemException {
260 return getPersistence().findByP_N(parentFolderId, name, begin, end);
261 }
262
263 public static java.util.List findByP_N(long parentFolderId,
264 java.lang.String name, int begin, int end,
265 com.liferay.portal.kernel.util.OrderByComparator obc)
266 throws com.liferay.portal.SystemException {
267 return getPersistence().findByP_N(parentFolderId, name, begin, end, obc);
268 }
269
270 public static com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_First(
271 long parentFolderId, java.lang.String name,
272 com.liferay.portal.kernel.util.OrderByComparator obc)
273 throws com.liferay.portal.SystemException,
274 com.liferay.portlet.documentlibrary.NoSuchFolderException {
275 return getPersistence().findByP_N_First(parentFolderId, name, obc);
276 }
277
278 public static com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_Last(
279 long parentFolderId, java.lang.String name,
280 com.liferay.portal.kernel.util.OrderByComparator obc)
281 throws com.liferay.portal.SystemException,
282 com.liferay.portlet.documentlibrary.NoSuchFolderException {
283 return getPersistence().findByP_N_Last(parentFolderId, name, obc);
284 }
285
286 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByP_N_PrevAndNext(
287 long folderId, long parentFolderId, java.lang.String name,
288 com.liferay.portal.kernel.util.OrderByComparator obc)
289 throws com.liferay.portal.SystemException,
290 com.liferay.portlet.documentlibrary.NoSuchFolderException {
291 return getPersistence().findByP_N_PrevAndNext(folderId, parentFolderId,
292 name, obc);
293 }
294
295 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_N(
296 long groupId, long parentFolderId, java.lang.String name)
297 throws com.liferay.portal.SystemException,
298 com.liferay.portlet.documentlibrary.NoSuchFolderException {
299 return getPersistence().findByG_P_N(groupId, parentFolderId, name);
300 }
301
302 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N(
303 long groupId, long parentFolderId, java.lang.String name)
304 throws com.liferay.portal.SystemException {
305 return getPersistence().fetchByG_P_N(groupId, parentFolderId, name);
306 }
307
308 public static java.util.List findWithDynamicQuery(
309 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
310 throws com.liferay.portal.SystemException {
311 return getPersistence().findWithDynamicQuery(queryInitializer);
312 }
313
314 public static java.util.List findWithDynamicQuery(
315 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
316 int begin, int end) throws com.liferay.portal.SystemException {
317 return getPersistence().findWithDynamicQuery(queryInitializer, begin,
318 end);
319 }
320
321 public static java.util.List findAll()
322 throws com.liferay.portal.SystemException {
323 return getPersistence().findAll();
324 }
325
326 public static java.util.List findAll(int begin, int end)
327 throws com.liferay.portal.SystemException {
328 return getPersistence().findAll(begin, end);
329 }
330
331 public static java.util.List findAll(int begin, int end,
332 com.liferay.portal.kernel.util.OrderByComparator obc)
333 throws com.liferay.portal.SystemException {
334 return getPersistence().findAll(begin, end, obc);
335 }
336
337 public static void removeByUuid(java.lang.String uuid)
338 throws com.liferay.portal.SystemException {
339 getPersistence().removeByUuid(uuid);
340 }
341
342 public static void removeByUUID_G(java.lang.String uuid, long groupId)
343 throws com.liferay.portal.SystemException,
344 com.liferay.portlet.documentlibrary.NoSuchFolderException {
345 getPersistence().removeByUUID_G(uuid, groupId);
346 }
347
348 public static void removeByGroupId(long groupId)
349 throws com.liferay.portal.SystemException {
350 getPersistence().removeByGroupId(groupId);
351 }
352
353 public static void removeByCompanyId(long companyId)
354 throws com.liferay.portal.SystemException {
355 getPersistence().removeByCompanyId(companyId);
356 }
357
358 public static void removeByG_P(long groupId, long parentFolderId)
359 throws com.liferay.portal.SystemException {
360 getPersistence().removeByG_P(groupId, parentFolderId);
361 }
362
363 public static void removeByP_N(long parentFolderId, java.lang.String name)
364 throws com.liferay.portal.SystemException {
365 getPersistence().removeByP_N(parentFolderId, name);
366 }
367
368 public static void removeByG_P_N(long groupId, long parentFolderId,
369 java.lang.String name)
370 throws com.liferay.portal.SystemException,
371 com.liferay.portlet.documentlibrary.NoSuchFolderException {
372 getPersistence().removeByG_P_N(groupId, parentFolderId, name);
373 }
374
375 public static void removeAll() throws com.liferay.portal.SystemException {
376 getPersistence().removeAll();
377 }
378
379 public static int countByUuid(java.lang.String uuid)
380 throws com.liferay.portal.SystemException {
381 return getPersistence().countByUuid(uuid);
382 }
383
384 public static int countByUUID_G(java.lang.String uuid, long groupId)
385 throws com.liferay.portal.SystemException {
386 return getPersistence().countByUUID_G(uuid, groupId);
387 }
388
389 public static int countByGroupId(long groupId)
390 throws com.liferay.portal.SystemException {
391 return getPersistence().countByGroupId(groupId);
392 }
393
394 public static int countByCompanyId(long companyId)
395 throws com.liferay.portal.SystemException {
396 return getPersistence().countByCompanyId(companyId);
397 }
398
399 public static int countByG_P(long groupId, long parentFolderId)
400 throws com.liferay.portal.SystemException {
401 return getPersistence().countByG_P(groupId, parentFolderId);
402 }
403
404 public static int countByP_N(long parentFolderId, java.lang.String name)
405 throws com.liferay.portal.SystemException {
406 return getPersistence().countByP_N(parentFolderId, name);
407 }
408
409 public static int countByG_P_N(long groupId, long parentFolderId,
410 java.lang.String name) throws com.liferay.portal.SystemException {
411 return getPersistence().countByG_P_N(groupId, parentFolderId, name);
412 }
413
414 public static int countAll() throws com.liferay.portal.SystemException {
415 return getPersistence().countAll();
416 }
417
418 public static DLFolderPersistence getPersistence() {
419 return _getUtil()._persistence;
420 }
421
422 public void setPersistence(DLFolderPersistence persistence) {
423 _persistence = persistence;
424 }
425
426 private static DLFolderUtil _getUtil() {
427 if (_util == null) {
428 _util = (DLFolderUtil)com.liferay.portal.kernel.bean.BeanLocatorUtil.locate(_UTIL);
429 }
430
431 return _util;
432 }
433
434 private static final String _UTIL = DLFolderUtil.class.getName();
435 private static DLFolderUtil _util;
436 private DLFolderPersistence _persistence;
437 }