001    /**
002     * Copyright (c) 2000-2010 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    
018    /**
019     * <p>
020     * This class is a wrapper for {@link SCLicenseLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       SCLicenseLocalService
025     * @generated
026     */
027    public class SCLicenseLocalServiceWrapper implements SCLicenseLocalService {
028            public SCLicenseLocalServiceWrapper(
029                    SCLicenseLocalService scLicenseLocalService) {
030                    _scLicenseLocalService = scLicenseLocalService;
031            }
032    
033            public com.liferay.portlet.softwarecatalog.model.SCLicense addSCLicense(
034                    com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
035                    throws com.liferay.portal.kernel.exception.SystemException {
036                    return _scLicenseLocalService.addSCLicense(scLicense);
037            }
038    
039            public com.liferay.portlet.softwarecatalog.model.SCLicense createSCLicense(
040                    long licenseId) {
041                    return _scLicenseLocalService.createSCLicense(licenseId);
042            }
043    
044            public void deleteSCLicense(long licenseId)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _scLicenseLocalService.deleteSCLicense(licenseId);
048            }
049    
050            public void deleteSCLicense(
051                    com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
052                    throws com.liferay.portal.kernel.exception.SystemException {
053                    _scLicenseLocalService.deleteSCLicense(scLicense);
054            }
055    
056            @SuppressWarnings("unchecked")
057            public java.util.List dynamicQuery(
058                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
059                    throws com.liferay.portal.kernel.exception.SystemException {
060                    return _scLicenseLocalService.dynamicQuery(dynamicQuery);
061            }
062    
063            @SuppressWarnings("unchecked")
064            public java.util.List dynamicQuery(
065                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066                    int end) throws com.liferay.portal.kernel.exception.SystemException {
067                    return _scLicenseLocalService.dynamicQuery(dynamicQuery, start, end);
068            }
069    
070            @SuppressWarnings("unchecked")
071            public java.util.List dynamicQuery(
072                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
073                    int end,
074                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075                    throws com.liferay.portal.kernel.exception.SystemException {
076                    return _scLicenseLocalService.dynamicQuery(dynamicQuery, start, end,
077                            orderByComparator);
078            }
079    
080            public long dynamicQueryCount(
081                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
082                    throws com.liferay.portal.kernel.exception.SystemException {
083                    return _scLicenseLocalService.dynamicQueryCount(dynamicQuery);
084            }
085    
086            public com.liferay.portlet.softwarecatalog.model.SCLicense getSCLicense(
087                    long licenseId)
088                    throws com.liferay.portal.kernel.exception.PortalException,
089                            com.liferay.portal.kernel.exception.SystemException {
090                    return _scLicenseLocalService.getSCLicense(licenseId);
091            }
092    
093            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(
094                    int start, int end)
095                    throws com.liferay.portal.kernel.exception.SystemException {
096                    return _scLicenseLocalService.getSCLicenses(start, end);
097            }
098    
099            public int getSCLicensesCount()
100                    throws com.liferay.portal.kernel.exception.SystemException {
101                    return _scLicenseLocalService.getSCLicensesCount();
102            }
103    
104            public com.liferay.portlet.softwarecatalog.model.SCLicense updateSCLicense(
105                    com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
106                    throws com.liferay.portal.kernel.exception.SystemException {
107                    return _scLicenseLocalService.updateSCLicense(scLicense);
108            }
109    
110            public com.liferay.portlet.softwarecatalog.model.SCLicense updateSCLicense(
111                    com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
112                    boolean merge)
113                    throws com.liferay.portal.kernel.exception.SystemException {
114                    return _scLicenseLocalService.updateSCLicense(scLicense, merge);
115            }
116    
117            public com.liferay.portlet.softwarecatalog.model.SCLicense addLicense(
118                    java.lang.String name, java.lang.String url, boolean openSource,
119                    boolean active, boolean recommended)
120                    throws com.liferay.portal.kernel.exception.PortalException,
121                            com.liferay.portal.kernel.exception.SystemException {
122                    return _scLicenseLocalService.addLicense(name, url, openSource, active,
123                            recommended);
124            }
125    
126            public void deleteLicense(long licenseId)
127                    throws com.liferay.portal.kernel.exception.PortalException,
128                            com.liferay.portal.kernel.exception.SystemException {
129                    _scLicenseLocalService.deleteLicense(licenseId);
130            }
131    
132            public com.liferay.portlet.softwarecatalog.model.SCLicense getLicense(
133                    long licenseId)
134                    throws com.liferay.portal.kernel.exception.PortalException,
135                            com.liferay.portal.kernel.exception.SystemException {
136                    return _scLicenseLocalService.getLicense(licenseId);
137            }
138    
139            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses()
140                    throws com.liferay.portal.kernel.exception.SystemException {
141                    return _scLicenseLocalService.getLicenses();
142            }
143    
144            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(
145                    boolean active, boolean recommended)
146                    throws com.liferay.portal.kernel.exception.SystemException {
147                    return _scLicenseLocalService.getLicenses(active, recommended);
148            }
149    
150            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(
151                    boolean active, boolean recommended, int start, int end)
152                    throws com.liferay.portal.kernel.exception.SystemException {
153                    return _scLicenseLocalService.getLicenses(active, recommended, start,
154                            end);
155            }
156    
157            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(
158                    int start, int end)
159                    throws com.liferay.portal.kernel.exception.SystemException {
160                    return _scLicenseLocalService.getLicenses(start, end);
161            }
162    
163            public int getLicensesCount()
164                    throws com.liferay.portal.kernel.exception.SystemException {
165                    return _scLicenseLocalService.getLicensesCount();
166            }
167    
168            public int getLicensesCount(boolean active, boolean recommended)
169                    throws com.liferay.portal.kernel.exception.SystemException {
170                    return _scLicenseLocalService.getLicensesCount(active, recommended);
171            }
172    
173            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getProductEntryLicenses(
174                    long productEntryId)
175                    throws com.liferay.portal.kernel.exception.SystemException {
176                    return _scLicenseLocalService.getProductEntryLicenses(productEntryId);
177            }
178    
179            public com.liferay.portlet.softwarecatalog.model.SCLicense updateLicense(
180                    long licenseId, java.lang.String name, java.lang.String url,
181                    boolean openSource, boolean active, boolean recommended)
182                    throws com.liferay.portal.kernel.exception.PortalException,
183                            com.liferay.portal.kernel.exception.SystemException {
184                    return _scLicenseLocalService.updateLicense(licenseId, name, url,
185                            openSource, active, recommended);
186            }
187    
188            public SCLicenseLocalService getWrappedSCLicenseLocalService() {
189                    return _scLicenseLocalService;
190            }
191    
192            private SCLicenseLocalService _scLicenseLocalService;
193    }