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