001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.imagegallery.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link IGImageService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       IGImageService
024     * @generated
025     */
026    public class IGImageServiceWrapper implements IGImageService {
027            public IGImageServiceWrapper(IGImageService igImageService) {
028                    _igImageService = igImageService;
029            }
030    
031            public com.liferay.portlet.imagegallery.model.IGImage addImage(
032                    long groupId, long folderId, java.lang.String name,
033                    java.lang.String description, java.io.File file,
034                    java.lang.String contentType,
035                    com.liferay.portal.service.ServiceContext serviceContext)
036                    throws com.liferay.portal.kernel.exception.PortalException,
037                            com.liferay.portal.kernel.exception.SystemException {
038                    return _igImageService.addImage(groupId, folderId, name, description,
039                            file, contentType, serviceContext);
040            }
041    
042            public void deleteImage(long imageId)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _igImageService.deleteImage(imageId);
046            }
047    
048            public void deleteImageByFolderIdAndNameWithExtension(long groupId,
049                    long folderId, java.lang.String nameWithExtension)
050                    throws com.liferay.portal.kernel.exception.PortalException,
051                            com.liferay.portal.kernel.exception.SystemException {
052                    _igImageService.deleteImageByFolderIdAndNameWithExtension(groupId,
053                            folderId, nameWithExtension);
054            }
055    
056            public int getFoldersImagesCount(long groupId,
057                    java.util.List<java.lang.Long> folderIds)
058                    throws com.liferay.portal.kernel.exception.SystemException {
059                    return _igImageService.getFoldersImagesCount(groupId, folderIds);
060            }
061    
062            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getGroupImages(
063                    long groupId, long userId, int start, int end)
064                    throws com.liferay.portal.kernel.exception.SystemException {
065                    return _igImageService.getGroupImages(groupId, userId, start, end);
066            }
067    
068            public int getGroupImagesCount(long groupId, long userId)
069                    throws com.liferay.portal.kernel.exception.SystemException {
070                    return _igImageService.getGroupImagesCount(groupId, userId);
071            }
072    
073            public com.liferay.portlet.imagegallery.model.IGImage getImage(long imageId)
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException {
076                    return _igImageService.getImage(imageId);
077            }
078    
079            public com.liferay.portlet.imagegallery.model.IGImage getImageByFolderIdAndNameWithExtension(
080                    long groupId, long folderId, java.lang.String nameWithExtension)
081                    throws com.liferay.portal.kernel.exception.PortalException,
082                            com.liferay.portal.kernel.exception.SystemException {
083                    return _igImageService.getImageByFolderIdAndNameWithExtension(groupId,
084                            folderId, nameWithExtension);
085            }
086    
087            public com.liferay.portlet.imagegallery.model.IGImage getImageByLargeImageId(
088                    long largeImageId)
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException {
091                    return _igImageService.getImageByLargeImageId(largeImageId);
092            }
093    
094            public com.liferay.portlet.imagegallery.model.IGImage getImageBySmallImageId(
095                    long smallImageId)
096                    throws com.liferay.portal.kernel.exception.PortalException,
097                            com.liferay.portal.kernel.exception.SystemException {
098                    return _igImageService.getImageBySmallImageId(smallImageId);
099            }
100    
101            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getImages(
102                    long groupId, long folderId)
103                    throws com.liferay.portal.kernel.exception.SystemException {
104                    return _igImageService.getImages(groupId, folderId);
105            }
106    
107            public java.util.List<com.liferay.portlet.imagegallery.model.IGImage> getImages(
108                    long groupId, long folderId, int start, int end)
109                    throws com.liferay.portal.kernel.exception.SystemException {
110                    return _igImageService.getImages(groupId, folderId, start, end);
111            }
112    
113            public int getImagesCount(long groupId, long folderId)
114                    throws com.liferay.portal.kernel.exception.SystemException {
115                    return _igImageService.getImagesCount(groupId, folderId);
116            }
117    
118            public com.liferay.portlet.imagegallery.model.IGImage updateImage(
119                    long imageId, long groupId, long folderId, java.lang.String name,
120                    java.lang.String description, java.io.File file,
121                    java.lang.String contentType,
122                    com.liferay.portal.service.ServiceContext serviceContext)
123                    throws com.liferay.portal.kernel.exception.PortalException,
124                            com.liferay.portal.kernel.exception.SystemException {
125                    return _igImageService.updateImage(imageId, groupId, folderId, name,
126                            description, file, contentType, serviceContext);
127            }
128    
129            public IGImageService getWrappedIGImageService() {
130                    return _igImageService;
131            }
132    
133            public void setWrappedIGImageService(IGImageService igImageService) {
134                    _igImageService = igImageService;
135            }
136    
137            private IGImageService _igImageService;
138    }