001    /**
002     * Copyright (c) 2000-2010 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.portlet.imagegallery.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link IGFolderService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       IGFolderService
024     * @generated
025     */
026    public class IGFolderServiceWrapper implements IGFolderService {
027            public IGFolderServiceWrapper(IGFolderService igFolderService) {
028                    _igFolderService = igFolderService;
029            }
030    
031            public com.liferay.portlet.imagegallery.model.IGFolder addFolder(
032                    long parentFolderId, java.lang.String name,
033                    java.lang.String description,
034                    com.liferay.portal.service.ServiceContext serviceContext)
035                    throws com.liferay.portal.kernel.exception.PortalException,
036                            com.liferay.portal.kernel.exception.SystemException {
037                    return _igFolderService.addFolder(parentFolderId, name, description,
038                            serviceContext);
039            }
040    
041            public com.liferay.portlet.imagegallery.model.IGFolder copyFolder(
042                    long sourceFolderId, long parentFolderId, java.lang.String name,
043                    java.lang.String description,
044                    com.liferay.portal.service.ServiceContext serviceContext)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    return _igFolderService.copyFolder(sourceFolderId, parentFolderId,
048                            name, description, serviceContext);
049            }
050    
051            public void deleteFolder(long folderId)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException {
054                    _igFolderService.deleteFolder(folderId);
055            }
056    
057            public com.liferay.portlet.imagegallery.model.IGFolder getFolder(
058                    long folderId)
059                    throws com.liferay.portal.kernel.exception.PortalException,
060                            com.liferay.portal.kernel.exception.SystemException {
061                    return _igFolderService.getFolder(folderId);
062            }
063    
064            public com.liferay.portlet.imagegallery.model.IGFolder getFolder(
065                    long groupId, long parentFolderId, java.lang.String name)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    return _igFolderService.getFolder(groupId, parentFolderId, name);
069            }
070    
071            public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> getFolders(
072                    long groupId, long parentFolderId)
073                    throws com.liferay.portal.kernel.exception.SystemException {
074                    return _igFolderService.getFolders(groupId, parentFolderId);
075            }
076    
077            public java.util.List<com.liferay.portlet.imagegallery.model.IGFolder> getFolders(
078                    long groupId, long parentFolderId, int start, int end)
079                    throws com.liferay.portal.kernel.exception.SystemException {
080                    return _igFolderService.getFolders(groupId, parentFolderId, start, end);
081            }
082    
083            public int getFoldersCount(long groupId, long parentFolderId)
084                    throws com.liferay.portal.kernel.exception.SystemException {
085                    return _igFolderService.getFoldersCount(groupId, parentFolderId);
086            }
087    
088            public com.liferay.portlet.imagegallery.model.IGFolder updateFolder(
089                    long folderId, long parentFolderId, java.lang.String name,
090                    java.lang.String description, boolean mergeWithParentFolder,
091                    com.liferay.portal.service.ServiceContext serviceContext)
092                    throws com.liferay.portal.kernel.exception.PortalException,
093                            com.liferay.portal.kernel.exception.SystemException {
094                    return _igFolderService.updateFolder(folderId, parentFolderId, name,
095                            description, mergeWithParentFolder, serviceContext);
096            }
097    
098            public IGFolderService getWrappedIGFolderService() {
099                    return _igFolderService;
100            }
101    
102            private IGFolderService _igFolderService;
103    }