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