1
14
15 package com.liferay.portlet.imagegallery.service;
16
17
33 public class IGFolderServiceWrapper implements IGFolderService {
34 public IGFolderServiceWrapper(IGFolderService igFolderService) {
35 _igFolderService = igFolderService;
36 }
37
38 public com.liferay.portlet.imagegallery.model.IGFolder addFolder(
39 long parentFolderId, java.lang.String name,
40 java.lang.String description,
41 com.liferay.portal.service.ServiceContext serviceContext)
42 throws com.liferay.portal.PortalException,
43 com.liferay.portal.SystemException {
44 return _igFolderService.addFolder(parentFolderId, name, description,
45 serviceContext);
46 }
47
48 public com.liferay.portlet.imagegallery.model.IGFolder copyFolder(
49 long sourceFolderId, long parentFolderId, java.lang.String name,
50 java.lang.String description,
51 com.liferay.portal.service.ServiceContext serviceContext)
52 throws com.liferay.portal.PortalException,
53 com.liferay.portal.SystemException {
54 return _igFolderService.copyFolder(sourceFolderId, parentFolderId,
55 name, description, serviceContext);
56 }
57
58 public void deleteFolder(long folderId)
59 throws com.liferay.portal.PortalException,
60 com.liferay.portal.SystemException {
61 _igFolderService.deleteFolder(folderId);
62 }
63
64 public com.liferay.portlet.imagegallery.model.IGFolder getFolder(
65 long folderId)
66 throws com.liferay.portal.PortalException,
67 com.liferay.portal.SystemException {
68 return _igFolderService.getFolder(folderId);
69 }
70
71 public com.liferay.portlet.imagegallery.model.IGFolder getFolder(
72 long groupId, long parentFolderId, java.lang.String name)
73 throws com.liferay.portal.PortalException,
74 com.liferay.portal.SystemException {
75 return _igFolderService.getFolder(groupId, parentFolderId, name);
76 }
77
78 public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> getFolders(
79 long groupId, long parentFolderId)
80 throws com.liferay.portal.PortalException,
81 com.liferay.portal.SystemException {
82 return _igFolderService.getFolders(groupId, parentFolderId);
83 }
84
85 public com.liferay.portlet.imagegallery.model.IGFolder updateFolder(
86 long folderId, long parentFolderId, java.lang.String name,
87 java.lang.String description, boolean mergeWithParentFolder,
88 com.liferay.portal.service.ServiceContext serviceContext)
89 throws com.liferay.portal.PortalException,
90 com.liferay.portal.SystemException {
91 return _igFolderService.updateFolder(folderId, parentFolderId, name,
92 description, mergeWithParentFolder, serviceContext);
93 }
94
95 public IGFolderService getWrappedIGFolderService() {
96 return _igFolderService;
97 }
98
99 private IGFolderService _igFolderService;
100 }