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