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     * Provides a wrapper for {@link LayoutRevisionService}.
019     *
020     * @author Brian Wing Shun Chan
021     * @see LayoutRevisionService
022     * @generated
023     */
024    public class LayoutRevisionServiceWrapper implements LayoutRevisionService,
025            ServiceWrapper<LayoutRevisionService> {
026            public LayoutRevisionServiceWrapper(
027                    LayoutRevisionService layoutRevisionService) {
028                    _layoutRevisionService = layoutRevisionService;
029            }
030    
031            /**
032            * Returns the Spring bean ID for this bean.
033            *
034            * @return the Spring bean ID for this bean
035            */
036            @Override
037            public java.lang.String getBeanIdentifier() {
038                    return _layoutRevisionService.getBeanIdentifier();
039            }
040    
041            /**
042            * Sets the Spring bean ID for this bean.
043            *
044            * @param beanIdentifier the Spring bean ID for this bean
045            */
046            @Override
047            public void setBeanIdentifier(java.lang.String beanIdentifier) {
048                    _layoutRevisionService.setBeanIdentifier(beanIdentifier);
049            }
050    
051            @Override
052            public com.liferay.portal.model.LayoutRevision addLayoutRevision(
053                    long userId, long layoutSetBranchId, long layoutBranchId,
054                    long parentLayoutRevisionId, boolean head, long plid,
055                    long portletPreferencesPlid, boolean privateLayout,
056                    java.lang.String name, java.lang.String title,
057                    java.lang.String description, java.lang.String keywords,
058                    java.lang.String robots, java.lang.String typeSettings,
059                    boolean iconImage, long iconImageId, java.lang.String themeId,
060                    java.lang.String colorSchemeId, java.lang.String wapThemeId,
061                    java.lang.String wapColorSchemeId, java.lang.String css,
062                    com.liferay.portal.service.ServiceContext serviceContext)
063                    throws com.liferay.portal.kernel.exception.PortalException,
064                            com.liferay.portal.kernel.exception.SystemException {
065                    return _layoutRevisionService.addLayoutRevision(userId,
066                            layoutSetBranchId, layoutBranchId, parentLayoutRevisionId, head,
067                            plid, portletPreferencesPlid, privateLayout, name, title,
068                            description, keywords, robots, typeSettings, iconImage,
069                            iconImageId, themeId, colorSchemeId, wapThemeId, wapColorSchemeId,
070                            css, serviceContext);
071            }
072    
073            /**
074             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
075             */
076            public LayoutRevisionService getWrappedLayoutRevisionService() {
077                    return _layoutRevisionService;
078            }
079    
080            /**
081             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
082             */
083            public void setWrappedLayoutRevisionService(
084                    LayoutRevisionService layoutRevisionService) {
085                    _layoutRevisionService = layoutRevisionService;
086            }
087    
088            @Override
089            public LayoutRevisionService getWrappedService() {
090                    return _layoutRevisionService;
091            }
092    
093            @Override
094            public void setWrappedService(LayoutRevisionService layoutRevisionService) {
095                    _layoutRevisionService = layoutRevisionService;
096            }
097    
098            private LayoutRevisionService _layoutRevisionService;
099    }