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.portal.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * Provides a wrapper for {@link LayoutRevisionService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see LayoutRevisionService
024     * @generated
025     */
026    @ProviderType
027    public class LayoutRevisionServiceWrapper implements LayoutRevisionService,
028            ServiceWrapper<LayoutRevisionService> {
029            public LayoutRevisionServiceWrapper(
030                    LayoutRevisionService layoutRevisionService) {
031                    _layoutRevisionService = layoutRevisionService;
032            }
033    
034            @Override
035            public com.liferay.portal.model.LayoutRevision addLayoutRevision(
036                    long userId, long layoutSetBranchId, long layoutBranchId,
037                    long parentLayoutRevisionId, boolean head, long plid,
038                    long portletPreferencesPlid, boolean privateLayout,
039                    java.lang.String name, java.lang.String title,
040                    java.lang.String description, java.lang.String keywords,
041                    java.lang.String robots, java.lang.String typeSettings,
042                    boolean iconImage, long iconImageId, java.lang.String themeId,
043                    java.lang.String colorSchemeId, java.lang.String wapThemeId,
044                    java.lang.String wapColorSchemeId, java.lang.String css,
045                    com.liferay.portal.service.ServiceContext serviceContext)
046                    throws com.liferay.portal.kernel.exception.PortalException {
047                    return _layoutRevisionService.addLayoutRevision(userId,
048                            layoutSetBranchId, layoutBranchId, parentLayoutRevisionId, head,
049                            plid, portletPreferencesPlid, privateLayout, name, title,
050                            description, keywords, robots, typeSettings, iconImage,
051                            iconImageId, themeId, colorSchemeId, wapThemeId, wapColorSchemeId,
052                            css, serviceContext);
053            }
054    
055            /**
056            * Returns the OSGi service identifier.
057            *
058            * @return the OSGi service identifier
059            */
060            @Override
061            public java.lang.String getOSGiServiceIdentifier() {
062                    return _layoutRevisionService.getOSGiServiceIdentifier();
063            }
064    
065            /**
066             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
067             */
068            @Deprecated
069            public LayoutRevisionService getWrappedLayoutRevisionService() {
070                    return _layoutRevisionService;
071            }
072    
073            /**
074             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
075             */
076            @Deprecated
077            public void setWrappedLayoutRevisionService(
078                    LayoutRevisionService layoutRevisionService) {
079                    _layoutRevisionService = layoutRevisionService;
080            }
081    
082            @Override
083            public LayoutRevisionService getWrappedService() {
084                    return _layoutRevisionService;
085            }
086    
087            @Override
088            public void setWrappedService(LayoutRevisionService layoutRevisionService) {
089                    _layoutRevisionService = layoutRevisionService;
090            }
091    
092            private LayoutRevisionService _layoutRevisionService;
093    }