001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.service;
016    
017    /**
018     * Provides a wrapper for {@link ImageService}.
019     *
020     * @author Brian Wing Shun Chan
021     * @see ImageService
022     * @generated
023     */
024    public class ImageServiceWrapper implements ImageService,
025            ServiceWrapper<ImageService> {
026            public ImageServiceWrapper(ImageService imageService) {
027                    _imageService = imageService;
028            }
029    
030            /**
031            * Returns the Spring bean ID for this bean.
032            *
033            * @return the Spring bean ID for this bean
034            */
035            @Override
036            public java.lang.String getBeanIdentifier() {
037                    return _imageService.getBeanIdentifier();
038            }
039    
040            /**
041            * Sets the Spring bean ID for this bean.
042            *
043            * @param beanIdentifier the Spring bean ID for this bean
044            */
045            @Override
046            public void setBeanIdentifier(java.lang.String beanIdentifier) {
047                    _imageService.setBeanIdentifier(beanIdentifier);
048            }
049    
050            @Override
051            public com.liferay.portal.model.Image getImage(long imageId)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException {
054                    return _imageService.getImage(imageId);
055            }
056    
057            /**
058             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
059             */
060            public ImageService getWrappedImageService() {
061                    return _imageService;
062            }
063    
064            /**
065             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
066             */
067            public void setWrappedImageService(ImageService imageService) {
068                    _imageService = imageService;
069            }
070    
071            @Override
072            public ImageService getWrappedService() {
073                    return _imageService;
074            }
075    
076            @Override
077            public void setWrappedService(ImageService imageService) {
078                    _imageService = imageService;
079            }
080    
081            private ImageService _imageService;
082    }