001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.expando.service;
016    
017    import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018    import com.liferay.portal.kernel.util.MethodCache;
019    import com.liferay.portal.kernel.util.ReferenceRegistry;
020    
021    /**
022     * The utility for the expando value local service. This utility wraps {@link com.liferay.portlet.expando.service.impl.ExpandoValueLocalServiceImpl} and is the primary access point for service operations in application layer code running on the local server.
023     *
024     * <p>
025     * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see ExpandoValueLocalService
030     * @see com.liferay.portlet.expando.service.base.ExpandoValueLocalServiceBaseImpl
031     * @see com.liferay.portlet.expando.service.impl.ExpandoValueLocalServiceImpl
032     * @generated
033     */
034    public class ExpandoValueLocalServiceUtil {
035            /*
036             * NOTE FOR DEVELOPERS:
037             *
038             * Never modify this class directly. Add custom service methods to {@link com.liferay.portlet.expando.service.impl.ExpandoValueLocalServiceImpl} and rerun ServiceBuilder to regenerate this class.
039             */
040    
041            /**
042            * Adds the expando value to the database. Also notifies the appropriate model listeners.
043            *
044            * @param expandoValue the expando value
045            * @return the expando value that was added
046            * @throws SystemException if a system exception occurred
047            */
048            public static com.liferay.portlet.expando.model.ExpandoValue addExpandoValue(
049                    com.liferay.portlet.expando.model.ExpandoValue expandoValue)
050                    throws com.liferay.portal.kernel.exception.SystemException {
051                    return getService().addExpandoValue(expandoValue);
052            }
053    
054            /**
055            * Creates a new expando value with the primary key. Does not add the expando value to the database.
056            *
057            * @param valueId the primary key for the new expando value
058            * @return the new expando value
059            */
060            public static com.liferay.portlet.expando.model.ExpandoValue createExpandoValue(
061                    long valueId) {
062                    return getService().createExpandoValue(valueId);
063            }
064    
065            /**
066            * Deletes the expando value with the primary key from the database. Also notifies the appropriate model listeners.
067            *
068            * @param valueId the primary key of the expando value
069            * @throws PortalException if a expando value with the primary key could not be found
070            * @throws SystemException if a system exception occurred
071            */
072            public static void deleteExpandoValue(long valueId)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    getService().deleteExpandoValue(valueId);
076            }
077    
078            /**
079            * Deletes the expando value from the database. Also notifies the appropriate model listeners.
080            *
081            * @param expandoValue the expando value
082            * @throws SystemException if a system exception occurred
083            */
084            public static void deleteExpandoValue(
085                    com.liferay.portlet.expando.model.ExpandoValue expandoValue)
086                    throws com.liferay.portal.kernel.exception.SystemException {
087                    getService().deleteExpandoValue(expandoValue);
088            }
089    
090            /**
091            * Performs a dynamic query on the database and returns the matching rows.
092            *
093            * @param dynamicQuery the dynamic query
094            * @return the matching rows
095            * @throws SystemException if a system exception occurred
096            */
097            @SuppressWarnings("rawtypes")
098            public static java.util.List dynamicQuery(
099                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
100                    throws com.liferay.portal.kernel.exception.SystemException {
101                    return getService().dynamicQuery(dynamicQuery);
102            }
103    
104            /**
105            * Performs a dynamic query on the database and returns a range of the matching rows.
106            *
107            * <p>
108            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
109            * </p>
110            *
111            * @param dynamicQuery the dynamic query
112            * @param start the lower bound of the range of model instances
113            * @param end the upper bound of the range of model instances (not inclusive)
114            * @return the range of matching rows
115            * @throws SystemException if a system exception occurred
116            */
117            @SuppressWarnings("rawtypes")
118            public static java.util.List dynamicQuery(
119                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
120                    int end) throws com.liferay.portal.kernel.exception.SystemException {
121                    return getService().dynamicQuery(dynamicQuery, start, end);
122            }
123    
124            /**
125            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
126            *
127            * <p>
128            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
129            * </p>
130            *
131            * @param dynamicQuery the dynamic query
132            * @param start the lower bound of the range of model instances
133            * @param end the upper bound of the range of model instances (not inclusive)
134            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
135            * @return the ordered range of matching rows
136            * @throws SystemException if a system exception occurred
137            */
138            @SuppressWarnings("rawtypes")
139            public static java.util.List dynamicQuery(
140                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
141                    int end,
142                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
143                    throws com.liferay.portal.kernel.exception.SystemException {
144                    return getService()
145                                       .dynamicQuery(dynamicQuery, start, end, orderByComparator);
146            }
147    
148            /**
149            * Returns the number of rows that match the dynamic query.
150            *
151            * @param dynamicQuery the dynamic query
152            * @return the number of rows that match the dynamic query
153            * @throws SystemException if a system exception occurred
154            */
155            public static long dynamicQueryCount(
156                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
157                    throws com.liferay.portal.kernel.exception.SystemException {
158                    return getService().dynamicQueryCount(dynamicQuery);
159            }
160    
161            public static com.liferay.portlet.expando.model.ExpandoValue fetchExpandoValue(
162                    long valueId)
163                    throws com.liferay.portal.kernel.exception.SystemException {
164                    return getService().fetchExpandoValue(valueId);
165            }
166    
167            /**
168            * Returns the expando value with the primary key.
169            *
170            * @param valueId the primary key of the expando value
171            * @return the expando value
172            * @throws PortalException if a expando value with the primary key could not be found
173            * @throws SystemException if a system exception occurred
174            */
175            public static com.liferay.portlet.expando.model.ExpandoValue getExpandoValue(
176                    long valueId)
177                    throws com.liferay.portal.kernel.exception.PortalException,
178                            com.liferay.portal.kernel.exception.SystemException {
179                    return getService().getExpandoValue(valueId);
180            }
181    
182            public static com.liferay.portal.model.PersistedModel getPersistedModel(
183                    java.io.Serializable primaryKeyObj)
184                    throws com.liferay.portal.kernel.exception.PortalException,
185                            com.liferay.portal.kernel.exception.SystemException {
186                    return getService().getPersistedModel(primaryKeyObj);
187            }
188    
189            /**
190            * Returns a range of all the expando values.
191            *
192            * <p>
193            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
194            * </p>
195            *
196            * @param start the lower bound of the range of expando values
197            * @param end the upper bound of the range of expando values (not inclusive)
198            * @return the range of expando values
199            * @throws SystemException if a system exception occurred
200            */
201            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getExpandoValues(
202                    int start, int end)
203                    throws com.liferay.portal.kernel.exception.SystemException {
204                    return getService().getExpandoValues(start, end);
205            }
206    
207            /**
208            * Returns the number of expando values.
209            *
210            * @return the number of expando values
211            * @throws SystemException if a system exception occurred
212            */
213            public static int getExpandoValuesCount()
214                    throws com.liferay.portal.kernel.exception.SystemException {
215                    return getService().getExpandoValuesCount();
216            }
217    
218            /**
219            * Updates the expando value in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
220            *
221            * @param expandoValue the expando value
222            * @return the expando value that was updated
223            * @throws SystemException if a system exception occurred
224            */
225            public static com.liferay.portlet.expando.model.ExpandoValue updateExpandoValue(
226                    com.liferay.portlet.expando.model.ExpandoValue expandoValue)
227                    throws com.liferay.portal.kernel.exception.SystemException {
228                    return getService().updateExpandoValue(expandoValue);
229            }
230    
231            /**
232            * Updates the expando value in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
233            *
234            * @param expandoValue the expando value
235            * @param merge whether to merge the expando value with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.
236            * @return the expando value that was updated
237            * @throws SystemException if a system exception occurred
238            */
239            public static com.liferay.portlet.expando.model.ExpandoValue updateExpandoValue(
240                    com.liferay.portlet.expando.model.ExpandoValue expandoValue,
241                    boolean merge)
242                    throws com.liferay.portal.kernel.exception.SystemException {
243                    return getService().updateExpandoValue(expandoValue, merge);
244            }
245    
246            /**
247            * Returns the Spring bean ID for this bean.
248            *
249            * @return the Spring bean ID for this bean
250            */
251            public static java.lang.String getBeanIdentifier() {
252                    return getService().getBeanIdentifier();
253            }
254    
255            /**
256            * Sets the Spring bean ID for this bean.
257            *
258            * @param beanIdentifier the Spring bean ID for this bean
259            */
260            public static void setBeanIdentifier(java.lang.String beanIdentifier) {
261                    getService().setBeanIdentifier(beanIdentifier);
262            }
263    
264            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
265                    long classNameId, long tableId, long columnId, long classPK,
266                    java.lang.String data)
267                    throws com.liferay.portal.kernel.exception.PortalException,
268                            com.liferay.portal.kernel.exception.SystemException {
269                    return getService()
270                                       .addValue(classNameId, tableId, columnId, classPK, data);
271            }
272    
273            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
274                    long companyId, java.lang.String className, java.lang.String tableName,
275                    java.lang.String columnName, long classPK, boolean data)
276                    throws com.liferay.portal.kernel.exception.PortalException,
277                            com.liferay.portal.kernel.exception.SystemException {
278                    return getService()
279                                       .addValue(companyId, className, tableName, columnName,
280                            classPK, data);
281            }
282    
283            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
284                    long companyId, java.lang.String className, java.lang.String tableName,
285                    java.lang.String columnName, long classPK, boolean[] data)
286                    throws com.liferay.portal.kernel.exception.PortalException,
287                            com.liferay.portal.kernel.exception.SystemException {
288                    return getService()
289                                       .addValue(companyId, className, tableName, columnName,
290                            classPK, data);
291            }
292    
293            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
294                    long companyId, java.lang.String className, java.lang.String tableName,
295                    java.lang.String columnName, long classPK, java.util.Date data)
296                    throws com.liferay.portal.kernel.exception.PortalException,
297                            com.liferay.portal.kernel.exception.SystemException {
298                    return getService()
299                                       .addValue(companyId, className, tableName, columnName,
300                            classPK, data);
301            }
302    
303            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
304                    long companyId, java.lang.String className, java.lang.String tableName,
305                    java.lang.String columnName, long classPK, java.util.Date[] data)
306                    throws com.liferay.portal.kernel.exception.PortalException,
307                            com.liferay.portal.kernel.exception.SystemException {
308                    return getService()
309                                       .addValue(companyId, className, tableName, columnName,
310                            classPK, data);
311            }
312    
313            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
314                    long companyId, java.lang.String className, java.lang.String tableName,
315                    java.lang.String columnName, long classPK, double data)
316                    throws com.liferay.portal.kernel.exception.PortalException,
317                            com.liferay.portal.kernel.exception.SystemException {
318                    return getService()
319                                       .addValue(companyId, className, tableName, columnName,
320                            classPK, data);
321            }
322    
323            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
324                    long companyId, java.lang.String className, java.lang.String tableName,
325                    java.lang.String columnName, long classPK, double[] data)
326                    throws com.liferay.portal.kernel.exception.PortalException,
327                            com.liferay.portal.kernel.exception.SystemException {
328                    return getService()
329                                       .addValue(companyId, className, tableName, columnName,
330                            classPK, data);
331            }
332    
333            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
334                    long companyId, java.lang.String className, java.lang.String tableName,
335                    java.lang.String columnName, long classPK, float data)
336                    throws com.liferay.portal.kernel.exception.PortalException,
337                            com.liferay.portal.kernel.exception.SystemException {
338                    return getService()
339                                       .addValue(companyId, className, tableName, columnName,
340                            classPK, data);
341            }
342    
343            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
344                    long companyId, java.lang.String className, java.lang.String tableName,
345                    java.lang.String columnName, long classPK, float[] data)
346                    throws com.liferay.portal.kernel.exception.PortalException,
347                            com.liferay.portal.kernel.exception.SystemException {
348                    return getService()
349                                       .addValue(companyId, className, tableName, columnName,
350                            classPK, data);
351            }
352    
353            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
354                    long companyId, java.lang.String className, java.lang.String tableName,
355                    java.lang.String columnName, long classPK, int data)
356                    throws com.liferay.portal.kernel.exception.PortalException,
357                            com.liferay.portal.kernel.exception.SystemException {
358                    return getService()
359                                       .addValue(companyId, className, tableName, columnName,
360                            classPK, data);
361            }
362    
363            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
364                    long companyId, java.lang.String className, java.lang.String tableName,
365                    java.lang.String columnName, long classPK, int[] data)
366                    throws com.liferay.portal.kernel.exception.PortalException,
367                            com.liferay.portal.kernel.exception.SystemException {
368                    return getService()
369                                       .addValue(companyId, className, tableName, columnName,
370                            classPK, data);
371            }
372    
373            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
374                    long companyId, java.lang.String className, java.lang.String tableName,
375                    java.lang.String columnName, long classPK, long data)
376                    throws com.liferay.portal.kernel.exception.PortalException,
377                            com.liferay.portal.kernel.exception.SystemException {
378                    return getService()
379                                       .addValue(companyId, className, tableName, columnName,
380                            classPK, data);
381            }
382    
383            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
384                    long companyId, java.lang.String className, java.lang.String tableName,
385                    java.lang.String columnName, long classPK, long[] data)
386                    throws com.liferay.portal.kernel.exception.PortalException,
387                            com.liferay.portal.kernel.exception.SystemException {
388                    return getService()
389                                       .addValue(companyId, className, tableName, columnName,
390                            classPK, data);
391            }
392    
393            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
394                    long companyId, java.lang.String className, java.lang.String tableName,
395                    java.lang.String columnName, long classPK, java.lang.Number data)
396                    throws com.liferay.portal.kernel.exception.PortalException,
397                            com.liferay.portal.kernel.exception.SystemException {
398                    return getService()
399                                       .addValue(companyId, className, tableName, columnName,
400                            classPK, data);
401            }
402    
403            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
404                    long companyId, java.lang.String className, java.lang.String tableName,
405                    java.lang.String columnName, long classPK, java.lang.Number[] data)
406                    throws com.liferay.portal.kernel.exception.PortalException,
407                            com.liferay.portal.kernel.exception.SystemException {
408                    return getService()
409                                       .addValue(companyId, className, tableName, columnName,
410                            classPK, data);
411            }
412    
413            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
414                    long companyId, java.lang.String className, java.lang.String tableName,
415                    java.lang.String columnName, long classPK, java.lang.Object data)
416                    throws com.liferay.portal.kernel.exception.PortalException,
417                            com.liferay.portal.kernel.exception.SystemException {
418                    return getService()
419                                       .addValue(companyId, className, tableName, columnName,
420                            classPK, data);
421            }
422    
423            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
424                    long companyId, java.lang.String className, java.lang.String tableName,
425                    java.lang.String columnName, long classPK, short data)
426                    throws com.liferay.portal.kernel.exception.PortalException,
427                            com.liferay.portal.kernel.exception.SystemException {
428                    return getService()
429                                       .addValue(companyId, className, tableName, columnName,
430                            classPK, data);
431            }
432    
433            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
434                    long companyId, java.lang.String className, java.lang.String tableName,
435                    java.lang.String columnName, long classPK, short[] data)
436                    throws com.liferay.portal.kernel.exception.PortalException,
437                            com.liferay.portal.kernel.exception.SystemException {
438                    return getService()
439                                       .addValue(companyId, className, tableName, columnName,
440                            classPK, data);
441            }
442    
443            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
444                    long companyId, java.lang.String className, java.lang.String tableName,
445                    java.lang.String columnName, long classPK, java.lang.String data)
446                    throws com.liferay.portal.kernel.exception.PortalException,
447                            com.liferay.portal.kernel.exception.SystemException {
448                    return getService()
449                                       .addValue(companyId, className, tableName, columnName,
450                            classPK, data);
451            }
452    
453            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
454                    long companyId, java.lang.String className, java.lang.String tableName,
455                    java.lang.String columnName, long classPK, java.lang.String[] data)
456                    throws com.liferay.portal.kernel.exception.PortalException,
457                            com.liferay.portal.kernel.exception.SystemException {
458                    return getService()
459                                       .addValue(companyId, className, tableName, columnName,
460                            classPK, data);
461            }
462    
463            /**
464            * @deprecated {@link #addValue(long, String, String, String, long,
465            boolean[])}
466            */
467            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
468                    java.lang.String className, java.lang.String tableName,
469                    java.lang.String columnName, long classPK, boolean data)
470                    throws com.liferay.portal.kernel.exception.PortalException,
471                            com.liferay.portal.kernel.exception.SystemException {
472                    return getService()
473                                       .addValue(className, tableName, columnName, classPK, data);
474            }
475    
476            /**
477            * @deprecated {@link #addValue(long, String, String, String, long,
478            boolean[])}
479            */
480            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
481                    java.lang.String className, java.lang.String tableName,
482                    java.lang.String columnName, long classPK, boolean[] data)
483                    throws com.liferay.portal.kernel.exception.PortalException,
484                            com.liferay.portal.kernel.exception.SystemException {
485                    return getService()
486                                       .addValue(className, tableName, columnName, classPK, data);
487            }
488    
489            /**
490            * @deprecated {@link #addValue(long, String, String, String, long, Date[])}
491            */
492            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
493                    java.lang.String className, java.lang.String tableName,
494                    java.lang.String columnName, long classPK, java.util.Date data)
495                    throws com.liferay.portal.kernel.exception.PortalException,
496                            com.liferay.portal.kernel.exception.SystemException {
497                    return getService()
498                                       .addValue(className, tableName, columnName, classPK, data);
499            }
500    
501            /**
502            * @deprecated {@link #addValue(long, String, String, String, long, Date[])}
503            */
504            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
505                    java.lang.String className, java.lang.String tableName,
506                    java.lang.String columnName, long classPK, java.util.Date[] data)
507                    throws com.liferay.portal.kernel.exception.PortalException,
508                            com.liferay.portal.kernel.exception.SystemException {
509                    return getService()
510                                       .addValue(className, tableName, columnName, classPK, data);
511            }
512    
513            /**
514            * @deprecated {@link #addValue(long, String, String, String, long,
515            double[])}
516            */
517            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
518                    java.lang.String className, java.lang.String tableName,
519                    java.lang.String columnName, long classPK, double data)
520                    throws com.liferay.portal.kernel.exception.PortalException,
521                            com.liferay.portal.kernel.exception.SystemException {
522                    return getService()
523                                       .addValue(className, tableName, columnName, classPK, data);
524            }
525    
526            /**
527            * @deprecated {@link #addValue(long, String, String, String, long,
528            double[])}
529            */
530            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
531                    java.lang.String className, java.lang.String tableName,
532                    java.lang.String columnName, long classPK, double[] data)
533                    throws com.liferay.portal.kernel.exception.PortalException,
534                            com.liferay.portal.kernel.exception.SystemException {
535                    return getService()
536                                       .addValue(className, tableName, columnName, classPK, data);
537            }
538    
539            /**
540            * @deprecated {@link #addValue(long, String, String, String, long,
541            float[])}
542            */
543            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
544                    java.lang.String className, java.lang.String tableName,
545                    java.lang.String columnName, long classPK, float data)
546                    throws com.liferay.portal.kernel.exception.PortalException,
547                            com.liferay.portal.kernel.exception.SystemException {
548                    return getService()
549                                       .addValue(className, tableName, columnName, classPK, data);
550            }
551    
552            /**
553            * @deprecated {@link #addValue(long, String, String, String, long,
554            float[])}
555            */
556            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
557                    java.lang.String className, java.lang.String tableName,
558                    java.lang.String columnName, long classPK, float[] data)
559                    throws com.liferay.portal.kernel.exception.PortalException,
560                            com.liferay.portal.kernel.exception.SystemException {
561                    return getService()
562                                       .addValue(className, tableName, columnName, classPK, data);
563            }
564    
565            /**
566            * @deprecated {@link #addValue(long, String, String, String, long, int[])}
567            */
568            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
569                    java.lang.String className, java.lang.String tableName,
570                    java.lang.String columnName, long classPK, int data)
571                    throws com.liferay.portal.kernel.exception.PortalException,
572                            com.liferay.portal.kernel.exception.SystemException {
573                    return getService()
574                                       .addValue(className, tableName, columnName, classPK, data);
575            }
576    
577            /**
578            * @deprecated {@link #addValue(long, String, String, String, long, int[])}
579            */
580            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
581                    java.lang.String className, java.lang.String tableName,
582                    java.lang.String columnName, long classPK, int[] data)
583                    throws com.liferay.portal.kernel.exception.PortalException,
584                            com.liferay.portal.kernel.exception.SystemException {
585                    return getService()
586                                       .addValue(className, tableName, columnName, classPK, data);
587            }
588    
589            /**
590            * @deprecated {@link #addValue(long, String, String, String, long, long[])}
591            */
592            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
593                    java.lang.String className, java.lang.String tableName,
594                    java.lang.String columnName, long classPK, long data)
595                    throws com.liferay.portal.kernel.exception.PortalException,
596                            com.liferay.portal.kernel.exception.SystemException {
597                    return getService()
598                                       .addValue(className, tableName, columnName, classPK, data);
599            }
600    
601            /**
602            * @deprecated {@link #addValue(long, String, String, String, long, long[])}
603            */
604            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
605                    java.lang.String className, java.lang.String tableName,
606                    java.lang.String columnName, long classPK, long[] data)
607                    throws com.liferay.portal.kernel.exception.PortalException,
608                            com.liferay.portal.kernel.exception.SystemException {
609                    return getService()
610                                       .addValue(className, tableName, columnName, classPK, data);
611            }
612    
613            /**
614            * @deprecated {@link #addValue(long, String, String, String, long, Object)}
615            */
616            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
617                    java.lang.String className, java.lang.String tableName,
618                    java.lang.String columnName, long classPK, java.lang.Object data)
619                    throws com.liferay.portal.kernel.exception.PortalException,
620                            com.liferay.portal.kernel.exception.SystemException {
621                    return getService()
622                                       .addValue(className, tableName, columnName, classPK, data);
623            }
624    
625            /**
626            * @deprecated {@link #addValue(long, String, String, String, long,
627            short[])}
628            */
629            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
630                    java.lang.String className, java.lang.String tableName,
631                    java.lang.String columnName, long classPK, short data)
632                    throws com.liferay.portal.kernel.exception.PortalException,
633                            com.liferay.portal.kernel.exception.SystemException {
634                    return getService()
635                                       .addValue(className, tableName, columnName, classPK, data);
636            }
637    
638            /**
639            * @deprecated {@link #addValue(long, String, String, String, long,
640            short[])}
641            */
642            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
643                    java.lang.String className, java.lang.String tableName,
644                    java.lang.String columnName, long classPK, short[] data)
645                    throws com.liferay.portal.kernel.exception.PortalException,
646                            com.liferay.portal.kernel.exception.SystemException {
647                    return getService()
648                                       .addValue(className, tableName, columnName, classPK, data);
649            }
650    
651            /**
652            * @deprecated {@link #addValue(long, String, String, String, long,
653            String[])}
654            */
655            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
656                    java.lang.String className, java.lang.String tableName,
657                    java.lang.String columnName, long classPK, java.lang.String data)
658                    throws com.liferay.portal.kernel.exception.PortalException,
659                            com.liferay.portal.kernel.exception.SystemException {
660                    return getService()
661                                       .addValue(className, tableName, columnName, classPK, data);
662            }
663    
664            /**
665            * @deprecated {@link #addValue(long, String, String, String, long,
666            String[])}
667            */
668            public static com.liferay.portlet.expando.model.ExpandoValue addValue(
669                    java.lang.String className, java.lang.String tableName,
670                    java.lang.String columnName, long classPK, java.lang.String[] data)
671                    throws com.liferay.portal.kernel.exception.PortalException,
672                            com.liferay.portal.kernel.exception.SystemException {
673                    return getService()
674                                       .addValue(className, tableName, columnName, classPK, data);
675            }
676    
677            public static void addValues(long classNameId, long tableId,
678                    java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> columns,
679                    long classPK, java.util.Map<java.lang.String, java.lang.String> data)
680                    throws com.liferay.portal.kernel.exception.PortalException,
681                            com.liferay.portal.kernel.exception.SystemException {
682                    getService().addValues(classNameId, tableId, columns, classPK, data);
683            }
684    
685            public static void addValues(long companyId, long classNameId,
686                    java.lang.String tableName, long classPK,
687                    java.util.Map<java.lang.String, java.io.Serializable> attributes)
688                    throws com.liferay.portal.kernel.exception.PortalException,
689                            com.liferay.portal.kernel.exception.SystemException {
690                    getService()
691                            .addValues(companyId, classNameId, tableName, classPK, attributes);
692            }
693    
694            public static void addValues(long companyId, java.lang.String className,
695                    java.lang.String tableName, long classPK,
696                    java.util.Map<java.lang.String, java.io.Serializable> attributes)
697                    throws com.liferay.portal.kernel.exception.PortalException,
698                            com.liferay.portal.kernel.exception.SystemException {
699                    getService()
700                            .addValues(companyId, className, tableName, classPK, attributes);
701            }
702    
703            public static void deleteColumnValues(long columnId)
704                    throws com.liferay.portal.kernel.exception.SystemException {
705                    getService().deleteColumnValues(columnId);
706            }
707    
708            public static void deleteRowValues(long rowId)
709                    throws com.liferay.portal.kernel.exception.SystemException {
710                    getService().deleteRowValues(rowId);
711            }
712    
713            public static void deleteTableValues(long tableId)
714                    throws com.liferay.portal.kernel.exception.SystemException {
715                    getService().deleteTableValues(tableId);
716            }
717    
718            public static void deleteValue(
719                    com.liferay.portlet.expando.model.ExpandoValue value)
720                    throws com.liferay.portal.kernel.exception.SystemException {
721                    getService().deleteValue(value);
722            }
723    
724            public static void deleteValue(long valueId)
725                    throws com.liferay.portal.kernel.exception.PortalException,
726                            com.liferay.portal.kernel.exception.SystemException {
727                    getService().deleteValue(valueId);
728            }
729    
730            public static void deleteValue(long columnId, long rowId)
731                    throws com.liferay.portal.kernel.exception.PortalException,
732                            com.liferay.portal.kernel.exception.SystemException {
733                    getService().deleteValue(columnId, rowId);
734            }
735    
736            public static void deleteValue(long companyId, long classNameId,
737                    java.lang.String tableName, java.lang.String columnName, long classPK)
738                    throws com.liferay.portal.kernel.exception.PortalException,
739                            com.liferay.portal.kernel.exception.SystemException {
740                    getService()
741                            .deleteValue(companyId, classNameId, tableName, columnName, classPK);
742            }
743    
744            public static void deleteValue(long companyId, java.lang.String className,
745                    java.lang.String tableName, java.lang.String columnName, long classPK)
746                    throws com.liferay.portal.kernel.exception.PortalException,
747                            com.liferay.portal.kernel.exception.SystemException {
748                    getService()
749                            .deleteValue(companyId, className, tableName, columnName, classPK);
750            }
751    
752            public static void deleteValues(long classNameId, long classPK)
753                    throws com.liferay.portal.kernel.exception.SystemException {
754                    getService().deleteValues(classNameId, classPK);
755            }
756    
757            public static void deleteValues(java.lang.String className, long classPK)
758                    throws com.liferay.portal.kernel.exception.SystemException {
759                    getService().deleteValues(className, classPK);
760            }
761    
762            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
763                    long columnId, int start, int end)
764                    throws com.liferay.portal.kernel.exception.SystemException {
765                    return getService().getColumnValues(columnId, start, end);
766            }
767    
768            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
769                    long companyId, long classNameId, java.lang.String tableName,
770                    java.lang.String columnName, int start, int end)
771                    throws com.liferay.portal.kernel.exception.SystemException {
772                    return getService()
773                                       .getColumnValues(companyId, classNameId, tableName,
774                            columnName, start, end);
775            }
776    
777            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
778                    long companyId, long classNameId, java.lang.String tableName,
779                    java.lang.String columnName, java.lang.String data, int start, int end)
780                    throws com.liferay.portal.kernel.exception.SystemException {
781                    return getService()
782                                       .getColumnValues(companyId, classNameId, tableName,
783                            columnName, data, start, end);
784            }
785    
786            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
787                    long companyId, java.lang.String className, java.lang.String tableName,
788                    java.lang.String columnName, int start, int end)
789                    throws com.liferay.portal.kernel.exception.SystemException {
790                    return getService()
791                                       .getColumnValues(companyId, className, tableName,
792                            columnName, start, end);
793            }
794    
795            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
796                    long companyId, java.lang.String className, java.lang.String tableName,
797                    java.lang.String columnName, java.lang.String data, int start, int end)
798                    throws com.liferay.portal.kernel.exception.SystemException {
799                    return getService()
800                                       .getColumnValues(companyId, className, tableName,
801                            columnName, data, start, end);
802            }
803    
804            /**
805            * @deprecated {@link #getColumnValues(long, String, String, String, String,
806            int, int)}
807            */
808            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
809                    java.lang.String className, java.lang.String tableName,
810                    java.lang.String columnName, java.lang.String data, int start, int end)
811                    throws com.liferay.portal.kernel.exception.SystemException {
812                    return getService()
813                                       .getColumnValues(className, tableName, columnName, data,
814                            start, end);
815            }
816    
817            public static int getColumnValuesCount(long columnId)
818                    throws com.liferay.portal.kernel.exception.SystemException {
819                    return getService().getColumnValuesCount(columnId);
820            }
821    
822            public static int getColumnValuesCount(long companyId, long classNameId,
823                    java.lang.String tableName, java.lang.String columnName)
824                    throws com.liferay.portal.kernel.exception.SystemException {
825                    return getService()
826                                       .getColumnValuesCount(companyId, classNameId, tableName,
827                            columnName);
828            }
829    
830            public static int getColumnValuesCount(long companyId, long classNameId,
831                    java.lang.String tableName, java.lang.String columnName,
832                    java.lang.String data)
833                    throws com.liferay.portal.kernel.exception.SystemException {
834                    return getService()
835                                       .getColumnValuesCount(companyId, classNameId, tableName,
836                            columnName, data);
837            }
838    
839            public static int getColumnValuesCount(long companyId,
840                    java.lang.String className, java.lang.String tableName,
841                    java.lang.String columnName)
842                    throws com.liferay.portal.kernel.exception.SystemException {
843                    return getService()
844                                       .getColumnValuesCount(companyId, className, tableName,
845                            columnName);
846            }
847    
848            public static int getColumnValuesCount(long companyId,
849                    java.lang.String className, java.lang.String tableName,
850                    java.lang.String columnName, java.lang.String data)
851                    throws com.liferay.portal.kernel.exception.SystemException {
852                    return getService()
853                                       .getColumnValuesCount(companyId, className, tableName,
854                            columnName, data);
855            }
856    
857            /**
858            * @deprecated {@link #getColumnValuesCount(long, String, String, String,
859            String)}
860            */
861            public static int getColumnValuesCount(java.lang.String className,
862                    java.lang.String tableName, java.lang.String columnName,
863                    java.lang.String data)
864                    throws com.liferay.portal.kernel.exception.SystemException {
865                    return getService()
866                                       .getColumnValuesCount(className, tableName, columnName, data);
867            }
868    
869            public static java.util.Map<java.lang.String, java.io.Serializable> getData(
870                    long companyId, java.lang.String className, java.lang.String tableName,
871                    java.util.Collection<java.lang.String> columnNames, long classPK)
872                    throws com.liferay.portal.kernel.exception.PortalException,
873                            com.liferay.portal.kernel.exception.SystemException {
874                    return getService()
875                                       .getData(companyId, className, tableName, columnNames,
876                            classPK);
877            }
878    
879            public static java.io.Serializable getData(long companyId,
880                    java.lang.String className, java.lang.String tableName,
881                    java.lang.String columnName, long classPK)
882                    throws com.liferay.portal.kernel.exception.PortalException,
883                            com.liferay.portal.kernel.exception.SystemException {
884                    return getService()
885                                       .getData(companyId, className, tableName, columnName, classPK);
886            }
887    
888            public static boolean getData(long companyId, java.lang.String className,
889                    java.lang.String tableName, java.lang.String columnName, long classPK,
890                    boolean defaultData)
891                    throws com.liferay.portal.kernel.exception.PortalException,
892                            com.liferay.portal.kernel.exception.SystemException {
893                    return getService()
894                                       .getData(companyId, className, tableName, columnName,
895                            classPK, defaultData);
896            }
897    
898            public static boolean[] getData(long companyId, java.lang.String className,
899                    java.lang.String tableName, java.lang.String columnName, long classPK,
900                    boolean[] defaultData)
901                    throws com.liferay.portal.kernel.exception.PortalException,
902                            com.liferay.portal.kernel.exception.SystemException {
903                    return getService()
904                                       .getData(companyId, className, tableName, columnName,
905                            classPK, defaultData);
906            }
907    
908            public static java.util.Date getData(long companyId,
909                    java.lang.String className, java.lang.String tableName,
910                    java.lang.String columnName, long classPK, java.util.Date defaultData)
911                    throws com.liferay.portal.kernel.exception.PortalException,
912                            com.liferay.portal.kernel.exception.SystemException {
913                    return getService()
914                                       .getData(companyId, className, tableName, columnName,
915                            classPK, defaultData);
916            }
917    
918            public static java.util.Date[] getData(long companyId,
919                    java.lang.String className, java.lang.String tableName,
920                    java.lang.String columnName, long classPK, java.util.Date[] defaultData)
921                    throws com.liferay.portal.kernel.exception.PortalException,
922                            com.liferay.portal.kernel.exception.SystemException {
923                    return getService()
924                                       .getData(companyId, className, tableName, columnName,
925                            classPK, defaultData);
926            }
927    
928            public static double getData(long companyId, java.lang.String className,
929                    java.lang.String tableName, java.lang.String columnName, long classPK,
930                    double defaultData)
931                    throws com.liferay.portal.kernel.exception.PortalException,
932                            com.liferay.portal.kernel.exception.SystemException {
933                    return getService()
934                                       .getData(companyId, className, tableName, columnName,
935                            classPK, defaultData);
936            }
937    
938            public static double[] getData(long companyId, java.lang.String className,
939                    java.lang.String tableName, java.lang.String columnName, long classPK,
940                    double[] defaultData)
941                    throws com.liferay.portal.kernel.exception.PortalException,
942                            com.liferay.portal.kernel.exception.SystemException {
943                    return getService()
944                                       .getData(companyId, className, tableName, columnName,
945                            classPK, defaultData);
946            }
947    
948            public static float getData(long companyId, java.lang.String className,
949                    java.lang.String tableName, java.lang.String columnName, long classPK,
950                    float defaultData)
951                    throws com.liferay.portal.kernel.exception.PortalException,
952                            com.liferay.portal.kernel.exception.SystemException {
953                    return getService()
954                                       .getData(companyId, className, tableName, columnName,
955                            classPK, defaultData);
956            }
957    
958            public static float[] getData(long companyId, java.lang.String className,
959                    java.lang.String tableName, java.lang.String columnName, long classPK,
960                    float[] defaultData)
961                    throws com.liferay.portal.kernel.exception.PortalException,
962                            com.liferay.portal.kernel.exception.SystemException {
963                    return getService()
964                                       .getData(companyId, className, tableName, columnName,
965                            classPK, defaultData);
966            }
967    
968            public static int getData(long companyId, java.lang.String className,
969                    java.lang.String tableName, java.lang.String columnName, long classPK,
970                    int defaultData)
971                    throws com.liferay.portal.kernel.exception.PortalException,
972                            com.liferay.portal.kernel.exception.SystemException {
973                    return getService()
974                                       .getData(companyId, className, tableName, columnName,
975                            classPK, defaultData);
976            }
977    
978            public static int[] getData(long companyId, java.lang.String className,
979                    java.lang.String tableName, java.lang.String columnName, long classPK,
980                    int[] defaultData)
981                    throws com.liferay.portal.kernel.exception.PortalException,
982                            com.liferay.portal.kernel.exception.SystemException {
983                    return getService()
984                                       .getData(companyId, className, tableName, columnName,
985                            classPK, defaultData);
986            }
987    
988            public static long getData(long companyId, java.lang.String className,
989                    java.lang.String tableName, java.lang.String columnName, long classPK,
990                    long defaultData)
991                    throws com.liferay.portal.kernel.exception.PortalException,
992                            com.liferay.portal.kernel.exception.SystemException {
993                    return getService()
994                                       .getData(companyId, className, tableName, columnName,
995                            classPK, defaultData);
996            }
997    
998            public static long[] getData(long companyId, java.lang.String className,
999                    java.lang.String tableName, java.lang.String columnName, long classPK,
1000                    long[] defaultData)
1001                    throws com.liferay.portal.kernel.exception.PortalException,
1002                            com.liferay.portal.kernel.exception.SystemException {
1003                    return getService()
1004                                       .getData(companyId, className, tableName, columnName,
1005                            classPK, defaultData);
1006            }
1007    
1008            public static short getData(long companyId, java.lang.String className,
1009                    java.lang.String tableName, java.lang.String columnName, long classPK,
1010                    short defaultData)
1011                    throws com.liferay.portal.kernel.exception.PortalException,
1012                            com.liferay.portal.kernel.exception.SystemException {
1013                    return getService()
1014                                       .getData(companyId, className, tableName, columnName,
1015                            classPK, defaultData);
1016            }
1017    
1018            public static short[] getData(long companyId, java.lang.String className,
1019                    java.lang.String tableName, java.lang.String columnName, long classPK,
1020                    short[] defaultData)
1021                    throws com.liferay.portal.kernel.exception.PortalException,
1022                            com.liferay.portal.kernel.exception.SystemException {
1023                    return getService()
1024                                       .getData(companyId, className, tableName, columnName,
1025                            classPK, defaultData);
1026            }
1027    
1028            public static java.lang.String getData(long companyId,
1029                    java.lang.String className, java.lang.String tableName,
1030                    java.lang.String columnName, long classPK, java.lang.String defaultData)
1031                    throws com.liferay.portal.kernel.exception.PortalException,
1032                            com.liferay.portal.kernel.exception.SystemException {
1033                    return getService()
1034                                       .getData(companyId, className, tableName, columnName,
1035                            classPK, defaultData);
1036            }
1037    
1038            public static java.lang.String[] getData(long companyId,
1039                    java.lang.String className, java.lang.String tableName,
1040                    java.lang.String columnName, long classPK,
1041                    java.lang.String[] defaultData)
1042                    throws com.liferay.portal.kernel.exception.PortalException,
1043                            com.liferay.portal.kernel.exception.SystemException {
1044                    return getService()
1045                                       .getData(companyId, className, tableName, columnName,
1046                            classPK, defaultData);
1047            }
1048    
1049            /**
1050            * @deprecated {@link #getData(long, String, String, String, long)}
1051            */
1052            public static java.io.Serializable getData(java.lang.String className,
1053                    java.lang.String tableName, java.lang.String columnName, long classPK)
1054                    throws com.liferay.portal.kernel.exception.PortalException,
1055                            com.liferay.portal.kernel.exception.SystemException {
1056                    return getService().getData(className, tableName, columnName, classPK);
1057            }
1058    
1059            /**
1060            * @deprecated {@link #getData(long, String, String, String, long,
1061            boolean[])}
1062            */
1063            public static boolean getData(java.lang.String className,
1064                    java.lang.String tableName, java.lang.String columnName, long classPK,
1065                    boolean defaultData)
1066                    throws com.liferay.portal.kernel.exception.PortalException,
1067                            com.liferay.portal.kernel.exception.SystemException {
1068                    return getService()
1069                                       .getData(className, tableName, columnName, classPK,
1070                            defaultData);
1071            }
1072    
1073            /**
1074            * @deprecated {@link #getData(long, String, String, String, long,
1075            boolean[])}
1076            */
1077            public static boolean[] getData(java.lang.String className,
1078                    java.lang.String tableName, java.lang.String columnName, long classPK,
1079                    boolean[] defaultData)
1080                    throws com.liferay.portal.kernel.exception.PortalException,
1081                            com.liferay.portal.kernel.exception.SystemException {
1082                    return getService()
1083                                       .getData(className, tableName, columnName, classPK,
1084                            defaultData);
1085            }
1086    
1087            /**
1088            * @deprecated {@link #getData(long, String, String, String, long, Date[])}
1089            */
1090            public static java.util.Date getData(java.lang.String className,
1091                    java.lang.String tableName, java.lang.String columnName, long classPK,
1092                    java.util.Date defaultData)
1093                    throws com.liferay.portal.kernel.exception.PortalException,
1094                            com.liferay.portal.kernel.exception.SystemException {
1095                    return getService()
1096                                       .getData(className, tableName, columnName, classPK,
1097                            defaultData);
1098            }
1099    
1100            /**
1101            * @deprecated {@link #getData(long, String, String, String, long, Date[])}
1102            */
1103            public static java.util.Date[] getData(java.lang.String className,
1104                    java.lang.String tableName, java.lang.String columnName, long classPK,
1105                    java.util.Date[] defaultData)
1106                    throws com.liferay.portal.kernel.exception.PortalException,
1107                            com.liferay.portal.kernel.exception.SystemException {
1108                    return getService()
1109                                       .getData(className, tableName, columnName, classPK,
1110                            defaultData);
1111            }
1112    
1113            /**
1114            * @deprecated {@link #getData(long, String, String, String, long,
1115            double[])}
1116            */
1117            public static double getData(java.lang.String className,
1118                    java.lang.String tableName, java.lang.String columnName, long classPK,
1119                    double defaultData)
1120                    throws com.liferay.portal.kernel.exception.PortalException,
1121                            com.liferay.portal.kernel.exception.SystemException {
1122                    return getService()
1123                                       .getData(className, tableName, columnName, classPK,
1124                            defaultData);
1125            }
1126    
1127            /**
1128            * @deprecated {@link #getData(long, String, String, String, long,
1129            double[])}
1130            */
1131            public static double[] getData(java.lang.String className,
1132                    java.lang.String tableName, java.lang.String columnName, long classPK,
1133                    double[] defaultData)
1134                    throws com.liferay.portal.kernel.exception.PortalException,
1135                            com.liferay.portal.kernel.exception.SystemException {
1136                    return getService()
1137                                       .getData(className, tableName, columnName, classPK,
1138                            defaultData);
1139            }
1140    
1141            /**
1142            * @deprecated {@link #getData(long, String, String, String, long, float[])}
1143            */
1144            public static float getData(java.lang.String className,
1145                    java.lang.String tableName, java.lang.String columnName, long classPK,
1146                    float defaultData)
1147                    throws com.liferay.portal.kernel.exception.PortalException,
1148                            com.liferay.portal.kernel.exception.SystemException {
1149                    return getService()
1150                                       .getData(className, tableName, columnName, classPK,
1151                            defaultData);
1152            }
1153    
1154            /**
1155            * @deprecated {@link #getData(long, String, String, String, long, float[])}
1156            */
1157            public static float[] getData(java.lang.String className,
1158                    java.lang.String tableName, java.lang.String columnName, long classPK,
1159                    float[] defaultData)
1160                    throws com.liferay.portal.kernel.exception.PortalException,
1161                            com.liferay.portal.kernel.exception.SystemException {
1162                    return getService()
1163                                       .getData(className, tableName, columnName, classPK,
1164                            defaultData);
1165            }
1166    
1167            /**
1168            * @deprecated {@link #getData(long, String, String, String, long, int[])}
1169            */
1170            public static int getData(java.lang.String className,
1171                    java.lang.String tableName, java.lang.String columnName, long classPK,
1172                    int defaultData)
1173                    throws com.liferay.portal.kernel.exception.PortalException,
1174                            com.liferay.portal.kernel.exception.SystemException {
1175                    return getService()
1176                                       .getData(className, tableName, columnName, classPK,
1177                            defaultData);
1178            }
1179    
1180            /**
1181            * @deprecated {@link #getData(long, String, String, String, long, int[])}
1182            */
1183            public static int[] getData(java.lang.String className,
1184                    java.lang.String tableName, java.lang.String columnName, long classPK,
1185                    int[] defaultData)
1186                    throws com.liferay.portal.kernel.exception.PortalException,
1187                            com.liferay.portal.kernel.exception.SystemException {
1188                    return getService()
1189                                       .getData(className, tableName, columnName, classPK,
1190                            defaultData);
1191            }
1192    
1193            /**
1194            * @deprecated {@link #getData(long, String, String, String, long, long[])}
1195            */
1196            public static long getData(java.lang.String className,
1197                    java.lang.String tableName, java.lang.String columnName, long classPK,
1198                    long defaultData)
1199                    throws com.liferay.portal.kernel.exception.PortalException,
1200                            com.liferay.portal.kernel.exception.SystemException {
1201                    return getService()
1202                                       .getData(className, tableName, columnName, classPK,
1203                            defaultData);
1204            }
1205    
1206            /**
1207            * @deprecated {@link #getData(long, String, String, String, long, long[])}
1208            */
1209            public static long[] getData(java.lang.String className,
1210                    java.lang.String tableName, java.lang.String columnName, long classPK,
1211                    long[] defaultData)
1212                    throws com.liferay.portal.kernel.exception.PortalException,
1213                            com.liferay.portal.kernel.exception.SystemException {
1214                    return getService()
1215                                       .getData(className, tableName, columnName, classPK,
1216                            defaultData);
1217            }
1218    
1219            /**
1220            * @deprecated {@link #getData(long, String, String, String, long, short[])}
1221            */
1222            public static short getData(java.lang.String className,
1223                    java.lang.String tableName, java.lang.String columnName, long classPK,
1224                    short defaultData)
1225                    throws com.liferay.portal.kernel.exception.PortalException,
1226                            com.liferay.portal.kernel.exception.SystemException {
1227                    return getService()
1228                                       .getData(className, tableName, columnName, classPK,
1229                            defaultData);
1230            }
1231    
1232            /**
1233            * @deprecated {@link #getData(long, String, String, String, long, short[])}
1234            */
1235            public static short[] getData(java.lang.String className,
1236                    java.lang.String tableName, java.lang.String columnName, long classPK,
1237                    short[] defaultData)
1238                    throws com.liferay.portal.kernel.exception.PortalException,
1239                            com.liferay.portal.kernel.exception.SystemException {
1240                    return getService()
1241                                       .getData(className, tableName, columnName, classPK,
1242                            defaultData);
1243            }
1244    
1245            /**
1246            * @deprecated {@link #getData(long, String, String, String, long,
1247            String[])}
1248            */
1249            public static java.lang.String getData(java.lang.String className,
1250                    java.lang.String tableName, java.lang.String columnName, long classPK,
1251                    java.lang.String defaultData)
1252                    throws com.liferay.portal.kernel.exception.PortalException,
1253                            com.liferay.portal.kernel.exception.SystemException {
1254                    return getService()
1255                                       .getData(className, tableName, columnName, classPK,
1256                            defaultData);
1257            }
1258    
1259            /**
1260            * @deprecated {@link #getData(long, String, String, String, long,
1261            String[])}
1262            */
1263            public static java.lang.String[] getData(java.lang.String className,
1264                    java.lang.String tableName, java.lang.String columnName, long classPK,
1265                    java.lang.String[] defaultData)
1266                    throws com.liferay.portal.kernel.exception.PortalException,
1267                            com.liferay.portal.kernel.exception.SystemException {
1268                    return getService()
1269                                       .getData(className, tableName, columnName, classPK,
1270                            defaultData);
1271            }
1272    
1273            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
1274                    long companyId, long classNameId, java.lang.String columnName,
1275                    int start, int end)
1276                    throws com.liferay.portal.kernel.exception.SystemException {
1277                    return getService()
1278                                       .getDefaultTableColumnValues(companyId, classNameId,
1279                            columnName, start, end);
1280            }
1281    
1282            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
1283                    long companyId, java.lang.String className,
1284                    java.lang.String columnName, int start, int end)
1285                    throws com.liferay.portal.kernel.exception.SystemException {
1286                    return getService()
1287                                       .getDefaultTableColumnValues(companyId, className,
1288                            columnName, start, end);
1289            }
1290    
1291            public static int getDefaultTableColumnValuesCount(long companyId,
1292                    long classNameId, java.lang.String columnName)
1293                    throws com.liferay.portal.kernel.exception.SystemException {
1294                    return getService()
1295                                       .getDefaultTableColumnValuesCount(companyId, classNameId,
1296                            columnName);
1297            }
1298    
1299            public static int getDefaultTableColumnValuesCount(long companyId,
1300                    java.lang.String className, java.lang.String columnName)
1301                    throws com.liferay.portal.kernel.exception.SystemException {
1302                    return getService()
1303                                       .getDefaultTableColumnValuesCount(companyId, className,
1304                            columnName);
1305            }
1306    
1307            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
1308                    long rowId) throws com.liferay.portal.kernel.exception.SystemException {
1309                    return getService().getRowValues(rowId);
1310            }
1311    
1312            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
1313                    long rowId, int start, int end)
1314                    throws com.liferay.portal.kernel.exception.SystemException {
1315                    return getService().getRowValues(rowId, start, end);
1316            }
1317    
1318            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
1319                    long companyId, long classNameId, java.lang.String tableName,
1320                    long classPK, int start, int end)
1321                    throws com.liferay.portal.kernel.exception.SystemException {
1322                    return getService()
1323                                       .getRowValues(companyId, classNameId, tableName, classPK,
1324                            start, end);
1325            }
1326    
1327            public static java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
1328                    long companyId, java.lang.String className, java.lang.String tableName,
1329                    long classPK, int start, int end)
1330                    throws com.liferay.portal.kernel.exception.SystemException {
1331                    return getService()
1332                                       .getRowValues(companyId, className, tableName, classPK,
1333                            start, end);
1334            }
1335    
1336            public static int getRowValuesCount(long rowId)
1337                    throws com.liferay.portal.kernel.exception.SystemException {
1338                    return getService().getRowValuesCount(rowId);
1339            }
1340    
1341            public static int getRowValuesCount(long companyId, long classNameId,
1342                    java.lang.String tableName, long classPK)
1343                    throws com.liferay.portal.kernel.exception.SystemException {
1344                    return getService()
1345                                       .getRowValuesCount(companyId, classNameId, tableName, classPK);
1346            }
1347    
1348            public static int getRowValuesCount(long companyId,
1349                    java.lang.String className, java.lang.String tableName, long classPK)
1350                    throws com.liferay.portal.kernel.exception.SystemException {
1351                    return getService()
1352                                       .getRowValuesCount(companyId, className, tableName, classPK);
1353            }
1354    
1355            public static com.liferay.portlet.expando.model.ExpandoValue getValue(
1356                    long valueId)
1357                    throws com.liferay.portal.kernel.exception.PortalException,
1358                            com.liferay.portal.kernel.exception.SystemException {
1359                    return getService().getValue(valueId);
1360            }
1361    
1362            public static com.liferay.portlet.expando.model.ExpandoValue getValue(
1363                    long columnId, long rowId)
1364                    throws com.liferay.portal.kernel.exception.PortalException,
1365                            com.liferay.portal.kernel.exception.SystemException {
1366                    return getService().getValue(columnId, rowId);
1367            }
1368    
1369            public static com.liferay.portlet.expando.model.ExpandoValue getValue(
1370                    long tableId, long columnId, long classPK)
1371                    throws com.liferay.portal.kernel.exception.SystemException {
1372                    return getService().getValue(tableId, columnId, classPK);
1373            }
1374    
1375            public static com.liferay.portlet.expando.model.ExpandoValue getValue(
1376                    long companyId, long classNameId, java.lang.String tableName,
1377                    java.lang.String columnName, long classPK)
1378                    throws com.liferay.portal.kernel.exception.SystemException {
1379                    return getService()
1380                                       .getValue(companyId, classNameId, tableName, columnName,
1381                            classPK);
1382            }
1383    
1384            /**
1385            * @deprecated {@link #getValue(long, long, String, String, long)}
1386            */
1387            public static com.liferay.portlet.expando.model.ExpandoValue getValue(
1388                    long classNameId, java.lang.String tableName,
1389                    java.lang.String columnName, long classPK)
1390                    throws com.liferay.portal.kernel.exception.SystemException {
1391                    return getService().getValue(classNameId, tableName, columnName, classPK);
1392            }
1393    
1394            public static com.liferay.portlet.expando.model.ExpandoValue getValue(
1395                    long companyId, java.lang.String className, java.lang.String tableName,
1396                    java.lang.String columnName, long classPK)
1397                    throws com.liferay.portal.kernel.exception.SystemException {
1398                    return getService()
1399                                       .getValue(companyId, className, tableName, columnName,
1400                            classPK);
1401            }
1402    
1403            /**
1404            * @deprecated {@link #getValue(long, String, String, String, long)}
1405            */
1406            public static com.liferay.portlet.expando.model.ExpandoValue getValue(
1407                    java.lang.String className, java.lang.String tableName,
1408                    java.lang.String columnName, long classPK)
1409                    throws com.liferay.portal.kernel.exception.SystemException {
1410                    return getService().getValue(className, tableName, columnName, classPK);
1411            }
1412    
1413            public static ExpandoValueLocalService getService() {
1414                    if (_service == null) {
1415                            _service = (ExpandoValueLocalService)PortalBeanLocatorUtil.locate(ExpandoValueLocalService.class.getName());
1416    
1417                            ReferenceRegistry.registerReference(ExpandoValueLocalServiceUtil.class,
1418                                    "_service");
1419                            MethodCache.remove(ExpandoValueLocalService.class);
1420                    }
1421    
1422                    return _service;
1423            }
1424    
1425            public void setService(ExpandoValueLocalService service) {
1426                    MethodCache.remove(ExpandoValueLocalService.class);
1427    
1428                    _service = service;
1429    
1430                    ReferenceRegistry.registerReference(ExpandoValueLocalServiceUtil.class,
1431                            "_service");
1432                    MethodCache.remove(ExpandoValueLocalService.class);
1433            }
1434    
1435            private static ExpandoValueLocalService _service;
1436    }