001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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    }