001    /**
002     * Copyright (c) 2000-2013 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.persistence;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.persistence.BasePersistence;
020    
021    import com.liferay.portlet.expando.model.ExpandoRow;
022    
023    /**
024     * The persistence interface for the expando row service.
025     *
026     * <p>
027     * Caching information and settings can be found in <code>portal.properties</code>
028     * </p>
029     *
030     * @author Brian Wing Shun Chan
031     * @see ExpandoRowPersistenceImpl
032     * @see ExpandoRowUtil
033     * @generated
034     */
035    @ProviderType
036    public interface ExpandoRowPersistence extends BasePersistence<ExpandoRow> {
037            /*
038             * NOTE FOR DEVELOPERS:
039             *
040             * Never modify or reference this interface directly. Always use {@link ExpandoRowUtil} to access the expando row persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
041             */
042    
043            /**
044            * Returns all the expando rows where tableId = &#63;.
045            *
046            * @param tableId the table ID
047            * @return the matching expando rows
048            * @throws SystemException if a system exception occurred
049            */
050            public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByTableId(
051                    long tableId)
052                    throws com.liferay.portal.kernel.exception.SystemException;
053    
054            /**
055            * Returns a range of all the expando rows where tableId = &#63;.
056            *
057            * <p>
058            * 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.ExpandoRowModelImpl}. 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.
059            * </p>
060            *
061            * @param tableId the table ID
062            * @param start the lower bound of the range of expando rows
063            * @param end the upper bound of the range of expando rows (not inclusive)
064            * @return the range of matching expando rows
065            * @throws SystemException if a system exception occurred
066            */
067            public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByTableId(
068                    long tableId, int start, int end)
069                    throws com.liferay.portal.kernel.exception.SystemException;
070    
071            /**
072            * Returns an ordered range of all the expando rows where tableId = &#63;.
073            *
074            * <p>
075            * 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.ExpandoRowModelImpl}. 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.
076            * </p>
077            *
078            * @param tableId the table ID
079            * @param start the lower bound of the range of expando rows
080            * @param end the upper bound of the range of expando rows (not inclusive)
081            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
082            * @return the ordered range of matching expando rows
083            * @throws SystemException if a system exception occurred
084            */
085            public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByTableId(
086                    long tableId, int start, int end,
087                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
088                    throws com.liferay.portal.kernel.exception.SystemException;
089    
090            /**
091            * Returns the first expando row in the ordered set where tableId = &#63;.
092            *
093            * @param tableId the table ID
094            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
095            * @return the first matching expando row
096            * @throws com.liferay.portlet.expando.NoSuchRowException if a matching expando row could not be found
097            * @throws SystemException if a system exception occurred
098            */
099            public com.liferay.portlet.expando.model.ExpandoRow findByTableId_First(
100                    long tableId,
101                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
102                    throws com.liferay.portal.kernel.exception.SystemException,
103                            com.liferay.portlet.expando.NoSuchRowException;
104    
105            /**
106            * Returns the first expando row in the ordered set where tableId = &#63;.
107            *
108            * @param tableId the table ID
109            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
110            * @return the first matching expando row, or <code>null</code> if a matching expando row could not be found
111            * @throws SystemException if a system exception occurred
112            */
113            public com.liferay.portlet.expando.model.ExpandoRow fetchByTableId_First(
114                    long tableId,
115                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
116                    throws com.liferay.portal.kernel.exception.SystemException;
117    
118            /**
119            * Returns the last expando row in the ordered set where tableId = &#63;.
120            *
121            * @param tableId the table ID
122            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
123            * @return the last matching expando row
124            * @throws com.liferay.portlet.expando.NoSuchRowException if a matching expando row could not be found
125            * @throws SystemException if a system exception occurred
126            */
127            public com.liferay.portlet.expando.model.ExpandoRow findByTableId_Last(
128                    long tableId,
129                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
130                    throws com.liferay.portal.kernel.exception.SystemException,
131                            com.liferay.portlet.expando.NoSuchRowException;
132    
133            /**
134            * Returns the last expando row in the ordered set where tableId = &#63;.
135            *
136            * @param tableId the table ID
137            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
138            * @return the last matching expando row, or <code>null</code> if a matching expando row could not be found
139            * @throws SystemException if a system exception occurred
140            */
141            public com.liferay.portlet.expando.model.ExpandoRow fetchByTableId_Last(
142                    long tableId,
143                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144                    throws com.liferay.portal.kernel.exception.SystemException;
145    
146            /**
147            * Returns the expando rows before and after the current expando row in the ordered set where tableId = &#63;.
148            *
149            * @param rowId the primary key of the current expando row
150            * @param tableId the table ID
151            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
152            * @return the previous, current, and next expando row
153            * @throws com.liferay.portlet.expando.NoSuchRowException if a expando row with the primary key could not be found
154            * @throws SystemException if a system exception occurred
155            */
156            public com.liferay.portlet.expando.model.ExpandoRow[] findByTableId_PrevAndNext(
157                    long rowId, long tableId,
158                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
159                    throws com.liferay.portal.kernel.exception.SystemException,
160                            com.liferay.portlet.expando.NoSuchRowException;
161    
162            /**
163            * Removes all the expando rows where tableId = &#63; from the database.
164            *
165            * @param tableId the table ID
166            * @throws SystemException if a system exception occurred
167            */
168            public void removeByTableId(long tableId)
169                    throws com.liferay.portal.kernel.exception.SystemException;
170    
171            /**
172            * Returns the number of expando rows where tableId = &#63;.
173            *
174            * @param tableId the table ID
175            * @return the number of matching expando rows
176            * @throws SystemException if a system exception occurred
177            */
178            public int countByTableId(long tableId)
179                    throws com.liferay.portal.kernel.exception.SystemException;
180    
181            /**
182            * Returns all the expando rows where classPK = &#63;.
183            *
184            * @param classPK the class p k
185            * @return the matching expando rows
186            * @throws SystemException if a system exception occurred
187            */
188            public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByClassPK(
189                    long classPK)
190                    throws com.liferay.portal.kernel.exception.SystemException;
191    
192            /**
193            * Returns a range of all the expando rows where classPK = &#63;.
194            *
195            * <p>
196            * 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.ExpandoRowModelImpl}. 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.
197            * </p>
198            *
199            * @param classPK the class p k
200            * @param start the lower bound of the range of expando rows
201            * @param end the upper bound of the range of expando rows (not inclusive)
202            * @return the range of matching expando rows
203            * @throws SystemException if a system exception occurred
204            */
205            public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByClassPK(
206                    long classPK, int start, int end)
207                    throws com.liferay.portal.kernel.exception.SystemException;
208    
209            /**
210            * Returns an ordered range of all the expando rows where classPK = &#63;.
211            *
212            * <p>
213            * 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.ExpandoRowModelImpl}. 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.
214            * </p>
215            *
216            * @param classPK the class p k
217            * @param start the lower bound of the range of expando rows
218            * @param end the upper bound of the range of expando rows (not inclusive)
219            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
220            * @return the ordered range of matching expando rows
221            * @throws SystemException if a system exception occurred
222            */
223            public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findByClassPK(
224                    long classPK, int start, int end,
225                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
226                    throws com.liferay.portal.kernel.exception.SystemException;
227    
228            /**
229            * Returns the first expando row in the ordered set where classPK = &#63;.
230            *
231            * @param classPK the class p k
232            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
233            * @return the first matching expando row
234            * @throws com.liferay.portlet.expando.NoSuchRowException if a matching expando row could not be found
235            * @throws SystemException if a system exception occurred
236            */
237            public com.liferay.portlet.expando.model.ExpandoRow findByClassPK_First(
238                    long classPK,
239                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
240                    throws com.liferay.portal.kernel.exception.SystemException,
241                            com.liferay.portlet.expando.NoSuchRowException;
242    
243            /**
244            * Returns the first expando row in the ordered set where classPK = &#63;.
245            *
246            * @param classPK the class p k
247            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
248            * @return the first matching expando row, or <code>null</code> if a matching expando row could not be found
249            * @throws SystemException if a system exception occurred
250            */
251            public com.liferay.portlet.expando.model.ExpandoRow fetchByClassPK_First(
252                    long classPK,
253                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
254                    throws com.liferay.portal.kernel.exception.SystemException;
255    
256            /**
257            * Returns the last expando row in the ordered set where classPK = &#63;.
258            *
259            * @param classPK the class p k
260            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
261            * @return the last matching expando row
262            * @throws com.liferay.portlet.expando.NoSuchRowException if a matching expando row could not be found
263            * @throws SystemException if a system exception occurred
264            */
265            public com.liferay.portlet.expando.model.ExpandoRow findByClassPK_Last(
266                    long classPK,
267                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
268                    throws com.liferay.portal.kernel.exception.SystemException,
269                            com.liferay.portlet.expando.NoSuchRowException;
270    
271            /**
272            * Returns the last expando row in the ordered set where classPK = &#63;.
273            *
274            * @param classPK the class p k
275            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
276            * @return the last matching expando row, or <code>null</code> if a matching expando row could not be found
277            * @throws SystemException if a system exception occurred
278            */
279            public com.liferay.portlet.expando.model.ExpandoRow fetchByClassPK_Last(
280                    long classPK,
281                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
282                    throws com.liferay.portal.kernel.exception.SystemException;
283    
284            /**
285            * Returns the expando rows before and after the current expando row in the ordered set where classPK = &#63;.
286            *
287            * @param rowId the primary key of the current expando row
288            * @param classPK the class p k
289            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
290            * @return the previous, current, and next expando row
291            * @throws com.liferay.portlet.expando.NoSuchRowException if a expando row with the primary key could not be found
292            * @throws SystemException if a system exception occurred
293            */
294            public com.liferay.portlet.expando.model.ExpandoRow[] findByClassPK_PrevAndNext(
295                    long rowId, long classPK,
296                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
297                    throws com.liferay.portal.kernel.exception.SystemException,
298                            com.liferay.portlet.expando.NoSuchRowException;
299    
300            /**
301            * Removes all the expando rows where classPK = &#63; from the database.
302            *
303            * @param classPK the class p k
304            * @throws SystemException if a system exception occurred
305            */
306            public void removeByClassPK(long classPK)
307                    throws com.liferay.portal.kernel.exception.SystemException;
308    
309            /**
310            * Returns the number of expando rows where classPK = &#63;.
311            *
312            * @param classPK the class p k
313            * @return the number of matching expando rows
314            * @throws SystemException if a system exception occurred
315            */
316            public int countByClassPK(long classPK)
317                    throws com.liferay.portal.kernel.exception.SystemException;
318    
319            /**
320            * Returns the expando row where tableId = &#63; and classPK = &#63; or throws a {@link com.liferay.portlet.expando.NoSuchRowException} if it could not be found.
321            *
322            * @param tableId the table ID
323            * @param classPK the class p k
324            * @return the matching expando row
325            * @throws com.liferay.portlet.expando.NoSuchRowException if a matching expando row could not be found
326            * @throws SystemException if a system exception occurred
327            */
328            public com.liferay.portlet.expando.model.ExpandoRow findByT_C(
329                    long tableId, long classPK)
330                    throws com.liferay.portal.kernel.exception.SystemException,
331                            com.liferay.portlet.expando.NoSuchRowException;
332    
333            /**
334            * Returns the expando row where tableId = &#63; and classPK = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
335            *
336            * @param tableId the table ID
337            * @param classPK the class p k
338            * @return the matching expando row, or <code>null</code> if a matching expando row could not be found
339            * @throws SystemException if a system exception occurred
340            */
341            public com.liferay.portlet.expando.model.ExpandoRow fetchByT_C(
342                    long tableId, long classPK)
343                    throws com.liferay.portal.kernel.exception.SystemException;
344    
345            /**
346            * Returns the expando row where tableId = &#63; and classPK = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
347            *
348            * @param tableId the table ID
349            * @param classPK the class p k
350            * @param retrieveFromCache whether to use the finder cache
351            * @return the matching expando row, or <code>null</code> if a matching expando row could not be found
352            * @throws SystemException if a system exception occurred
353            */
354            public com.liferay.portlet.expando.model.ExpandoRow fetchByT_C(
355                    long tableId, long classPK, boolean retrieveFromCache)
356                    throws com.liferay.portal.kernel.exception.SystemException;
357    
358            /**
359            * Removes the expando row where tableId = &#63; and classPK = &#63; from the database.
360            *
361            * @param tableId the table ID
362            * @param classPK the class p k
363            * @return the expando row that was removed
364            * @throws SystemException if a system exception occurred
365            */
366            public com.liferay.portlet.expando.model.ExpandoRow removeByT_C(
367                    long tableId, long classPK)
368                    throws com.liferay.portal.kernel.exception.SystemException,
369                            com.liferay.portlet.expando.NoSuchRowException;
370    
371            /**
372            * Returns the number of expando rows where tableId = &#63; and classPK = &#63;.
373            *
374            * @param tableId the table ID
375            * @param classPK the class p k
376            * @return the number of matching expando rows
377            * @throws SystemException if a system exception occurred
378            */
379            public int countByT_C(long tableId, long classPK)
380                    throws com.liferay.portal.kernel.exception.SystemException;
381    
382            /**
383            * Caches the expando row in the entity cache if it is enabled.
384            *
385            * @param expandoRow the expando row
386            */
387            public void cacheResult(
388                    com.liferay.portlet.expando.model.ExpandoRow expandoRow);
389    
390            /**
391            * Caches the expando rows in the entity cache if it is enabled.
392            *
393            * @param expandoRows the expando rows
394            */
395            public void cacheResult(
396                    java.util.List<com.liferay.portlet.expando.model.ExpandoRow> expandoRows);
397    
398            /**
399            * Creates a new expando row with the primary key. Does not add the expando row to the database.
400            *
401            * @param rowId the primary key for the new expando row
402            * @return the new expando row
403            */
404            public com.liferay.portlet.expando.model.ExpandoRow create(long rowId);
405    
406            /**
407            * Removes the expando row with the primary key from the database. Also notifies the appropriate model listeners.
408            *
409            * @param rowId the primary key of the expando row
410            * @return the expando row that was removed
411            * @throws com.liferay.portlet.expando.NoSuchRowException if a expando row with the primary key could not be found
412            * @throws SystemException if a system exception occurred
413            */
414            public com.liferay.portlet.expando.model.ExpandoRow remove(long rowId)
415                    throws com.liferay.portal.kernel.exception.SystemException,
416                            com.liferay.portlet.expando.NoSuchRowException;
417    
418            public com.liferay.portlet.expando.model.ExpandoRow updateImpl(
419                    com.liferay.portlet.expando.model.ExpandoRow expandoRow)
420                    throws com.liferay.portal.kernel.exception.SystemException;
421    
422            /**
423            * Returns the expando row with the primary key or throws a {@link com.liferay.portlet.expando.NoSuchRowException} if it could not be found.
424            *
425            * @param rowId the primary key of the expando row
426            * @return the expando row
427            * @throws com.liferay.portlet.expando.NoSuchRowException if a expando row with the primary key could not be found
428            * @throws SystemException if a system exception occurred
429            */
430            public com.liferay.portlet.expando.model.ExpandoRow findByPrimaryKey(
431                    long rowId)
432                    throws com.liferay.portal.kernel.exception.SystemException,
433                            com.liferay.portlet.expando.NoSuchRowException;
434    
435            /**
436            * Returns the expando row with the primary key or returns <code>null</code> if it could not be found.
437            *
438            * @param rowId the primary key of the expando row
439            * @return the expando row, or <code>null</code> if a expando row with the primary key could not be found
440            * @throws SystemException if a system exception occurred
441            */
442            public com.liferay.portlet.expando.model.ExpandoRow fetchByPrimaryKey(
443                    long rowId) throws com.liferay.portal.kernel.exception.SystemException;
444    
445            /**
446            * Returns all the expando rows.
447            *
448            * @return the expando rows
449            * @throws SystemException if a system exception occurred
450            */
451            public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findAll()
452                    throws com.liferay.portal.kernel.exception.SystemException;
453    
454            /**
455            * Returns a range of all the expando rows.
456            *
457            * <p>
458            * 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.ExpandoRowModelImpl}. 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.
459            * </p>
460            *
461            * @param start the lower bound of the range of expando rows
462            * @param end the upper bound of the range of expando rows (not inclusive)
463            * @return the range of expando rows
464            * @throws SystemException if a system exception occurred
465            */
466            public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findAll(
467                    int start, int end)
468                    throws com.liferay.portal.kernel.exception.SystemException;
469    
470            /**
471            * Returns an ordered range of all the expando rows.
472            *
473            * <p>
474            * 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.ExpandoRowModelImpl}. 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.
475            * </p>
476            *
477            * @param start the lower bound of the range of expando rows
478            * @param end the upper bound of the range of expando rows (not inclusive)
479            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
480            * @return the ordered range of expando rows
481            * @throws SystemException if a system exception occurred
482            */
483            public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> findAll(
484                    int start, int end,
485                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
486                    throws com.liferay.portal.kernel.exception.SystemException;
487    
488            /**
489            * Removes all the expando rows from the database.
490            *
491            * @throws SystemException if a system exception occurred
492            */
493            public void removeAll()
494                    throws com.liferay.portal.kernel.exception.SystemException;
495    
496            /**
497            * Returns the number of expando rows.
498            *
499            * @return the number of expando rows
500            * @throws SystemException if a system exception occurred
501            */
502            public int countAll()
503                    throws com.liferay.portal.kernel.exception.SystemException;
504    }