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