001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class DLFolderLocalServiceWrapper implements DLFolderLocalService,
029 ServiceWrapper<DLFolderLocalService> {
030 public DLFolderLocalServiceWrapper(
031 DLFolderLocalService dlFolderLocalService) {
032 _dlFolderLocalService = dlFolderLocalService;
033 }
034
035
042 public com.liferay.portlet.documentlibrary.model.DLFolder addDLFolder(
043 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _dlFolderLocalService.addDLFolder(dlFolder);
046 }
047
048
054 public com.liferay.portlet.documentlibrary.model.DLFolder createDLFolder(
055 long folderId) {
056 return _dlFolderLocalService.createDLFolder(folderId);
057 }
058
059
067 public com.liferay.portlet.documentlibrary.model.DLFolder deleteDLFolder(
068 long folderId)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 return _dlFolderLocalService.deleteDLFolder(folderId);
072 }
073
074
081 public com.liferay.portlet.documentlibrary.model.DLFolder deleteDLFolder(
082 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
083 throws com.liferay.portal.kernel.exception.SystemException {
084 return _dlFolderLocalService.deleteDLFolder(dlFolder);
085 }
086
087 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
088 return _dlFolderLocalService.dynamicQuery();
089 }
090
091
098 @SuppressWarnings("rawtypes")
099 public java.util.List dynamicQuery(
100 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _dlFolderLocalService.dynamicQuery(dynamicQuery);
103 }
104
105
118 @SuppressWarnings("rawtypes")
119 public java.util.List dynamicQuery(
120 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
121 int end) throws com.liferay.portal.kernel.exception.SystemException {
122 return _dlFolderLocalService.dynamicQuery(dynamicQuery, start, end);
123 }
124
125
139 @SuppressWarnings("rawtypes")
140 public java.util.List dynamicQuery(
141 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
142 int end,
143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 return _dlFolderLocalService.dynamicQuery(dynamicQuery, start, end,
146 orderByComparator);
147 }
148
149
156 public long dynamicQueryCount(
157 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
158 throws com.liferay.portal.kernel.exception.SystemException {
159 return _dlFolderLocalService.dynamicQueryCount(dynamicQuery);
160 }
161
162 public com.liferay.portlet.documentlibrary.model.DLFolder fetchDLFolder(
163 long folderId)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return _dlFolderLocalService.fetchDLFolder(folderId);
166 }
167
168
176 public com.liferay.portlet.documentlibrary.model.DLFolder getDLFolder(
177 long folderId)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _dlFolderLocalService.getDLFolder(folderId);
181 }
182
183 public com.liferay.portal.model.PersistedModel getPersistedModel(
184 java.io.Serializable primaryKeyObj)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 return _dlFolderLocalService.getPersistedModel(primaryKeyObj);
188 }
189
190
199 public com.liferay.portlet.documentlibrary.model.DLFolder getDLFolderByUuidAndGroupId(
200 java.lang.String uuid, long groupId)
201 throws com.liferay.portal.kernel.exception.PortalException,
202 com.liferay.portal.kernel.exception.SystemException {
203 return _dlFolderLocalService.getDLFolderByUuidAndGroupId(uuid, groupId);
204 }
205
206
218 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
219 int start, int end)
220 throws com.liferay.portal.kernel.exception.SystemException {
221 return _dlFolderLocalService.getDLFolders(start, end);
222 }
223
224
230 public int getDLFoldersCount()
231 throws com.liferay.portal.kernel.exception.SystemException {
232 return _dlFolderLocalService.getDLFoldersCount();
233 }
234
235
242 public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
243 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
244 throws com.liferay.portal.kernel.exception.SystemException {
245 return _dlFolderLocalService.updateDLFolder(dlFolder);
246 }
247
248
256 public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
257 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
258 boolean merge)
259 throws com.liferay.portal.kernel.exception.SystemException {
260 return _dlFolderLocalService.updateDLFolder(dlFolder, merge);
261 }
262
263
268 public java.lang.String getBeanIdentifier() {
269 return _dlFolderLocalService.getBeanIdentifier();
270 }
271
272
277 public void setBeanIdentifier(java.lang.String beanIdentifier) {
278 _dlFolderLocalService.setBeanIdentifier(beanIdentifier);
279 }
280
281 public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
282 long userId, long groupId, long repositoryId, boolean mountPoint,
283 long parentFolderId, java.lang.String name,
284 java.lang.String description,
285 com.liferay.portal.service.ServiceContext serviceContext)
286 throws com.liferay.portal.kernel.exception.PortalException,
287 com.liferay.portal.kernel.exception.SystemException {
288 return _dlFolderLocalService.addFolder(userId, groupId, repositoryId,
289 mountPoint, parentFolderId, name, description, serviceContext);
290 }
291
292 public void deleteAll(long groupId)
293 throws com.liferay.portal.kernel.exception.PortalException,
294 com.liferay.portal.kernel.exception.SystemException {
295 _dlFolderLocalService.deleteAll(groupId);
296 }
297
298 public void deleteFolder(long folderId)
299 throws com.liferay.portal.kernel.exception.PortalException,
300 com.liferay.portal.kernel.exception.SystemException {
301 _dlFolderLocalService.deleteFolder(folderId);
302 }
303
304 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getCompanyFolders(
305 long companyId, int start, int end)
306 throws com.liferay.portal.kernel.exception.SystemException {
307 return _dlFolderLocalService.getCompanyFolders(companyId, start, end);
308 }
309
310 public int getCompanyFoldersCount(long companyId)
311 throws com.liferay.portal.kernel.exception.SystemException {
312 return _dlFolderLocalService.getCompanyFoldersCount(companyId);
313 }
314
315 public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
316 long groupId, long folderId, int status, int start, int end)
317 throws com.liferay.portal.kernel.exception.SystemException {
318 return _dlFolderLocalService.getFileEntriesAndFileShortcuts(groupId,
319 folderId, status, start, end);
320 }
321
322 public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
323 int status) throws com.liferay.portal.kernel.exception.SystemException {
324 return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(groupId,
325 folderId, status);
326 }
327
328 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
329 long folderId)
330 throws com.liferay.portal.kernel.exception.PortalException,
331 com.liferay.portal.kernel.exception.SystemException {
332 return _dlFolderLocalService.getFolder(folderId);
333 }
334
335 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
336 long groupId, long parentFolderId, java.lang.String name)
337 throws com.liferay.portal.kernel.exception.PortalException,
338 com.liferay.portal.kernel.exception.SystemException {
339 return _dlFolderLocalService.getFolder(groupId, parentFolderId, name);
340 }
341
342 public long getFolderId(long companyId, long folderId)
343 throws com.liferay.portal.kernel.exception.SystemException {
344 return _dlFolderLocalService.getFolderId(companyId, folderId);
345 }
346
347 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
348 long groupId, long parentFolderId)
349 throws com.liferay.portal.kernel.exception.SystemException {
350 return _dlFolderLocalService.getFolders(groupId, parentFolderId);
351 }
352
353 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
354 long groupId, long parentFolderId, boolean includeMountfolders)
355 throws com.liferay.portal.kernel.exception.SystemException {
356 return _dlFolderLocalService.getFolders(groupId, parentFolderId,
357 includeMountfolders);
358 }
359
360 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
361 long groupId, long parentFolderId, boolean includeMountfolders,
362 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
363 throws com.liferay.portal.kernel.exception.SystemException {
364 return _dlFolderLocalService.getFolders(groupId, parentFolderId,
365 includeMountfolders, start, end, obc);
366 }
367
368 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
369 long groupId, long parentFolderId, int start, int end,
370 com.liferay.portal.kernel.util.OrderByComparator obc)
371 throws com.liferay.portal.kernel.exception.SystemException {
372 return _dlFolderLocalService.getFolders(groupId, parentFolderId, start,
373 end, obc);
374 }
375
376 public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
377 long groupId, long folderId, int status, boolean includeMountFolders,
378 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
379 throws com.liferay.portal.kernel.exception.SystemException {
380 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
381 folderId, status, includeMountFolders, start, end, obc);
382 }
383
384 public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
385 long groupId, long folderId, int status, java.lang.String[] mimeTypes,
386 boolean includeMountFolders, int start, int end,
387 com.liferay.portal.kernel.util.OrderByComparator obc)
388 throws com.liferay.portal.kernel.exception.SystemException {
389 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
390 folderId, status, mimeTypes, includeMountFolders, start, end, obc);
391 }
392
393 public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
394 long folderId, int status, boolean includeMountFolders)
395 throws com.liferay.portal.kernel.exception.SystemException {
396 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
397 folderId, status, includeMountFolders);
398 }
399
400 public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
401 long folderId, int status, java.lang.String[] mimeTypes,
402 boolean includeMountFolders)
403 throws com.liferay.portal.kernel.exception.SystemException {
404 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
405 folderId, status, mimeTypes, includeMountFolders);
406 }
407
408 public int getFoldersCount(long groupId, long parentFolderId)
409 throws com.liferay.portal.kernel.exception.SystemException {
410 return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId);
411 }
412
413 public int getFoldersCount(long groupId, long parentFolderId,
414 boolean includeMountfolders)
415 throws com.liferay.portal.kernel.exception.SystemException {
416 return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId,
417 includeMountfolders);
418 }
419
420 public int getFoldersFileEntriesCount(long groupId,
421 java.util.List<java.lang.Long> folderIds, int status)
422 throws com.liferay.portal.kernel.exception.SystemException {
423 return _dlFolderLocalService.getFoldersFileEntriesCount(groupId,
424 folderIds, status);
425 }
426
427 public com.liferay.portlet.documentlibrary.model.DLFolder getMountFolder(
428 long repositoryId)
429 throws com.liferay.portal.kernel.exception.PortalException,
430 com.liferay.portal.kernel.exception.SystemException {
431 return _dlFolderLocalService.getMountFolder(repositoryId);
432 }
433
434 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getMountFolders(
435 long groupId, long parentFolderId, int start, int end,
436 com.liferay.portal.kernel.util.OrderByComparator obc)
437 throws com.liferay.portal.kernel.exception.SystemException {
438 return _dlFolderLocalService.getMountFolders(groupId, parentFolderId,
439 start, end, obc);
440 }
441
442 public int getMountFoldersCount(long groupId, long parentFolderId)
443 throws com.liferay.portal.kernel.exception.SystemException {
444 return _dlFolderLocalService.getMountFoldersCount(groupId,
445 parentFolderId);
446 }
447
448 public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
449 long groupId, long folderId)
450 throws com.liferay.portal.kernel.exception.SystemException {
451 _dlFolderLocalService.getSubfolderIds(folderIds, groupId, folderId);
452 }
453
454 public com.liferay.portlet.documentlibrary.model.DLFolder moveFolder(
455 long folderId, long parentFolderId,
456 com.liferay.portal.service.ServiceContext serviceContext)
457 throws com.liferay.portal.kernel.exception.PortalException,
458 com.liferay.portal.kernel.exception.SystemException {
459 return _dlFolderLocalService.moveFolder(folderId, parentFolderId,
460 serviceContext);
461 }
462
463 public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
464 long folderId, long parentFolderId, java.lang.String name,
465 java.lang.String description, long defaultFileEntryTypeId,
466 java.util.List<java.lang.Long> fileEntryTypeIds,
467 boolean overrideFileEntryTypes,
468 com.liferay.portal.service.ServiceContext serviceContext)
469 throws com.liferay.portal.kernel.exception.PortalException,
470 com.liferay.portal.kernel.exception.SystemException {
471 return _dlFolderLocalService.updateFolder(folderId, parentFolderId,
472 name, description, defaultFileEntryTypeId, fileEntryTypeIds,
473 overrideFileEntryTypes, serviceContext);
474 }
475
476 public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
477 long folderId, java.lang.String name, java.lang.String description,
478 long defaultFileEntryTypeId,
479 java.util.List<java.lang.Long> fileEntryTypeIds,
480 boolean overrideFileEntryTypes,
481 com.liferay.portal.service.ServiceContext serviceContext)
482 throws com.liferay.portal.kernel.exception.PortalException,
483 com.liferay.portal.kernel.exception.SystemException {
484 return _dlFolderLocalService.updateFolder(folderId, name, description,
485 defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
486 serviceContext);
487 }
488
489 public com.liferay.portlet.documentlibrary.model.DLFolder updateFolderAndFileEntryTypes(
490 long folderId, long parentFolderId, java.lang.String name,
491 java.lang.String description, long defaultFileEntryTypeId,
492 java.util.List<java.lang.Long> fileEntryTypeIds,
493 boolean overrideFileEntryTypes,
494 com.liferay.portal.service.ServiceContext serviceContext)
495 throws com.liferay.portal.kernel.exception.PortalException,
496 com.liferay.portal.kernel.exception.SystemException {
497 return _dlFolderLocalService.updateFolderAndFileEntryTypes(folderId,
498 parentFolderId, name, description, defaultFileEntryTypeId,
499 fileEntryTypeIds, overrideFileEntryTypes, serviceContext);
500 }
501
502 public void updateLastPostDate(long folderId, java.util.Date lastPostDate)
503 throws com.liferay.portal.kernel.exception.PortalException,
504 com.liferay.portal.kernel.exception.SystemException {
505 _dlFolderLocalService.updateLastPostDate(folderId, lastPostDate);
506 }
507
508
511 public DLFolderLocalService getWrappedDLFolderLocalService() {
512 return _dlFolderLocalService;
513 }
514
515
518 public void setWrappedDLFolderLocalService(
519 DLFolderLocalService dlFolderLocalService) {
520 _dlFolderLocalService = dlFolderLocalService;
521 }
522
523 public DLFolderLocalService getWrappedService() {
524 return _dlFolderLocalService;
525 }
526
527 public void setWrappedService(DLFolderLocalService dlFolderLocalService) {
528 _dlFolderLocalService = dlFolderLocalService;
529 }
530
531 private DLFolderLocalService _dlFolderLocalService;
532 }