001    /**
002     * Copyright (c) 2000-2012 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    /**
018     * <p>
019     * This class is a wrapper for {@link LayoutRevisionService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       LayoutRevisionService
024     * @generated
025     */
026    public class LayoutRevisionServiceWrapper implements LayoutRevisionService,
027            ServiceWrapper<LayoutRevisionService> {
028            public LayoutRevisionServiceWrapper(
029                    LayoutRevisionService layoutRevisionService) {
030                    _layoutRevisionService = layoutRevisionService;
031            }
032    
033            public com.liferay.portal.model.LayoutRevision addLayoutRevision(
034                    long userId, long layoutSetBranchId, long layoutBranchId,
035                    long parentLayoutRevisionId, boolean head, long plid,
036                    long portletPreferencesPlid, boolean privateLayout,
037                    java.lang.String name, java.lang.String title,
038                    java.lang.String description, java.lang.String keywords,
039                    java.lang.String robots, java.lang.String typeSettings,
040                    boolean iconImage, long iconImageId, java.lang.String themeId,
041                    java.lang.String colorSchemeId, java.lang.String wapThemeId,
042                    java.lang.String wapColorSchemeId, java.lang.String css,
043                    com.liferay.portal.service.ServiceContext serviceContext)
044                    throws com.liferay.portal.kernel.exception.PortalException,
045                            com.liferay.portal.kernel.exception.SystemException {
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, wapThemeId, wapColorSchemeId,
051                            css, serviceContext);
052            }
053    
054            /**
055             * @deprecated Renamed to {@link #getWrappedService}
056             */
057            public LayoutRevisionService getWrappedLayoutRevisionService() {
058                    return _layoutRevisionService;
059            }
060    
061            /**
062             * @deprecated Renamed to {@link #setWrappedService}
063             */
064            public void setWrappedLayoutRevisionService(
065                    LayoutRevisionService layoutRevisionService) {
066                    _layoutRevisionService = layoutRevisionService;
067            }
068    
069            public LayoutRevisionService getWrappedService() {
070                    return _layoutRevisionService;
071            }
072    
073            public void setWrappedService(LayoutRevisionService layoutRevisionService) {
074                    _layoutRevisionService = layoutRevisionService;
075            }
076    
077            private LayoutRevisionService _layoutRevisionService;
078    }