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            public com.liferay.portlet.expando.model.ExpandoValue addValue(
062                    long classNameId, long tableId, long columnId, long classPK,
063                    java.lang.String data) throws PortalException;
064    
065            public com.liferay.portlet.expando.model.ExpandoValue addValue(
066                    long companyId, java.lang.String className, java.lang.String tableName,
067                    java.lang.String columnName, long classPK, short data)
068                    throws PortalException;
069    
070            public com.liferay.portlet.expando.model.ExpandoValue addValue(
071                    long companyId, java.lang.String className, java.lang.String tableName,
072                    java.lang.String columnName, long classPK, int data)
073                    throws PortalException;
074    
075            public com.liferay.portlet.expando.model.ExpandoValue addValue(
076                    long companyId, java.lang.String className, java.lang.String tableName,
077                    java.lang.String columnName, long classPK, java.util.Date[] data)
078                    throws PortalException;
079    
080            public com.liferay.portlet.expando.model.ExpandoValue addValue(
081                    long companyId, java.lang.String className, java.lang.String tableName,
082                    java.lang.String columnName, long classPK, double data)
083                    throws PortalException;
084    
085            public com.liferay.portlet.expando.model.ExpandoValue addValue(
086                    long companyId, java.lang.String className, java.lang.String tableName,
087                    java.lang.String columnName, long classPK, java.lang.Number[] data)
088                    throws PortalException;
089    
090            public com.liferay.portlet.expando.model.ExpandoValue addValue(
091                    long companyId, java.lang.String className, java.lang.String tableName,
092                    java.lang.String columnName, long classPK, double[] data)
093                    throws PortalException;
094    
095            public com.liferay.portlet.expando.model.ExpandoValue addValue(
096                    long companyId, java.lang.String className, java.lang.String tableName,
097                    java.lang.String columnName, long classPK, long[] data)
098                    throws PortalException;
099    
100            public com.liferay.portlet.expando.model.ExpandoValue addValue(
101                    long companyId, java.lang.String className, java.lang.String tableName,
102                    java.lang.String columnName, long classPK, float[] data)
103                    throws PortalException;
104    
105            public com.liferay.portlet.expando.model.ExpandoValue addValue(
106                    long companyId, java.lang.String className, java.lang.String tableName,
107                    java.lang.String columnName, long classPK, boolean data)
108                    throws PortalException;
109    
110            public com.liferay.portlet.expando.model.ExpandoValue addValue(
111                    long companyId, java.lang.String className, java.lang.String tableName,
112                    java.lang.String columnName, long classPK, boolean[] data)
113                    throws PortalException;
114    
115            public com.liferay.portlet.expando.model.ExpandoValue addValue(
116                    long companyId, java.lang.String className, java.lang.String tableName,
117                    java.lang.String columnName, long classPK, java.util.Date data)
118                    throws PortalException;
119    
120            public com.liferay.portlet.expando.model.ExpandoValue addValue(
121                    long companyId, java.lang.String className, java.lang.String tableName,
122                    java.lang.String columnName, long classPK, java.lang.String data)
123                    throws PortalException;
124    
125            public com.liferay.portlet.expando.model.ExpandoValue addValue(
126                    long companyId, java.lang.String className, java.lang.String tableName,
127                    java.lang.String columnName, long classPK, long data)
128                    throws PortalException;
129    
130            public com.liferay.portlet.expando.model.ExpandoValue addValue(
131                    long companyId, java.lang.String className, java.lang.String tableName,
132                    java.lang.String columnName, long classPK, java.lang.Object data)
133                    throws PortalException;
134    
135            public com.liferay.portlet.expando.model.ExpandoValue addValue(
136                    long companyId, java.lang.String className, java.lang.String tableName,
137                    java.lang.String columnName, long classPK, int[] data)
138                    throws PortalException;
139    
140            public com.liferay.portlet.expando.model.ExpandoValue addValue(
141                    long companyId, java.lang.String className, java.lang.String tableName,
142                    java.lang.String columnName, long classPK, java.lang.Number data)
143                    throws PortalException;
144    
145            public com.liferay.portlet.expando.model.ExpandoValue addValue(
146                    long companyId, java.lang.String className, java.lang.String tableName,
147                    java.lang.String columnName, long classPK, float data)
148                    throws PortalException;
149    
150            public com.liferay.portlet.expando.model.ExpandoValue addValue(
151                    long companyId, java.lang.String className, java.lang.String tableName,
152                    java.lang.String columnName, long classPK, java.lang.String[] data)
153                    throws PortalException;
154    
155            public com.liferay.portlet.expando.model.ExpandoValue addValue(
156                    long companyId, java.lang.String className, java.lang.String tableName,
157                    java.lang.String columnName, long classPK, short[] data)
158                    throws PortalException;
159    
160            public com.liferay.portlet.expando.model.ExpandoValue addValue(
161                    long companyId, java.lang.String className, java.lang.String tableName,
162                    java.lang.String columnName, long classPK,
163                    java.util.Map<java.util.Locale, ?> dataMap,
164                    java.util.Locale defautlLocale) throws PortalException;
165    
166            public void addValues(long classNameId, long tableId,
167                    java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> columns,
168                    long classPK, java.util.Map<java.lang.String, java.lang.String> data)
169                    throws PortalException;
170    
171            public void addValues(long companyId, java.lang.String className,
172                    java.lang.String tableName, long classPK,
173                    java.util.Map<java.lang.String, java.io.Serializable> attributes)
174                    throws PortalException;
175    
176            public void addValues(long companyId, long classNameId,
177                    java.lang.String tableName, long classPK,
178                    java.util.Map<java.lang.String, java.io.Serializable> attributes)
179                    throws PortalException;
180    
181            /**
182            * Creates a new expando value with the primary key. Does not add the expando value to the database.
183            *
184            * @param valueId the primary key for the new expando value
185            * @return the new expando value
186            */
187            public com.liferay.portlet.expando.model.ExpandoValue createExpandoValue(
188                    long valueId);
189    
190            public void deleteColumnValues(long columnId);
191    
192            /**
193            * Deletes the expando value from the database. Also notifies the appropriate model listeners.
194            *
195            * @param expandoValue the expando value
196            * @return the expando value that was removed
197            */
198            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
199            public com.liferay.portlet.expando.model.ExpandoValue deleteExpandoValue(
200                    com.liferay.portlet.expando.model.ExpandoValue expandoValue);
201    
202            /**
203            * Deletes the expando value with the primary key from the database. Also notifies the appropriate model listeners.
204            *
205            * @param valueId the primary key of the expando value
206            * @return the expando value that was removed
207            * @throws PortalException if a expando value with the primary key could not be found
208            */
209            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
210            public com.liferay.portlet.expando.model.ExpandoValue deleteExpandoValue(
211                    long valueId) throws PortalException;
212    
213            /**
214            * @throws PortalException
215            */
216            @Override
217            public com.liferay.portal.model.PersistedModel deletePersistedModel(
218                    com.liferay.portal.model.PersistedModel persistedModel)
219                    throws PortalException;
220    
221            public void deleteRowValues(long rowId);
222    
223            public void deleteTableValues(long tableId);
224    
225            public void deleteValue(long columnId, long rowId)
226                    throws PortalException;
227    
228            public void deleteValue(long companyId, java.lang.String className,
229                    java.lang.String tableName, java.lang.String columnName, long classPK)
230                    throws PortalException;
231    
232            public void deleteValue(long companyId, long classNameId,
233                    java.lang.String tableName, java.lang.String columnName, long classPK)
234                    throws PortalException;
235    
236            public void deleteValue(
237                    com.liferay.portlet.expando.model.ExpandoValue value);
238    
239            public void deleteValue(long valueId) throws PortalException;
240    
241            public void deleteValues(java.lang.String className, long classPK);
242    
243            public void deleteValues(long classNameId, long classPK);
244    
245            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
246    
247            /**
248            * Performs a dynamic query on the database and returns the matching rows.
249            *
250            * @param dynamicQuery the dynamic query
251            * @return the matching rows
252            */
253            public <T> java.util.List<T> dynamicQuery(
254                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
255    
256            /**
257            * Performs a dynamic query on the database and returns a range of the matching rows.
258            *
259            * <p>
260            * 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.
261            * </p>
262            *
263            * @param dynamicQuery the dynamic query
264            * @param start the lower bound of the range of model instances
265            * @param end the upper bound of the range of model instances (not inclusive)
266            * @return the range of matching rows
267            */
268            public <T> java.util.List<T> dynamicQuery(
269                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
270                    int end);
271    
272            /**
273            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
274            *
275            * <p>
276            * 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.
277            * </p>
278            *
279            * @param dynamicQuery the dynamic query
280            * @param start the lower bound of the range of model instances
281            * @param end the upper bound of the range of model instances (not inclusive)
282            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
283            * @return the ordered range of matching rows
284            */
285            public <T> java.util.List<T> dynamicQuery(
286                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
287                    int end,
288                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator);
289    
290            /**
291            * Returns the number of rows matching the dynamic query.
292            *
293            * @param dynamicQuery the dynamic query
294            * @return the number of rows matching the dynamic query
295            */
296            public long dynamicQueryCount(
297                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
298    
299            /**
300            * Returns the number of rows matching the dynamic query.
301            *
302            * @param dynamicQuery the dynamic query
303            * @param projection the projection to apply to the query
304            * @return the number of rows matching the dynamic query
305            */
306            public long dynamicQueryCount(
307                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
308                    com.liferay.portal.kernel.dao.orm.Projection projection);
309    
310            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
311            public com.liferay.portlet.expando.model.ExpandoValue fetchExpandoValue(
312                    long valueId);
313    
314            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
315            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery();
316    
317            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
318            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
319                    long columnId, int start, int end);
320    
321            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
322            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
323                    long companyId, java.lang.String className, java.lang.String tableName,
324                    java.lang.String columnName, java.lang.String data, int start, int end);
325    
326            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
327            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
328                    long companyId, java.lang.String className, java.lang.String tableName,
329                    java.lang.String columnName, int start, int end);
330    
331            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
332            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
333                    long companyId, long classNameId, java.lang.String tableName,
334                    java.lang.String columnName, java.lang.String data, int start, int end);
335    
336            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
337            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
338                    long companyId, long classNameId, java.lang.String tableName,
339                    java.lang.String columnName, int start, int end);
340    
341            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
342            public int getColumnValuesCount(long columnId);
343    
344            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
345            public int getColumnValuesCount(long companyId, java.lang.String className,
346                    java.lang.String tableName, java.lang.String columnName);
347    
348            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
349            public int getColumnValuesCount(long companyId, java.lang.String className,
350                    java.lang.String tableName, java.lang.String columnName,
351                    java.lang.String data);
352    
353            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
354            public int getColumnValuesCount(long companyId, long classNameId,
355                    java.lang.String tableName, java.lang.String columnName);
356    
357            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
358            public int getColumnValuesCount(long companyId, long classNameId,
359                    java.lang.String tableName, java.lang.String columnName,
360                    java.lang.String data);
361    
362            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
363            public java.io.Serializable getData(long companyId,
364                    java.lang.String className, java.lang.String tableName,
365                    java.lang.String columnName, long classPK) throws PortalException;
366    
367            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
368            public java.lang.String getData(long companyId, java.lang.String className,
369                    java.lang.String tableName, java.lang.String columnName, long classPK,
370                    java.lang.String defaultData) throws PortalException;
371    
372            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
373            public boolean getData(long companyId, java.lang.String className,
374                    java.lang.String tableName, java.lang.String columnName, long classPK,
375                    boolean defaultData) throws PortalException;
376    
377            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
378            public java.util.Date[] getData(long companyId, java.lang.String className,
379                    java.lang.String tableName, java.lang.String columnName, long classPK,
380                    java.util.Date[] defaultData) throws PortalException;
381    
382            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
383            public double[] getData(long companyId, java.lang.String className,
384                    java.lang.String tableName, java.lang.String columnName, long classPK,
385                    double[] defaultData) throws PortalException;
386    
387            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
388            public java.lang.Number[] getData(long companyId,
389                    java.lang.String className, java.lang.String tableName,
390                    java.lang.String columnName, long classPK,
391                    java.lang.Number[] defaultData) throws PortalException;
392    
393            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
394            public short getData(long companyId, java.lang.String className,
395                    java.lang.String tableName, java.lang.String columnName, long classPK,
396                    short defaultData) throws PortalException;
397    
398            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
399            public float getData(long companyId, java.lang.String className,
400                    java.lang.String tableName, java.lang.String columnName, long classPK,
401                    float defaultData) throws PortalException;
402    
403            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
404            public float[] getData(long companyId, java.lang.String className,
405                    java.lang.String tableName, java.lang.String columnName, long classPK,
406                    float[] defaultData) throws PortalException;
407    
408            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
409            public java.util.Map<?, ?> getData(long companyId,
410                    java.lang.String className, java.lang.String tableName,
411                    java.lang.String columnName, long classPK,
412                    java.util.Map<?, ?> defaultData) throws PortalException;
413    
414            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
415            public java.lang.String[] getData(long companyId,
416                    java.lang.String className, java.lang.String tableName,
417                    java.lang.String columnName, long classPK,
418                    java.lang.String[] defaultData) throws PortalException;
419    
420            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
421            public short[] getData(long companyId, java.lang.String className,
422                    java.lang.String tableName, java.lang.String columnName, long classPK,
423                    short[] defaultData) throws PortalException;
424    
425            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
426            public long[] getData(long companyId, java.lang.String className,
427                    java.lang.String tableName, java.lang.String columnName, long classPK,
428                    long[] defaultData) throws PortalException;
429    
430            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
431            public boolean[] getData(long companyId, java.lang.String className,
432                    java.lang.String tableName, java.lang.String columnName, long classPK,
433                    boolean[] defaultData) throws PortalException;
434    
435            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
436            public double getData(long companyId, java.lang.String className,
437                    java.lang.String tableName, java.lang.String columnName, long classPK,
438                    double defaultData) throws PortalException;
439    
440            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
441            public long getData(long companyId, java.lang.String className,
442                    java.lang.String tableName, java.lang.String columnName, long classPK,
443                    long defaultData) throws PortalException;
444    
445            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
446            public int[] getData(long companyId, java.lang.String className,
447                    java.lang.String tableName, java.lang.String columnName, long classPK,
448                    int[] defaultData) throws PortalException;
449    
450            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
451            public java.util.Date getData(long companyId, java.lang.String className,
452                    java.lang.String tableName, java.lang.String columnName, long classPK,
453                    java.util.Date defaultData) throws PortalException;
454    
455            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
456            public int getData(long companyId, java.lang.String className,
457                    java.lang.String tableName, java.lang.String columnName, long classPK,
458                    int defaultData) throws PortalException;
459    
460            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
461            public java.lang.Number getData(long companyId, java.lang.String className,
462                    java.lang.String tableName, java.lang.String columnName, long classPK,
463                    java.lang.Number defaultData) throws PortalException;
464    
465            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
466            public java.util.Map<java.lang.String, java.io.Serializable> getData(
467                    long companyId, java.lang.String className, java.lang.String tableName,
468                    java.util.Collection<java.lang.String> columnNames, long classPK)
469                    throws PortalException;
470    
471            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
472            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
473                    long companyId, java.lang.String className,
474                    java.lang.String columnName, int start, int end);
475    
476            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
477            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
478                    long companyId, long classNameId, java.lang.String columnName,
479                    int start, int end);
480    
481            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
482            public int getDefaultTableColumnValuesCount(long companyId,
483                    java.lang.String className, java.lang.String columnName);
484    
485            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
486            public int getDefaultTableColumnValuesCount(long companyId,
487                    long classNameId, java.lang.String columnName);
488    
489            /**
490            * Returns the expando value with the primary key.
491            *
492            * @param valueId the primary key of the expando value
493            * @return the expando value
494            * @throws PortalException if a expando value with the primary key could not be found
495            */
496            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
497            public com.liferay.portlet.expando.model.ExpandoValue getExpandoValue(
498                    long valueId) throws PortalException;
499    
500            /**
501            * Returns a range of all the expando values.
502            *
503            * <p>
504            * 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.
505            * </p>
506            *
507            * @param start the lower bound of the range of expando values
508            * @param end the upper bound of the range of expando values (not inclusive)
509            * @return the range of expando values
510            */
511            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
512            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getExpandoValues(
513                    int start, int end);
514    
515            /**
516            * Returns the number of expando values.
517            *
518            * @return the number of expando values
519            */
520            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
521            public int getExpandoValuesCount();
522    
523            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
524            public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery();
525    
526            /**
527            * Returns the OSGi service identifier.
528            *
529            * @return the OSGi service identifier
530            */
531            public java.lang.String getOSGiServiceIdentifier();
532    
533            @Override
534            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
535            public com.liferay.portal.model.PersistedModel getPersistedModel(
536                    java.io.Serializable primaryKeyObj) throws PortalException;
537    
538            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
539            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
540                    long companyId, java.lang.String className, java.lang.String tableName,
541                    long classPK, int start, int end);
542    
543            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
544            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
545                    long companyId, long classNameId, java.lang.String tableName,
546                    long classPK, int start, int end);
547    
548            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
549            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
550                    long rowId);
551    
552            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
553            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
554                    long rowId, int start, int end);
555    
556            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
557            public int getRowValuesCount(long companyId, java.lang.String className,
558                    java.lang.String tableName, long classPK);
559    
560            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
561            public int getRowValuesCount(long companyId, long classNameId,
562                    java.lang.String tableName, long classPK);
563    
564            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
565            public int getRowValuesCount(long rowId);
566    
567            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
568            public com.liferay.portlet.expando.model.ExpandoValue getValue(
569                    long columnId, long rowId) throws PortalException;
570    
571            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
572            public com.liferay.portlet.expando.model.ExpandoValue getValue(
573                    long companyId, java.lang.String className, java.lang.String tableName,
574                    java.lang.String columnName, long classPK);
575    
576            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
577            public com.liferay.portlet.expando.model.ExpandoValue getValue(
578                    long companyId, long classNameId, java.lang.String tableName,
579                    java.lang.String columnName, long classPK);
580    
581            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
582            public com.liferay.portlet.expando.model.ExpandoValue getValue(
583                    long tableId, long columnId, long classPK);
584    
585            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
586            public com.liferay.portlet.expando.model.ExpandoValue getValue(long valueId)
587                    throws PortalException;
588    
589            /**
590            * Updates the expando value in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
591            *
592            * @param expandoValue the expando value
593            * @return the expando value that was updated
594            */
595            @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
596            public com.liferay.portlet.expando.model.ExpandoValue updateExpandoValue(
597                    com.liferay.portlet.expando.model.ExpandoValue expandoValue);
598    }