001
014
015 package com.liferay.portlet.expando.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
020 import com.liferay.portal.kernel.util.ReferenceRegistry;
021
022
036 @ProviderType
037 public class ExpandoTableLocalServiceUtil {
038
043
044
051 public static com.liferay.portlet.expando.model.ExpandoTable addExpandoTable(
052 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
053 throws com.liferay.portal.kernel.exception.SystemException {
054 return getService().addExpandoTable(expandoTable);
055 }
056
057
063 public static com.liferay.portlet.expando.model.ExpandoTable createExpandoTable(
064 long tableId) {
065 return getService().createExpandoTable(tableId);
066 }
067
068
076 public static com.liferay.portlet.expando.model.ExpandoTable deleteExpandoTable(
077 long tableId)
078 throws com.liferay.portal.kernel.exception.PortalException,
079 com.liferay.portal.kernel.exception.SystemException {
080 return getService().deleteExpandoTable(tableId);
081 }
082
083
090 public static com.liferay.portlet.expando.model.ExpandoTable deleteExpandoTable(
091 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return getService().deleteExpandoTable(expandoTable);
094 }
095
096 public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
097 return getService().dynamicQuery();
098 }
099
100
107 @SuppressWarnings("rawtypes")
108 public static java.util.List dynamicQuery(
109 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
110 throws com.liferay.portal.kernel.exception.SystemException {
111 return getService().dynamicQuery(dynamicQuery);
112 }
113
114
127 @SuppressWarnings("rawtypes")
128 public static java.util.List dynamicQuery(
129 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
130 int end) throws com.liferay.portal.kernel.exception.SystemException {
131 return getService().dynamicQuery(dynamicQuery, start, end);
132 }
133
134
148 @SuppressWarnings("rawtypes")
149 public static java.util.List dynamicQuery(
150 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
151 int end,
152 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
153 throws com.liferay.portal.kernel.exception.SystemException {
154 return getService()
155 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
156 }
157
158
165 public static long dynamicQueryCount(
166 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
167 throws com.liferay.portal.kernel.exception.SystemException {
168 return getService().dynamicQueryCount(dynamicQuery);
169 }
170
171
179 public static long dynamicQueryCount(
180 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
181 com.liferay.portal.kernel.dao.orm.Projection projection)
182 throws com.liferay.portal.kernel.exception.SystemException {
183 return getService().dynamicQueryCount(dynamicQuery, projection);
184 }
185
186 public static com.liferay.portlet.expando.model.ExpandoTable fetchExpandoTable(
187 long tableId)
188 throws com.liferay.portal.kernel.exception.SystemException {
189 return getService().fetchExpandoTable(tableId);
190 }
191
192
200 public static com.liferay.portlet.expando.model.ExpandoTable getExpandoTable(
201 long tableId)
202 throws com.liferay.portal.kernel.exception.PortalException,
203 com.liferay.portal.kernel.exception.SystemException {
204 return getService().getExpandoTable(tableId);
205 }
206
207 public static com.liferay.portal.model.PersistedModel getPersistedModel(
208 java.io.Serializable primaryKeyObj)
209 throws com.liferay.portal.kernel.exception.PortalException,
210 com.liferay.portal.kernel.exception.SystemException {
211 return getService().getPersistedModel(primaryKeyObj);
212 }
213
214
226 public static java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getExpandoTables(
227 int start, int end)
228 throws com.liferay.portal.kernel.exception.SystemException {
229 return getService().getExpandoTables(start, end);
230 }
231
232
238 public static int getExpandoTablesCount()
239 throws com.liferay.portal.kernel.exception.SystemException {
240 return getService().getExpandoTablesCount();
241 }
242
243
250 public static com.liferay.portlet.expando.model.ExpandoTable updateExpandoTable(
251 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
252 throws com.liferay.portal.kernel.exception.SystemException {
253 return getService().updateExpandoTable(expandoTable);
254 }
255
256
261 public static java.lang.String getBeanIdentifier() {
262 return getService().getBeanIdentifier();
263 }
264
265
270 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
271 getService().setBeanIdentifier(beanIdentifier);
272 }
273
274 public static com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
275 long companyId, long classNameId)
276 throws com.liferay.portal.kernel.exception.PortalException,
277 com.liferay.portal.kernel.exception.SystemException {
278 return getService().addDefaultTable(companyId, classNameId);
279 }
280
281 public static com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
282 long companyId, java.lang.String className)
283 throws com.liferay.portal.kernel.exception.PortalException,
284 com.liferay.portal.kernel.exception.SystemException {
285 return getService().addDefaultTable(companyId, className);
286 }
287
288 public static com.liferay.portlet.expando.model.ExpandoTable addTable(
289 long companyId, long classNameId, java.lang.String name)
290 throws com.liferay.portal.kernel.exception.PortalException,
291 com.liferay.portal.kernel.exception.SystemException {
292 return getService().addTable(companyId, classNameId, name);
293 }
294
295
299 public static com.liferay.portlet.expando.model.ExpandoTable addTable(
300 long classNameId, java.lang.String name)
301 throws com.liferay.portal.kernel.exception.PortalException,
302 com.liferay.portal.kernel.exception.SystemException {
303 return getService().addTable(classNameId, name);
304 }
305
306 public static com.liferay.portlet.expando.model.ExpandoTable addTable(
307 long companyId, java.lang.String className, java.lang.String name)
308 throws com.liferay.portal.kernel.exception.PortalException,
309 com.liferay.portal.kernel.exception.SystemException {
310 return getService().addTable(companyId, className, name);
311 }
312
313
317 public static com.liferay.portlet.expando.model.ExpandoTable addTable(
318 java.lang.String className, java.lang.String name)
319 throws com.liferay.portal.kernel.exception.PortalException,
320 com.liferay.portal.kernel.exception.SystemException {
321 return getService().addTable(className, name);
322 }
323
324 public static void deleteTable(
325 com.liferay.portlet.expando.model.ExpandoTable table)
326 throws com.liferay.portal.kernel.exception.SystemException {
327 getService().deleteTable(table);
328 }
329
330 public static void deleteTable(long tableId)
331 throws com.liferay.portal.kernel.exception.PortalException,
332 com.liferay.portal.kernel.exception.SystemException {
333 getService().deleteTable(tableId);
334 }
335
336 public static void deleteTable(long companyId, long classNameId,
337 java.lang.String name)
338 throws com.liferay.portal.kernel.exception.PortalException,
339 com.liferay.portal.kernel.exception.SystemException {
340 getService().deleteTable(companyId, classNameId, name);
341 }
342
343 public static void deleteTable(long companyId, java.lang.String className,
344 java.lang.String name)
345 throws com.liferay.portal.kernel.exception.PortalException,
346 com.liferay.portal.kernel.exception.SystemException {
347 getService().deleteTable(companyId, className, name);
348 }
349
350 public static void deleteTables(long companyId, long classNameId)
351 throws com.liferay.portal.kernel.exception.SystemException {
352 getService().deleteTables(companyId, classNameId);
353 }
354
355 public static void deleteTables(long companyId, java.lang.String className)
356 throws com.liferay.portal.kernel.exception.SystemException {
357 getService().deleteTables(companyId, className);
358 }
359
360 public static com.liferay.portlet.expando.model.ExpandoTable fetchDefaultTable(
361 long companyId, long classNameId)
362 throws com.liferay.portal.kernel.exception.SystemException {
363 return getService().fetchDefaultTable(companyId, classNameId);
364 }
365
366 public static com.liferay.portlet.expando.model.ExpandoTable fetchDefaultTable(
367 long companyId, java.lang.String className)
368 throws com.liferay.portal.kernel.exception.SystemException {
369 return getService().fetchDefaultTable(companyId, className);
370 }
371
372 public static com.liferay.portlet.expando.model.ExpandoTable fetchTable(
373 long companyId, long classNameId, java.lang.String name)
374 throws com.liferay.portal.kernel.exception.SystemException {
375 return getService().fetchTable(companyId, classNameId, name);
376 }
377
378 public static com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
379 long companyId, long classNameId)
380 throws com.liferay.portal.kernel.exception.PortalException,
381 com.liferay.portal.kernel.exception.SystemException {
382 return getService().getDefaultTable(companyId, classNameId);
383 }
384
385 public static com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
386 long companyId, java.lang.String className)
387 throws com.liferay.portal.kernel.exception.PortalException,
388 com.liferay.portal.kernel.exception.SystemException {
389 return getService().getDefaultTable(companyId, className);
390 }
391
392 public static com.liferay.portlet.expando.model.ExpandoTable getTable(
393 long tableId)
394 throws com.liferay.portal.kernel.exception.PortalException,
395 com.liferay.portal.kernel.exception.SystemException {
396 return getService().getTable(tableId);
397 }
398
399 public static com.liferay.portlet.expando.model.ExpandoTable getTable(
400 long companyId, long classNameId, java.lang.String name)
401 throws com.liferay.portal.kernel.exception.PortalException,
402 com.liferay.portal.kernel.exception.SystemException {
403 return getService().getTable(companyId, classNameId, name);
404 }
405
406
410 public static com.liferay.portlet.expando.model.ExpandoTable getTable(
411 long classNameId, java.lang.String name)
412 throws com.liferay.portal.kernel.exception.PortalException,
413 com.liferay.portal.kernel.exception.SystemException {
414 return getService().getTable(classNameId, name);
415 }
416
417 public static com.liferay.portlet.expando.model.ExpandoTable getTable(
418 long companyId, java.lang.String className, java.lang.String name)
419 throws com.liferay.portal.kernel.exception.PortalException,
420 com.liferay.portal.kernel.exception.SystemException {
421 return getService().getTable(companyId, className, name);
422 }
423
424
428 public static com.liferay.portlet.expando.model.ExpandoTable getTable(
429 java.lang.String className, java.lang.String name)
430 throws com.liferay.portal.kernel.exception.PortalException,
431 com.liferay.portal.kernel.exception.SystemException {
432 return getService().getTable(className, name);
433 }
434
435 public static java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
436 long companyId, long classNameId)
437 throws com.liferay.portal.kernel.exception.SystemException {
438 return getService().getTables(companyId, classNameId);
439 }
440
441 public static java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
442 long companyId, java.lang.String className)
443 throws com.liferay.portal.kernel.exception.SystemException {
444 return getService().getTables(companyId, className);
445 }
446
447 public static com.liferay.portlet.expando.model.ExpandoTable updateTable(
448 long tableId, java.lang.String name)
449 throws com.liferay.portal.kernel.exception.PortalException,
450 com.liferay.portal.kernel.exception.SystemException {
451 return getService().updateTable(tableId, name);
452 }
453
454 public static ExpandoTableLocalService getService() {
455 if (_service == null) {
456 _service = (ExpandoTableLocalService)PortalBeanLocatorUtil.locate(ExpandoTableLocalService.class.getName());
457
458 ReferenceRegistry.registerReference(ExpandoTableLocalServiceUtil.class,
459 "_service");
460 }
461
462 return _service;
463 }
464
465
468 public void setService(ExpandoTableLocalService service) {
469 }
470
471 private static ExpandoTableLocalService _service;
472 }