001    /**
002     * Copyright (c) 2000-2010 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.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    }