001    /**
002     * Copyright (c) 2000-2011 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                    boolean privateLayout, java.lang.String name, java.lang.String title,
037                    java.lang.String description, java.lang.String keywords,
038                    java.lang.String robots, java.lang.String typeSettings,
039                    boolean iconImage, long iconImageId, java.lang.String themeId,
040                    java.lang.String colorSchemeId, java.lang.String wapThemeId,
041                    java.lang.String wapColorSchemeId, java.lang.String css,
042                    com.liferay.portal.service.ServiceContext serviceContext)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    return _layoutRevisionService.addLayoutRevision(userId,
046                            layoutSetBranchId, layoutBranchId, parentLayoutRevisionId, head,
047                            plid, privateLayout, name, title, description, keywords, robots,
048                            typeSettings, iconImage, iconImageId, themeId, colorSchemeId,
049                            wapThemeId, wapColorSchemeId, css, serviceContext);
050            }
051    
052            /**
053             * @deprecated Renamed to {@link #getWrappedService}
054             */
055            public LayoutRevisionService getWrappedLayoutRevisionService() {
056                    return _layoutRevisionService;
057            }
058    
059            /**
060             * @deprecated Renamed to {@link #setWrappedService}
061             */
062            public void setWrappedLayoutRevisionService(
063                    LayoutRevisionService layoutRevisionService) {
064                    _layoutRevisionService = layoutRevisionService;
065            }
066    
067            public LayoutRevisionService getWrappedService() {
068                    return _layoutRevisionService;
069            }
070    
071            public void setWrappedService(LayoutRevisionService layoutRevisionService) {
072                    _layoutRevisionService = layoutRevisionService;
073            }
074    
075            private LayoutRevisionService _layoutRevisionService;
076    }