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