001    /**
002     * Copyright (c) 2000-2013 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link SCLicenseService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see SCLicenseService
026     * @generated
027     */
028    @ProviderType
029    public class SCLicenseServiceWrapper implements SCLicenseService,
030            ServiceWrapper<SCLicenseService> {
031            public SCLicenseServiceWrapper(SCLicenseService scLicenseService) {
032                    _scLicenseService = scLicenseService;
033            }
034    
035            /**
036            * Returns the Spring bean ID for this bean.
037            *
038            * @return the Spring bean ID for this bean
039            */
040            @Override
041            public java.lang.String getBeanIdentifier() {
042                    return _scLicenseService.getBeanIdentifier();
043            }
044    
045            /**
046            * Sets the Spring bean ID for this bean.
047            *
048            * @param beanIdentifier the Spring bean ID for this bean
049            */
050            @Override
051            public void setBeanIdentifier(java.lang.String beanIdentifier) {
052                    _scLicenseService.setBeanIdentifier(beanIdentifier);
053            }
054    
055            @Override
056            public com.liferay.portlet.softwarecatalog.model.SCLicense addLicense(
057                    java.lang.String name, java.lang.String url, boolean openSource,
058                    boolean active, boolean recommended)
059                    throws com.liferay.portal.kernel.exception.PortalException,
060                            com.liferay.portal.kernel.exception.SystemException {
061                    return _scLicenseService.addLicense(name, url, openSource, active,
062                            recommended);
063            }
064    
065            @Override
066            public void deleteLicense(long licenseId)
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException {
069                    _scLicenseService.deleteLicense(licenseId);
070            }
071    
072            @Override
073            public com.liferay.portlet.softwarecatalog.model.SCLicense getLicense(
074                    long licenseId)
075                    throws com.liferay.portal.kernel.exception.PortalException,
076                            com.liferay.portal.kernel.exception.SystemException {
077                    return _scLicenseService.getLicense(licenseId);
078            }
079    
080            @Override
081            public com.liferay.portlet.softwarecatalog.model.SCLicense updateLicense(
082                    long licenseId, java.lang.String name, java.lang.String url,
083                    boolean openSource, boolean active, boolean recommended)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _scLicenseService.updateLicense(licenseId, name, url,
087                            openSource, active, recommended);
088            }
089    
090            /**
091             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
092             */
093            public SCLicenseService getWrappedSCLicenseService() {
094                    return _scLicenseService;
095            }
096    
097            /**
098             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
099             */
100            public void setWrappedSCLicenseService(SCLicenseService scLicenseService) {
101                    _scLicenseService = scLicenseService;
102            }
103    
104            @Override
105            public SCLicenseService getWrappedService() {
106                    return _scLicenseService;
107            }
108    
109            @Override
110            public void setWrappedService(SCLicenseService scLicenseService) {
111                    _scLicenseService = scLicenseService;
112            }
113    
114            private SCLicenseService _scLicenseService;
115    }