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