001    /**
002     * Copyright (c) 2000-present 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.exception.PortalException;
020    import com.liferay.portal.kernel.exception.SystemException;
021    import com.liferay.portal.kernel.search.IndexableType;
022    import com.liferay.portal.kernel.transaction.Isolation;
023    import com.liferay.portal.kernel.transaction.Propagation;
024    import com.liferay.portal.kernel.transaction.Transactional;
025    import com.liferay.portal.service.BaseLocalService;
026    import com.liferay.portal.service.PersistedModelLocalService;
027    
028    /**
029     * Provides the local service interface for ExpandoValue. Methods of this
030     * service will not have security checks based on the propagated JAAS
031     * credentials because this service can only be accessed from within the same
032     * VM.
033     *
034     * @author Brian Wing Shun Chan
035     * @see ExpandoValueLocalServiceUtil
036     * @see com.liferay.portlet.expando.service.base.ExpandoValueLocalServiceBaseImpl
037     * @see com.liferay.portlet.expando.service.impl.ExpandoValueLocalServiceImpl
038     * @generated
039     */
040    @ProviderType
041    @Transactional(isolation = Isolation.PORTAL, rollbackFor =  {
042            PortalException.class, SystemException.class})
043    public interface ExpandoValueLocalService extends BaseLocalService,
044            PersistedModelLocalService {
045            /*
046             * NOTE FOR DEVELOPERS:
047             *
048             * Never modify or reference this interface directly. Always use {@link ExpandoValueLocalServiceUtil} to access the expando value local service. Add custom service methods to {@link com.liferay.portlet.expando.service.impl.ExpandoValueLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
049             */
050    
051            /**
052            * Adds the expando value to the database. Also notifies the appropriate model listeners.
053            *
054            * @param expandoValue the expando value
055            * @return the expando value that was added
056            */
057            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
058            public com.liferay.portlet.expando.model.ExpandoValue addExpandoValue(
059                    com.liferay.portlet.expando.model.ExpandoValue expandoValue);
060    
061            /**
062            * @deprecated As of 6.1.0, replaced by {@link #addValue(long, String,
063            String, String, long, float[])}
064            */
065            @java.lang.Deprecated
066            public com.liferay.portlet.expando.model.ExpandoValue addValue(
067                    java.lang.String className, java.lang.String tableName,
068                    java.lang.String columnName, long classPK, float data)
069                    throws PortalException;
070    
071            /**
072            * @deprecated As of 6.1.0, replaced by {@link #addValue(long, String,
073            String, String, long, float[])}
074            */
075            @java.lang.Deprecated
076            public com.liferay.portlet.expando.model.ExpandoValue addValue(
077                    java.lang.String className, java.lang.String tableName,
078                    java.lang.String columnName, long classPK, float[] data)
079                    throws PortalException;
080    
081            /**
082            * @deprecated As of 6.1.0, replaced by {@link #addValue(long, String,
083            String, String, long, boolean[])}
084            */
085            @java.lang.Deprecated
086            public com.liferay.portlet.expando.model.ExpandoValue addValue(
087                    java.lang.String className, java.lang.String tableName,
088                    java.lang.String columnName, long classPK, boolean[] data)
089                    throws PortalException;
090    
091            /**
092            * @deprecated As of 6.1.0, replaced by {@link #addValue(long, String,
093            String, String, long, double[])}
094            */
095            @java.lang.Deprecated
096            public com.liferay.portlet.expando.model.ExpandoValue addValue(
097                    java.lang.String className, java.lang.String tableName,
098                    java.lang.String columnName, long classPK, double[] data)
099                    throws PortalException;
100    
101            /**
102            * @deprecated As of 6.1.0, replaced by {@link #addValue(long, String,
103            String, String, long, int[])}
104            */
105            @java.lang.Deprecated
106            public com.liferay.portlet.expando.model.ExpandoValue addValue(
107                    java.lang.String className, java.lang.String tableName,
108                    java.lang.String columnName, long classPK, int data)
109                    throws PortalException;
110    
111            /**
112            * @deprecated As of 6.1.0, replaced by {@link #addValue(long, String,
113            String, String, long, short[])}
114            */
115            @java.lang.Deprecated
116            public com.liferay.portlet.expando.model.ExpandoValue addValue(
117                    java.lang.String className, java.lang.String tableName,
118                    java.lang.String columnName, long classPK, short data)
119                    throws PortalException;
120    
121            /**
122            * @deprecated As of 6.1.0, replaced by {@link #addValue(long, String,
123            String, String, long, long[])}
124            */
125            @java.lang.Deprecated
126            public com.liferay.portlet.expando.model.ExpandoValue addValue(
127                    java.lang.String className, java.lang.String tableName,
128                    java.lang.String columnName, long classPK, long data)
129                    throws PortalException;
130    
131            /**
132            * @deprecated As of 6.1.0, replaced by {@link #addValue(long, String,
133            String, String, long, Date[])}
134            */
135            @java.lang.Deprecated
136            public com.liferay.portlet.expando.model.ExpandoValue addValue(
137                    java.lang.String className, java.lang.String tableName,
138                    java.lang.String columnName, long classPK, java.util.Date[] data)
139                    throws PortalException;
140    
141            /**
142            * @deprecated As of 6.1.0, replaced by {@link #addValue(long, String,
143            String, String, long, boolean[])}
144            */
145            @java.lang.Deprecated
146            public com.liferay.portlet.expando.model.ExpandoValue addValue(
147                    java.lang.String className, java.lang.String tableName,
148                    java.lang.String columnName, long classPK, boolean data)
149                    throws PortalException;
150    
151            /**
152            * @deprecated As of 6.1.0, replaced by {@link #addValue(long, String,
153            String, String, long, long[])}
154            */
155            @java.lang.Deprecated
156            public com.liferay.portlet.expando.model.ExpandoValue addValue(
157                    java.lang.String className, java.lang.String tableName,
158                    java.lang.String columnName, long classPK, long[] data)
159                    throws PortalException;
160    
161            /**
162            * @deprecated As of 6.1.0, replaced by {@link #addValue(long, String,
163            String, String, long, int[])}
164            */
165            @java.lang.Deprecated
166            public com.liferay.portlet.expando.model.ExpandoValue addValue(
167                    java.lang.String className, java.lang.String tableName,
168                    java.lang.String columnName, long classPK, int[] data)
169                    throws PortalException;
170    
171            /**
172            * @deprecated As of 6.1.0, replaced by {@link #addValue(long, String,
173            String, String, long, String[])}
174            */
175            @java.lang.Deprecated
176            public com.liferay.portlet.expando.model.ExpandoValue addValue(
177                    java.lang.String className, java.lang.String tableName,
178                    java.lang.String columnName, long classPK, java.lang.String data)
179                    throws PortalException;
180    
181            /**
182            * @deprecated As of 6.1.0, replaced by {@link #addValue(long, String,
183            String, String, long, short[])}
184            */
185            @java.lang.Deprecated
186            public com.liferay.portlet.expando.model.ExpandoValue addValue(
187                    java.lang.String className, java.lang.String tableName,
188                    java.lang.String columnName, long classPK, short[] data)
189                    throws PortalException;
190    
191            /**
192            * @deprecated As of 6.1.0, replaced by {@link #addValue(long, String,
193            String, String, long, double[])}
194            */
195            @java.lang.Deprecated
196            public com.liferay.portlet.expando.model.ExpandoValue addValue(
197                    java.lang.String className, java.lang.String tableName,
198                    java.lang.String columnName, long classPK, double data)
199                    throws PortalException;
200    
201            /**
202            * @deprecated As of 6.1.0, replaced by {@link #addValue(long, String,
203            String, String, long, String[])}
204            */
205            @java.lang.Deprecated
206            public com.liferay.portlet.expando.model.ExpandoValue addValue(
207                    java.lang.String className, java.lang.String tableName,
208                    java.lang.String columnName, long classPK, java.lang.String[] data)
209                    throws PortalException;
210    
211            /**
212            * @deprecated As of 6.1.0, replaced by {@link #addValue(long, String,
213            String, String, long, Object)}
214            */
215            @java.lang.Deprecated
216            public com.liferay.portlet.expando.model.ExpandoValue addValue(
217                    java.lang.String className, java.lang.String tableName,
218                    java.lang.String columnName, long classPK, java.lang.Object data)
219                    throws PortalException;
220    
221            /**
222            * @deprecated As of 6.1.0, replaced by {@link #addValue(long, String,
223            String, String, long, Date[])}
224            */
225            @java.lang.Deprecated
226            public com.liferay.portlet.expando.model.ExpandoValue addValue(
227                    java.lang.String className, java.lang.String tableName,
228                    java.lang.String columnName, long classPK, java.util.Date data)
229                    throws PortalException;
230    
231            public com.liferay.portlet.expando.model.ExpandoValue addValue(
232                    long classNameId, long tableId, long columnId, long classPK,
233                    java.lang.String data) throws PortalException;
234    
235            public com.liferay.portlet.expando.model.ExpandoValue addValue(
236                    long companyId, java.lang.String className, java.lang.String tableName,
237                    java.lang.String columnName, long classPK, short data)
238                    throws PortalException;
239    
240            public com.liferay.portlet.expando.model.ExpandoValue addValue(
241                    long companyId, java.lang.String className, java.lang.String tableName,
242                    java.lang.String columnName, long classPK, int data)
243                    throws PortalException;
244    
245            public com.liferay.portlet.expando.model.ExpandoValue addValue(
246                    long companyId, java.lang.String className, java.lang.String tableName,
247                    java.lang.String columnName, long classPK, java.util.Date[] data)
248                    throws PortalException;
249    
250            public com.liferay.portlet.expando.model.ExpandoValue addValue(
251                    long companyId, java.lang.String className, java.lang.String tableName,
252                    java.lang.String columnName, long classPK, double data)
253                    throws PortalException;
254    
255            public com.liferay.portlet.expando.model.ExpandoValue addValue(
256                    long companyId, java.lang.String className, java.lang.String tableName,
257                    java.lang.String columnName, long classPK, java.lang.Number[] data)
258                    throws PortalException;
259    
260            public com.liferay.portlet.expando.model.ExpandoValue addValue(
261                    long companyId, java.lang.String className, java.lang.String tableName,
262                    java.lang.String columnName, long classPK, double[] data)
263                    throws PortalException;
264    
265            public com.liferay.portlet.expando.model.ExpandoValue addValue(
266                    long companyId, java.lang.String className, java.lang.String tableName,
267                    java.lang.String columnName, long classPK, long[] data)
268                    throws PortalException;
269    
270            public com.liferay.portlet.expando.model.ExpandoValue addValue(
271                    long companyId, java.lang.String className, java.lang.String tableName,
272                    java.lang.String columnName, long classPK, float[] data)
273                    throws PortalException;
274    
275            public com.liferay.portlet.expando.model.ExpandoValue addValue(
276                    long companyId, java.lang.String className, java.lang.String tableName,
277                    java.lang.String columnName, long classPK, boolean data)
278                    throws PortalException;
279    
280            public com.liferay.portlet.expando.model.ExpandoValue addValue(
281                    long companyId, java.lang.String className, java.lang.String tableName,
282                    java.lang.String columnName, long classPK, boolean[] data)
283                    throws PortalException;
284    
285            public com.liferay.portlet.expando.model.ExpandoValue addValue(
286                    long companyId, java.lang.String className, java.lang.String tableName,
287                    java.lang.String columnName, long classPK, java.util.Date data)
288                    throws PortalException;
289    
290            public com.liferay.portlet.expando.model.ExpandoValue addValue(
291                    long companyId, java.lang.String className, java.lang.String tableName,
292                    java.lang.String columnName, long classPK, java.lang.String data)
293                    throws PortalException;
294    
295            public com.liferay.portlet.expando.model.ExpandoValue addValue(
296                    long companyId, java.lang.String className, java.lang.String tableName,
297                    java.lang.String columnName, long classPK, long data)
298                    throws PortalException;
299    
300            public com.liferay.portlet.expando.model.ExpandoValue addValue(
301                    long companyId, java.lang.String className, java.lang.String tableName,
302                    java.lang.String columnName, long classPK, java.lang.Object data)
303                    throws PortalException;
304    
305            public com.liferay.portlet.expando.model.ExpandoValue addValue(
306                    long companyId, java.lang.String className, java.lang.String tableName,
307                    java.lang.String columnName, long classPK, int[] data)
308                    throws PortalException;
309    
310            public com.liferay.portlet.expando.model.ExpandoValue addValue(
311                    long companyId, java.lang.String className, java.lang.String tableName,
312                    java.lang.String columnName, long classPK, java.lang.Number data)
313                    throws PortalException;
314    
315            public com.liferay.portlet.expando.model.ExpandoValue addValue(
316                    long companyId, java.lang.String className, java.lang.String tableName,
317                    java.lang.String columnName, long classPK, float data)
318                    throws PortalException;
319    
320            public com.liferay.portlet.expando.model.ExpandoValue addValue(
321                    long companyId, java.lang.String className, java.lang.String tableName,
322                    java.lang.String columnName, long classPK, java.lang.String[] data)
323                    throws PortalException;
324    
325            public com.liferay.portlet.expando.model.ExpandoValue addValue(
326                    long companyId, java.lang.String className, java.lang.String tableName,
327                    java.lang.String columnName, long classPK, short[] data)
328                    throws PortalException;
329    
330            public com.liferay.portlet.expando.model.ExpandoValue addValue(
331                    long companyId, java.lang.String className, java.lang.String tableName,
332                    java.lang.String columnName, long classPK,
333                    java.util.Map<java.util.Locale, ?> dataMap,
334                    java.util.Locale defautlLocale) throws PortalException;
335    
336            public void addValues(long classNameId, long tableId,
337                    java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> columns,
338                    long classPK, java.util.Map<java.lang.String, java.lang.String> data)
339                    throws PortalException;
340    
341            public void addValues(long companyId, java.lang.String className,
342                    java.lang.String tableName, long classPK,
343                    java.util.Map<java.lang.String, java.io.Serializable> attributes)
344                    throws PortalException;
345    
346            public void addValues(long companyId, long classNameId,
347                    java.lang.String tableName, long classPK,
348                    java.util.Map<java.lang.String, java.io.Serializable> attributes)
349                    throws PortalException;
350    
351            /**
352            * Creates a new expando value with the primary key. Does not add the expando value to the database.
353            *
354            * @param valueId the primary key for the new expando value
355            * @return the new expando value
356            */
357            public com.liferay.portlet.expando.model.ExpandoValue createExpandoValue(
358                    long valueId);
359    
360            public void deleteColumnValues(long columnId);
361    
362            /**
363            * Deletes the expando value from the database. Also notifies the appropriate model listeners.
364            *
365            * @param expandoValue the expando value
366            * @return the expando value that was removed
367            */
368            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
369            public com.liferay.portlet.expando.model.ExpandoValue deleteExpandoValue(
370                    com.liferay.portlet.expando.model.ExpandoValue expandoValue);
371    
372            /**
373            * Deletes the expando value with the primary key from the database. Also notifies the appropriate model listeners.
374            *
375            * @param valueId the primary key of the expando value
376            * @return the expando value that was removed
377            * @throws PortalException if a expando value with the primary key could not be found
378            */
379            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
380            public com.liferay.portlet.expando.model.ExpandoValue deleteExpandoValue(
381                    long valueId) throws PortalException;
382    
383            /**
384            * @throws PortalException
385            */
386            @Override
387            public com.liferay.portal.model.PersistedModel deletePersistedModel(
388                    com.liferay.portal.model.PersistedModel persistedModel)
389                    throws PortalException;
390    
391            public void deleteRowValues(long rowId);
392    
393            public void deleteTableValues(long tableId);
394    
395            public void deleteValue(long columnId, long rowId)
396                    throws PortalException;
397    
398            public void deleteValue(long companyId, java.lang.String className,
399                    java.lang.String tableName, java.lang.String columnName, long classPK)
400                    throws PortalException;
401    
402            public void deleteValue(long companyId, long classNameId,
403                    java.lang.String tableName, java.lang.String columnName, long classPK)
404                    throws PortalException;
405    
406            public void deleteValue(
407                    com.liferay.portlet.expando.model.ExpandoValue value);
408    
409            public void deleteValue(long valueId) throws PortalException;
410    
411            public void deleteValues(java.lang.String className, long classPK);
412    
413            public void deleteValues(long classNameId, long classPK);
414    
415            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
416    
417            /**
418            * Performs a dynamic query on the database and returns the matching rows.
419            *
420            * @param dynamicQuery the dynamic query
421            * @return the matching rows
422            */
423            public <T> java.util.List<T> dynamicQuery(
424                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
425    
426            /**
427            * Performs a dynamic query on the database and returns a range of the matching rows.
428            *
429            * <p>
430            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.expando.model.impl.ExpandoValueModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
431            * </p>
432            *
433            * @param dynamicQuery the dynamic query
434            * @param start the lower bound of the range of model instances
435            * @param end the upper bound of the range of model instances (not inclusive)
436            * @return the range of matching rows
437            */
438            public <T> java.util.List<T> dynamicQuery(
439                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
440                    int end);
441    
442            /**
443            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
444            *
445            * <p>
446            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.expando.model.impl.ExpandoValueModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
447            * </p>
448            *
449            * @param dynamicQuery the dynamic query
450            * @param start the lower bound of the range of model instances
451            * @param end the upper bound of the range of model instances (not inclusive)
452            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
453            * @return the ordered range of matching rows
454            */
455            public <T> java.util.List<T> dynamicQuery(
456                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
457                    int end,
458                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator);
459    
460            /**
461            * Returns the number of rows matching the dynamic query.
462            *
463            * @param dynamicQuery the dynamic query
464            * @return the number of rows matching the dynamic query
465            */
466            public long dynamicQueryCount(
467                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
468    
469            /**
470            * Returns the number of rows matching the dynamic query.
471            *
472            * @param dynamicQuery the dynamic query
473            * @param projection the projection to apply to the query
474            * @return the number of rows matching the dynamic query
475            */
476            public long dynamicQueryCount(
477                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
478                    com.liferay.portal.kernel.dao.orm.Projection projection);
479    
480            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
481            public com.liferay.portlet.expando.model.ExpandoValue fetchExpandoValue(
482                    long valueId);
483    
484            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
485            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery();
486    
487            /**
488            * Returns the Spring bean ID for this bean.
489            *
490            * @return the Spring bean ID for this bean
491            */
492            public java.lang.String getBeanIdentifier();
493    
494            /**
495            * @deprecated As of 6.1.0, replaced by {@link #getColumnValues(long,
496            String, String, String, String, int, int)}
497            */
498            @java.lang.Deprecated
499            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
500            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
501                    java.lang.String className, java.lang.String tableName,
502                    java.lang.String columnName, java.lang.String data, int start, int end);
503    
504            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
505            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
506                    long columnId, int start, int end);
507    
508            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
509            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
510                    long companyId, java.lang.String className, java.lang.String tableName,
511                    java.lang.String columnName, java.lang.String data, int start, int end);
512    
513            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
514            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
515                    long companyId, java.lang.String className, java.lang.String tableName,
516                    java.lang.String columnName, int start, int end);
517    
518            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
519            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
520                    long companyId, long classNameId, java.lang.String tableName,
521                    java.lang.String columnName, java.lang.String data, int start, int end);
522    
523            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
524            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
525                    long companyId, long classNameId, java.lang.String tableName,
526                    java.lang.String columnName, int start, int end);
527    
528            /**
529            * @deprecated As of 6.1.0, replaced by {@link #getColumnValuesCount(long,
530            String, String, String, String)}
531            */
532            @java.lang.Deprecated
533            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
534            public int getColumnValuesCount(java.lang.String className,
535                    java.lang.String tableName, java.lang.String columnName,
536                    java.lang.String data);
537    
538            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
539            public int getColumnValuesCount(long columnId);
540    
541            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
542            public int getColumnValuesCount(long companyId, java.lang.String className,
543                    java.lang.String tableName, java.lang.String columnName);
544    
545            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
546            public int getColumnValuesCount(long companyId, java.lang.String className,
547                    java.lang.String tableName, java.lang.String columnName,
548                    java.lang.String data);
549    
550            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
551            public int getColumnValuesCount(long companyId, long classNameId,
552                    java.lang.String tableName, java.lang.String columnName);
553    
554            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
555            public int getColumnValuesCount(long companyId, long classNameId,
556                    java.lang.String tableName, java.lang.String columnName,
557                    java.lang.String data);
558    
559            /**
560            * @deprecated As of 6.1.0, replaced by {@link #getData(long, String,
561            String, String, long)}
562            */
563            @java.lang.Deprecated
564            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
565            public java.io.Serializable getData(java.lang.String className,
566                    java.lang.String tableName, java.lang.String columnName, long classPK)
567                    throws PortalException;
568    
569            /**
570            * @deprecated As of 6.1.0, replaced by {@link #getData(long, String,
571            String, String, long, float[])}
572            */
573            @java.lang.Deprecated
574            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
575            public float[] getData(java.lang.String className,
576                    java.lang.String tableName, java.lang.String columnName, long classPK,
577                    float[] defaultData) throws PortalException;
578    
579            /**
580            * @deprecated As of 6.1.0, replaced by {@link #getData(long, String,
581            String, String, long, int[])}
582            */
583            @java.lang.Deprecated
584            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
585            public int[] getData(java.lang.String className,
586                    java.lang.String tableName, java.lang.String columnName, long classPK,
587                    int[] defaultData) throws PortalException;
588    
589            /**
590            * @deprecated As of 6.1.0, replaced by {@link #getData(long, String,
591            String, String, long, int[])}
592            */
593            @java.lang.Deprecated
594            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
595            public int getData(java.lang.String className, java.lang.String tableName,
596                    java.lang.String columnName, long classPK, int defaultData)
597                    throws PortalException;
598    
599            /**
600            * @deprecated As of 6.1.0, replaced by {@link #getData(long, String,
601            String, String, long, short[])}
602            */
603            @java.lang.Deprecated
604            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
605            public short[] getData(java.lang.String className,
606                    java.lang.String tableName, java.lang.String columnName, long classPK,
607                    short[] defaultData) throws PortalException;
608    
609            /**
610            * @deprecated As of 6.1.0, replaced by {@link #getData(long, String,
611            String, String, long, double[])}
612            */
613            @java.lang.Deprecated
614            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
615            public double[] getData(java.lang.String className,
616                    java.lang.String tableName, java.lang.String columnName, long classPK,
617                    double[] defaultData) throws PortalException;
618    
619            /**
620            * @deprecated As of 6.1.0, replaced by {@link #getData(long, String,
621            String, String, long, boolean[])}
622            */
623            @java.lang.Deprecated
624            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
625            public boolean getData(java.lang.String className,
626                    java.lang.String tableName, java.lang.String columnName, long classPK,
627                    boolean defaultData) throws PortalException;
628    
629            /**
630            * @deprecated As of 6.1.0, replaced by {@link #getData(long, String,
631            String, String, long, float[])}
632            */
633            @java.lang.Deprecated
634            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
635            public float getData(java.lang.String className,
636                    java.lang.String tableName, java.lang.String columnName, long classPK,
637                    float defaultData) throws PortalException;
638    
639            /**
640            * @deprecated As of 6.1.0, replaced by {@link #getData(long, String,
641            String, String, long, long[])}
642            */
643            @java.lang.Deprecated
644            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
645            public long getData(java.lang.String className, java.lang.String tableName,
646                    java.lang.String columnName, long classPK, long defaultData)
647                    throws PortalException;
648    
649            /**
650            * @deprecated As of 6.1.0, replaced by {@link #getData(long, String,
651            String, String, long, String[])}
652            */
653            @java.lang.Deprecated
654            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
655            public java.lang.String[] getData(java.lang.String className,
656                    java.lang.String tableName, java.lang.String columnName, long classPK,
657                    java.lang.String[] defaultData) throws PortalException;
658    
659            /**
660            * @deprecated As of 6.1.0, replaced by {@link #getData(long, String,
661            String, String, long, double[])}
662            */
663            @java.lang.Deprecated
664            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
665            public double getData(java.lang.String className,
666                    java.lang.String tableName, java.lang.String columnName, long classPK,
667                    double defaultData) throws PortalException;
668    
669            /**
670            * @deprecated As of 6.1.0, replaced by {@link #getData(long, String,
671            String, String, long, long[])}
672            */
673            @java.lang.Deprecated
674            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
675            public long[] getData(java.lang.String className,
676                    java.lang.String tableName, java.lang.String columnName, long classPK,
677                    long[] defaultData) throws PortalException;
678    
679            /**
680            * @deprecated As of 6.1.0, replaced by {@link #getData(long, String,
681            String, String, long, short[])}
682            */
683            @java.lang.Deprecated
684            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
685            public short getData(java.lang.String className,
686                    java.lang.String tableName, java.lang.String columnName, long classPK,
687                    short defaultData) throws PortalException;
688    
689            /**
690            * @deprecated As of 6.1.0, replaced by {@link #getData(long, String,
691            String, String, long, Date[])}
692            */
693            @java.lang.Deprecated
694            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
695            public java.util.Date[] getData(java.lang.String className,
696                    java.lang.String tableName, java.lang.String columnName, long classPK,
697                    java.util.Date[] defaultData) throws PortalException;
698    
699            /**
700            * @deprecated As of 6.1.0, replaced by {@link #getData(long, String,
701            String, String, long, boolean[])}
702            */
703            @java.lang.Deprecated
704            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
705            public boolean[] getData(java.lang.String className,
706                    java.lang.String tableName, java.lang.String columnName, long classPK,
707                    boolean[] defaultData) throws PortalException;
708    
709            /**
710            * @deprecated As of 6.1.0, replaced by {@link #getData(long, String,
711            String, String, long, Date[])}
712            */
713            @java.lang.Deprecated
714            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
715            public java.util.Date getData(java.lang.String className,
716                    java.lang.String tableName, java.lang.String columnName, long classPK,
717                    java.util.Date defaultData) throws PortalException;
718    
719            /**
720            * @deprecated As of 6.1.0, replaced by {@link #getData(long, String,
721            String, String, long, String[])}
722            */
723            @java.lang.Deprecated
724            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
725            public java.lang.String getData(java.lang.String className,
726                    java.lang.String tableName, java.lang.String columnName, long classPK,
727                    java.lang.String defaultData) throws PortalException;
728    
729            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
730            public java.io.Serializable getData(long companyId,
731                    java.lang.String className, java.lang.String tableName,
732                    java.lang.String columnName, long classPK) throws PortalException;
733    
734            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
735            public java.lang.String getData(long companyId, java.lang.String className,
736                    java.lang.String tableName, java.lang.String columnName, long classPK,
737                    java.lang.String defaultData) throws PortalException;
738    
739            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
740            public boolean getData(long companyId, java.lang.String className,
741                    java.lang.String tableName, java.lang.String columnName, long classPK,
742                    boolean defaultData) throws PortalException;
743    
744            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
745            public java.util.Date[] getData(long companyId, java.lang.String className,
746                    java.lang.String tableName, java.lang.String columnName, long classPK,
747                    java.util.Date[] defaultData) throws PortalException;
748    
749            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
750            public double[] getData(long companyId, java.lang.String className,
751                    java.lang.String tableName, java.lang.String columnName, long classPK,
752                    double[] defaultData) throws PortalException;
753    
754            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
755            public java.lang.Number[] getData(long companyId,
756                    java.lang.String className, java.lang.String tableName,
757                    java.lang.String columnName, long classPK,
758                    java.lang.Number[] defaultData) throws PortalException;
759    
760            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
761            public short getData(long companyId, java.lang.String className,
762                    java.lang.String tableName, java.lang.String columnName, long classPK,
763                    short defaultData) throws PortalException;
764    
765            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
766            public float getData(long companyId, java.lang.String className,
767                    java.lang.String tableName, java.lang.String columnName, long classPK,
768                    float defaultData) throws PortalException;
769    
770            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
771            public float[] getData(long companyId, java.lang.String className,
772                    java.lang.String tableName, java.lang.String columnName, long classPK,
773                    float[] defaultData) throws PortalException;
774    
775            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
776            public java.util.Map<?, ?> getData(long companyId,
777                    java.lang.String className, java.lang.String tableName,
778                    java.lang.String columnName, long classPK,
779                    java.util.Map<?, ?> defaultData) throws PortalException;
780    
781            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
782            public java.lang.String[] getData(long companyId,
783                    java.lang.String className, java.lang.String tableName,
784                    java.lang.String columnName, long classPK,
785                    java.lang.String[] defaultData) throws PortalException;
786    
787            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
788            public short[] getData(long companyId, java.lang.String className,
789                    java.lang.String tableName, java.lang.String columnName, long classPK,
790                    short[] defaultData) throws PortalException;
791    
792            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
793            public long[] getData(long companyId, java.lang.String className,
794                    java.lang.String tableName, java.lang.String columnName, long classPK,
795                    long[] defaultData) throws PortalException;
796    
797            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
798            public boolean[] getData(long companyId, java.lang.String className,
799                    java.lang.String tableName, java.lang.String columnName, long classPK,
800                    boolean[] defaultData) throws PortalException;
801    
802            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
803            public double getData(long companyId, java.lang.String className,
804                    java.lang.String tableName, java.lang.String columnName, long classPK,
805                    double defaultData) throws PortalException;
806    
807            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
808            public long getData(long companyId, java.lang.String className,
809                    java.lang.String tableName, java.lang.String columnName, long classPK,
810                    long defaultData) throws PortalException;
811    
812            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
813            public int[] getData(long companyId, java.lang.String className,
814                    java.lang.String tableName, java.lang.String columnName, long classPK,
815                    int[] defaultData) throws PortalException;
816    
817            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
818            public java.util.Date getData(long companyId, java.lang.String className,
819                    java.lang.String tableName, java.lang.String columnName, long classPK,
820                    java.util.Date defaultData) throws PortalException;
821    
822            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
823            public int getData(long companyId, java.lang.String className,
824                    java.lang.String tableName, java.lang.String columnName, long classPK,
825                    int defaultData) throws PortalException;
826    
827            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
828            public java.lang.Number getData(long companyId, java.lang.String className,
829                    java.lang.String tableName, java.lang.String columnName, long classPK,
830                    java.lang.Number defaultData) throws PortalException;
831    
832            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
833            public java.util.Map<java.lang.String, java.io.Serializable> getData(
834                    long companyId, java.lang.String className, java.lang.String tableName,
835                    java.util.Collection<java.lang.String> columnNames, long classPK)
836                    throws PortalException;
837    
838            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
839            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
840                    long companyId, java.lang.String className,
841                    java.lang.String columnName, int start, int end);
842    
843            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
844            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
845                    long companyId, long classNameId, java.lang.String columnName,
846                    int start, int end);
847    
848            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
849            public int getDefaultTableColumnValuesCount(long companyId,
850                    java.lang.String className, java.lang.String columnName);
851    
852            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
853            public int getDefaultTableColumnValuesCount(long companyId,
854                    long classNameId, java.lang.String columnName);
855    
856            /**
857            * Returns the expando value with the primary key.
858            *
859            * @param valueId the primary key of the expando value
860            * @return the expando value
861            * @throws PortalException if a expando value with the primary key could not be found
862            */
863            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
864            public com.liferay.portlet.expando.model.ExpandoValue getExpandoValue(
865                    long valueId) throws PortalException;
866    
867            /**
868            * Returns a range of all the expando values.
869            *
870            * <p>
871            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.expando.model.impl.ExpandoValueModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
872            * </p>
873            *
874            * @param start the lower bound of the range of expando values
875            * @param end the upper bound of the range of expando values (not inclusive)
876            * @return the range of expando values
877            */
878            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
879            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getExpandoValues(
880                    int start, int end);
881    
882            /**
883            * Returns the number of expando values.
884            *
885            * @return the number of expando values
886            */
887            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
888            public int getExpandoValuesCount();
889    
890            @Override
891            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
892            public com.liferay.portal.model.PersistedModel getPersistedModel(
893                    java.io.Serializable primaryKeyObj) throws PortalException;
894    
895            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
896            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
897                    long companyId, java.lang.String className, java.lang.String tableName,
898                    long classPK, int start, int end);
899    
900            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
901            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
902                    long companyId, long classNameId, java.lang.String tableName,
903                    long classPK, int start, int end);
904    
905            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
906            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
907                    long rowId);
908    
909            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
910            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
911                    long rowId, int start, int end);
912    
913            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
914            public int getRowValuesCount(long companyId, java.lang.String className,
915                    java.lang.String tableName, long classPK);
916    
917            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
918            public int getRowValuesCount(long companyId, long classNameId,
919                    java.lang.String tableName, long classPK);
920    
921            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
922            public int getRowValuesCount(long rowId);
923    
924            /**
925            * @deprecated As of 6.1.0, replaced by {@link #getValue(long, String,
926            String, String, long)}
927            */
928            @java.lang.Deprecated
929            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
930            public com.liferay.portlet.expando.model.ExpandoValue getValue(
931                    java.lang.String className, java.lang.String tableName,
932                    java.lang.String columnName, long classPK);
933    
934            /**
935            * @deprecated As of 6.1.0, replaced by {@link #getValue(long, long, String,
936            String, long)}
937            */
938            @java.lang.Deprecated
939            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
940            public com.liferay.portlet.expando.model.ExpandoValue getValue(
941                    long classNameId, java.lang.String tableName,
942                    java.lang.String columnName, long classPK);
943    
944            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
945            public com.liferay.portlet.expando.model.ExpandoValue getValue(
946                    long columnId, long rowId) throws PortalException;
947    
948            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
949            public com.liferay.portlet.expando.model.ExpandoValue getValue(
950                    long companyId, java.lang.String className, java.lang.String tableName,
951                    java.lang.String columnName, long classPK);
952    
953            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
954            public com.liferay.portlet.expando.model.ExpandoValue getValue(
955                    long companyId, long classNameId, java.lang.String tableName,
956                    java.lang.String columnName, long classPK);
957    
958            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
959            public com.liferay.portlet.expando.model.ExpandoValue getValue(
960                    long tableId, long columnId, long classPK);
961    
962            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
963            public com.liferay.portlet.expando.model.ExpandoValue getValue(long valueId)
964                    throws PortalException;
965    
966            /**
967            * Sets the Spring bean ID for this bean.
968            *
969            * @param beanIdentifier the Spring bean ID for this bean
970            */
971            public void setBeanIdentifier(java.lang.String beanIdentifier);
972    
973            /**
974            * Updates the expando value in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
975            *
976            * @param expandoValue the expando value
977            * @return the expando value that was updated
978            */
979            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
980            public com.liferay.portlet.expando.model.ExpandoValue updateExpandoValue(
981                    com.liferay.portlet.expando.model.ExpandoValue expandoValue);
982    }