1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.imagegallery.service;
16  
17  
18  /**
19   * <a href="IGFolderLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link IGFolderLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       IGFolderLocalService
32   * @generated
33   */
34  public class IGFolderLocalServiceWrapper implements IGFolderLocalService {
35      public IGFolderLocalServiceWrapper(
36          IGFolderLocalService igFolderLocalService) {
37          _igFolderLocalService = igFolderLocalService;
38      }
39  
40      public com.liferay.portlet.imagegallery.model.IGFolder addIGFolder(
41          com.liferay.portlet.imagegallery.model.IGFolder igFolder)
42          throws com.liferay.portal.SystemException {
43          return _igFolderLocalService.addIGFolder(igFolder);
44      }
45  
46      public com.liferay.portlet.imagegallery.model.IGFolder createIGFolder(
47          long folderId) {
48          return _igFolderLocalService.createIGFolder(folderId);
49      }
50  
51      public void deleteIGFolder(long folderId)
52          throws com.liferay.portal.PortalException,
53              com.liferay.portal.SystemException {
54          _igFolderLocalService.deleteIGFolder(folderId);
55      }
56  
57      public void deleteIGFolder(
58          com.liferay.portlet.imagegallery.model.IGFolder igFolder)
59          throws com.liferay.portal.SystemException {
60          _igFolderLocalService.deleteIGFolder(igFolder);
61      }
62  
63      public java.util.List<Object> dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.SystemException {
66          return _igFolderLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      public java.util.List<Object> dynamicQuery(
70          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71          int end) throws com.liferay.portal.SystemException {
72          return _igFolderLocalService.dynamicQuery(dynamicQuery, start, end);
73      }
74  
75      public com.liferay.portlet.imagegallery.model.IGFolder getIGFolder(
76          long folderId)
77          throws com.liferay.portal.PortalException,
78              com.liferay.portal.SystemException {
79          return _igFolderLocalService.getIGFolder(folderId);
80      }
81  
82      public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> getIGFolders(
83          int start, int end) throws com.liferay.portal.SystemException {
84          return _igFolderLocalService.getIGFolders(start, end);
85      }
86  
87      public int getIGFoldersCount() throws com.liferay.portal.SystemException {
88          return _igFolderLocalService.getIGFoldersCount();
89      }
90  
91      public com.liferay.portlet.imagegallery.model.IGFolder updateIGFolder(
92          com.liferay.portlet.imagegallery.model.IGFolder igFolder)
93          throws com.liferay.portal.SystemException {
94          return _igFolderLocalService.updateIGFolder(igFolder);
95      }
96  
97      public com.liferay.portlet.imagegallery.model.IGFolder updateIGFolder(
98          com.liferay.portlet.imagegallery.model.IGFolder igFolder, boolean merge)
99          throws com.liferay.portal.SystemException {
100         return _igFolderLocalService.updateIGFolder(igFolder, merge);
101     }
102 
103     public com.liferay.portlet.imagegallery.model.IGFolder addFolder(
104         long userId, long plid, long parentFolderId, java.lang.String name,
105         java.lang.String description, boolean addCommunityPermissions,
106         boolean addGuestPermissions)
107         throws com.liferay.portal.PortalException,
108             com.liferay.portal.SystemException {
109         return _igFolderLocalService.addFolder(userId, plid, parentFolderId,
110             name, description, addCommunityPermissions, addGuestPermissions);
111     }
112 
113     public com.liferay.portlet.imagegallery.model.IGFolder addFolder(
114         long userId, long plid, long parentFolderId, java.lang.String name,
115         java.lang.String description, java.lang.String[] communityPermissions,
116         java.lang.String[] guestPermissions)
117         throws com.liferay.portal.PortalException,
118             com.liferay.portal.SystemException {
119         return _igFolderLocalService.addFolder(userId, plid, parentFolderId,
120             name, description, communityPermissions, guestPermissions);
121     }
122 
123     public com.liferay.portlet.imagegallery.model.IGFolder addFolder(
124         java.lang.String uuid, long userId, long plid, long parentFolderId,
125         java.lang.String name, java.lang.String description,
126         boolean addCommunityPermissions, boolean addGuestPermissions)
127         throws com.liferay.portal.PortalException,
128             com.liferay.portal.SystemException {
129         return _igFolderLocalService.addFolder(uuid, userId, plid,
130             parentFolderId, name, description, addCommunityPermissions,
131             addGuestPermissions);
132     }
133 
134     public com.liferay.portlet.imagegallery.model.IGFolder addFolder(
135         java.lang.String uuid, long userId, long plid, long parentFolderId,
136         java.lang.String name, java.lang.String description,
137         java.lang.Boolean addCommunityPermissions,
138         java.lang.Boolean addGuestPermissions,
139         java.lang.String[] communityPermissions,
140         java.lang.String[] guestPermissions)
141         throws com.liferay.portal.PortalException,
142             com.liferay.portal.SystemException {
143         return _igFolderLocalService.addFolder(uuid, userId, plid,
144             parentFolderId, name, description, addCommunityPermissions,
145             addGuestPermissions, communityPermissions, guestPermissions);
146     }
147 
148     public void addFolderResources(
149         com.liferay.portlet.imagegallery.model.IGFolder folder,
150         boolean addCommunityPermissions, boolean addGuestPermissions)
151         throws com.liferay.portal.PortalException,
152             com.liferay.portal.SystemException {
153         _igFolderLocalService.addFolderResources(folder,
154             addCommunityPermissions, addGuestPermissions);
155     }
156 
157     public void addFolderResources(
158         com.liferay.portlet.imagegallery.model.IGFolder folder,
159         java.lang.String[] communityPermissions,
160         java.lang.String[] guestPermissions)
161         throws com.liferay.portal.PortalException,
162             com.liferay.portal.SystemException {
163         _igFolderLocalService.addFolderResources(folder, communityPermissions,
164             guestPermissions);
165     }
166 
167     public void addFolderResources(long folderId,
168         boolean addCommunityPermissions, boolean addGuestPermissions)
169         throws com.liferay.portal.PortalException,
170             com.liferay.portal.SystemException {
171         _igFolderLocalService.addFolderResources(folderId,
172             addCommunityPermissions, addGuestPermissions);
173     }
174 
175     public void addFolderResources(long folderId,
176         java.lang.String[] communityPermissions,
177         java.lang.String[] guestPermissions)
178         throws com.liferay.portal.PortalException,
179             com.liferay.portal.SystemException {
180         _igFolderLocalService.addFolderResources(folderId,
181             communityPermissions, guestPermissions);
182     }
183 
184     public com.liferay.portlet.imagegallery.model.IGFolder addFolderToGroup(
185         java.lang.String uuid, long userId, long groupId, long parentFolderId,
186         java.lang.String name, java.lang.String description,
187         java.lang.Boolean addCommunityPermissions,
188         java.lang.Boolean addGuestPermissions,
189         java.lang.String[] communityPermissions,
190         java.lang.String[] guestPermissions)
191         throws com.liferay.portal.PortalException,
192             com.liferay.portal.SystemException {
193         return _igFolderLocalService.addFolderToGroup(uuid, userId, groupId,
194             parentFolderId, name, description, addCommunityPermissions,
195             addGuestPermissions, communityPermissions, guestPermissions);
196     }
197 
198     public void deleteFolder(
199         com.liferay.portlet.imagegallery.model.IGFolder folder)
200         throws com.liferay.portal.PortalException,
201             com.liferay.portal.SystemException {
202         _igFolderLocalService.deleteFolder(folder);
203     }
204 
205     public void deleteFolder(long folderId)
206         throws com.liferay.portal.PortalException,
207             com.liferay.portal.SystemException {
208         _igFolderLocalService.deleteFolder(folderId);
209     }
210 
211     public void deleteFolders(long groupId)
212         throws com.liferay.portal.PortalException,
213             com.liferay.portal.SystemException {
214         _igFolderLocalService.deleteFolders(groupId);
215     }
216 
217     public com.liferay.portlet.imagegallery.model.IGFolder getFolder(
218         long folderId)
219         throws com.liferay.portal.PortalException,
220             com.liferay.portal.SystemException {
221         return _igFolderLocalService.getFolder(folderId);
222     }
223 
224     public com.liferay.portlet.imagegallery.model.IGFolder getFolder(
225         long groupId, long parentFolderId, java.lang.String name)
226         throws com.liferay.portal.PortalException,
227             com.liferay.portal.SystemException {
228         return _igFolderLocalService.getFolder(groupId, parentFolderId, name);
229     }
230 
231     public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> getFolders(
232         long groupId) throws com.liferay.portal.SystemException {
233         return _igFolderLocalService.getFolders(groupId);
234     }
235 
236     public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> getFolders(
237         long groupId, long parentFolderId)
238         throws com.liferay.portal.SystemException {
239         return _igFolderLocalService.getFolders(groupId, parentFolderId);
240     }
241 
242     public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> getFolders(
243         long groupId, long parentFolderId, int start, int end)
244         throws com.liferay.portal.SystemException {
245         return _igFolderLocalService.getFolders(groupId, parentFolderId, start,
246             end);
247     }
248 
249     public int getFoldersCount(long groupId, long parentFolderId)
250         throws com.liferay.portal.SystemException {
251         return _igFolderLocalService.getFoldersCount(groupId, parentFolderId);
252     }
253 
254     public void getSubfolderIds(java.util.List<Long> folderIds, long groupId,
255         long folderId) throws com.liferay.portal.SystemException {
256         _igFolderLocalService.getSubfolderIds(folderIds, groupId, folderId);
257     }
258 
259     public void reIndex(java.lang.String[] ids)
260         throws com.liferay.portal.SystemException {
261         _igFolderLocalService.reIndex(ids);
262     }
263 
264     public com.liferay.portal.kernel.search.Hits search(long companyId,
265         long groupId, long[] folderIds, java.lang.String keywords, int start,
266         int end) throws com.liferay.portal.SystemException {
267         return _igFolderLocalService.search(companyId, groupId, folderIds,
268             keywords, start, end);
269     }
270 
271     public com.liferay.portlet.imagegallery.model.IGFolder updateFolder(
272         long folderId, long parentFolderId, java.lang.String name,
273         java.lang.String description, boolean mergeWithParentFolder)
274         throws com.liferay.portal.PortalException,
275             com.liferay.portal.SystemException {
276         return _igFolderLocalService.updateFolder(folderId, parentFolderId,
277             name, description, mergeWithParentFolder);
278     }
279 
280     public IGFolderLocalService getWrappedIGFolderLocalService() {
281         return _igFolderLocalService;
282     }
283 
284     private IGFolderLocalService _igFolderLocalService;
285 }