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      @SuppressWarnings("unchecked")
64      public java.util.List dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.kernel.exception.SystemException {
67          return _expandoTableLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      @SuppressWarnings("unchecked")
71      public java.util.List dynamicQuery(
72          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
73          int end) throws com.liferay.portal.kernel.exception.SystemException {
74          return _expandoTableLocalService.dynamicQuery(dynamicQuery, start, end);
75      }
76  
77      @SuppressWarnings("unchecked")
78      public java.util.List dynamicQuery(
79          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80          int end,
81          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
82          throws com.liferay.portal.kernel.exception.SystemException {
83          return _expandoTableLocalService.dynamicQuery(dynamicQuery, start, end,
84              orderByComparator);
85      }
86  
87      public long dynamicQueryCount(
88          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
89          throws com.liferay.portal.kernel.exception.SystemException {
90          return _expandoTableLocalService.dynamicQueryCount(dynamicQuery);
91      }
92  
93      public com.liferay.portlet.expando.model.ExpandoTable getExpandoTable(
94          long tableId)
95          throws com.liferay.portal.kernel.exception.PortalException,
96              com.liferay.portal.kernel.exception.SystemException {
97          return _expandoTableLocalService.getExpandoTable(tableId);
98      }
99  
100     public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getExpandoTables(
101         int start, int end)
102         throws com.liferay.portal.kernel.exception.SystemException {
103         return _expandoTableLocalService.getExpandoTables(start, end);
104     }
105 
106     public int getExpandoTablesCount()
107         throws com.liferay.portal.kernel.exception.SystemException {
108         return _expandoTableLocalService.getExpandoTablesCount();
109     }
110 
111     public com.liferay.portlet.expando.model.ExpandoTable updateExpandoTable(
112         com.liferay.portlet.expando.model.ExpandoTable expandoTable)
113         throws com.liferay.portal.kernel.exception.SystemException {
114         return _expandoTableLocalService.updateExpandoTable(expandoTable);
115     }
116 
117     public com.liferay.portlet.expando.model.ExpandoTable updateExpandoTable(
118         com.liferay.portlet.expando.model.ExpandoTable expandoTable,
119         boolean merge)
120         throws com.liferay.portal.kernel.exception.SystemException {
121         return _expandoTableLocalService.updateExpandoTable(expandoTable, merge);
122     }
123 
124     public com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
125         long companyId, long classNameId)
126         throws com.liferay.portal.kernel.exception.PortalException,
127             com.liferay.portal.kernel.exception.SystemException {
128         return _expandoTableLocalService.addDefaultTable(companyId, classNameId);
129     }
130 
131     public com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
132         long companyId, java.lang.String className)
133         throws com.liferay.portal.kernel.exception.PortalException,
134             com.liferay.portal.kernel.exception.SystemException {
135         return _expandoTableLocalService.addDefaultTable(companyId, className);
136     }
137 
138     public com.liferay.portlet.expando.model.ExpandoTable addTable(
139         long companyId, long classNameId, java.lang.String name)
140         throws com.liferay.portal.kernel.exception.PortalException,
141             com.liferay.portal.kernel.exception.SystemException {
142         return _expandoTableLocalService.addTable(companyId, classNameId, name);
143     }
144 
145     /**
146     * @deprecated {@link #addTable(long, long, String)}
147     */
148     public com.liferay.portlet.expando.model.ExpandoTable addTable(
149         long classNameId, java.lang.String name)
150         throws com.liferay.portal.kernel.exception.PortalException,
151             com.liferay.portal.kernel.exception.SystemException {
152         return _expandoTableLocalService.addTable(classNameId, name);
153     }
154 
155     public com.liferay.portlet.expando.model.ExpandoTable addTable(
156         long companyId, java.lang.String className, java.lang.String name)
157         throws com.liferay.portal.kernel.exception.PortalException,
158             com.liferay.portal.kernel.exception.SystemException {
159         return _expandoTableLocalService.addTable(companyId, className, name);
160     }
161 
162     /**
163     * @deprecated {@link #addTable(long, String, String)}
164     */
165     public com.liferay.portlet.expando.model.ExpandoTable addTable(
166         java.lang.String className, java.lang.String name)
167         throws com.liferay.portal.kernel.exception.PortalException,
168             com.liferay.portal.kernel.exception.SystemException {
169         return _expandoTableLocalService.addTable(className, name);
170     }
171 
172     public void deleteTable(
173         com.liferay.portlet.expando.model.ExpandoTable table)
174         throws com.liferay.portal.kernel.exception.SystemException {
175         _expandoTableLocalService.deleteTable(table);
176     }
177 
178     public void deleteTable(long tableId)
179         throws com.liferay.portal.kernel.exception.PortalException,
180             com.liferay.portal.kernel.exception.SystemException {
181         _expandoTableLocalService.deleteTable(tableId);
182     }
183 
184     public void deleteTable(long companyId, long classNameId,
185         java.lang.String name)
186         throws com.liferay.portal.kernel.exception.PortalException,
187             com.liferay.portal.kernel.exception.SystemException {
188         _expandoTableLocalService.deleteTable(companyId, classNameId, name);
189     }
190 
191     public void deleteTable(long companyId, java.lang.String className,
192         java.lang.String name)
193         throws com.liferay.portal.kernel.exception.PortalException,
194             com.liferay.portal.kernel.exception.SystemException {
195         _expandoTableLocalService.deleteTable(companyId, className, name);
196     }
197 
198     public void deleteTables(long companyId, long classNameId)
199         throws com.liferay.portal.kernel.exception.SystemException {
200         _expandoTableLocalService.deleteTables(companyId, classNameId);
201     }
202 
203     public void deleteTables(long companyId, java.lang.String className)
204         throws com.liferay.portal.kernel.exception.SystemException {
205         _expandoTableLocalService.deleteTables(companyId, className);
206     }
207 
208     public com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
209         long companyId, long classNameId)
210         throws com.liferay.portal.kernel.exception.PortalException,
211             com.liferay.portal.kernel.exception.SystemException {
212         return _expandoTableLocalService.getDefaultTable(companyId, classNameId);
213     }
214 
215     public com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
216         long companyId, java.lang.String className)
217         throws com.liferay.portal.kernel.exception.PortalException,
218             com.liferay.portal.kernel.exception.SystemException {
219         return _expandoTableLocalService.getDefaultTable(companyId, className);
220     }
221 
222     public com.liferay.portlet.expando.model.ExpandoTable getTable(long tableId)
223         throws com.liferay.portal.kernel.exception.PortalException,
224             com.liferay.portal.kernel.exception.SystemException {
225         return _expandoTableLocalService.getTable(tableId);
226     }
227 
228     public com.liferay.portlet.expando.model.ExpandoTable getTable(
229         long companyId, long classNameId, java.lang.String name)
230         throws com.liferay.portal.kernel.exception.PortalException,
231             com.liferay.portal.kernel.exception.SystemException {
232         return _expandoTableLocalService.getTable(companyId, classNameId, name);
233     }
234 
235     /**
236     * @deprecated {@link #getTable(long, long, String)}
237     */
238     public com.liferay.portlet.expando.model.ExpandoTable getTable(
239         long classNameId, java.lang.String name)
240         throws com.liferay.portal.kernel.exception.PortalException,
241             com.liferay.portal.kernel.exception.SystemException {
242         return _expandoTableLocalService.getTable(classNameId, name);
243     }
244 
245     public com.liferay.portlet.expando.model.ExpandoTable getTable(
246         long companyId, java.lang.String className, java.lang.String name)
247         throws com.liferay.portal.kernel.exception.PortalException,
248             com.liferay.portal.kernel.exception.SystemException {
249         return _expandoTableLocalService.getTable(companyId, className, name);
250     }
251 
252     /**
253     * @deprecated {@link #getTable(long, String, String)}
254     */
255     public com.liferay.portlet.expando.model.ExpandoTable getTable(
256         java.lang.String className, java.lang.String name)
257         throws com.liferay.portal.kernel.exception.PortalException,
258             com.liferay.portal.kernel.exception.SystemException {
259         return _expandoTableLocalService.getTable(className, name);
260     }
261 
262     public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
263         long companyId, long classNameId)
264         throws com.liferay.portal.kernel.exception.SystemException {
265         return _expandoTableLocalService.getTables(companyId, classNameId);
266     }
267 
268     public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
269         long companyId, java.lang.String className)
270         throws com.liferay.portal.kernel.exception.SystemException {
271         return _expandoTableLocalService.getTables(companyId, className);
272     }
273 
274     public com.liferay.portlet.expando.model.ExpandoTable updateTable(
275         long tableId, java.lang.String name)
276         throws com.liferay.portal.kernel.exception.PortalException,
277             com.liferay.portal.kernel.exception.SystemException {
278         return _expandoTableLocalService.updateTable(tableId, name);
279     }
280 
281     public ExpandoTableLocalService getWrappedExpandoTableLocalService() {
282         return _expandoTableLocalService;
283     }
284 
285     private ExpandoTableLocalService _expandoTableLocalService;
286 }