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 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            /**
046            * Sets the Spring bean ID for this bean.
047            *
048            * @param beanIdentifier the Spring bean ID for this bean
049            */
050            @Override
051            public void setBeanIdentifier(java.lang.String beanIdentifier) {
052                    _layoutTemplateLocalService.setBeanIdentifier(beanIdentifier);
053            }
054    
055            @Override
056            public java.lang.String getContent(java.lang.String layoutTemplateId,
057                    boolean standard, java.lang.String themeId)
058                    throws com.liferay.portal.kernel.exception.SystemException {
059                    return _layoutTemplateLocalService.getContent(layoutTemplateId,
060                            standard, themeId);
061            }
062    
063            @Override
064            public com.liferay.portal.model.LayoutTemplate getLayoutTemplate(
065                    java.lang.String layoutTemplateId, boolean standard,
066                    java.lang.String themeId) {
067                    return _layoutTemplateLocalService.getLayoutTemplate(layoutTemplateId,
068                            standard, themeId);
069            }
070    
071            @Override
072            public java.util.List<com.liferay.portal.model.LayoutTemplate> getLayoutTemplates() {
073                    return _layoutTemplateLocalService.getLayoutTemplates();
074            }
075    
076            @Override
077            public java.util.List<com.liferay.portal.model.LayoutTemplate> getLayoutTemplates(
078                    java.lang.String themeId) {
079                    return _layoutTemplateLocalService.getLayoutTemplates(themeId);
080            }
081    
082            @Override
083            public java.lang.String getWapContent(java.lang.String layoutTemplateId,
084                    boolean standard, java.lang.String themeId)
085                    throws com.liferay.portal.kernel.exception.SystemException {
086                    return _layoutTemplateLocalService.getWapContent(layoutTemplateId,
087                            standard, themeId);
088            }
089    
090            @Override
091            public java.util.List<com.liferay.portal.model.LayoutTemplate> init(
092                    javax.servlet.ServletContext servletContext, java.lang.String[] xmls,
093                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
094                    return _layoutTemplateLocalService.init(servletContext, xmls,
095                            pluginPackage);
096            }
097    
098            @Override
099            public java.util.List<com.liferay.portal.model.LayoutTemplate> init(
100                    java.lang.String servletContextName,
101                    javax.servlet.ServletContext servletContext, java.lang.String[] xmls,
102                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
103                    return _layoutTemplateLocalService.init(servletContextName,
104                            servletContext, xmls, pluginPackage);
105            }
106    
107            @Override
108            public void readLayoutTemplate(java.lang.String servletContextName,
109                    javax.servlet.ServletContext servletContext,
110                    java.util.Set<com.liferay.portal.model.LayoutTemplate> layoutTemplates,
111                    com.liferay.portal.kernel.xml.Element element, boolean standard,
112                    java.lang.String themeId,
113                    com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
114                    _layoutTemplateLocalService.readLayoutTemplate(servletContextName,
115                            servletContext, layoutTemplates, element, standard, themeId,
116                            pluginPackage);
117            }
118    
119            @Override
120            public void uninstallLayoutTemplate(java.lang.String layoutTemplateId,
121                    boolean standard) {
122                    _layoutTemplateLocalService.uninstallLayoutTemplate(layoutTemplateId,
123                            standard);
124            }
125    
126            @Override
127            public void uninstallLayoutTemplates(java.lang.String themeId) {
128                    _layoutTemplateLocalService.uninstallLayoutTemplates(themeId);
129            }
130    
131            /**
132             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
133             */
134            public LayoutTemplateLocalService getWrappedLayoutTemplateLocalService() {
135                    return _layoutTemplateLocalService;
136            }
137    
138            /**
139             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
140             */
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    }