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.softwarecatalog.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link SCLicenseService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       SCLicenseService
024     * @generated
025     */
026    public class SCLicenseServiceWrapper implements SCLicenseService {
027            public SCLicenseServiceWrapper(SCLicenseService scLicenseService) {
028                    _scLicenseService = scLicenseService;
029            }
030    
031            public com.liferay.portlet.softwarecatalog.model.SCLicense addLicense(
032                    java.lang.String name, java.lang.String url, boolean openSource,
033                    boolean active, boolean recommended)
034                    throws com.liferay.portal.kernel.exception.PortalException,
035                            com.liferay.portal.kernel.exception.SystemException {
036                    return _scLicenseService.addLicense(name, url, openSource, active,
037                            recommended);
038            }
039    
040            public void deleteLicense(long licenseId)
041                    throws com.liferay.portal.kernel.exception.PortalException,
042                            com.liferay.portal.kernel.exception.SystemException {
043                    _scLicenseService.deleteLicense(licenseId);
044            }
045    
046            public com.liferay.portlet.softwarecatalog.model.SCLicense getLicense(
047                    long licenseId)
048                    throws com.liferay.portal.kernel.exception.PortalException,
049                            com.liferay.portal.kernel.exception.SystemException {
050                    return _scLicenseService.getLicense(licenseId);
051            }
052    
053            public com.liferay.portlet.softwarecatalog.model.SCLicense updateLicense(
054                    long licenseId, java.lang.String name, java.lang.String url,
055                    boolean openSource, boolean active, boolean recommended)
056                    throws com.liferay.portal.kernel.exception.PortalException,
057                            com.liferay.portal.kernel.exception.SystemException {
058                    return _scLicenseService.updateLicense(licenseId, name, url,
059                            openSource, active, recommended);
060            }
061    
062            public SCLicenseService getWrappedSCLicenseService() {
063                    return _scLicenseService;
064            }
065    
066            private SCLicenseService _scLicenseService;
067    }