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