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="IGImageServiceUtil.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 IGImageService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       IGImageService
31   * @generated
32   */
33  public class IGImageServiceWrapper implements IGImageService {
34      public IGImageServiceWrapper(IGImageService igImageService) {
35          _igImageService = igImageService;
36      }
37  
38      public com.liferay.portlet.imagegallery.model.IGImage addImage(
39          long folderId, java.lang.String name, java.lang.String description,
40          java.io.File file, java.lang.String contentType,
41          com.liferay.portal.service.ServiceContext serviceContext)
42          throws com.liferay.portal.PortalException,
43              com.liferay.portal.SystemException {
44          return _igImageService.addImage(folderId, name, description, file,
45              contentType, serviceContext);
46      }
47  
48      public void deleteImage(long imageId)
49          throws com.liferay.portal.PortalException,
50              com.liferay.portal.SystemException {
51          _igImageService.deleteImage(imageId);
52      }
53  
54      public void deleteImageByFolderIdAndNameWithExtension(long folderId,
55          java.lang.String nameWithExtension)
56          throws com.liferay.portal.PortalException,
57              com.liferay.portal.SystemException {
58          _igImageService.deleteImageByFolderIdAndNameWithExtension(folderId,
59              nameWithExtension);
60      }
61  
62      public com.liferay.portlet.imagegallery.model.IGImage getImage(long imageId)
63          throws com.liferay.portal.PortalException,
64              com.liferay.portal.SystemException {
65          return _igImageService.getImage(imageId);
66      }
67  
68      public com.liferay.portlet.imagegallery.model.IGImage getImageByFolderIdAndNameWithExtension(
69          long folderId, java.lang.String nameWithExtension)
70          throws com.liferay.portal.PortalException,
71              com.liferay.portal.SystemException {
72          return _igImageService.getImageByFolderIdAndNameWithExtension(folderId,
73              nameWithExtension);
74      }
75  
76      public com.liferay.portlet.imagegallery.model.IGImage getImageByLargeImageId(
77          long largeImageId)
78          throws com.liferay.portal.PortalException,
79              com.liferay.portal.SystemException {
80          return _igImageService.getImageByLargeImageId(largeImageId);
81      }
82  
83      public com.liferay.portlet.imagegallery.model.IGImage getImageBySmallImageId(
84          long smallImageId)
85          throws com.liferay.portal.PortalException,
86              com.liferay.portal.SystemException {
87          return _igImageService.getImageBySmallImageId(smallImageId);
88      }
89  
90      public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getImages(
91          long folderId)
92          throws com.liferay.portal.PortalException,
93              com.liferay.portal.SystemException {
94          return _igImageService.getImages(folderId);
95      }
96  
97      public com.liferay.portlet.imagegallery.model.IGImage updateImage(
98          long imageId, long folderId, java.lang.String name,
99          java.lang.String description, java.io.File file,
100         java.lang.String contentType,
101         com.liferay.portal.service.ServiceContext serviceContext)
102         throws com.liferay.portal.PortalException,
103             com.liferay.portal.SystemException {
104         return _igImageService.updateImage(imageId, folderId, name,
105             description, file, contentType, serviceContext);
106     }
107 
108     public IGImageService getWrappedIGImageService() {
109         return _igImageService;
110     }
111 
112     private IGImageService _igImageService;
113 }