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            @Override
066            public LayoutRevisionService getWrappedService() {
067                    return _layoutRevisionService;
068            }
069    
070            @Override
071            public void setWrappedService(LayoutRevisionService layoutRevisionService) {
072                    _layoutRevisionService = layoutRevisionService;
073            }
074    
075            private LayoutRevisionService _layoutRevisionService;
076    }