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