001    /**
002     * Copyright (c) 2000-present 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link SCProductVersionService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see SCProductVersionService
026     * @generated
027     */
028    @ProviderType
029    public class SCProductVersionServiceWrapper implements SCProductVersionService,
030            ServiceWrapper<SCProductVersionService> {
031            public SCProductVersionServiceWrapper(
032                    SCProductVersionService scProductVersionService) {
033                    _scProductVersionService = scProductVersionService;
034            }
035    
036            @Override
037            public com.liferay.portlet.softwarecatalog.model.SCProductVersion addProductVersion(
038                    long productEntryId, java.lang.String version,
039                    java.lang.String changeLog, java.lang.String downloadPageURL,
040                    java.lang.String directDownloadURL, boolean testDirectDownloadURL,
041                    boolean repoStoreArtifact, long[] frameworkVersionIds,
042                    com.liferay.portal.service.ServiceContext serviceContext)
043                    throws com.liferay.portal.kernel.exception.PortalException {
044                    return _scProductVersionService.addProductVersion(productEntryId,
045                            version, changeLog, downloadPageURL, directDownloadURL,
046                            testDirectDownloadURL, repoStoreArtifact, frameworkVersionIds,
047                            serviceContext);
048            }
049    
050            @Override
051            public void deleteProductVersion(long productVersionId)
052                    throws com.liferay.portal.kernel.exception.PortalException {
053                    _scProductVersionService.deleteProductVersion(productVersionId);
054            }
055    
056            /**
057            * Returns the OSGi service identifier.
058            *
059            * @return the OSGi service identifier
060            */
061            @Override
062            public java.lang.String getOSGiServiceIdentifier() {
063                    return _scProductVersionService.getOSGiServiceIdentifier();
064            }
065    
066            @Override
067            public com.liferay.portlet.softwarecatalog.model.SCProductVersion getProductVersion(
068                    long productVersionId)
069                    throws com.liferay.portal.kernel.exception.PortalException {
070                    return _scProductVersionService.getProductVersion(productVersionId);
071            }
072    
073            @Override
074            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductVersion> getProductVersions(
075                    long productEntryId, int start, int end)
076                    throws com.liferay.portal.kernel.exception.PortalException {
077                    return _scProductVersionService.getProductVersions(productEntryId,
078                            start, end);
079            }
080    
081            @Override
082            public int getProductVersionsCount(long productEntryId)
083                    throws com.liferay.portal.kernel.exception.PortalException {
084                    return _scProductVersionService.getProductVersionsCount(productEntryId);
085            }
086    
087            @Override
088            public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
089                    long productVersionId, java.lang.String version,
090                    java.lang.String changeLog, java.lang.String downloadPageURL,
091                    java.lang.String directDownloadURL, boolean testDirectDownloadURL,
092                    boolean repoStoreArtifact, long[] frameworkVersionIds)
093                    throws com.liferay.portal.kernel.exception.PortalException {
094                    return _scProductVersionService.updateProductVersion(productVersionId,
095                            version, changeLog, downloadPageURL, directDownloadURL,
096                            testDirectDownloadURL, repoStoreArtifact, frameworkVersionIds);
097            }
098    
099            /**
100             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
101             */
102            @Deprecated
103            public SCProductVersionService getWrappedSCProductVersionService() {
104                    return _scProductVersionService;
105            }
106    
107            /**
108             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
109             */
110            @Deprecated
111            public void setWrappedSCProductVersionService(
112                    SCProductVersionService scProductVersionService) {
113                    _scProductVersionService = scProductVersionService;
114            }
115    
116            @Override
117            public SCProductVersionService getWrappedService() {
118                    return _scProductVersionService;
119            }
120    
121            @Override
122            public void setWrappedService(
123                    SCProductVersionService scProductVersionService) {
124                    _scProductVersionService = scProductVersionService;
125            }
126    
127            private SCProductVersionService _scProductVersionService;
128    }