001
014
015 package com.liferay.portlet.imagegallery.service;
016
017
026 public class IGImageLocalServiceWrapper implements IGImageLocalService {
027 public IGImageLocalServiceWrapper(IGImageLocalService igImageLocalService) {
028 _igImageLocalService = igImageLocalService;
029 }
030
031
038 public com.liferay.portlet.imagegallery.model.IGImage addIGImage(
039 com.liferay.portlet.imagegallery.model.IGImage igImage)
040 throws com.liferay.portal.kernel.exception.SystemException {
041 return _igImageLocalService.addIGImage(igImage);
042 }
043
044
050 public com.liferay.portlet.imagegallery.model.IGImage createIGImage(
051 long imageId) {
052 return _igImageLocalService.createIGImage(imageId);
053 }
054
055
062 public void deleteIGImage(long imageId)
063 throws com.liferay.portal.kernel.exception.PortalException,
064 com.liferay.portal.kernel.exception.SystemException {
065 _igImageLocalService.deleteIGImage(imageId);
066 }
067
068
074 public void deleteIGImage(
075 com.liferay.portlet.imagegallery.model.IGImage igImage)
076 throws com.liferay.portal.kernel.exception.SystemException {
077 _igImageLocalService.deleteIGImage(igImage);
078 }
079
080
087 @SuppressWarnings("rawtypes")
088 public java.util.List dynamicQuery(
089 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
090 throws com.liferay.portal.kernel.exception.SystemException {
091 return _igImageLocalService.dynamicQuery(dynamicQuery);
092 }
093
094
107 @SuppressWarnings("rawtypes")
108 public java.util.List dynamicQuery(
109 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
110 int end) throws com.liferay.portal.kernel.exception.SystemException {
111 return _igImageLocalService.dynamicQuery(dynamicQuery, start, end);
112 }
113
114
128 @SuppressWarnings("rawtypes")
129 public java.util.List dynamicQuery(
130 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
131 int end,
132 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
133 throws com.liferay.portal.kernel.exception.SystemException {
134 return _igImageLocalService.dynamicQuery(dynamicQuery, start, end,
135 orderByComparator);
136 }
137
138
145 public long dynamicQueryCount(
146 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
147 throws com.liferay.portal.kernel.exception.SystemException {
148 return _igImageLocalService.dynamicQueryCount(dynamicQuery);
149 }
150
151
159 public com.liferay.portlet.imagegallery.model.IGImage getIGImage(
160 long imageId)
161 throws com.liferay.portal.kernel.exception.PortalException,
162 com.liferay.portal.kernel.exception.SystemException {
163 return _igImageLocalService.getIGImage(imageId);
164 }
165
166
175 public com.liferay.portlet.imagegallery.model.IGImage getIGImageByUuidAndGroupId(
176 java.lang.String uuid, long groupId)
177 throws com.liferay.portal.kernel.exception.PortalException,
178 com.liferay.portal.kernel.exception.SystemException {
179 return _igImageLocalService.getIGImageByUuidAndGroupId(uuid, groupId);
180 }
181
182
194 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getIGImages(
195 int start, int end)
196 throws com.liferay.portal.kernel.exception.SystemException {
197 return _igImageLocalService.getIGImages(start, end);
198 }
199
200
206 public int getIGImagesCount()
207 throws com.liferay.portal.kernel.exception.SystemException {
208 return _igImageLocalService.getIGImagesCount();
209 }
210
211
218 public com.liferay.portlet.imagegallery.model.IGImage updateIGImage(
219 com.liferay.portlet.imagegallery.model.IGImage igImage)
220 throws com.liferay.portal.kernel.exception.SystemException {
221 return _igImageLocalService.updateIGImage(igImage);
222 }
223
224
232 public com.liferay.portlet.imagegallery.model.IGImage updateIGImage(
233 com.liferay.portlet.imagegallery.model.IGImage igImage, boolean merge)
234 throws com.liferay.portal.kernel.exception.SystemException {
235 return _igImageLocalService.updateIGImage(igImage, merge);
236 }
237
238 public com.liferay.portlet.imagegallery.model.IGImage addImage(
239 long userId, long groupId, long folderId, java.lang.String name,
240 java.lang.String description, java.io.File file,
241 java.lang.String contentType,
242 com.liferay.portal.service.ServiceContext serviceContext)
243 throws com.liferay.portal.kernel.exception.PortalException,
244 com.liferay.portal.kernel.exception.SystemException {
245 return _igImageLocalService.addImage(userId, groupId, folderId, name,
246 description, file, contentType, serviceContext);
247 }
248
249 public com.liferay.portlet.imagegallery.model.IGImage addImage(
250 long userId, long groupId, long folderId, java.lang.String name,
251 java.lang.String description, java.lang.String fileName, byte[] bytes,
252 java.lang.String contentType,
253 com.liferay.portal.service.ServiceContext serviceContext)
254 throws com.liferay.portal.kernel.exception.PortalException,
255 com.liferay.portal.kernel.exception.SystemException {
256 return _igImageLocalService.addImage(userId, groupId, folderId, name,
257 description, fileName, bytes, contentType, serviceContext);
258 }
259
260 public com.liferay.portlet.imagegallery.model.IGImage addImage(
261 long userId, long groupId, long folderId, java.lang.String name,
262 java.lang.String description, java.lang.String fileName,
263 java.io.InputStream is, java.lang.String contentType,
264 com.liferay.portal.service.ServiceContext serviceContext)
265 throws com.liferay.portal.kernel.exception.PortalException,
266 com.liferay.portal.kernel.exception.SystemException {
267 return _igImageLocalService.addImage(userId, groupId, folderId, name,
268 description, fileName, is, contentType, serviceContext);
269 }
270
271 public void addImageResources(
272 com.liferay.portlet.imagegallery.model.IGImage image,
273 boolean addCommunityPermissions, boolean addGuestPermissions)
274 throws com.liferay.portal.kernel.exception.PortalException,
275 com.liferay.portal.kernel.exception.SystemException {
276 _igImageLocalService.addImageResources(image, addCommunityPermissions,
277 addGuestPermissions);
278 }
279
280 public void addImageResources(
281 com.liferay.portlet.imagegallery.model.IGImage image,
282 java.lang.String[] communityPermissions,
283 java.lang.String[] guestPermissions)
284 throws com.liferay.portal.kernel.exception.PortalException,
285 com.liferay.portal.kernel.exception.SystemException {
286 _igImageLocalService.addImageResources(image, communityPermissions,
287 guestPermissions);
288 }
289
290 public void addImageResources(long imageId,
291 boolean addCommunityPermissions, boolean addGuestPermissions)
292 throws com.liferay.portal.kernel.exception.PortalException,
293 com.liferay.portal.kernel.exception.SystemException {
294 _igImageLocalService.addImageResources(imageId,
295 addCommunityPermissions, addGuestPermissions);
296 }
297
298 public void addImageResources(long imageId,
299 java.lang.String[] communityPermissions,
300 java.lang.String[] guestPermissions)
301 throws com.liferay.portal.kernel.exception.PortalException,
302 com.liferay.portal.kernel.exception.SystemException {
303 _igImageLocalService.addImageResources(imageId, communityPermissions,
304 guestPermissions);
305 }
306
307 public void deleteImage(
308 com.liferay.portlet.imagegallery.model.IGImage image)
309 throws com.liferay.portal.kernel.exception.PortalException,
310 com.liferay.portal.kernel.exception.SystemException {
311 _igImageLocalService.deleteImage(image);
312 }
313
314 public void deleteImage(long imageId)
315 throws com.liferay.portal.kernel.exception.PortalException,
316 com.liferay.portal.kernel.exception.SystemException {
317 _igImageLocalService.deleteImage(imageId);
318 }
319
320 public void deleteImages(long groupId, long folderId)
321 throws com.liferay.portal.kernel.exception.PortalException,
322 com.liferay.portal.kernel.exception.SystemException {
323 _igImageLocalService.deleteImages(groupId, folderId);
324 }
325
326 public int getFoldersImagesCount(long groupId,
327 java.util.List<java.lang.Long> folderIds)
328 throws com.liferay.portal.kernel.exception.SystemException {
329 return _igImageLocalService.getFoldersImagesCount(groupId, folderIds);
330 }
331
332 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getGroupImages(
333 long groupId, int start, int end)
334 throws com.liferay.portal.kernel.exception.SystemException {
335 return _igImageLocalService.getGroupImages(groupId, start, end);
336 }
337
338 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getGroupImages(
339 long groupId, long userId, int start, int end)
340 throws com.liferay.portal.kernel.exception.SystemException {
341 return _igImageLocalService.getGroupImages(groupId, userId, start, end);
342 }
343
344 public int getGroupImagesCount(long groupId)
345 throws com.liferay.portal.kernel.exception.SystemException {
346 return _igImageLocalService.getGroupImagesCount(groupId);
347 }
348
349 public int getGroupImagesCount(long groupId, long userId)
350 throws com.liferay.portal.kernel.exception.SystemException {
351 return _igImageLocalService.getGroupImagesCount(groupId, userId);
352 }
353
354 public com.liferay.portlet.imagegallery.model.IGImage getImage(long imageId)
355 throws com.liferay.portal.kernel.exception.PortalException,
356 com.liferay.portal.kernel.exception.SystemException {
357 return _igImageLocalService.getImage(imageId);
358 }
359
360 public com.liferay.portlet.imagegallery.model.IGImage getImageByCustom1ImageId(
361 long custom1ImageId)
362 throws com.liferay.portal.kernel.exception.PortalException,
363 com.liferay.portal.kernel.exception.SystemException {
364 return _igImageLocalService.getImageByCustom1ImageId(custom1ImageId);
365 }
366
367 public com.liferay.portlet.imagegallery.model.IGImage getImageByCustom2ImageId(
368 long custom2ImageId)
369 throws com.liferay.portal.kernel.exception.PortalException,
370 com.liferay.portal.kernel.exception.SystemException {
371 return _igImageLocalService.getImageByCustom2ImageId(custom2ImageId);
372 }
373
374 public com.liferay.portlet.imagegallery.model.IGImage getImageByFolderIdAndNameWithExtension(
375 long groupId, long folderId, java.lang.String nameWithExtension)
376 throws com.liferay.portal.kernel.exception.PortalException,
377 com.liferay.portal.kernel.exception.SystemException {
378 return _igImageLocalService.getImageByFolderIdAndNameWithExtension(groupId,
379 folderId, nameWithExtension);
380 }
381
382 public com.liferay.portlet.imagegallery.model.IGImage getImageByLargeImageId(
383 long largeImageId)
384 throws com.liferay.portal.kernel.exception.PortalException,
385 com.liferay.portal.kernel.exception.SystemException {
386 return _igImageLocalService.getImageByLargeImageId(largeImageId);
387 }
388
389 public com.liferay.portlet.imagegallery.model.IGImage getImageBySmallImageId(
390 long smallImageId)
391 throws com.liferay.portal.kernel.exception.PortalException,
392 com.liferay.portal.kernel.exception.SystemException {
393 return _igImageLocalService.getImageBySmallImageId(smallImageId);
394 }
395
396 public com.liferay.portlet.imagegallery.model.IGImage getImageByUuidAndGroupId(
397 java.lang.String uuid, long groupId)
398 throws com.liferay.portal.kernel.exception.PortalException,
399 com.liferay.portal.kernel.exception.SystemException {
400 return _igImageLocalService.getImageByUuidAndGroupId(uuid, groupId);
401 }
402
403 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getImages(
404 long groupId, long folderId)
405 throws com.liferay.portal.kernel.exception.SystemException {
406 return _igImageLocalService.getImages(groupId, folderId);
407 }
408
409 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getImages(
410 long groupId, long folderId, int start, int end)
411 throws com.liferay.portal.kernel.exception.SystemException {
412 return _igImageLocalService.getImages(groupId, folderId, start, end);
413 }
414
415 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getImages(
416 long groupId, long folderId, int start, int end,
417 com.liferay.portal.kernel.util.OrderByComparator obc)
418 throws com.liferay.portal.kernel.exception.SystemException {
419 return _igImageLocalService.getImages(groupId, folderId, start, end, obc);
420 }
421
422 public int getImagesCount(long groupId, long folderId)
423 throws com.liferay.portal.kernel.exception.SystemException {
424 return _igImageLocalService.getImagesCount(groupId, folderId);
425 }
426
427 public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getNoAssetImages()
428 throws com.liferay.portal.kernel.exception.SystemException {
429 return _igImageLocalService.getNoAssetImages();
430 }
431
432 public void updateAsset(long userId,
433 com.liferay.portlet.imagegallery.model.IGImage image,
434 long[] assetCategoryIds, java.lang.String[] assetTagNames,
435 java.lang.String contentType)
436 throws com.liferay.portal.kernel.exception.PortalException,
437 com.liferay.portal.kernel.exception.SystemException {
438 _igImageLocalService.updateAsset(userId, image, assetCategoryIds,
439 assetTagNames, contentType);
440 }
441
442 public com.liferay.portlet.imagegallery.model.IGImage updateImage(
443 long userId, long imageId, long groupId, long folderId,
444 java.lang.String name, java.lang.String description, byte[] bytes,
445 java.lang.String contentType,
446 com.liferay.portal.service.ServiceContext serviceContext)
447 throws com.liferay.portal.kernel.exception.PortalException,
448 com.liferay.portal.kernel.exception.SystemException {
449 return _igImageLocalService.updateImage(userId, imageId, groupId,
450 folderId, name, description, bytes, contentType, serviceContext);
451 }
452
453 public com.liferay.portlet.imagegallery.model.IGImage updateImage(
454 long userId, long imageId, long groupId, long folderId,
455 java.lang.String name, java.lang.String description, java.io.File file,
456 java.lang.String contentType,
457 com.liferay.portal.service.ServiceContext serviceContext)
458 throws com.liferay.portal.kernel.exception.PortalException,
459 com.liferay.portal.kernel.exception.SystemException {
460 return _igImageLocalService.updateImage(userId, imageId, groupId,
461 folderId, name, description, file, contentType, serviceContext);
462 }
463
464 public com.liferay.portlet.imagegallery.model.IGImage updateImage(
465 long userId, long imageId, long groupId, long folderId,
466 java.lang.String name, java.lang.String description,
467 java.io.InputStream is, java.lang.String contentType,
468 com.liferay.portal.service.ServiceContext serviceContext)
469 throws com.liferay.portal.kernel.exception.PortalException,
470 com.liferay.portal.kernel.exception.SystemException {
471 return _igImageLocalService.updateImage(userId, imageId, groupId,
472 folderId, name, description, is, contentType, serviceContext);
473 }
474
475 public void updateSmallImage(long smallImageId, long largeImageId)
476 throws com.liferay.portal.kernel.exception.PortalException,
477 com.liferay.portal.kernel.exception.SystemException {
478 _igImageLocalService.updateSmallImage(smallImageId, largeImageId);
479 }
480
481 public IGImageLocalService getWrappedIGImageLocalService() {
482 return _igImageLocalService;
483 }
484
485 private IGImageLocalService _igImageLocalService;
486 }