1
22
23 package com.liferay.portlet.expando.service;
24
25
26
47 public class ExpandoColumnLocalServiceUtil {
48 public static com.liferay.portlet.expando.model.ExpandoColumn addExpandoColumn(
49 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn)
50 throws com.liferay.portal.SystemException {
51 return getService().addExpandoColumn(expandoColumn);
52 }
53
54 public static com.liferay.portlet.expando.model.ExpandoColumn createExpandoColumn(
55 long columnId) {
56 return getService().createExpandoColumn(columnId);
57 }
58
59 public static void deleteExpandoColumn(long columnId)
60 throws com.liferay.portal.PortalException,
61 com.liferay.portal.SystemException {
62 getService().deleteExpandoColumn(columnId);
63 }
64
65 public static void deleteExpandoColumn(
66 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn)
67 throws com.liferay.portal.SystemException {
68 getService().deleteExpandoColumn(expandoColumn);
69 }
70
71 public static java.util.List<Object> dynamicQuery(
72 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
73 throws com.liferay.portal.SystemException {
74 return getService().dynamicQuery(dynamicQuery);
75 }
76
77 public static java.util.List<Object> dynamicQuery(
78 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79 int end) throws com.liferay.portal.SystemException {
80 return getService().dynamicQuery(dynamicQuery, start, end);
81 }
82
83 public static com.liferay.portlet.expando.model.ExpandoColumn getExpandoColumn(
84 long columnId)
85 throws com.liferay.portal.PortalException,
86 com.liferay.portal.SystemException {
87 return getService().getExpandoColumn(columnId);
88 }
89
90 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getExpandoColumns(
91 int start, int end) throws com.liferay.portal.SystemException {
92 return getService().getExpandoColumns(start, end);
93 }
94
95 public static int getExpandoColumnsCount()
96 throws com.liferay.portal.SystemException {
97 return getService().getExpandoColumnsCount();
98 }
99
100 public static com.liferay.portlet.expando.model.ExpandoColumn updateExpandoColumn(
101 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn)
102 throws com.liferay.portal.SystemException {
103 return getService().updateExpandoColumn(expandoColumn);
104 }
105
106 public static com.liferay.portlet.expando.model.ExpandoColumn updateExpandoColumn(
107 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn,
108 boolean merge) throws com.liferay.portal.SystemException {
109 return getService().updateExpandoColumn(expandoColumn, merge);
110 }
111
112 public static com.liferay.portlet.expando.model.ExpandoColumn addColumn(
113 long tableId, java.lang.String name, int type)
114 throws com.liferay.portal.PortalException,
115 com.liferay.portal.SystemException {
116 return getService().addColumn(tableId, name, type);
117 }
118
119 public static com.liferay.portlet.expando.model.ExpandoColumn addColumn(
120 long tableId, java.lang.String name, int type,
121 java.lang.Object defaultData)
122 throws com.liferay.portal.PortalException,
123 com.liferay.portal.SystemException {
124 return getService().addColumn(tableId, name, type, defaultData);
125 }
126
127 public static void deleteColumn(long columnId)
128 throws com.liferay.portal.PortalException,
129 com.liferay.portal.SystemException {
130 getService().deleteColumn(columnId);
131 }
132
133 public static void deleteColumn(long tableId, java.lang.String name)
134 throws com.liferay.portal.PortalException,
135 com.liferay.portal.SystemException {
136 getService().deleteColumn(tableId, name);
137 }
138
139 public static void deleteColumn(long classNameId,
140 java.lang.String tableName, java.lang.String name)
141 throws com.liferay.portal.PortalException,
142 com.liferay.portal.SystemException {
143 getService().deleteColumn(classNameId, tableName, name);
144 }
145
146 public static void deleteColumn(java.lang.String className,
147 java.lang.String tableName, java.lang.String name)
148 throws com.liferay.portal.PortalException,
149 com.liferay.portal.SystemException {
150 getService().deleteColumn(className, tableName, name);
151 }
152
153 public static void deleteColumns(long tableId)
154 throws com.liferay.portal.PortalException,
155 com.liferay.portal.SystemException {
156 getService().deleteColumns(tableId);
157 }
158
159 public static void deleteColumns(long classNameId,
160 java.lang.String tableName)
161 throws com.liferay.portal.PortalException,
162 com.liferay.portal.SystemException {
163 getService().deleteColumns(classNameId, tableName);
164 }
165
166 public static void deleteColumns(java.lang.String className,
167 java.lang.String tableName)
168 throws com.liferay.portal.PortalException,
169 com.liferay.portal.SystemException {
170 getService().deleteColumns(className, tableName);
171 }
172
173 public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(
174 long columnId)
175 throws com.liferay.portal.PortalException,
176 com.liferay.portal.SystemException {
177 return getService().getColumn(columnId);
178 }
179
180 public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(
181 long tableId, java.lang.String name)
182 throws com.liferay.portal.PortalException,
183 com.liferay.portal.SystemException {
184 return getService().getColumn(tableId, name);
185 }
186
187 public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(
188 long classNameId, java.lang.String tableName, java.lang.String name)
189 throws com.liferay.portal.SystemException {
190 return getService().getColumn(classNameId, tableName, name);
191 }
192
193 public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(
194 java.lang.String className, java.lang.String tableName,
195 java.lang.String name) throws com.liferay.portal.SystemException {
196 return getService().getColumn(className, tableName, name);
197 }
198
199 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(
200 long tableId) throws com.liferay.portal.SystemException {
201 return getService().getColumns(tableId);
202 }
203
204 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(
205 long classNameId, java.lang.String tableName)
206 throws com.liferay.portal.SystemException {
207 return getService().getColumns(classNameId, tableName);
208 }
209
210 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(
211 java.lang.String className, java.lang.String tableName)
212 throws com.liferay.portal.SystemException {
213 return getService().getColumns(className, tableName);
214 }
215
216 public static int getColumnsCount(long tableId)
217 throws com.liferay.portal.SystemException {
218 return getService().getColumnsCount(tableId);
219 }
220
221 public static int getColumnsCount(long classNameId,
222 java.lang.String tableName) throws com.liferay.portal.SystemException {
223 return getService().getColumnsCount(classNameId, tableName);
224 }
225
226 public static int getColumnsCount(java.lang.String className,
227 java.lang.String tableName) throws com.liferay.portal.SystemException {
228 return getService().getColumnsCount(className, tableName);
229 }
230
231 public static com.liferay.portlet.expando.model.ExpandoColumn getDefaultTableColumn(
232 long classNameId, java.lang.String name)
233 throws com.liferay.portal.SystemException {
234 return getService().getDefaultTableColumn(classNameId, name);
235 }
236
237 public static com.liferay.portlet.expando.model.ExpandoColumn getDefaultTableColumn(
238 java.lang.String className, java.lang.String name)
239 throws com.liferay.portal.SystemException {
240 return getService().getDefaultTableColumn(className, name);
241 }
242
243 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getDefaultTableColumns(
244 long classNameId) throws com.liferay.portal.SystemException {
245 return getService().getDefaultTableColumns(classNameId);
246 }
247
248 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getDefaultTableColumns(
249 java.lang.String className) throws com.liferay.portal.SystemException {
250 return getService().getDefaultTableColumns(className);
251 }
252
253 public static int getDefaultTableColumnsCount(long classNameId)
254 throws com.liferay.portal.SystemException {
255 return getService().getDefaultTableColumnsCount(classNameId);
256 }
257
258 public static int getDefaultTableColumnsCount(java.lang.String className)
259 throws com.liferay.portal.SystemException {
260 return getService().getDefaultTableColumnsCount(className);
261 }
262
263 public static com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
264 long columnId, java.lang.String name, int type)
265 throws com.liferay.portal.PortalException,
266 com.liferay.portal.SystemException {
267 return getService().updateColumn(columnId, name, type);
268 }
269
270 public static com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
271 long columnId, java.lang.String name, int type,
272 java.lang.Object defaultData)
273 throws com.liferay.portal.PortalException,
274 com.liferay.portal.SystemException {
275 return getService().updateColumn(columnId, name, type, defaultData);
276 }
277
278 public static com.liferay.portlet.expando.model.ExpandoColumn updateTypeSettings(
279 long columnId, java.lang.String typeSettings)
280 throws com.liferay.portal.PortalException,
281 com.liferay.portal.SystemException {
282 return getService().updateTypeSettings(columnId, typeSettings);
283 }
284
285 public static ExpandoColumnLocalService getService() {
286 if (_service == null) {
287 throw new RuntimeException("ExpandoColumnLocalService is not set");
288 }
289
290 return _service;
291 }
292
293 public void setService(ExpandoColumnLocalService service) {
294 _service = service;
295 }
296
297 private static ExpandoColumnLocalService _service;
298 }