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