001
014
015 package com.liferay.portal.service;
016
017
026 public class ImageLocalServiceWrapper implements ImageLocalService,
027 ServiceWrapper<ImageLocalService> {
028 public ImageLocalServiceWrapper(ImageLocalService imageLocalService) {
029 _imageLocalService = imageLocalService;
030 }
031
032
039 public com.liferay.portal.model.Image addImage(
040 com.liferay.portal.model.Image image)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return _imageLocalService.addImage(image);
043 }
044
045
051 public com.liferay.portal.model.Image createImage(long imageId) {
052 return _imageLocalService.createImage(imageId);
053 }
054
055
063 public com.liferay.portal.model.Image deleteImage(long imageId)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException {
066 return _imageLocalService.deleteImage(imageId);
067 }
068
069
076 public com.liferay.portal.model.Image deleteImage(
077 com.liferay.portal.model.Image image)
078 throws com.liferay.portal.kernel.exception.SystemException {
079 return _imageLocalService.deleteImage(image);
080 }
081
082 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
083 return _imageLocalService.dynamicQuery();
084 }
085
086
093 @SuppressWarnings("rawtypes")
094 public java.util.List dynamicQuery(
095 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
096 throws com.liferay.portal.kernel.exception.SystemException {
097 return _imageLocalService.dynamicQuery(dynamicQuery);
098 }
099
100
113 @SuppressWarnings("rawtypes")
114 public java.util.List dynamicQuery(
115 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
116 int end) throws com.liferay.portal.kernel.exception.SystemException {
117 return _imageLocalService.dynamicQuery(dynamicQuery, start, end);
118 }
119
120
134 @SuppressWarnings("rawtypes")
135 public java.util.List dynamicQuery(
136 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
137 int end,
138 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
139 throws com.liferay.portal.kernel.exception.SystemException {
140 return _imageLocalService.dynamicQuery(dynamicQuery, start, end,
141 orderByComparator);
142 }
143
144
151 public long dynamicQueryCount(
152 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
153 throws com.liferay.portal.kernel.exception.SystemException {
154 return _imageLocalService.dynamicQueryCount(dynamicQuery);
155 }
156
157 public com.liferay.portal.model.Image fetchImage(long imageId)
158 throws com.liferay.portal.kernel.exception.SystemException {
159 return _imageLocalService.fetchImage(imageId);
160 }
161
162
170 public com.liferay.portal.model.Image getImage(long imageId)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 return _imageLocalService.getImage(imageId);
174 }
175
176 public com.liferay.portal.model.PersistedModel getPersistedModel(
177 java.io.Serializable primaryKeyObj)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _imageLocalService.getPersistedModel(primaryKeyObj);
181 }
182
183
195 public java.util.List<com.liferay.portal.model.Image> getImages(int start,
196 int end) throws com.liferay.portal.kernel.exception.SystemException {
197 return _imageLocalService.getImages(start, end);
198 }
199
200
206 public int getImagesCount()
207 throws com.liferay.portal.kernel.exception.SystemException {
208 return _imageLocalService.getImagesCount();
209 }
210
211
218 public com.liferay.portal.model.Image updateImage(
219 com.liferay.portal.model.Image image)
220 throws com.liferay.portal.kernel.exception.SystemException {
221 return _imageLocalService.updateImage(image);
222 }
223
224
232 public com.liferay.portal.model.Image updateImage(
233 com.liferay.portal.model.Image image, boolean merge)
234 throws com.liferay.portal.kernel.exception.SystemException {
235 return _imageLocalService.updateImage(image, merge);
236 }
237
238
243 public java.lang.String getBeanIdentifier() {
244 return _imageLocalService.getBeanIdentifier();
245 }
246
247
252 public void setBeanIdentifier(java.lang.String beanIdentifier) {
253 _imageLocalService.setBeanIdentifier(beanIdentifier);
254 }
255
256 public com.liferay.portal.model.Image getCompanyLogo(long imageId) {
257 return _imageLocalService.getCompanyLogo(imageId);
258 }
259
260 public com.liferay.portal.model.Image getDefaultCompanyLogo() {
261 return _imageLocalService.getDefaultCompanyLogo();
262 }
263
264 public com.liferay.portal.model.Image getDefaultOrganizationLogo() {
265 return _imageLocalService.getDefaultOrganizationLogo();
266 }
267
268 public com.liferay.portal.model.Image getDefaultSpacer() {
269 return _imageLocalService.getDefaultSpacer();
270 }
271
272 public com.liferay.portal.model.Image getDefaultUserFemalePortrait() {
273 return _imageLocalService.getDefaultUserFemalePortrait();
274 }
275
276 public com.liferay.portal.model.Image getDefaultUserMalePortrait() {
277 return _imageLocalService.getDefaultUserMalePortrait();
278 }
279
280 public com.liferay.portal.model.Image getImage(byte[] bytes)
281 throws com.liferay.portal.kernel.exception.PortalException,
282 com.liferay.portal.kernel.exception.SystemException {
283 return _imageLocalService.getImage(bytes);
284 }
285
286 public com.liferay.portal.model.Image getImage(java.io.File file)
287 throws com.liferay.portal.kernel.exception.PortalException,
288 com.liferay.portal.kernel.exception.SystemException {
289 return _imageLocalService.getImage(file);
290 }
291
292 public com.liferay.portal.model.Image getImage(java.io.InputStream is)
293 throws com.liferay.portal.kernel.exception.PortalException,
294 com.liferay.portal.kernel.exception.SystemException {
295 return _imageLocalService.getImage(is);
296 }
297
298 public com.liferay.portal.model.Image getImage(java.io.InputStream is,
299 boolean cleanUpStream)
300 throws com.liferay.portal.kernel.exception.PortalException,
301 com.liferay.portal.kernel.exception.SystemException {
302 return _imageLocalService.getImage(is, cleanUpStream);
303 }
304
305 public com.liferay.portal.model.Image getImageOrDefault(long imageId) {
306 return _imageLocalService.getImageOrDefault(imageId);
307 }
308
309 public java.util.List<com.liferay.portal.model.Image> getImages()
310 throws com.liferay.portal.kernel.exception.SystemException {
311 return _imageLocalService.getImages();
312 }
313
314 public java.util.List<com.liferay.portal.model.Image> getImagesBySize(
315 int size) throws com.liferay.portal.kernel.exception.SystemException {
316 return _imageLocalService.getImagesBySize(size);
317 }
318
319 public boolean isNullOrDefaultSpacer(byte[] bytes) {
320 return _imageLocalService.isNullOrDefaultSpacer(bytes);
321 }
322
323 public com.liferay.portal.model.Image updateImage(long imageId, byte[] bytes)
324 throws com.liferay.portal.kernel.exception.PortalException,
325 com.liferay.portal.kernel.exception.SystemException {
326 return _imageLocalService.updateImage(imageId, bytes);
327 }
328
329 public com.liferay.portal.model.Image updateImage(long imageId,
330 byte[] bytes, java.lang.String type, int height, int width, int size)
331 throws com.liferay.portal.kernel.exception.PortalException,
332 com.liferay.portal.kernel.exception.SystemException {
333 return _imageLocalService.updateImage(imageId, bytes, type, height,
334 width, size);
335 }
336
337 public com.liferay.portal.model.Image updateImage(long imageId,
338 java.io.File file)
339 throws com.liferay.portal.kernel.exception.PortalException,
340 com.liferay.portal.kernel.exception.SystemException {
341 return _imageLocalService.updateImage(imageId, file);
342 }
343
344 public com.liferay.portal.model.Image updateImage(long imageId,
345 java.io.InputStream is)
346 throws com.liferay.portal.kernel.exception.PortalException,
347 com.liferay.portal.kernel.exception.SystemException {
348 return _imageLocalService.updateImage(imageId, is);
349 }
350
351 public com.liferay.portal.model.Image updateImage(long imageId,
352 java.io.InputStream is, boolean cleanUpStream)
353 throws com.liferay.portal.kernel.exception.PortalException,
354 com.liferay.portal.kernel.exception.SystemException {
355 return _imageLocalService.updateImage(imageId, is, cleanUpStream);
356 }
357
358
361 public ImageLocalService getWrappedImageLocalService() {
362 return _imageLocalService;
363 }
364
365
368 public void setWrappedImageLocalService(ImageLocalService imageLocalService) {
369 _imageLocalService = imageLocalService;
370 }
371
372 public ImageLocalService getWrappedService() {
373 return _imageLocalService;
374 }
375
376 public void setWrappedService(ImageLocalService imageLocalService) {
377 _imageLocalService = imageLocalService;
378 }
379
380 private ImageLocalService _imageLocalService;
381 }