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 Spring bean ID for this bean.
058            *
059            * @return the Spring bean ID for this bean
060            */
061            @Override
062            public java.lang.String getBeanIdentifier() {
063                    return _scProductVersionService.getBeanIdentifier();
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            /**
088            * Sets the Spring bean ID for this bean.
089            *
090            * @param beanIdentifier the Spring bean ID for this bean
091            */
092            @Override
093            public void setBeanIdentifier(java.lang.String beanIdentifier) {
094                    _scProductVersionService.setBeanIdentifier(beanIdentifier);
095            }
096    
097            @Override
098            public com.liferay.portlet.softwarecatalog.model.SCProductVersion updateProductVersion(
099                    long productVersionId, java.lang.String version,
100                    java.lang.String changeLog, java.lang.String downloadPageURL,
101                    java.lang.String directDownloadURL, boolean testDirectDownloadURL,
102                    boolean repoStoreArtifact, long[] frameworkVersionIds)
103                    throws com.liferay.portal.kernel.exception.PortalException {
104                    return _scProductVersionService.updateProductVersion(productVersionId,
105                            version, changeLog, downloadPageURL, directDownloadURL,
106                            testDirectDownloadURL, repoStoreArtifact, frameworkVersionIds);
107            }
108    
109            /**
110             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
111             */
112            @Deprecated
113            public SCProductVersionService getWrappedSCProductVersionService() {
114                    return _scProductVersionService;
115            }
116    
117            /**
118             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
119             */
120            @Deprecated
121            public void setWrappedSCProductVersionService(
122                    SCProductVersionService scProductVersionService) {
123                    _scProductVersionService = scProductVersionService;
124            }
125    
126            @Override
127            public SCProductVersionService getWrappedService() {
128                    return _scProductVersionService;
129            }
130    
131            @Override
132            public void setWrappedService(
133                    SCProductVersionService scProductVersionService) {
134                    _scProductVersionService = scProductVersionService;
135            }
136    
137            private SCProductVersionService _scProductVersionService;
138    }