1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.expando.service;
24  
25  
26  /**
27   * <a href="ExpandoColumnLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link ExpandoColumnLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       ExpandoColumnLocalService
40   * @generated
41   */
42  public class ExpandoColumnLocalServiceWrapper
43      implements ExpandoColumnLocalService {
44      public ExpandoColumnLocalServiceWrapper(
45          ExpandoColumnLocalService expandoColumnLocalService) {
46          _expandoColumnLocalService = expandoColumnLocalService;
47      }
48  
49      public com.liferay.portlet.expando.model.ExpandoColumn addExpandoColumn(
50          com.liferay.portlet.expando.model.ExpandoColumn expandoColumn)
51          throws com.liferay.portal.SystemException {
52          return _expandoColumnLocalService.addExpandoColumn(expandoColumn);
53      }
54  
55      public com.liferay.portlet.expando.model.ExpandoColumn createExpandoColumn(
56          long columnId) {
57          return _expandoColumnLocalService.createExpandoColumn(columnId);
58      }
59  
60      public void deleteExpandoColumn(long columnId)
61          throws com.liferay.portal.PortalException,
62              com.liferay.portal.SystemException {
63          _expandoColumnLocalService.deleteExpandoColumn(columnId);
64      }
65  
66      public void deleteExpandoColumn(
67          com.liferay.portlet.expando.model.ExpandoColumn expandoColumn)
68          throws com.liferay.portal.SystemException {
69          _expandoColumnLocalService.deleteExpandoColumn(expandoColumn);
70      }
71  
72      public java.util.List<Object> dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
74          throws com.liferay.portal.SystemException {
75          return _expandoColumnLocalService.dynamicQuery(dynamicQuery);
76      }
77  
78      public java.util.List<Object> dynamicQuery(
79          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80          int end) throws com.liferay.portal.SystemException {
81          return _expandoColumnLocalService.dynamicQuery(dynamicQuery, start, end);
82      }
83  
84      public com.liferay.portlet.expando.model.ExpandoColumn getExpandoColumn(
85          long columnId)
86          throws com.liferay.portal.PortalException,
87              com.liferay.portal.SystemException {
88          return _expandoColumnLocalService.getExpandoColumn(columnId);
89      }
90  
91      public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getExpandoColumns(
92          int start, int end) throws com.liferay.portal.SystemException {
93          return _expandoColumnLocalService.getExpandoColumns(start, end);
94      }
95  
96      public int getExpandoColumnsCount()
97          throws com.liferay.portal.SystemException {
98          return _expandoColumnLocalService.getExpandoColumnsCount();
99      }
100 
101     public com.liferay.portlet.expando.model.ExpandoColumn updateExpandoColumn(
102         com.liferay.portlet.expando.model.ExpandoColumn expandoColumn)
103         throws com.liferay.portal.SystemException {
104         return _expandoColumnLocalService.updateExpandoColumn(expandoColumn);
105     }
106 
107     public com.liferay.portlet.expando.model.ExpandoColumn updateExpandoColumn(
108         com.liferay.portlet.expando.model.ExpandoColumn expandoColumn,
109         boolean merge) throws com.liferay.portal.SystemException {
110         return _expandoColumnLocalService.updateExpandoColumn(expandoColumn,
111             merge);
112     }
113 
114     public com.liferay.portlet.expando.model.ExpandoColumn addColumn(
115         long tableId, java.lang.String name, int type)
116         throws com.liferay.portal.PortalException,
117             com.liferay.portal.SystemException {
118         return _expandoColumnLocalService.addColumn(tableId, name, type);
119     }
120 
121     public com.liferay.portlet.expando.model.ExpandoColumn addColumn(
122         long tableId, java.lang.String name, int type,
123         java.lang.Object defaultData)
124         throws com.liferay.portal.PortalException,
125             com.liferay.portal.SystemException {
126         return _expandoColumnLocalService.addColumn(tableId, name, type,
127             defaultData);
128     }
129 
130     public void deleteColumn(long columnId)
131         throws com.liferay.portal.PortalException,
132             com.liferay.portal.SystemException {
133         _expandoColumnLocalService.deleteColumn(columnId);
134     }
135 
136     public void deleteColumn(long tableId, java.lang.String name)
137         throws com.liferay.portal.PortalException,
138             com.liferay.portal.SystemException {
139         _expandoColumnLocalService.deleteColumn(tableId, name);
140     }
141 
142     public void deleteColumn(long classNameId, java.lang.String tableName,
143         java.lang.String name)
144         throws com.liferay.portal.PortalException,
145             com.liferay.portal.SystemException {
146         _expandoColumnLocalService.deleteColumn(classNameId, tableName, name);
147     }
148 
149     public void deleteColumn(java.lang.String className,
150         java.lang.String tableName, java.lang.String name)
151         throws com.liferay.portal.PortalException,
152             com.liferay.portal.SystemException {
153         _expandoColumnLocalService.deleteColumn(className, tableName, name);
154     }
155 
156     public void deleteColumns(long tableId)
157         throws com.liferay.portal.PortalException,
158             com.liferay.portal.SystemException {
159         _expandoColumnLocalService.deleteColumns(tableId);
160     }
161 
162     public void deleteColumns(long classNameId, java.lang.String tableName)
163         throws com.liferay.portal.PortalException,
164             com.liferay.portal.SystemException {
165         _expandoColumnLocalService.deleteColumns(classNameId, tableName);
166     }
167 
168     public void deleteColumns(java.lang.String className,
169         java.lang.String tableName)
170         throws com.liferay.portal.PortalException,
171             com.liferay.portal.SystemException {
172         _expandoColumnLocalService.deleteColumns(className, tableName);
173     }
174 
175     public com.liferay.portlet.expando.model.ExpandoColumn getColumn(
176         long columnId)
177         throws com.liferay.portal.PortalException,
178             com.liferay.portal.SystemException {
179         return _expandoColumnLocalService.getColumn(columnId);
180     }
181 
182     public com.liferay.portlet.expando.model.ExpandoColumn getColumn(
183         long tableId, java.lang.String name)
184         throws com.liferay.portal.PortalException,
185             com.liferay.portal.SystemException {
186         return _expandoColumnLocalService.getColumn(tableId, name);
187     }
188 
189     public com.liferay.portlet.expando.model.ExpandoColumn getColumn(
190         long classNameId, java.lang.String tableName, java.lang.String name)
191         throws com.liferay.portal.SystemException {
192         return _expandoColumnLocalService.getColumn(classNameId, tableName, name);
193     }
194 
195     public com.liferay.portlet.expando.model.ExpandoColumn getColumn(
196         java.lang.String className, java.lang.String tableName,
197         java.lang.String name) throws com.liferay.portal.SystemException {
198         return _expandoColumnLocalService.getColumn(className, tableName, name);
199     }
200 
201     public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(
202         long tableId) throws com.liferay.portal.SystemException {
203         return _expandoColumnLocalService.getColumns(tableId);
204     }
205 
206     public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(
207         long classNameId, java.lang.String tableName)
208         throws com.liferay.portal.SystemException {
209         return _expandoColumnLocalService.getColumns(classNameId, tableName);
210     }
211 
212     public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(
213         java.lang.String className, java.lang.String tableName)
214         throws com.liferay.portal.SystemException {
215         return _expandoColumnLocalService.getColumns(className, tableName);
216     }
217 
218     public int getColumnsCount(long tableId)
219         throws com.liferay.portal.SystemException {
220         return _expandoColumnLocalService.getColumnsCount(tableId);
221     }
222 
223     public int getColumnsCount(long classNameId, java.lang.String tableName)
224         throws com.liferay.portal.SystemException {
225         return _expandoColumnLocalService.getColumnsCount(classNameId, tableName);
226     }
227 
228     public int getColumnsCount(java.lang.String className,
229         java.lang.String tableName) throws com.liferay.portal.SystemException {
230         return _expandoColumnLocalService.getColumnsCount(className, tableName);
231     }
232 
233     public com.liferay.portlet.expando.model.ExpandoColumn getDefaultTableColumn(
234         long classNameId, java.lang.String name)
235         throws com.liferay.portal.SystemException {
236         return _expandoColumnLocalService.getDefaultTableColumn(classNameId,
237             name);
238     }
239 
240     public com.liferay.portlet.expando.model.ExpandoColumn getDefaultTableColumn(
241         java.lang.String className, java.lang.String name)
242         throws com.liferay.portal.SystemException {
243         return _expandoColumnLocalService.getDefaultTableColumn(className, name);
244     }
245 
246     public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getDefaultTableColumns(
247         long classNameId) throws com.liferay.portal.SystemException {
248         return _expandoColumnLocalService.getDefaultTableColumns(classNameId);
249     }
250 
251     public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getDefaultTableColumns(
252         java.lang.String className) throws com.liferay.portal.SystemException {
253         return _expandoColumnLocalService.getDefaultTableColumns(className);
254     }
255 
256     public int getDefaultTableColumnsCount(long classNameId)
257         throws com.liferay.portal.SystemException {
258         return _expandoColumnLocalService.getDefaultTableColumnsCount(classNameId);
259     }
260 
261     public int getDefaultTableColumnsCount(java.lang.String className)
262         throws com.liferay.portal.SystemException {
263         return _expandoColumnLocalService.getDefaultTableColumnsCount(className);
264     }
265 
266     public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
267         long columnId, java.lang.String name, int type)
268         throws com.liferay.portal.PortalException,
269             com.liferay.portal.SystemException {
270         return _expandoColumnLocalService.updateColumn(columnId, name, type);
271     }
272 
273     public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
274         long columnId, java.lang.String name, int type,
275         java.lang.Object defaultData)
276         throws com.liferay.portal.PortalException,
277             com.liferay.portal.SystemException {
278         return _expandoColumnLocalService.updateColumn(columnId, name, type,
279             defaultData);
280     }
281 
282     public com.liferay.portlet.expando.model.ExpandoColumn updateTypeSettings(
283         long columnId, java.lang.String typeSettings)
284         throws com.liferay.portal.PortalException,
285             com.liferay.portal.SystemException {
286         return _expandoColumnLocalService.updateTypeSettings(columnId,
287             typeSettings);
288     }
289 
290     public ExpandoColumnLocalService getWrappedExpandoColumnLocalService() {
291         return _expandoColumnLocalService;
292     }
293 
294     private ExpandoColumnLocalService _expandoColumnLocalService;
295 }