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            public LayoutRevisionServiceWrapper(
028                    LayoutRevisionService layoutRevisionService) {
029                    _layoutRevisionService = layoutRevisionService;
030            }
031    
032            public com.liferay.portal.model.LayoutRevision addLayoutRevision(
033                    long userId, long layoutSetBranchId, long layoutBranchId,
034                    long parentLayoutRevisionId, boolean head, long plid,
035                    boolean privateLayout, java.lang.String name, java.lang.String title,
036                    java.lang.String description, java.lang.String keywords,
037                    java.lang.String robots, java.lang.String typeSettings,
038                    boolean iconImage, long iconImageId, java.lang.String themeId,
039                    java.lang.String colorSchemeId, java.lang.String wapThemeId,
040                    java.lang.String wapColorSchemeId, java.lang.String css,
041                    com.liferay.portal.service.ServiceContext serviceContext)
042                    throws com.liferay.portal.kernel.exception.PortalException,
043                            com.liferay.portal.kernel.exception.SystemException {
044                    return _layoutRevisionService.addLayoutRevision(userId,
045                            layoutSetBranchId, layoutBranchId, parentLayoutRevisionId, head,
046                            plid, privateLayout, name, title, description, keywords, robots,
047                            typeSettings, iconImage, iconImageId, themeId, colorSchemeId,
048                            wapThemeId, wapColorSchemeId, css, serviceContext);
049            }
050    
051            public LayoutRevisionService getWrappedLayoutRevisionService() {
052                    return _layoutRevisionService;
053            }
054    
055            public void setWrappedLayoutRevisionService(
056                    LayoutRevisionService layoutRevisionService) {
057                    _layoutRevisionService = layoutRevisionService;
058            }
059    
060            private LayoutRevisionService _layoutRevisionService;
061    }