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