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.kernel.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.kernel.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 css,
044                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
045                    throws com.liferay.portal.kernel.exception.PortalException {
046                    return _layoutRevisionService.addLayoutRevision(userId,
047                            layoutSetBranchId, layoutBranchId, parentLayoutRevisionId, head,
048                            plid, portletPreferencesPlid, privateLayout, name, title,
049                            description, keywords, robots, typeSettings, iconImage,
050                            iconImageId, themeId, colorSchemeId, css, serviceContext);
051            }
052    
053            /**
054            * Returns the OSGi service identifier.
055            *
056            * @return the OSGi service identifier
057            */
058            @Override
059            public java.lang.String getOSGiServiceIdentifier() {
060                    return _layoutRevisionService.getOSGiServiceIdentifier();
061            }
062    
063            @Override
064            public LayoutRevisionService getWrappedService() {
065                    return _layoutRevisionService;
066            }
067    
068            @Override
069            public void setWrappedService(LayoutRevisionService layoutRevisionService) {
070                    _layoutRevisionService = layoutRevisionService;
071            }
072    
073            private LayoutRevisionService _layoutRevisionService;
074    }