001    /**
002     * Copyright (c) 2000-present 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 LayoutTemplateLocalService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see LayoutTemplateLocalService
024     * @generated
025     */
026    @ProviderType
027    public class LayoutTemplateLocalServiceWrapper
028            implements LayoutTemplateLocalService,
029                    ServiceWrapper<LayoutTemplateLocalService> {
030            public LayoutTemplateLocalServiceWrapper(
031                    LayoutTemplateLocalService layoutTemplateLocalService) {
032                    _layoutTemplateLocalService = layoutTemplateLocalService;
033            }
034    
035            /**
036            * Returns the Spring bean ID for this bean.
037            *
038            * @return the Spring bean ID for this bean
039            */
040            @Override
041            public java.lang.String getBeanIdentifier() {
042                    return _layoutTemplateLocalService.getBeanIdentifier();
043            }
044    
045            @Override
046            public java.lang.String getContent(java.lang.String layoutTemplateId,
047                    boolean standard, java.lang.String themeId) {
048                    return _layoutTemplateLocalService.getContent(layoutTemplateId,
049                            standard, themeId);
050            }
051    
052            @Override
053            public com.liferay.portal.model.LayoutTemplate getLayoutTemplate(
054                    java.lang.String layoutTemplateId, boolean standard,
055                    java.lang.String themeId) {
056                    return _layoutTemplateLocalService.getLayoutTemplate(layoutTemplateId,
057                            standard, themeId);
058            }
059    
060            @Override
061            public java.util.List<com.liferay.portal.model.LayoutTemplate> getLayoutTemplates() {
062                    return _layoutTemplateLocalService.getLayoutTemplates();
063            }
064    
065            @Override
066            public java.util.List<com.liferay.portal.model.LayoutTemplate> getLayoutTemplates(
067                    java.lang.String themeId) {
068                    return _layoutTemplateLocalService.getLayoutTemplates(themeId);
069            }
070    
071            @Override
072            public java.lang.String getWapContent(java.lang.String layoutTemplateId,
073                    boolean standard, java.lang.String themeId) {
074                    return _layoutTemplateLocalService.getWapContent(layoutTemplateId,
075                            standard, themeId);
076            }
077    
078            @Override
079            public java.util.List<com.liferay.portal.model.LayoutTemplate> init(
080                    javax.servlet.ServletContext servletContext, java.lang.String[] xmls,
081                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
082                    return _layoutTemplateLocalService.init(servletContext, xmls,
083                            pluginPackage);
084            }
085    
086            @Override
087            public java.util.List<com.liferay.portal.model.LayoutTemplate> init(
088                    java.lang.String servletContextName,
089                    javax.servlet.ServletContext servletContext, java.lang.String[] xmls,
090                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
091                    return _layoutTemplateLocalService.init(servletContextName,
092                            servletContext, xmls, pluginPackage);
093            }
094    
095            @Override
096            public void readLayoutTemplate(java.lang.String servletContextName,
097                    javax.servlet.ServletContext servletContext,
098                    java.util.Set<com.liferay.portal.model.LayoutTemplate> layoutTemplates,
099                    com.liferay.portal.kernel.xml.Element element, boolean standard,
100                    java.lang.String themeId,
101                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
102                    _layoutTemplateLocalService.readLayoutTemplate(servletContextName,
103                            servletContext, layoutTemplates, element, standard, themeId,
104                            pluginPackage);
105            }
106    
107            /**
108            * Sets the Spring bean ID for this bean.
109            *
110            * @param beanIdentifier the Spring bean ID for this bean
111            */
112            @Override
113            public void setBeanIdentifier(java.lang.String beanIdentifier) {
114                    _layoutTemplateLocalService.setBeanIdentifier(beanIdentifier);
115            }
116    
117            @Override
118            public void uninstallLayoutTemplate(java.lang.String layoutTemplateId,
119                    boolean standard) {
120                    _layoutTemplateLocalService.uninstallLayoutTemplate(layoutTemplateId,
121                            standard);
122            }
123    
124            @Override
125            public void uninstallLayoutTemplates(java.lang.String themeId) {
126                    _layoutTemplateLocalService.uninstallLayoutTemplates(themeId);
127            }
128    
129            /**
130             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
131             */
132            @Deprecated
133            public LayoutTemplateLocalService getWrappedLayoutTemplateLocalService() {
134                    return _layoutTemplateLocalService;
135            }
136    
137            /**
138             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
139             */
140            @Deprecated
141            public void setWrappedLayoutTemplateLocalService(
142                    LayoutTemplateLocalService layoutTemplateLocalService) {
143                    _layoutTemplateLocalService = layoutTemplateLocalService;
144            }
145    
146            @Override
147            public LayoutTemplateLocalService getWrappedService() {
148                    return _layoutTemplateLocalService;
149            }
150    
151            @Override
152            public void setWrappedService(
153                    LayoutTemplateLocalService layoutTemplateLocalService) {
154                    _layoutTemplateLocalService = layoutTemplateLocalService;
155            }
156    
157            private LayoutTemplateLocalService _layoutTemplateLocalService;
158    }