001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.softwarecatalog.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link SCFrameworkVersionService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       SCFrameworkVersionService
024     * @generated
025     */
026    public class SCFrameworkVersionServiceWrapper
027            implements SCFrameworkVersionService {
028            public SCFrameworkVersionServiceWrapper(
029                    SCFrameworkVersionService scFrameworkVersionService) {
030                    _scFrameworkVersionService = scFrameworkVersionService;
031            }
032    
033            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
034                    java.lang.String name, java.lang.String url, boolean active,
035                    int priority, com.liferay.portal.service.ServiceContext serviceContext)
036                    throws com.liferay.portal.kernel.exception.PortalException,
037                            com.liferay.portal.kernel.exception.SystemException {
038                    return _scFrameworkVersionService.addFrameworkVersion(name, url,
039                            active, priority, serviceContext);
040            }
041    
042            public void deleteFrameworkVersion(long frameworkVersionId)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _scFrameworkVersionService.deleteFrameworkVersion(frameworkVersionId);
046            }
047    
048            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
049                    long frameworkVersionId)
050                    throws com.liferay.portal.kernel.exception.PortalException,
051                            com.liferay.portal.kernel.exception.SystemException {
052                    return _scFrameworkVersionService.getFrameworkVersion(frameworkVersionId);
053            }
054    
055            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
056                    long groupId, boolean active)
057                    throws com.liferay.portal.kernel.exception.SystemException {
058                    return _scFrameworkVersionService.getFrameworkVersions(groupId, active);
059            }
060    
061            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
062                    long groupId, boolean active, int start, int end)
063                    throws com.liferay.portal.kernel.exception.SystemException {
064                    return _scFrameworkVersionService.getFrameworkVersions(groupId, active,
065                            start, end);
066            }
067    
068            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
069                    long frameworkVersionId, java.lang.String name, java.lang.String url,
070                    boolean active, int priority)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    return _scFrameworkVersionService.updateFrameworkVersion(frameworkVersionId,
074                            name, url, active, priority);
075            }
076    
077            public SCFrameworkVersionService getWrappedSCFrameworkVersionService() {
078                    return _scFrameworkVersionService;
079            }
080    
081            private SCFrameworkVersionService _scFrameworkVersionService;
082    }