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="IGImageLocalServiceUtil.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 IGImageLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       IGImageLocalService
32   * @generated
33   */
34  public class IGImageLocalServiceWrapper implements IGImageLocalService {
35      public IGImageLocalServiceWrapper(IGImageLocalService igImageLocalService) {
36          _igImageLocalService = igImageLocalService;
37      }
38  
39      public com.liferay.portlet.imagegallery.model.IGImage addIGImage(
40          com.liferay.portlet.imagegallery.model.IGImage igImage)
41          throws com.liferay.portal.SystemException {
42          return _igImageLocalService.addIGImage(igImage);
43      }
44  
45      public com.liferay.portlet.imagegallery.model.IGImage createIGImage(
46          long imageId) {
47          return _igImageLocalService.createIGImage(imageId);
48      }
49  
50      public void deleteIGImage(long imageId)
51          throws com.liferay.portal.PortalException,
52              com.liferay.portal.SystemException {
53          _igImageLocalService.deleteIGImage(imageId);
54      }
55  
56      public void deleteIGImage(
57          com.liferay.portlet.imagegallery.model.IGImage igImage)
58          throws com.liferay.portal.SystemException {
59          _igImageLocalService.deleteIGImage(igImage);
60      }
61  
62      public java.util.List<Object> dynamicQuery(
63          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
64          throws com.liferay.portal.SystemException {
65          return _igImageLocalService.dynamicQuery(dynamicQuery);
66      }
67  
68      public java.util.List<Object> dynamicQuery(
69          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
70          int end) throws com.liferay.portal.SystemException {
71          return _igImageLocalService.dynamicQuery(dynamicQuery, start, end);
72      }
73  
74      public java.util.List<Object> dynamicQuery(
75          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
76          int end,
77          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
78          throws com.liferay.portal.SystemException {
79          return _igImageLocalService.dynamicQuery(dynamicQuery, start, end,
80              orderByComparator);
81      }
82  
83      public int dynamicQueryCount(
84          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
85          throws com.liferay.portal.SystemException {
86          return _igImageLocalService.dynamicQueryCount(dynamicQuery);
87      }
88  
89      public com.liferay.portlet.imagegallery.model.IGImage getIGImage(
90          long imageId)
91          throws com.liferay.portal.PortalException,
92              com.liferay.portal.SystemException {
93          return _igImageLocalService.getIGImage(imageId);
94      }
95  
96      public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getIGImages(
97          int start, int end) throws com.liferay.portal.SystemException {
98          return _igImageLocalService.getIGImages(start, end);
99      }
100 
101     public int getIGImagesCount() throws com.liferay.portal.SystemException {
102         return _igImageLocalService.getIGImagesCount();
103     }
104 
105     public com.liferay.portlet.imagegallery.model.IGImage updateIGImage(
106         com.liferay.portlet.imagegallery.model.IGImage igImage)
107         throws com.liferay.portal.SystemException {
108         return _igImageLocalService.updateIGImage(igImage);
109     }
110 
111     public com.liferay.portlet.imagegallery.model.IGImage updateIGImage(
112         com.liferay.portlet.imagegallery.model.IGImage igImage, boolean merge)
113         throws com.liferay.portal.SystemException {
114         return _igImageLocalService.updateIGImage(igImage, merge);
115     }
116 
117     public com.liferay.portlet.imagegallery.model.IGImage addImage(
118         long userId, long folderId, java.lang.String name,
119         java.lang.String description, java.io.File file,
120         java.lang.String contentType,
121         com.liferay.portal.service.ServiceContext serviceContext)
122         throws com.liferay.portal.PortalException,
123             com.liferay.portal.SystemException {
124         return _igImageLocalService.addImage(userId, folderId, name,
125             description, file, contentType, serviceContext);
126     }
127 
128     public com.liferay.portlet.imagegallery.model.IGImage addImage(
129         long userId, long folderId, java.lang.String name,
130         java.lang.String description, java.lang.String fileName, byte[] bytes,
131         java.lang.String contentType,
132         com.liferay.portal.service.ServiceContext serviceContext)
133         throws com.liferay.portal.PortalException,
134             com.liferay.portal.SystemException {
135         return _igImageLocalService.addImage(userId, folderId, name,
136             description, fileName, bytes, contentType, serviceContext);
137     }
138 
139     public com.liferay.portlet.imagegallery.model.IGImage addImage(
140         long userId, long folderId, java.lang.String name,
141         java.lang.String description, java.lang.String fileName,
142         java.io.InputStream is, java.lang.String contentType,
143         com.liferay.portal.service.ServiceContext serviceContext)
144         throws com.liferay.portal.PortalException,
145             com.liferay.portal.SystemException {
146         return _igImageLocalService.addImage(userId, folderId, name,
147             description, fileName, is, contentType, serviceContext);
148     }
149 
150     public com.liferay.portlet.imagegallery.model.IGImage addImage(
151         java.lang.String uuid, long userId, long folderId,
152         java.lang.String name, java.lang.String description, java.io.File file,
153         java.lang.String contentType,
154         com.liferay.portal.service.ServiceContext serviceContext)
155         throws com.liferay.portal.PortalException,
156             com.liferay.portal.SystemException {
157         return _igImageLocalService.addImage(uuid, userId, folderId, name,
158             description, file, contentType, serviceContext);
159     }
160 
161     public com.liferay.portlet.imagegallery.model.IGImage addImage(
162         java.lang.String uuid, long userId, long folderId,
163         java.lang.String name, java.lang.String description,
164         java.lang.String fileName, byte[] bytes, java.lang.String contentType,
165         com.liferay.portal.service.ServiceContext serviceContext)
166         throws com.liferay.portal.PortalException,
167             com.liferay.portal.SystemException {
168         return _igImageLocalService.addImage(uuid, userId, folderId, name,
169             description, fileName, bytes, contentType, serviceContext);
170     }
171 
172     public com.liferay.portlet.imagegallery.model.IGImage addImage(
173         java.lang.String uuid, long userId, long folderId,
174         java.lang.String name, java.lang.String description,
175         java.lang.String fileName, java.io.InputStream is,
176         java.lang.String contentType,
177         com.liferay.portal.service.ServiceContext serviceContext)
178         throws com.liferay.portal.PortalException,
179             com.liferay.portal.SystemException {
180         return _igImageLocalService.addImage(uuid, userId, folderId, name,
181             description, fileName, is, contentType, serviceContext);
182     }
183 
184     public void addImageResources(
185         com.liferay.portlet.imagegallery.model.IGImage image,
186         boolean addCommunityPermissions, boolean addGuestPermissions)
187         throws com.liferay.portal.PortalException,
188             com.liferay.portal.SystemException {
189         _igImageLocalService.addImageResources(image, addCommunityPermissions,
190             addGuestPermissions);
191     }
192 
193     public void addImageResources(
194         com.liferay.portlet.imagegallery.model.IGImage image,
195         java.lang.String[] communityPermissions,
196         java.lang.String[] guestPermissions)
197         throws com.liferay.portal.PortalException,
198             com.liferay.portal.SystemException {
199         _igImageLocalService.addImageResources(image, communityPermissions,
200             guestPermissions);
201     }
202 
203     public void addImageResources(long imageId,
204         boolean addCommunityPermissions, boolean addGuestPermissions)
205         throws com.liferay.portal.PortalException,
206             com.liferay.portal.SystemException {
207         _igImageLocalService.addImageResources(imageId,
208             addCommunityPermissions, addGuestPermissions);
209     }
210 
211     public void addImageResources(long imageId,
212         java.lang.String[] communityPermissions,
213         java.lang.String[] guestPermissions)
214         throws com.liferay.portal.PortalException,
215             com.liferay.portal.SystemException {
216         _igImageLocalService.addImageResources(imageId, communityPermissions,
217             guestPermissions);
218     }
219 
220     public void deleteImage(
221         com.liferay.portlet.imagegallery.model.IGImage image)
222         throws com.liferay.portal.PortalException,
223             com.liferay.portal.SystemException {
224         _igImageLocalService.deleteImage(image);
225     }
226 
227     public void deleteImage(long imageId)
228         throws com.liferay.portal.PortalException,
229             com.liferay.portal.SystemException {
230         _igImageLocalService.deleteImage(imageId);
231     }
232 
233     public void deleteImages(long folderId)
234         throws com.liferay.portal.PortalException,
235             com.liferay.portal.SystemException {
236         _igImageLocalService.deleteImages(folderId);
237     }
238 
239     public int getFoldersImagesCount(java.util.List<Long> folderIds)
240         throws com.liferay.portal.SystemException {
241         return _igImageLocalService.getFoldersImagesCount(folderIds);
242     }
243 
244     public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getGroupImages(
245         long groupId, int start, int end)
246         throws com.liferay.portal.SystemException {
247         return _igImageLocalService.getGroupImages(groupId, start, end);
248     }
249 
250     public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getGroupImages(
251         long groupId, long userId, int start, int end)
252         throws com.liferay.portal.SystemException {
253         return _igImageLocalService.getGroupImages(groupId, userId, start, end);
254     }
255 
256     public int getGroupImagesCount(long groupId)
257         throws com.liferay.portal.SystemException {
258         return _igImageLocalService.getGroupImagesCount(groupId);
259     }
260 
261     public int getGroupImagesCount(long groupId, long userId)
262         throws com.liferay.portal.SystemException {
263         return _igImageLocalService.getGroupImagesCount(groupId, userId);
264     }
265 
266     public com.liferay.portlet.imagegallery.model.IGImage getImage(long imageId)
267         throws com.liferay.portal.PortalException,
268             com.liferay.portal.SystemException {
269         return _igImageLocalService.getImage(imageId);
270     }
271 
272     public com.liferay.portlet.imagegallery.model.IGImage getImageByCustom1ImageId(
273         long custom1ImageId)
274         throws com.liferay.portal.PortalException,
275             com.liferay.portal.SystemException {
276         return _igImageLocalService.getImageByCustom1ImageId(custom1ImageId);
277     }
278 
279     public com.liferay.portlet.imagegallery.model.IGImage getImageByCustom2ImageId(
280         long custom2ImageId)
281         throws com.liferay.portal.PortalException,
282             com.liferay.portal.SystemException {
283         return _igImageLocalService.getImageByCustom2ImageId(custom2ImageId);
284     }
285 
286     public com.liferay.portlet.imagegallery.model.IGImage getImageByFolderIdAndNameWithExtension(
287         long folderId, java.lang.String nameWithExtension)
288         throws com.liferay.portal.PortalException,
289             com.liferay.portal.SystemException {
290         return _igImageLocalService.getImageByFolderIdAndNameWithExtension(folderId,
291             nameWithExtension);
292     }
293 
294     public com.liferay.portlet.imagegallery.model.IGImage getImageByLargeImageId(
295         long largeImageId)
296         throws com.liferay.portal.PortalException,
297             com.liferay.portal.SystemException {
298         return _igImageLocalService.getImageByLargeImageId(largeImageId);
299     }
300 
301     public com.liferay.portlet.imagegallery.model.IGImage getImageBySmallImageId(
302         long smallImageId)
303         throws com.liferay.portal.PortalException,
304             com.liferay.portal.SystemException {
305         return _igImageLocalService.getImageBySmallImageId(smallImageId);
306     }
307 
308     public com.liferay.portlet.imagegallery.model.IGImage getImageByUuidAndGroupId(
309         java.lang.String uuid, long groupId)
310         throws com.liferay.portal.PortalException,
311             com.liferay.portal.SystemException {
312         return _igImageLocalService.getImageByUuidAndGroupId(uuid, groupId);
313     }
314 
315     public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getImages(
316         long folderId) throws com.liferay.portal.SystemException {
317         return _igImageLocalService.getImages(folderId);
318     }
319 
320     public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getImages(
321         long folderId, int start, int end)
322         throws com.liferay.portal.SystemException {
323         return _igImageLocalService.getImages(folderId, start, end);
324     }
325 
326     public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getImages(
327         long folderId, int start, int end,
328         com.liferay.portal.kernel.util.OrderByComparator obc)
329         throws com.liferay.portal.SystemException {
330         return _igImageLocalService.getImages(folderId, start, end, obc);
331     }
332 
333     public int getImagesCount(long folderId)
334         throws com.liferay.portal.SystemException {
335         return _igImageLocalService.getImagesCount(folderId);
336     }
337 
338     public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getNoAssetImages()
339         throws com.liferay.portal.SystemException {
340         return _igImageLocalService.getNoAssetImages();
341     }
342 
343     public void reIndex(com.liferay.portlet.imagegallery.model.IGImage image)
344         throws com.liferay.portal.SystemException {
345         _igImageLocalService.reIndex(image);
346     }
347 
348     public void reIndex(long imageId) throws com.liferay.portal.SystemException {
349         _igImageLocalService.reIndex(imageId);
350     }
351 
352     public com.liferay.portlet.imagegallery.model.IGImage updateImage(
353         long userId, long imageId, long folderId, java.lang.String name,
354         java.lang.String description, byte[] bytes,
355         java.lang.String contentType,
356         com.liferay.portal.service.ServiceContext serviceContext)
357         throws com.liferay.portal.PortalException,
358             com.liferay.portal.SystemException {
359         return _igImageLocalService.updateImage(userId, imageId, folderId,
360             name, description, bytes, contentType, serviceContext);
361     }
362 
363     public com.liferay.portlet.imagegallery.model.IGImage updateImage(
364         long userId, long imageId, long folderId, java.lang.String name,
365         java.lang.String description, java.io.File file,
366         java.lang.String contentType,
367         com.liferay.portal.service.ServiceContext serviceContext)
368         throws com.liferay.portal.PortalException,
369             com.liferay.portal.SystemException {
370         return _igImageLocalService.updateImage(userId, imageId, folderId,
371             name, description, file, contentType, serviceContext);
372     }
373 
374     public com.liferay.portlet.imagegallery.model.IGImage updateImage(
375         long userId, long imageId, long folderId, java.lang.String name,
376         java.lang.String description, java.io.InputStream is,
377         java.lang.String contentType,
378         com.liferay.portal.service.ServiceContext serviceContext)
379         throws com.liferay.portal.PortalException,
380             com.liferay.portal.SystemException {
381         return _igImageLocalService.updateImage(userId, imageId, folderId,
382             name, description, is, contentType, serviceContext);
383     }
384 
385     public void updateSmallImage(long smallImageId, long largeImageId)
386         throws com.liferay.portal.PortalException,
387             com.liferay.portal.SystemException {
388         _igImageLocalService.updateSmallImage(smallImageId, largeImageId);
389     }
390 
391     public void updateTagsAsset(long userId,
392         com.liferay.portlet.imagegallery.model.IGImage image,
393         java.lang.String[] tagsCategories, java.lang.String[] tagsEntries)
394         throws com.liferay.portal.PortalException,
395             com.liferay.portal.SystemException {
396         _igImageLocalService.updateTagsAsset(userId, image, tagsCategories,
397             tagsEntries);
398     }
399 
400     public void updateTagsAsset(long userId,
401         com.liferay.portlet.imagegallery.model.IGImage image,
402         java.lang.String[] tagsCategories, java.lang.String[] tagsEntries,
403         java.lang.String contentType)
404         throws com.liferay.portal.PortalException,
405             com.liferay.portal.SystemException {
406         _igImageLocalService.updateTagsAsset(userId, image, tagsCategories,
407             tagsEntries, contentType);
408     }
409 
410     public IGImageLocalService getWrappedIGImageLocalService() {
411         return _igImageLocalService;
412     }
413 
414     private IGImageLocalService _igImageLocalService;
415 }