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
066 public void deleteDLFolder(long folderId)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 _dlFolderLocalService.deleteDLFolder(folderId);
070 }
071
072
078 public void deleteDLFolder(
079 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
080 throws com.liferay.portal.kernel.exception.SystemException {
081 _dlFolderLocalService.deleteDLFolder(dlFolder);
082 }
083
084
091 @SuppressWarnings("rawtypes")
092 public java.util.List dynamicQuery(
093 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
094 throws com.liferay.portal.kernel.exception.SystemException {
095 return _dlFolderLocalService.dynamicQuery(dynamicQuery);
096 }
097
098
111 @SuppressWarnings("rawtypes")
112 public java.util.List dynamicQuery(
113 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
114 int end) throws com.liferay.portal.kernel.exception.SystemException {
115 return _dlFolderLocalService.dynamicQuery(dynamicQuery, start, end);
116 }
117
118
132 @SuppressWarnings("rawtypes")
133 public java.util.List dynamicQuery(
134 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
135 int end,
136 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
137 throws com.liferay.portal.kernel.exception.SystemException {
138 return _dlFolderLocalService.dynamicQuery(dynamicQuery, start, end,
139 orderByComparator);
140 }
141
142
149 public long dynamicQueryCount(
150 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
151 throws com.liferay.portal.kernel.exception.SystemException {
152 return _dlFolderLocalService.dynamicQueryCount(dynamicQuery);
153 }
154
155 public com.liferay.portlet.documentlibrary.model.DLFolder fetchDLFolder(
156 long folderId)
157 throws com.liferay.portal.kernel.exception.SystemException {
158 return _dlFolderLocalService.fetchDLFolder(folderId);
159 }
160
161
169 public com.liferay.portlet.documentlibrary.model.DLFolder getDLFolder(
170 long folderId)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 return _dlFolderLocalService.getDLFolder(folderId);
174 }
175
176 public com.liferay.portal.model.PersistedModel getPersistedModel(
177 java.io.Serializable primaryKeyObj)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _dlFolderLocalService.getPersistedModel(primaryKeyObj);
181 }
182
183
192 public com.liferay.portlet.documentlibrary.model.DLFolder getDLFolderByUuidAndGroupId(
193 java.lang.String uuid, long groupId)
194 throws com.liferay.portal.kernel.exception.PortalException,
195 com.liferay.portal.kernel.exception.SystemException {
196 return _dlFolderLocalService.getDLFolderByUuidAndGroupId(uuid, groupId);
197 }
198
199
211 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
212 int start, int end)
213 throws com.liferay.portal.kernel.exception.SystemException {
214 return _dlFolderLocalService.getDLFolders(start, end);
215 }
216
217
223 public int getDLFoldersCount()
224 throws com.liferay.portal.kernel.exception.SystemException {
225 return _dlFolderLocalService.getDLFoldersCount();
226 }
227
228
235 public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
236 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
237 throws com.liferay.portal.kernel.exception.SystemException {
238 return _dlFolderLocalService.updateDLFolder(dlFolder);
239 }
240
241
249 public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
250 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
251 boolean merge)
252 throws com.liferay.portal.kernel.exception.SystemException {
253 return _dlFolderLocalService.updateDLFolder(dlFolder, merge);
254 }
255
256
261 public java.lang.String getBeanIdentifier() {
262 return _dlFolderLocalService.getBeanIdentifier();
263 }
264
265
270 public void setBeanIdentifier(java.lang.String beanIdentifier) {
271 _dlFolderLocalService.setBeanIdentifier(beanIdentifier);
272 }
273
274 public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
275 long userId, long groupId, long repositoryId, boolean mountPoint,
276 long parentFolderId, java.lang.String name,
277 java.lang.String description,
278 com.liferay.portal.service.ServiceContext serviceContext)
279 throws com.liferay.portal.kernel.exception.PortalException,
280 com.liferay.portal.kernel.exception.SystemException {
281 return _dlFolderLocalService.addFolder(userId, groupId, repositoryId,
282 mountPoint, parentFolderId, name, description, serviceContext);
283 }
284
285 public void deleteAll(long groupId)
286 throws com.liferay.portal.kernel.exception.PortalException,
287 com.liferay.portal.kernel.exception.SystemException {
288 _dlFolderLocalService.deleteAll(groupId);
289 }
290
291 public void deleteFolder(long folderId)
292 throws com.liferay.portal.kernel.exception.PortalException,
293 com.liferay.portal.kernel.exception.SystemException {
294 _dlFolderLocalService.deleteFolder(folderId);
295 }
296
297 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getCompanyFolders(
298 long companyId, int start, int end)
299 throws com.liferay.portal.kernel.exception.SystemException {
300 return _dlFolderLocalService.getCompanyFolders(companyId, start, end);
301 }
302
303 public int getCompanyFoldersCount(long companyId)
304 throws com.liferay.portal.kernel.exception.SystemException {
305 return _dlFolderLocalService.getCompanyFoldersCount(companyId);
306 }
307
308 public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
309 long groupId, long folderId, int status, int start, int end)
310 throws com.liferay.portal.kernel.exception.SystemException {
311 return _dlFolderLocalService.getFileEntriesAndFileShortcuts(groupId,
312 folderId, status, start, end);
313 }
314
315 public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
316 int status) throws com.liferay.portal.kernel.exception.SystemException {
317 return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(groupId,
318 folderId, status);
319 }
320
321 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
322 long folderId)
323 throws com.liferay.portal.kernel.exception.PortalException,
324 com.liferay.portal.kernel.exception.SystemException {
325 return _dlFolderLocalService.getFolder(folderId);
326 }
327
328 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
329 long groupId, long parentFolderId, java.lang.String name)
330 throws com.liferay.portal.kernel.exception.PortalException,
331 com.liferay.portal.kernel.exception.SystemException {
332 return _dlFolderLocalService.getFolder(groupId, parentFolderId, name);
333 }
334
335 public long getFolderId(long companyId, long folderId)
336 throws com.liferay.portal.kernel.exception.SystemException {
337 return _dlFolderLocalService.getFolderId(companyId, folderId);
338 }
339
340 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
341 long groupId, long parentFolderId)
342 throws com.liferay.portal.kernel.exception.SystemException {
343 return _dlFolderLocalService.getFolders(groupId, parentFolderId);
344 }
345
346 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
347 long groupId, long parentFolderId, boolean includeMountfolders)
348 throws com.liferay.portal.kernel.exception.SystemException {
349 return _dlFolderLocalService.getFolders(groupId, parentFolderId,
350 includeMountfolders);
351 }
352
353 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
354 long groupId, long parentFolderId, boolean includeMountfolders,
355 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
356 throws com.liferay.portal.kernel.exception.SystemException {
357 return _dlFolderLocalService.getFolders(groupId, parentFolderId,
358 includeMountfolders, start, end, obc);
359 }
360
361 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
362 long groupId, long parentFolderId, int start, int end,
363 com.liferay.portal.kernel.util.OrderByComparator obc)
364 throws com.liferay.portal.kernel.exception.SystemException {
365 return _dlFolderLocalService.getFolders(groupId, parentFolderId, start,
366 end, obc);
367 }
368
369 public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
370 long groupId, long folderId, int status, boolean includeMountFolders,
371 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
372 throws com.liferay.portal.kernel.exception.SystemException {
373 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
374 folderId, status, includeMountFolders, start, end, obc);
375 }
376
377 public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
378 long groupId, long folderId, int status, java.lang.String[] mimeTypes,
379 boolean includeMountFolders, int start, int end,
380 com.liferay.portal.kernel.util.OrderByComparator obc)
381 throws com.liferay.portal.kernel.exception.SystemException {
382 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
383 folderId, status, mimeTypes, includeMountFolders, start, end, obc);
384 }
385
386 public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
387 long folderId, int status, boolean includeMountFolders)
388 throws com.liferay.portal.kernel.exception.SystemException {
389 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
390 folderId, status, includeMountFolders);
391 }
392
393 public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
394 long folderId, int status, java.lang.String[] mimeTypes,
395 boolean includeMountFolders)
396 throws com.liferay.portal.kernel.exception.SystemException {
397 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
398 folderId, status, mimeTypes, includeMountFolders);
399 }
400
401 public int getFoldersCount(long groupId, long parentFolderId)
402 throws com.liferay.portal.kernel.exception.SystemException {
403 return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId);
404 }
405
406 public int getFoldersCount(long groupId, long parentFolderId,
407 boolean includeMountfolders)
408 throws com.liferay.portal.kernel.exception.SystemException {
409 return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId,
410 includeMountfolders);
411 }
412
413 public int getFoldersFileEntriesCount(long groupId,
414 java.util.List<java.lang.Long> folderIds, int status)
415 throws com.liferay.portal.kernel.exception.SystemException {
416 return _dlFolderLocalService.getFoldersFileEntriesCount(groupId,
417 folderIds, status);
418 }
419
420 public com.liferay.portlet.documentlibrary.model.DLFolder getMountFolder(
421 long repositoryId)
422 throws com.liferay.portal.kernel.exception.PortalException,
423 com.liferay.portal.kernel.exception.SystemException {
424 return _dlFolderLocalService.getMountFolder(repositoryId);
425 }
426
427 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getMountFolders(
428 long groupId, long parentFolderId, int start, int end,
429 com.liferay.portal.kernel.util.OrderByComparator obc)
430 throws com.liferay.portal.kernel.exception.SystemException {
431 return _dlFolderLocalService.getMountFolders(groupId, parentFolderId,
432 start, end, obc);
433 }
434
435 public int getMountFoldersCount(long groupId, long parentFolderId)
436 throws com.liferay.portal.kernel.exception.SystemException {
437 return _dlFolderLocalService.getMountFoldersCount(groupId,
438 parentFolderId);
439 }
440
441 public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
442 long groupId, long folderId)
443 throws com.liferay.portal.kernel.exception.SystemException {
444 _dlFolderLocalService.getSubfolderIds(folderIds, groupId, folderId);
445 }
446
447 public com.liferay.portlet.documentlibrary.model.DLFolder moveFolder(
448 long folderId, long parentFolderId,
449 com.liferay.portal.service.ServiceContext serviceContext)
450 throws com.liferay.portal.kernel.exception.PortalException,
451 com.liferay.portal.kernel.exception.SystemException {
452 return _dlFolderLocalService.moveFolder(folderId, parentFolderId,
453 serviceContext);
454 }
455
456 public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
457 long folderId, long parentFolderId, java.lang.String name,
458 java.lang.String description, long defaultFileEntryTypeId,
459 java.util.List<java.lang.Long> fileEntryTypeIds,
460 boolean overrideFileEntryTypes,
461 com.liferay.portal.service.ServiceContext serviceContext)
462 throws com.liferay.portal.kernel.exception.PortalException,
463 com.liferay.portal.kernel.exception.SystemException {
464 return _dlFolderLocalService.updateFolder(folderId, parentFolderId,
465 name, description, defaultFileEntryTypeId, fileEntryTypeIds,
466 overrideFileEntryTypes, serviceContext);
467 }
468
469 public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
470 long folderId, java.lang.String name, java.lang.String description,
471 long defaultFileEntryTypeId,
472 java.util.List<java.lang.Long> fileEntryTypeIds,
473 boolean overrideFileEntryTypes,
474 com.liferay.portal.service.ServiceContext serviceContext)
475 throws com.liferay.portal.kernel.exception.PortalException,
476 com.liferay.portal.kernel.exception.SystemException {
477 return _dlFolderLocalService.updateFolder(folderId, name, description,
478 defaultFileEntryTypeId, fileEntryTypeIds, overrideFileEntryTypes,
479 serviceContext);
480 }
481
482 public com.liferay.portlet.documentlibrary.model.DLFolder updateFolderAndFileEntryTypes(
483 long folderId, long parentFolderId, java.lang.String name,
484 java.lang.String description, long defaultFileEntryTypeId,
485 java.util.List<java.lang.Long> fileEntryTypeIds,
486 boolean overrideFileEntryTypes,
487 com.liferay.portal.service.ServiceContext serviceContext)
488 throws com.liferay.portal.kernel.exception.PortalException,
489 com.liferay.portal.kernel.exception.SystemException {
490 return _dlFolderLocalService.updateFolderAndFileEntryTypes(folderId,
491 parentFolderId, name, description, defaultFileEntryTypeId,
492 fileEntryTypeIds, overrideFileEntryTypes, serviceContext);
493 }
494
495 public void updateLastPostDate(long folderId, java.util.Date lastPostDate)
496 throws com.liferay.portal.kernel.exception.PortalException,
497 com.liferay.portal.kernel.exception.SystemException {
498 _dlFolderLocalService.updateLastPostDate(folderId, lastPostDate);
499 }
500
501
504 public DLFolderLocalService getWrappedDLFolderLocalService() {
505 return _dlFolderLocalService;
506 }
507
508
511 public void setWrappedDLFolderLocalService(
512 DLFolderLocalService dlFolderLocalService) {
513 _dlFolderLocalService = dlFolderLocalService;
514 }
515
516 public DLFolderLocalService getWrappedService() {
517 return _dlFolderLocalService;
518 }
519
520 public void setWrappedService(DLFolderLocalService dlFolderLocalService) {
521 _dlFolderLocalService = dlFolderLocalService;
522 }
523
524 private DLFolderLocalService _dlFolderLocalService;
525 }