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