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