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 SCFrameworkVersionService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       SCFrameworkVersionService
026     * @generated
027     */
028    public class SCFrameworkVersionServiceWrapper
029            implements SCFrameworkVersionService,
030                    ServiceWrapper<SCFrameworkVersionService> {
031            public SCFrameworkVersionServiceWrapper(
032                    SCFrameworkVersionService scFrameworkVersionService) {
033                    _scFrameworkVersionService = scFrameworkVersionService;
034            }
035    
036            /**
037            * Returns the Spring bean ID for this bean.
038            *
039            * @return the Spring bean ID for this bean
040            */
041            public java.lang.String getBeanIdentifier() {
042                    return _scFrameworkVersionService.getBeanIdentifier();
043            }
044    
045            /**
046            * Sets the Spring bean ID for this bean.
047            *
048            * @param beanIdentifier the Spring bean ID for this bean
049            */
050            public void setBeanIdentifier(java.lang.String beanIdentifier) {
051                    _scFrameworkVersionService.setBeanIdentifier(beanIdentifier);
052            }
053    
054            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
055                    java.lang.String name, java.lang.String url, boolean active,
056                    int priority, com.liferay.portal.service.ServiceContext serviceContext)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    return _scFrameworkVersionService.addFrameworkVersion(name, url,
060                            active, priority, serviceContext);
061            }
062    
063            public void deleteFrameworkVersion(long frameworkVersionId)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    _scFrameworkVersionService.deleteFrameworkVersion(frameworkVersionId);
067            }
068    
069            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
070                    long frameworkVersionId)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    return _scFrameworkVersionService.getFrameworkVersion(frameworkVersionId);
074            }
075    
076            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
077                    long groupId, boolean active)
078                    throws com.liferay.portal.kernel.exception.SystemException {
079                    return _scFrameworkVersionService.getFrameworkVersions(groupId, active);
080            }
081    
082            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
083                    long groupId, boolean active, int start, int end)
084                    throws com.liferay.portal.kernel.exception.SystemException {
085                    return _scFrameworkVersionService.getFrameworkVersions(groupId, active,
086                            start, end);
087            }
088    
089            public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
090                    long frameworkVersionId, java.lang.String name, java.lang.String url,
091                    boolean active, int priority)
092                    throws com.liferay.portal.kernel.exception.PortalException,
093                            com.liferay.portal.kernel.exception.SystemException {
094                    return _scFrameworkVersionService.updateFrameworkVersion(frameworkVersionId,
095                            name, url, active, priority);
096            }
097    
098            /**
099             * @deprecated Renamed to {@link #getWrappedService}
100             */
101            public SCFrameworkVersionService getWrappedSCFrameworkVersionService() {
102                    return _scFrameworkVersionService;
103            }
104    
105            /**
106             * @deprecated Renamed to {@link #setWrappedService}
107             */
108            public void setWrappedSCFrameworkVersionService(
109                    SCFrameworkVersionService scFrameworkVersionService) {
110                    _scFrameworkVersionService = scFrameworkVersionService;
111            }
112    
113            public SCFrameworkVersionService getWrappedService() {
114                    return _scFrameworkVersionService;
115            }
116    
117            public void setWrappedService(
118                    SCFrameworkVersionService scFrameworkVersionService) {
119                    _scFrameworkVersionService = scFrameworkVersionService;
120            }
121    
122            private SCFrameworkVersionService _scFrameworkVersionService;
123    }