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