1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.service;
16  
17  
18  /**
19   * <a href="LayoutTemplateLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link LayoutTemplateLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       LayoutTemplateLocalService
32   * @generated
33   */
34  public class LayoutTemplateLocalServiceWrapper
35      implements LayoutTemplateLocalService {
36      public LayoutTemplateLocalServiceWrapper(
37          LayoutTemplateLocalService layoutTemplateLocalService) {
38          _layoutTemplateLocalService = layoutTemplateLocalService;
39      }
40  
41      public java.lang.String getContent(java.lang.String layoutTemplateId,
42          boolean standard, java.lang.String themeId)
43          throws com.liferay.portal.kernel.exception.SystemException {
44          return _layoutTemplateLocalService.getContent(layoutTemplateId,
45              standard, themeId);
46      }
47  
48      public com.liferay.portal.model.LayoutTemplate getLayoutTemplate(
49          java.lang.String layoutTemplateId, boolean standard,
50          java.lang.String themeId) {
51          return _layoutTemplateLocalService.getLayoutTemplate(layoutTemplateId,
52              standard, themeId);
53      }
54  
55      public java.util.List<com.liferay.portal.model.LayoutTemplate> getLayoutTemplates() {
56          return _layoutTemplateLocalService.getLayoutTemplates();
57      }
58  
59      public java.util.List<com.liferay.portal.model.LayoutTemplate> getLayoutTemplates(
60          java.lang.String themeId) {
61          return _layoutTemplateLocalService.getLayoutTemplates(themeId);
62      }
63  
64      public java.lang.String getWapContent(java.lang.String layoutTemplateId,
65          boolean standard, java.lang.String themeId)
66          throws com.liferay.portal.kernel.exception.SystemException {
67          return _layoutTemplateLocalService.getWapContent(layoutTemplateId,
68              standard, themeId);
69      }
70  
71      public java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<String, Boolean>> init(
72          javax.servlet.ServletContext servletContext, java.lang.String[] xmls,
73          com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
74          return _layoutTemplateLocalService.init(servletContext, xmls,
75              pluginPackage);
76      }
77  
78      public java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<String, Boolean>> init(
79          java.lang.String servletContextName,
80          javax.servlet.ServletContext servletContext, java.lang.String[] xmls,
81          com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
82          return _layoutTemplateLocalService.init(servletContextName,
83              servletContext, xmls, pluginPackage);
84      }
85  
86      public void readLayoutTemplate(java.lang.String servletContextName,
87          javax.servlet.ServletContext servletContext,
88          java.util.Set<com.liferay.portal.kernel.util.ObjectValuePair<String, Boolean>> layoutTemplateIds,
89          com.liferay.portal.kernel.xml.Element el, boolean standard,
90          java.lang.String themeId,
91          com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
92          _layoutTemplateLocalService.readLayoutTemplate(servletContextName,
93              servletContext, layoutTemplateIds, el, standard, themeId,
94              pluginPackage);
95      }
96  
97      public void uninstallLayoutTemplate(java.lang.String layoutTemplateId,
98          boolean standard) {
99          _layoutTemplateLocalService.uninstallLayoutTemplate(layoutTemplateId,
100             standard);
101     }
102 
103     public void uninstallLayoutTemplates(java.lang.String themeId) {
104         _layoutTemplateLocalService.uninstallLayoutTemplates(themeId);
105     }
106 
107     public LayoutTemplateLocalService getWrappedLayoutTemplateLocalService() {
108         return _layoutTemplateLocalService;
109     }
110 
111     private LayoutTemplateLocalService _layoutTemplateLocalService;
112 }