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