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