001    /**
002     * Copyright (c) 2000-2013 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            /**
034            * Returns the Spring bean ID for this bean.
035            *
036            * @return the Spring bean ID for this bean
037            */
038            public java.lang.String getBeanIdentifier() {
039                    return _layoutRevisionService.getBeanIdentifier();
040            }
041    
042            /**
043            * Sets the Spring bean ID for this bean.
044            *
045            * @param beanIdentifier the Spring bean ID for this bean
046            */
047            public void setBeanIdentifier(java.lang.String beanIdentifier) {
048                    _layoutRevisionService.setBeanIdentifier(beanIdentifier);
049            }
050    
051            public com.liferay.portal.model.LayoutRevision addLayoutRevision(
052                    long userId, long layoutSetBranchId, long layoutBranchId,
053                    long parentLayoutRevisionId, boolean head, long plid,
054                    long portletPreferencesPlid, boolean privateLayout,
055                    java.lang.String name, java.lang.String title,
056                    java.lang.String description, java.lang.String keywords,
057                    java.lang.String robots, java.lang.String typeSettings,
058                    boolean iconImage, long iconImageId, java.lang.String themeId,
059                    java.lang.String colorSchemeId, java.lang.String wapThemeId,
060                    java.lang.String wapColorSchemeId, java.lang.String css,
061                    com.liferay.portal.service.ServiceContext serviceContext)
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException {
064                    return _layoutRevisionService.addLayoutRevision(userId,
065                            layoutSetBranchId, layoutBranchId, parentLayoutRevisionId, head,
066                            plid, portletPreferencesPlid, privateLayout, name, title,
067                            description, keywords, robots, typeSettings, iconImage,
068                            iconImageId, themeId, colorSchemeId, wapThemeId, wapColorSchemeId,
069                            css, serviceContext);
070            }
071    
072            /**
073             * @deprecated Renamed to {@link #getWrappedService}
074             */
075            public LayoutRevisionService getWrappedLayoutRevisionService() {
076                    return _layoutRevisionService;
077            }
078    
079            /**
080             * @deprecated Renamed to {@link #setWrappedService}
081             */
082            public void setWrappedLayoutRevisionService(
083                    LayoutRevisionService layoutRevisionService) {
084                    _layoutRevisionService = layoutRevisionService;
085            }
086    
087            public LayoutRevisionService getWrappedService() {
088                    return _layoutRevisionService;
089            }
090    
091            public void setWrappedService(LayoutRevisionService layoutRevisionService) {
092                    _layoutRevisionService = layoutRevisionService;
093            }
094    
095            private LayoutRevisionService _layoutRevisionService;
096    }