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.portlet.expando.service;
16  
17  
18  /**
19   * <a href="ExpandoTableLocalServiceUtil.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 ExpandoTableLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       ExpandoTableLocalService
32   * @generated
33   */
34  public class ExpandoTableLocalServiceWrapper implements ExpandoTableLocalService {
35      public ExpandoTableLocalServiceWrapper(
36          ExpandoTableLocalService expandoTableLocalService) {
37          _expandoTableLocalService = expandoTableLocalService;
38      }
39  
40      public com.liferay.portlet.expando.model.ExpandoTable addExpandoTable(
41          com.liferay.portlet.expando.model.ExpandoTable expandoTable)
42          throws com.liferay.portal.kernel.exception.SystemException {
43          return _expandoTableLocalService.addExpandoTable(expandoTable);
44      }
45  
46      public com.liferay.portlet.expando.model.ExpandoTable createExpandoTable(
47          long tableId) {
48          return _expandoTableLocalService.createExpandoTable(tableId);
49      }
50  
51      public void deleteExpandoTable(long tableId)
52          throws com.liferay.portal.kernel.exception.PortalException,
53              com.liferay.portal.kernel.exception.SystemException {
54          _expandoTableLocalService.deleteExpandoTable(tableId);
55      }
56  
57      public void deleteExpandoTable(
58          com.liferay.portlet.expando.model.ExpandoTable expandoTable)
59          throws com.liferay.portal.kernel.exception.SystemException {
60          _expandoTableLocalService.deleteExpandoTable(expandoTable);
61      }
62  
63      public java.util.List<Object> dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.kernel.exception.SystemException {
66          return _expandoTableLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      public java.util.List<Object> dynamicQuery(
70          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71          int end) throws com.liferay.portal.kernel.exception.SystemException {
72          return _expandoTableLocalService.dynamicQuery(dynamicQuery, start, end);
73      }
74  
75      public com.liferay.portlet.expando.model.ExpandoTable getExpandoTable(
76          long tableId)
77          throws com.liferay.portal.kernel.exception.PortalException,
78              com.liferay.portal.kernel.exception.SystemException {
79          return _expandoTableLocalService.getExpandoTable(tableId);
80      }
81  
82      public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getExpandoTables(
83          int start, int end)
84          throws com.liferay.portal.kernel.exception.SystemException {
85          return _expandoTableLocalService.getExpandoTables(start, end);
86      }
87  
88      public int getExpandoTablesCount()
89          throws com.liferay.portal.kernel.exception.SystemException {
90          return _expandoTableLocalService.getExpandoTablesCount();
91      }
92  
93      public com.liferay.portlet.expando.model.ExpandoTable updateExpandoTable(
94          com.liferay.portlet.expando.model.ExpandoTable expandoTable)
95          throws com.liferay.portal.kernel.exception.SystemException {
96          return _expandoTableLocalService.updateExpandoTable(expandoTable);
97      }
98  
99      public com.liferay.portlet.expando.model.ExpandoTable updateExpandoTable(
100         com.liferay.portlet.expando.model.ExpandoTable expandoTable,
101         boolean merge)
102         throws com.liferay.portal.kernel.exception.SystemException {
103         return _expandoTableLocalService.updateExpandoTable(expandoTable, merge);
104     }
105 
106     public com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
107         long companyId, long classNameId)
108         throws com.liferay.portal.kernel.exception.PortalException,
109             com.liferay.portal.kernel.exception.SystemException {
110         return _expandoTableLocalService.addDefaultTable(companyId, classNameId);
111     }
112 
113     public com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
114         long companyId, java.lang.String className)
115         throws com.liferay.portal.kernel.exception.PortalException,
116             com.liferay.portal.kernel.exception.SystemException {
117         return _expandoTableLocalService.addDefaultTable(companyId, className);
118     }
119 
120     public com.liferay.portlet.expando.model.ExpandoTable addTable(
121         long companyId, long classNameId, java.lang.String name)
122         throws com.liferay.portal.kernel.exception.PortalException,
123             com.liferay.portal.kernel.exception.SystemException {
124         return _expandoTableLocalService.addTable(companyId, classNameId, name);
125     }
126 
127     public com.liferay.portlet.expando.model.ExpandoTable addTable(
128         long classNameId, java.lang.String name)
129         throws com.liferay.portal.kernel.exception.PortalException,
130             com.liferay.portal.kernel.exception.SystemException {
131         return _expandoTableLocalService.addTable(classNameId, name);
132     }
133 
134     public com.liferay.portlet.expando.model.ExpandoTable addTable(
135         long companyId, java.lang.String className, java.lang.String name)
136         throws com.liferay.portal.kernel.exception.PortalException,
137             com.liferay.portal.kernel.exception.SystemException {
138         return _expandoTableLocalService.addTable(companyId, className, name);
139     }
140 
141     public com.liferay.portlet.expando.model.ExpandoTable addTable(
142         java.lang.String className, java.lang.String name)
143         throws com.liferay.portal.kernel.exception.PortalException,
144             com.liferay.portal.kernel.exception.SystemException {
145         return _expandoTableLocalService.addTable(className, name);
146     }
147 
148     public void deleteTable(
149         com.liferay.portlet.expando.model.ExpandoTable table)
150         throws com.liferay.portal.kernel.exception.SystemException {
151         _expandoTableLocalService.deleteTable(table);
152     }
153 
154     public void deleteTable(long tableId)
155         throws com.liferay.portal.kernel.exception.PortalException,
156             com.liferay.portal.kernel.exception.SystemException {
157         _expandoTableLocalService.deleteTable(tableId);
158     }
159 
160     public void deleteTable(long companyId, long classNameId,
161         java.lang.String name)
162         throws com.liferay.portal.kernel.exception.PortalException,
163             com.liferay.portal.kernel.exception.SystemException {
164         _expandoTableLocalService.deleteTable(companyId, classNameId, name);
165     }
166 
167     public void deleteTable(long companyId, java.lang.String className,
168         java.lang.String name)
169         throws com.liferay.portal.kernel.exception.PortalException,
170             com.liferay.portal.kernel.exception.SystemException {
171         _expandoTableLocalService.deleteTable(companyId, className, name);
172     }
173 
174     public void deleteTables(long companyId, long classNameId)
175         throws com.liferay.portal.kernel.exception.SystemException {
176         _expandoTableLocalService.deleteTables(companyId, classNameId);
177     }
178 
179     public void deleteTables(long companyId, java.lang.String className)
180         throws com.liferay.portal.kernel.exception.SystemException {
181         _expandoTableLocalService.deleteTables(companyId, className);
182     }
183 
184     public com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
185         long companyId, long classNameId)
186         throws com.liferay.portal.kernel.exception.PortalException,
187             com.liferay.portal.kernel.exception.SystemException {
188         return _expandoTableLocalService.getDefaultTable(companyId, classNameId);
189     }
190 
191     public com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
192         long companyId, java.lang.String className)
193         throws com.liferay.portal.kernel.exception.PortalException,
194             com.liferay.portal.kernel.exception.SystemException {
195         return _expandoTableLocalService.getDefaultTable(companyId, className);
196     }
197 
198     public com.liferay.portlet.expando.model.ExpandoTable getTable(long tableId)
199         throws com.liferay.portal.kernel.exception.PortalException,
200             com.liferay.portal.kernel.exception.SystemException {
201         return _expandoTableLocalService.getTable(tableId);
202     }
203 
204     public com.liferay.portlet.expando.model.ExpandoTable getTable(
205         long companyId, long classNameId, java.lang.String name)
206         throws com.liferay.portal.kernel.exception.PortalException,
207             com.liferay.portal.kernel.exception.SystemException {
208         return _expandoTableLocalService.getTable(companyId, classNameId, name);
209     }
210 
211     public com.liferay.portlet.expando.model.ExpandoTable getTable(
212         long classNameId, java.lang.String name)
213         throws com.liferay.portal.kernel.exception.PortalException,
214             com.liferay.portal.kernel.exception.SystemException {
215         return _expandoTableLocalService.getTable(classNameId, name);
216     }
217 
218     public com.liferay.portlet.expando.model.ExpandoTable getTable(
219         long companyId, java.lang.String className, java.lang.String name)
220         throws com.liferay.portal.kernel.exception.PortalException,
221             com.liferay.portal.kernel.exception.SystemException {
222         return _expandoTableLocalService.getTable(companyId, className, name);
223     }
224 
225     public com.liferay.portlet.expando.model.ExpandoTable getTable(
226         java.lang.String className, java.lang.String name)
227         throws com.liferay.portal.kernel.exception.PortalException,
228             com.liferay.portal.kernel.exception.SystemException {
229         return _expandoTableLocalService.getTable(className, name);
230     }
231 
232     public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
233         long companyId, long classNameId)
234         throws com.liferay.portal.kernel.exception.SystemException {
235         return _expandoTableLocalService.getTables(companyId, classNameId);
236     }
237 
238     public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
239         long companyId, java.lang.String className)
240         throws com.liferay.portal.kernel.exception.SystemException {
241         return _expandoTableLocalService.getTables(companyId, className);
242     }
243 
244     public com.liferay.portlet.expando.model.ExpandoTable updateTable(
245         long tableId, java.lang.String name)
246         throws com.liferay.portal.kernel.exception.PortalException,
247             com.liferay.portal.kernel.exception.SystemException {
248         return _expandoTableLocalService.updateTable(tableId, name);
249     }
250 
251     public ExpandoTableLocalService getWrappedExpandoTableLocalService() {
252         return _expandoTableLocalService;
253     }
254 
255     private ExpandoTableLocalService _expandoTableLocalService;
256 }