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 SCProductVersionLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       SCProductVersionLocalService
024     * @generated
025     */
026    public class SCProductVersionLocalServiceWrapper
027            implements SCProductVersionLocalService {
028            public SCProductVersionLocalServiceWrapper(
029                    SCProductVersionLocalService scProductVersionLocalService) {
030                    _scProductVersionLocalService = scProductVersionLocalService;
031            }
032    
033            public com.liferay.portlet.softwarecatalog.model.SCProductVersion addSCProductVersion(
034                    com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
035                    throws com.liferay.portal.kernel.exception.SystemException {
036                    return _scProductVersionLocalService.addSCProductVersion(scProductVersion);
037            }
038    
039            public com.liferay.portlet.softwarecatalog.model.SCProductVersion createSCProductVersion(
040                    long productVersionId) {
041                    return _scProductVersionLocalService.createSCProductVersion(productVersionId);
042            }
043    
044            public void deleteSCProductVersion(long productVersionId)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _scProductVersionLocalService.deleteSCProductVersion(productVersionId);
048            }
049    
050            public void deleteSCProductVersion(
051                    com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
052                    throws com.liferay.portal.kernel.exception.SystemException {
053                    _scProductVersionLocalService.deleteSCProductVersion(scProductVersion);
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 _scProductVersionLocalService.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 _scProductVersionLocalService.dynamicQuery(dynamicQuery, start,
068                            end);
069            }
070    
071            @SuppressWarnings("unchecked")
072            public java.util.List dynamicQuery(
073                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
074                    int end,
075                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
076                    throws com.liferay.portal.kernel.exception.SystemException {
077                    return _scProductVersionLocalService.dynamicQuery(dynamicQuery, start,
078                            end, orderByComparator);
079            }
080    
081            public long dynamicQueryCount(
082                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
083                    throws com.liferay.portal.kernel.exception.SystemException {
084                    return _scProductVersionLocalService.dynamicQueryCount(dynamicQuery);
085            }
086    
087            public com.liferay.portlet.softwarecatalog.model.SCProductVersion getSCProductVersion(
088                    long productVersionId)
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException {
091                    return _scProductVersionLocalService.getSCProductVersion(productVersionId);
092            }
093    
094            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getSCProductVersions(
095                    int start, int end)
096                    throws com.liferay.portal.kernel.exception.SystemException {
097                    return _scProductVersionLocalService.getSCProductVersions(start, end);
098            }
099    
100            public int getSCProductVersionsCount()
101                    throws com.liferay.portal.kernel.exception.SystemException {
102                    return _scProductVersionLocalService.getSCProductVersionsCount();
103            }
104    
105            public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateSCProductVersion(
106                    com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
107                    throws com.liferay.portal.kernel.exception.SystemException {
108                    return _scProductVersionLocalService.updateSCProductVersion(scProductVersion);
109            }
110    
111            public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateSCProductVersion(
112                    com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion,
113                    boolean merge)
114                    throws com.liferay.portal.kernel.exception.SystemException {
115                    return _scProductVersionLocalService.updateSCProductVersion(scProductVersion,
116                            merge);
117            }
118    
119            public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
120                    long userId, long productEntryId, java.lang.String version,
121                    java.lang.String changeLog, java.lang.String downloadPageURL,
122                    java.lang.String directDownloadURL, boolean testDirectDownloadURL,
123                    boolean repoStoreArtifact, long[] frameworkVersionIds,
124                    com.liferay.portal.service.ServiceContext serviceContext)
125                    throws com.liferay.portal.kernel.exception.PortalException,
126                            com.liferay.portal.kernel.exception.SystemException {
127                    return _scProductVersionLocalService.addProductVersion(userId,
128                            productEntryId, version, changeLog, downloadPageURL,
129                            directDownloadURL, testDirectDownloadURL, repoStoreArtifact,
130                            frameworkVersionIds, serviceContext);
131            }
132    
133            public void deleteProductVersion(long productVersionId)
134                    throws com.liferay.portal.kernel.exception.PortalException,
135                            com.liferay.portal.kernel.exception.SystemException {
136                    _scProductVersionLocalService.deleteProductVersion(productVersionId);
137            }
138    
139            public void deleteProductVersion(
140                    com.liferay.portlet.softwarecatalog.model.SCProductVersion productVersion)
141                    throws com.liferay.portal.kernel.exception.SystemException {
142                    _scProductVersionLocalService.deleteProductVersion(productVersion);
143            }
144    
145            public void deleteProductVersions(long productEntryId)
146                    throws com.liferay.portal.kernel.exception.SystemException {
147                    _scProductVersionLocalService.deleteProductVersions(productEntryId);
148            }
149    
150            public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
151                    long productVersionId)
152                    throws com.liferay.portal.kernel.exception.PortalException,
153                            com.liferay.portal.kernel.exception.SystemException {
154                    return _scProductVersionLocalService.getProductVersion(productVersionId);
155            }
156    
157            public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersionByDirectDownloadURL(
158                    java.lang.String directDownloadURL)
159                    throws com.liferay.portal.kernel.exception.PortalException,
160                            com.liferay.portal.kernel.exception.SystemException {
161                    return _scProductVersionLocalService.getProductVersionByDirectDownloadURL(directDownloadURL);
162            }
163    
164            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getProductVersions(
165                    long productEntryId, int start, int end)
166                    throws com.liferay.portal.kernel.exception.SystemException {
167                    return _scProductVersionLocalService.getProductVersions(productEntryId,
168                            start, end);
169            }
170    
171            public int getProductVersionsCount(long productEntryId)
172                    throws com.liferay.portal.kernel.exception.SystemException {
173                    return _scProductVersionLocalService.getProductVersionsCount(productEntryId);
174            }
175    
176            public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
177                    long productVersionId, java.lang.String version,
178                    java.lang.String changeLog, java.lang.String downloadPageURL,
179                    java.lang.String directDownloadURL, boolean testDirectDownloadURL,
180                    boolean repoStoreArtifact, long[] frameworkVersionIds)
181                    throws com.liferay.portal.kernel.exception.PortalException,
182                            com.liferay.portal.kernel.exception.SystemException {
183                    return _scProductVersionLocalService.updateProductVersion(productVersionId,
184                            version, changeLog, downloadPageURL, directDownloadURL,
185                            testDirectDownloadURL, repoStoreArtifact, frameworkVersionIds);
186            }
187    
188            public SCProductVersionLocalService getWrappedSCProductVersionLocalService() {
189                    return _scProductVersionLocalService;
190            }
191    
192            private SCProductVersionLocalService _scProductVersionLocalService;
193    }