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(
131         com.liferay.portlet.expando.model.ExpandoColumn column)
132         throws com.liferay.portal.SystemException {
133         _expandoColumnLocalService.deleteColumn(column);
134     }
135 
136     public void deleteColumn(long columnId)
137         throws com.liferay.portal.PortalException,
138             com.liferay.portal.SystemException {
139         _expandoColumnLocalService.deleteColumn(columnId);
140     }
141 
142     public void deleteColumn(long tableId, java.lang.String name)
143         throws com.liferay.portal.PortalException,
144             com.liferay.portal.SystemException {
145         _expandoColumnLocalService.deleteColumn(tableId, name);
146     }
147 
148     public void deleteColumn(long classNameId, java.lang.String tableName,
149         java.lang.String name)
150         throws com.liferay.portal.PortalException,
151             com.liferay.portal.SystemException {
152         _expandoColumnLocalService.deleteColumn(classNameId, tableName, name);
153     }
154 
155     public void deleteColumn(java.lang.String className,
156         java.lang.String tableName, java.lang.String name)
157         throws com.liferay.portal.PortalException,
158             com.liferay.portal.SystemException {
159         _expandoColumnLocalService.deleteColumn(className, tableName, name);
160     }
161 
162     public void deleteColumns(long tableId)
163         throws com.liferay.portal.SystemException {
164         _expandoColumnLocalService.deleteColumns(tableId);
165     }
166 
167     public void deleteColumns(long classNameId, java.lang.String tableName)
168         throws com.liferay.portal.PortalException,
169             com.liferay.portal.SystemException {
170         _expandoColumnLocalService.deleteColumns(classNameId, tableName);
171     }
172 
173     public void deleteColumns(java.lang.String className,
174         java.lang.String tableName)
175         throws com.liferay.portal.PortalException,
176             com.liferay.portal.SystemException {
177         _expandoColumnLocalService.deleteColumns(className, tableName);
178     }
179 
180     public com.liferay.portlet.expando.model.ExpandoColumn getColumn(
181         long columnId)
182         throws com.liferay.portal.PortalException,
183             com.liferay.portal.SystemException {
184         return _expandoColumnLocalService.getColumn(columnId);
185     }
186 
187     public com.liferay.portlet.expando.model.ExpandoColumn getColumn(
188         long tableId, java.lang.String name)
189         throws com.liferay.portal.PortalException,
190             com.liferay.portal.SystemException {
191         return _expandoColumnLocalService.getColumn(tableId, name);
192     }
193 
194     public com.liferay.portlet.expando.model.ExpandoColumn getColumn(
195         long classNameId, java.lang.String tableName, java.lang.String name)
196         throws com.liferay.portal.SystemException {
197         return _expandoColumnLocalService.getColumn(classNameId, tableName, name);
198     }
199 
200     public com.liferay.portlet.expando.model.ExpandoColumn getColumn(
201         java.lang.String className, java.lang.String tableName,
202         java.lang.String name) throws com.liferay.portal.SystemException {
203         return _expandoColumnLocalService.getColumn(className, tableName, name);
204     }
205 
206     public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(
207         long tableId) throws com.liferay.portal.SystemException {
208         return _expandoColumnLocalService.getColumns(tableId);
209     }
210 
211     public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(
212         long classNameId, java.lang.String tableName)
213         throws com.liferay.portal.SystemException {
214         return _expandoColumnLocalService.getColumns(classNameId, tableName);
215     }
216 
217     public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(
218         java.lang.String className, java.lang.String tableName)
219         throws com.liferay.portal.SystemException {
220         return _expandoColumnLocalService.getColumns(className, tableName);
221     }
222 
223     public int getColumnsCount(long tableId)
224         throws com.liferay.portal.SystemException {
225         return _expandoColumnLocalService.getColumnsCount(tableId);
226     }
227 
228     public int getColumnsCount(long classNameId, java.lang.String tableName)
229         throws com.liferay.portal.SystemException {
230         return _expandoColumnLocalService.getColumnsCount(classNameId, tableName);
231     }
232 
233     public int getColumnsCount(java.lang.String className,
234         java.lang.String tableName) throws com.liferay.portal.SystemException {
235         return _expandoColumnLocalService.getColumnsCount(className, tableName);
236     }
237 
238     public com.liferay.portlet.expando.model.ExpandoColumn getDefaultTableColumn(
239         long classNameId, java.lang.String name)
240         throws com.liferay.portal.SystemException {
241         return _expandoColumnLocalService.getDefaultTableColumn(classNameId,
242             name);
243     }
244 
245     public com.liferay.portlet.expando.model.ExpandoColumn getDefaultTableColumn(
246         java.lang.String className, java.lang.String name)
247         throws com.liferay.portal.SystemException {
248         return _expandoColumnLocalService.getDefaultTableColumn(className, name);
249     }
250 
251     public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getDefaultTableColumns(
252         long classNameId) throws com.liferay.portal.SystemException {
253         return _expandoColumnLocalService.getDefaultTableColumns(classNameId);
254     }
255 
256     public java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getDefaultTableColumns(
257         java.lang.String className) throws com.liferay.portal.SystemException {
258         return _expandoColumnLocalService.getDefaultTableColumns(className);
259     }
260 
261     public int getDefaultTableColumnsCount(long classNameId)
262         throws com.liferay.portal.SystemException {
263         return _expandoColumnLocalService.getDefaultTableColumnsCount(classNameId);
264     }
265 
266     public int getDefaultTableColumnsCount(java.lang.String className)
267         throws com.liferay.portal.SystemException {
268         return _expandoColumnLocalService.getDefaultTableColumnsCount(className);
269     }
270 
271     public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
272         long columnId, java.lang.String name, int type)
273         throws com.liferay.portal.PortalException,
274             com.liferay.portal.SystemException {
275         return _expandoColumnLocalService.updateColumn(columnId, name, type);
276     }
277 
278     public com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
279         long columnId, java.lang.String name, int type,
280         java.lang.Object defaultData)
281         throws com.liferay.portal.PortalException,
282             com.liferay.portal.SystemException {
283         return _expandoColumnLocalService.updateColumn(columnId, name, type,
284             defaultData);
285     }
286 
287     public com.liferay.portlet.expando.model.ExpandoColumn updateTypeSettings(
288         long columnId, java.lang.String typeSettings)
289         throws com.liferay.portal.PortalException,
290             com.liferay.portal.SystemException {
291         return _expandoColumnLocalService.updateTypeSettings(columnId,
292             typeSettings);
293     }
294 
295     public ExpandoColumnLocalService getWrappedExpandoColumnLocalService() {
296         return _expandoColumnLocalService;
297     }
298 
299     private ExpandoColumnLocalService _expandoColumnLocalService;
300 }