1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.imagegallery.service;
24  
25  
26  /**
27   * <a href="IGFolderLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link IGFolderLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       IGFolderLocalService
40   * @generated
41   */
42  public class IGFolderLocalServiceWrapper implements IGFolderLocalService {
43      public IGFolderLocalServiceWrapper(
44          IGFolderLocalService igFolderLocalService) {
45          _igFolderLocalService = igFolderLocalService;
46      }
47  
48      public com.liferay.portlet.imagegallery.model.IGFolder addIGFolder(
49          com.liferay.portlet.imagegallery.model.IGFolder igFolder)
50          throws com.liferay.portal.SystemException {
51          return _igFolderLocalService.addIGFolder(igFolder);
52      }
53  
54      public com.liferay.portlet.imagegallery.model.IGFolder createIGFolder(
55          long folderId) {
56          return _igFolderLocalService.createIGFolder(folderId);
57      }
58  
59      public void deleteIGFolder(long folderId)
60          throws com.liferay.portal.PortalException,
61              com.liferay.portal.SystemException {
62          _igFolderLocalService.deleteIGFolder(folderId);
63      }
64  
65      public void deleteIGFolder(
66          com.liferay.portlet.imagegallery.model.IGFolder igFolder)
67          throws com.liferay.portal.SystemException {
68          _igFolderLocalService.deleteIGFolder(igFolder);
69      }
70  
71      public java.util.List<Object> dynamicQuery(
72          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
73          throws com.liferay.portal.SystemException {
74          return _igFolderLocalService.dynamicQuery(dynamicQuery);
75      }
76  
77      public java.util.List<Object> dynamicQuery(
78          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79          int end) throws com.liferay.portal.SystemException {
80          return _igFolderLocalService.dynamicQuery(dynamicQuery, start, end);
81      }
82  
83      public com.liferay.portlet.imagegallery.model.IGFolder getIGFolder(
84          long folderId)
85          throws com.liferay.portal.PortalException,
86              com.liferay.portal.SystemException {
87          return _igFolderLocalService.getIGFolder(folderId);
88      }
89  
90      public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> getIGFolders(
91          int start, int end) throws com.liferay.portal.SystemException {
92          return _igFolderLocalService.getIGFolders(start, end);
93      }
94  
95      public int getIGFoldersCount() throws com.liferay.portal.SystemException {
96          return _igFolderLocalService.getIGFoldersCount();
97      }
98  
99      public com.liferay.portlet.imagegallery.model.IGFolder updateIGFolder(
100         com.liferay.portlet.imagegallery.model.IGFolder igFolder)
101         throws com.liferay.portal.SystemException {
102         return _igFolderLocalService.updateIGFolder(igFolder);
103     }
104 
105     public com.liferay.portlet.imagegallery.model.IGFolder updateIGFolder(
106         com.liferay.portlet.imagegallery.model.IGFolder igFolder, boolean merge)
107         throws com.liferay.portal.SystemException {
108         return _igFolderLocalService.updateIGFolder(igFolder, merge);
109     }
110 
111     public com.liferay.portlet.imagegallery.model.IGFolder addFolder(
112         long userId, long parentFolderId, java.lang.String name,
113         java.lang.String description,
114         com.liferay.portal.service.ServiceContext serviceContext)
115         throws com.liferay.portal.PortalException,
116             com.liferay.portal.SystemException {
117         return _igFolderLocalService.addFolder(userId, parentFolderId, name,
118             description, serviceContext);
119     }
120 
121     public com.liferay.portlet.imagegallery.model.IGFolder addFolder(
122         java.lang.String uuid, long userId, long parentFolderId,
123         java.lang.String name, java.lang.String description,
124         com.liferay.portal.service.ServiceContext serviceContext)
125         throws com.liferay.portal.PortalException,
126             com.liferay.portal.SystemException {
127         return _igFolderLocalService.addFolder(uuid, userId, parentFolderId,
128             name, description, serviceContext);
129     }
130 
131     public void addFolderResources(
132         com.liferay.portlet.imagegallery.model.IGFolder folder,
133         boolean addCommunityPermissions, boolean addGuestPermissions)
134         throws com.liferay.portal.PortalException,
135             com.liferay.portal.SystemException {
136         _igFolderLocalService.addFolderResources(folder,
137             addCommunityPermissions, addGuestPermissions);
138     }
139 
140     public void addFolderResources(
141         com.liferay.portlet.imagegallery.model.IGFolder folder,
142         java.lang.String[] communityPermissions,
143         java.lang.String[] guestPermissions)
144         throws com.liferay.portal.PortalException,
145             com.liferay.portal.SystemException {
146         _igFolderLocalService.addFolderResources(folder, communityPermissions,
147             guestPermissions);
148     }
149 
150     public void addFolderResources(long folderId,
151         boolean addCommunityPermissions, boolean addGuestPermissions)
152         throws com.liferay.portal.PortalException,
153             com.liferay.portal.SystemException {
154         _igFolderLocalService.addFolderResources(folderId,
155             addCommunityPermissions, addGuestPermissions);
156     }
157 
158     public void addFolderResources(long folderId,
159         java.lang.String[] communityPermissions,
160         java.lang.String[] guestPermissions)
161         throws com.liferay.portal.PortalException,
162             com.liferay.portal.SystemException {
163         _igFolderLocalService.addFolderResources(folderId,
164             communityPermissions, guestPermissions);
165     }
166 
167     public void deleteFolder(
168         com.liferay.portlet.imagegallery.model.IGFolder folder)
169         throws com.liferay.portal.PortalException,
170             com.liferay.portal.SystemException {
171         _igFolderLocalService.deleteFolder(folder);
172     }
173 
174     public void deleteFolder(long folderId)
175         throws com.liferay.portal.PortalException,
176             com.liferay.portal.SystemException {
177         _igFolderLocalService.deleteFolder(folderId);
178     }
179 
180     public void deleteFolders(long groupId)
181         throws com.liferay.portal.PortalException,
182             com.liferay.portal.SystemException {
183         _igFolderLocalService.deleteFolders(groupId);
184     }
185 
186     public com.liferay.portlet.imagegallery.model.IGFolder getFolder(
187         long folderId)
188         throws com.liferay.portal.PortalException,
189             com.liferay.portal.SystemException {
190         return _igFolderLocalService.getFolder(folderId);
191     }
192 
193     public com.liferay.portlet.imagegallery.model.IGFolder getFolder(
194         long groupId, long parentFolderId, java.lang.String name)
195         throws com.liferay.portal.PortalException,
196             com.liferay.portal.SystemException {
197         return _igFolderLocalService.getFolder(groupId, parentFolderId, name);
198     }
199 
200     public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> getFolders(
201         long groupId) throws com.liferay.portal.SystemException {
202         return _igFolderLocalService.getFolders(groupId);
203     }
204 
205     public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> getFolders(
206         long groupId, long parentFolderId)
207         throws com.liferay.portal.SystemException {
208         return _igFolderLocalService.getFolders(groupId, parentFolderId);
209     }
210 
211     public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> getFolders(
212         long groupId, long parentFolderId, int start, int end)
213         throws com.liferay.portal.SystemException {
214         return _igFolderLocalService.getFolders(groupId, parentFolderId, start,
215             end);
216     }
217 
218     public int getFoldersCount(long groupId, long parentFolderId)
219         throws com.liferay.portal.SystemException {
220         return _igFolderLocalService.getFoldersCount(groupId, parentFolderId);
221     }
222 
223     public void getSubfolderIds(java.util.List<Long> folderIds, long groupId,
224         long folderId) throws com.liferay.portal.SystemException {
225         _igFolderLocalService.getSubfolderIds(folderIds, groupId, folderId);
226     }
227 
228     public void reIndex(java.lang.String[] ids)
229         throws com.liferay.portal.SystemException {
230         _igFolderLocalService.reIndex(ids);
231     }
232 
233     public com.liferay.portal.kernel.search.Hits search(long companyId,
234         long groupId, long userId, long[] folderIds, java.lang.String keywords,
235         int start, int end) throws com.liferay.portal.SystemException {
236         return _igFolderLocalService.search(companyId, groupId, userId,
237             folderIds, keywords, start, end);
238     }
239 
240     public com.liferay.portlet.imagegallery.model.IGFolder updateFolder(
241         long folderId, long parentFolderId, java.lang.String name,
242         java.lang.String description, boolean mergeWithParentFolder,
243         com.liferay.portal.service.ServiceContext serviceContext)
244         throws com.liferay.portal.PortalException,
245             com.liferay.portal.SystemException {
246         return _igFolderLocalService.updateFolder(folderId, parentFolderId,
247             name, description, mergeWithParentFolder, serviceContext);
248     }
249 
250     public IGFolderLocalService getWrappedIGFolderLocalService() {
251         return _igFolderLocalService;
252     }
253 
254     private IGFolderLocalService _igFolderLocalService;
255 }