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