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.portal.service;
16  
17  
18  /**
19   * <a href="ImageLocalServiceUtil.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 ImageLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       ImageLocalService
32   * @generated
33   */
34  public class ImageLocalServiceWrapper implements ImageLocalService {
35      public ImageLocalServiceWrapper(ImageLocalService imageLocalService) {
36          _imageLocalService = imageLocalService;
37      }
38  
39      public com.liferay.portal.model.Image addImage(
40          com.liferay.portal.model.Image image)
41          throws com.liferay.portal.kernel.exception.SystemException {
42          return _imageLocalService.addImage(image);
43      }
44  
45      public com.liferay.portal.model.Image createImage(long imageId) {
46          return _imageLocalService.createImage(imageId);
47      }
48  
49      public void deleteImage(long imageId)
50          throws com.liferay.portal.kernel.exception.PortalException,
51              com.liferay.portal.kernel.exception.SystemException {
52          _imageLocalService.deleteImage(imageId);
53      }
54  
55      public void deleteImage(com.liferay.portal.model.Image image)
56          throws com.liferay.portal.kernel.exception.SystemException {
57          _imageLocalService.deleteImage(image);
58      }
59  
60      @SuppressWarnings("unchecked")
61      public java.util.List dynamicQuery(
62          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
63          throws com.liferay.portal.kernel.exception.SystemException {
64          return _imageLocalService.dynamicQuery(dynamicQuery);
65      }
66  
67      @SuppressWarnings("unchecked")
68      public java.util.List dynamicQuery(
69          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
70          int end) throws com.liferay.portal.kernel.exception.SystemException {
71          return _imageLocalService.dynamicQuery(dynamicQuery, start, end);
72      }
73  
74      @SuppressWarnings("unchecked")
75      public java.util.List 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.kernel.exception.SystemException {
80          return _imageLocalService.dynamicQuery(dynamicQuery, start, end,
81              orderByComparator);
82      }
83  
84      public long dynamicQueryCount(
85          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86          throws com.liferay.portal.kernel.exception.SystemException {
87          return _imageLocalService.dynamicQueryCount(dynamicQuery);
88      }
89  
90      public com.liferay.portal.model.Image getImage(long imageId)
91          throws com.liferay.portal.kernel.exception.PortalException,
92              com.liferay.portal.kernel.exception.SystemException {
93          return _imageLocalService.getImage(imageId);
94      }
95  
96      public java.util.List<com.liferay.portal.model.Image> getImages(int start,
97          int end) throws com.liferay.portal.kernel.exception.SystemException {
98          return _imageLocalService.getImages(start, end);
99      }
100 
101     public int getImagesCount()
102         throws com.liferay.portal.kernel.exception.SystemException {
103         return _imageLocalService.getImagesCount();
104     }
105 
106     public com.liferay.portal.model.Image updateImage(
107         com.liferay.portal.model.Image image)
108         throws com.liferay.portal.kernel.exception.SystemException {
109         return _imageLocalService.updateImage(image);
110     }
111 
112     public com.liferay.portal.model.Image updateImage(
113         com.liferay.portal.model.Image image, boolean merge)
114         throws com.liferay.portal.kernel.exception.SystemException {
115         return _imageLocalService.updateImage(image, merge);
116     }
117 
118     public com.liferay.portal.model.Image getCompanyLogo(long imageId) {
119         return _imageLocalService.getCompanyLogo(imageId);
120     }
121 
122     public com.liferay.portal.model.Image getDefaultCompanyLogo() {
123         return _imageLocalService.getDefaultCompanyLogo();
124     }
125 
126     public com.liferay.portal.model.Image getDefaultOrganizationLogo() {
127         return _imageLocalService.getDefaultOrganizationLogo();
128     }
129 
130     public com.liferay.portal.model.Image getDefaultSpacer() {
131         return _imageLocalService.getDefaultSpacer();
132     }
133 
134     public com.liferay.portal.model.Image getDefaultUserFemalePortrait() {
135         return _imageLocalService.getDefaultUserFemalePortrait();
136     }
137 
138     public com.liferay.portal.model.Image getDefaultUserMalePortrait() {
139         return _imageLocalService.getDefaultUserMalePortrait();
140     }
141 
142     public com.liferay.portal.model.Image getImage(byte[] bytes)
143         throws com.liferay.portal.kernel.exception.PortalException,
144             com.liferay.portal.kernel.exception.SystemException {
145         return _imageLocalService.getImage(bytes);
146     }
147 
148     public com.liferay.portal.model.Image getImage(java.io.File file)
149         throws com.liferay.portal.kernel.exception.PortalException,
150             com.liferay.portal.kernel.exception.SystemException {
151         return _imageLocalService.getImage(file);
152     }
153 
154     public com.liferay.portal.model.Image getImage(java.io.InputStream is)
155         throws com.liferay.portal.kernel.exception.PortalException,
156             com.liferay.portal.kernel.exception.SystemException {
157         return _imageLocalService.getImage(is);
158     }
159 
160     public com.liferay.portal.model.Image getImageOrDefault(long imageId) {
161         return _imageLocalService.getImageOrDefault(imageId);
162     }
163 
164     public java.util.List<com.liferay.portal.model.Image> getImages()
165         throws com.liferay.portal.kernel.exception.SystemException {
166         return _imageLocalService.getImages();
167     }
168 
169     public java.util.List<com.liferay.portal.model.Image> getImagesBySize(
170         int size) throws com.liferay.portal.kernel.exception.SystemException {
171         return _imageLocalService.getImagesBySize(size);
172     }
173 
174     public boolean isNullOrDefaultSpacer(byte[] bytes) {
175         return _imageLocalService.isNullOrDefaultSpacer(bytes);
176     }
177 
178     public com.liferay.portal.model.Image updateImage(long imageId, byte[] bytes)
179         throws com.liferay.portal.kernel.exception.PortalException,
180             com.liferay.portal.kernel.exception.SystemException {
181         return _imageLocalService.updateImage(imageId, bytes);
182     }
183 
184     public com.liferay.portal.model.Image updateImage(long imageId,
185         java.io.File file)
186         throws com.liferay.portal.kernel.exception.PortalException,
187             com.liferay.portal.kernel.exception.SystemException {
188         return _imageLocalService.updateImage(imageId, file);
189     }
190 
191     public com.liferay.portal.model.Image updateImage(long imageId,
192         java.io.InputStream is)
193         throws com.liferay.portal.kernel.exception.PortalException,
194             com.liferay.portal.kernel.exception.SystemException {
195         return _imageLocalService.updateImage(imageId, is);
196     }
197 
198     public com.liferay.portal.model.Image updateImage(long imageId,
199         byte[] bytes, java.lang.String type, int height, int width, int size)
200         throws com.liferay.portal.kernel.exception.PortalException,
201             com.liferay.portal.kernel.exception.SystemException {
202         return _imageLocalService.updateImage(imageId, bytes, type, height,
203             width, size);
204     }
205 
206     public ImageLocalService getWrappedImageLocalService() {
207         return _imageLocalService;
208     }
209 
210     private ImageLocalService _imageLocalService;
211 }