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