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