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 java.util.List<Object> dynamicQuery(
76          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77          int end,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.SystemException {
80          return _igFolderLocalService.dynamicQuery(dynamicQuery, start, end,
81              orderByComparator);
82      }
83  
84      public int dynamicQueryCount(
85          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86          throws com.liferay.portal.SystemException {
87          return _igFolderLocalService.dynamicQueryCount(dynamicQuery);
88      }
89  
90      public com.liferay.portlet.imagegallery.model.IGFolder getIGFolder(
91          long folderId)
92          throws com.liferay.portal.PortalException,
93              com.liferay.portal.SystemException {
94          return _igFolderLocalService.getIGFolder(folderId);
95      }
96  
97      public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> getIGFolders(
98          int start, int end) throws com.liferay.portal.SystemException {
99          return _igFolderLocalService.getIGFolders(start, end);
100     }
101 
102     public int getIGFoldersCount() throws com.liferay.portal.SystemException {
103         return _igFolderLocalService.getIGFoldersCount();
104     }
105 
106     public com.liferay.portlet.imagegallery.model.IGFolder updateIGFolder(
107         com.liferay.portlet.imagegallery.model.IGFolder igFolder)
108         throws com.liferay.portal.SystemException {
109         return _igFolderLocalService.updateIGFolder(igFolder);
110     }
111 
112     public com.liferay.portlet.imagegallery.model.IGFolder updateIGFolder(
113         com.liferay.portlet.imagegallery.model.IGFolder igFolder, boolean merge)
114         throws com.liferay.portal.SystemException {
115         return _igFolderLocalService.updateIGFolder(igFolder, merge);
116     }
117 
118     public com.liferay.portlet.imagegallery.model.IGFolder addFolder(
119         long userId, long parentFolderId, java.lang.String name,
120         java.lang.String description,
121         com.liferay.portal.service.ServiceContext serviceContext)
122         throws com.liferay.portal.PortalException,
123             com.liferay.portal.SystemException {
124         return _igFolderLocalService.addFolder(userId, parentFolderId, name,
125             description, serviceContext);
126     }
127 
128     public com.liferay.portlet.imagegallery.model.IGFolder addFolder(
129         java.lang.String uuid, long userId, long parentFolderId,
130         java.lang.String name, java.lang.String description,
131         com.liferay.portal.service.ServiceContext serviceContext)
132         throws com.liferay.portal.PortalException,
133             com.liferay.portal.SystemException {
134         return _igFolderLocalService.addFolder(uuid, userId, parentFolderId,
135             name, description, serviceContext);
136     }
137 
138     public void addFolderResources(
139         com.liferay.portlet.imagegallery.model.IGFolder folder,
140         boolean addCommunityPermissions, boolean addGuestPermissions)
141         throws com.liferay.portal.PortalException,
142             com.liferay.portal.SystemException {
143         _igFolderLocalService.addFolderResources(folder,
144             addCommunityPermissions, addGuestPermissions);
145     }
146 
147     public void addFolderResources(
148         com.liferay.portlet.imagegallery.model.IGFolder folder,
149         java.lang.String[] communityPermissions,
150         java.lang.String[] guestPermissions)
151         throws com.liferay.portal.PortalException,
152             com.liferay.portal.SystemException {
153         _igFolderLocalService.addFolderResources(folder, communityPermissions,
154             guestPermissions);
155     }
156 
157     public void addFolderResources(long folderId,
158         boolean addCommunityPermissions, boolean addGuestPermissions)
159         throws com.liferay.portal.PortalException,
160             com.liferay.portal.SystemException {
161         _igFolderLocalService.addFolderResources(folderId,
162             addCommunityPermissions, addGuestPermissions);
163     }
164 
165     public void addFolderResources(long folderId,
166         java.lang.String[] communityPermissions,
167         java.lang.String[] guestPermissions)
168         throws com.liferay.portal.PortalException,
169             com.liferay.portal.SystemException {
170         _igFolderLocalService.addFolderResources(folderId,
171             communityPermissions, guestPermissions);
172     }
173 
174     public void deleteFolder(
175         com.liferay.portlet.imagegallery.model.IGFolder folder)
176         throws com.liferay.portal.PortalException,
177             com.liferay.portal.SystemException {
178         _igFolderLocalService.deleteFolder(folder);
179     }
180 
181     public void deleteFolder(long folderId)
182         throws com.liferay.portal.PortalException,
183             com.liferay.portal.SystemException {
184         _igFolderLocalService.deleteFolder(folderId);
185     }
186 
187     public void deleteFolders(long groupId)
188         throws com.liferay.portal.PortalException,
189             com.liferay.portal.SystemException {
190         _igFolderLocalService.deleteFolders(groupId);
191     }
192 
193     public com.liferay.portlet.imagegallery.model.IGFolder getFolder(
194         long folderId)
195         throws com.liferay.portal.PortalException,
196             com.liferay.portal.SystemException {
197         return _igFolderLocalService.getFolder(folderId);
198     }
199 
200     public com.liferay.portlet.imagegallery.model.IGFolder getFolder(
201         long groupId, long parentFolderId, java.lang.String name)
202         throws com.liferay.portal.PortalException,
203             com.liferay.portal.SystemException {
204         return _igFolderLocalService.getFolder(groupId, parentFolderId, name);
205     }
206 
207     public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> getFolders(
208         long groupId) throws com.liferay.portal.SystemException {
209         return _igFolderLocalService.getFolders(groupId);
210     }
211 
212     public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> getFolders(
213         long groupId, long parentFolderId)
214         throws com.liferay.portal.SystemException {
215         return _igFolderLocalService.getFolders(groupId, parentFolderId);
216     }
217 
218     public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> getFolders(
219         long groupId, long parentFolderId, int start, int end)
220         throws com.liferay.portal.SystemException {
221         return _igFolderLocalService.getFolders(groupId, parentFolderId, start,
222             end);
223     }
224 
225     public int getFoldersCount(long groupId, long parentFolderId)
226         throws com.liferay.portal.SystemException {
227         return _igFolderLocalService.getFoldersCount(groupId, parentFolderId);
228     }
229 
230     public void getSubfolderIds(java.util.List<Long> folderIds, long groupId,
231         long folderId) throws com.liferay.portal.SystemException {
232         _igFolderLocalService.getSubfolderIds(folderIds, groupId, folderId);
233     }
234 
235     public void reIndex(java.lang.String[] ids)
236         throws com.liferay.portal.SystemException {
237         _igFolderLocalService.reIndex(ids);
238     }
239 
240     public com.liferay.portal.kernel.search.Hits search(long companyId,
241         long groupId, long userId, long[] folderIds, java.lang.String keywords,
242         int start, int end) throws com.liferay.portal.SystemException {
243         return _igFolderLocalService.search(companyId, groupId, userId,
244             folderIds, keywords, start, end);
245     }
246 
247     public com.liferay.portlet.imagegallery.model.IGFolder updateFolder(
248         long folderId, long parentFolderId, java.lang.String name,
249         java.lang.String description, boolean mergeWithParentFolder,
250         com.liferay.portal.service.ServiceContext serviceContext)
251         throws com.liferay.portal.PortalException,
252             com.liferay.portal.SystemException {
253         return _igFolderLocalService.updateFolder(folderId, parentFolderId,
254             name, description, mergeWithParentFolder, serviceContext);
255     }
256 
257     public IGFolderLocalService getWrappedIGFolderLocalService() {
258         return _igFolderLocalService;
259     }
260 
261     private IGFolderLocalService _igFolderLocalService;
262 }