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