001    /**
002     * Copyright (c) 2000-present 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.dynamicdatamapping.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link DDMStructureVersionService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see DDMStructureVersionService
026     * @generated
027     */
028    @ProviderType
029    public class DDMStructureVersionServiceWrapper
030            implements DDMStructureVersionService,
031                    ServiceWrapper<DDMStructureVersionService> {
032            public DDMStructureVersionServiceWrapper(
033                    DDMStructureVersionService ddmStructureVersionService) {
034                    _ddmStructureVersionService = ddmStructureVersionService;
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 _ddmStructureVersionService.getBeanIdentifier();
045            }
046    
047            @Override
048            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureVersion getLatestStructureVersion(
049                    long structureId)
050                    throws com.liferay.portal.kernel.exception.PortalException {
051                    return _ddmStructureVersionService.getLatestStructureVersion(structureId);
052            }
053    
054            @Override
055            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureVersion getStructureVersion(
056                    long structureVersionId)
057                    throws com.liferay.portal.kernel.exception.PortalException {
058                    return _ddmStructureVersionService.getStructureVersion(structureVersionId);
059            }
060    
061            @Override
062            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructureVersion> getStructureVersions(
063                    long structureId, int start, int end,
064                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStructureVersion> orderByComparator)
065                    throws com.liferay.portal.kernel.exception.PortalException {
066                    return _ddmStructureVersionService.getStructureVersions(structureId,
067                            start, end, orderByComparator);
068            }
069    
070            @Override
071            public int getStructureVersionsCount(long structureId)
072                    throws com.liferay.portal.kernel.exception.PortalException {
073                    return _ddmStructureVersionService.getStructureVersionsCount(structureId);
074            }
075    
076            /**
077            * Sets the Spring bean ID for this bean.
078            *
079            * @param beanIdentifier the Spring bean ID for this bean
080            */
081            @Override
082            public void setBeanIdentifier(java.lang.String beanIdentifier) {
083                    _ddmStructureVersionService.setBeanIdentifier(beanIdentifier);
084            }
085    
086            /**
087             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
088             */
089            @Deprecated
090            public DDMStructureVersionService getWrappedDDMStructureVersionService() {
091                    return _ddmStructureVersionService;
092            }
093    
094            /**
095             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
096             */
097            @Deprecated
098            public void setWrappedDDMStructureVersionService(
099                    DDMStructureVersionService ddmStructureVersionService) {
100                    _ddmStructureVersionService = ddmStructureVersionService;
101            }
102    
103            @Override
104            public DDMStructureVersionService getWrappedService() {
105                    return _ddmStructureVersionService;
106            }
107    
108            @Override
109            public void setWrappedService(
110                    DDMStructureVersionService ddmStructureVersionService) {
111                    _ddmStructureVersionService = ddmStructureVersionService;
112            }
113    
114            private DDMStructureVersionService _ddmStructureVersionService;
115    }