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