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.portal.service.persistence;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.model.LayoutSetPrototype;
020    
021    /**
022     * The persistence interface for the layout set prototype 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 com.liferay.portal.service.persistence.impl.LayoutSetPrototypePersistenceImpl
030     * @see LayoutSetPrototypeUtil
031     * @generated
032     */
033    @ProviderType
034    public interface LayoutSetPrototypePersistence extends BasePersistence<LayoutSetPrototype> {
035            /*
036             * NOTE FOR DEVELOPERS:
037             *
038             * Never modify or reference this interface directly. Always use {@link LayoutSetPrototypeUtil} to access the layout set prototype persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
039             */
040    
041            /**
042            * Returns all the layout set prototypes where uuid = &#63;.
043            *
044            * @param uuid the uuid
045            * @return the matching layout set prototypes
046            */
047            public java.util.List<LayoutSetPrototype> findByUuid(java.lang.String uuid);
048    
049            /**
050            * Returns a range of all the layout set prototypes where uuid = &#63;.
051            *
052            * <p>
053            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutSetPrototypeModelImpl}. 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.
054            * </p>
055            *
056            * @param uuid the uuid
057            * @param start the lower bound of the range of layout set prototypes
058            * @param end the upper bound of the range of layout set prototypes (not inclusive)
059            * @return the range of matching layout set prototypes
060            */
061            public java.util.List<LayoutSetPrototype> findByUuid(
062                    java.lang.String uuid, int start, int end);
063    
064            /**
065            * Returns an ordered range of all the layout set prototypes where uuid = &#63;.
066            *
067            * <p>
068            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutSetPrototypeModelImpl}. 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.
069            * </p>
070            *
071            * @param uuid the uuid
072            * @param start the lower bound of the range of layout set prototypes
073            * @param end the upper bound of the range of layout set prototypes (not inclusive)
074            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
075            * @return the ordered range of matching layout set prototypes
076            */
077            public java.util.List<LayoutSetPrototype> findByUuid(
078                    java.lang.String uuid, int start, int end,
079                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator);
080    
081            /**
082            * Returns the first layout set prototype in the ordered set where uuid = &#63;.
083            *
084            * @param uuid the uuid
085            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
086            * @return the first matching layout set prototype
087            * @throws NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found
088            */
089            public LayoutSetPrototype findByUuid_First(java.lang.String uuid,
090                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator)
091                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException;
092    
093            /**
094            * Returns the first layout set prototype in the ordered set where uuid = &#63;.
095            *
096            * @param uuid the uuid
097            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
098            * @return the first matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found
099            */
100            public LayoutSetPrototype fetchByUuid_First(java.lang.String uuid,
101                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator);
102    
103            /**
104            * Returns the last layout set prototype in the ordered set where uuid = &#63;.
105            *
106            * @param uuid the uuid
107            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
108            * @return the last matching layout set prototype
109            * @throws NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found
110            */
111            public LayoutSetPrototype findByUuid_Last(java.lang.String uuid,
112                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator)
113                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException;
114    
115            /**
116            * Returns the last layout set prototype in the ordered set where uuid = &#63;.
117            *
118            * @param uuid the uuid
119            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
120            * @return the last matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found
121            */
122            public LayoutSetPrototype fetchByUuid_Last(java.lang.String uuid,
123                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator);
124    
125            /**
126            * Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = &#63;.
127            *
128            * @param layoutSetPrototypeId the primary key of the current layout set prototype
129            * @param uuid the uuid
130            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
131            * @return the previous, current, and next layout set prototype
132            * @throws NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found
133            */
134            public LayoutSetPrototype[] findByUuid_PrevAndNext(
135                    long layoutSetPrototypeId, java.lang.String uuid,
136                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator)
137                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException;
138    
139            /**
140            * Returns all the layout set prototypes that the user has permission to view where uuid = &#63;.
141            *
142            * @param uuid the uuid
143            * @return the matching layout set prototypes that the user has permission to view
144            */
145            public java.util.List<LayoutSetPrototype> filterFindByUuid(
146                    java.lang.String uuid);
147    
148            /**
149            * Returns a range of all the layout set prototypes that the user has permission to view where uuid = &#63;.
150            *
151            * <p>
152            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutSetPrototypeModelImpl}. 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.
153            * </p>
154            *
155            * @param uuid the uuid
156            * @param start the lower bound of the range of layout set prototypes
157            * @param end the upper bound of the range of layout set prototypes (not inclusive)
158            * @return the range of matching layout set prototypes that the user has permission to view
159            */
160            public java.util.List<LayoutSetPrototype> filterFindByUuid(
161                    java.lang.String uuid, int start, int end);
162    
163            /**
164            * Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = &#63;.
165            *
166            * <p>
167            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutSetPrototypeModelImpl}. 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.
168            * </p>
169            *
170            * @param uuid the uuid
171            * @param start the lower bound of the range of layout set prototypes
172            * @param end the upper bound of the range of layout set prototypes (not inclusive)
173            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
174            * @return the ordered range of matching layout set prototypes that the user has permission to view
175            */
176            public java.util.List<LayoutSetPrototype> filterFindByUuid(
177                    java.lang.String uuid, int start, int end,
178                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator);
179    
180            /**
181            * Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where uuid = &#63;.
182            *
183            * @param layoutSetPrototypeId the primary key of the current layout set prototype
184            * @param uuid the uuid
185            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
186            * @return the previous, current, and next layout set prototype
187            * @throws NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found
188            */
189            public LayoutSetPrototype[] filterFindByUuid_PrevAndNext(
190                    long layoutSetPrototypeId, java.lang.String uuid,
191                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator)
192                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException;
193    
194            /**
195            * Removes all the layout set prototypes where uuid = &#63; from the database.
196            *
197            * @param uuid the uuid
198            */
199            public void removeByUuid(java.lang.String uuid);
200    
201            /**
202            * Returns the number of layout set prototypes where uuid = &#63;.
203            *
204            * @param uuid the uuid
205            * @return the number of matching layout set prototypes
206            */
207            public int countByUuid(java.lang.String uuid);
208    
209            /**
210            * Returns the number of layout set prototypes that the user has permission to view where uuid = &#63;.
211            *
212            * @param uuid the uuid
213            * @return the number of matching layout set prototypes that the user has permission to view
214            */
215            public int filterCountByUuid(java.lang.String uuid);
216    
217            /**
218            * Returns all the layout set prototypes where uuid = &#63; and companyId = &#63;.
219            *
220            * @param uuid the uuid
221            * @param companyId the company ID
222            * @return the matching layout set prototypes
223            */
224            public java.util.List<LayoutSetPrototype> findByUuid_C(
225                    java.lang.String uuid, long companyId);
226    
227            /**
228            * Returns a range of all the layout set prototypes where uuid = &#63; and companyId = &#63;.
229            *
230            * <p>
231            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutSetPrototypeModelImpl}. 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.
232            * </p>
233            *
234            * @param uuid the uuid
235            * @param companyId the company ID
236            * @param start the lower bound of the range of layout set prototypes
237            * @param end the upper bound of the range of layout set prototypes (not inclusive)
238            * @return the range of matching layout set prototypes
239            */
240            public java.util.List<LayoutSetPrototype> findByUuid_C(
241                    java.lang.String uuid, long companyId, int start, int end);
242    
243            /**
244            * Returns an ordered range of all the layout set prototypes where uuid = &#63; and companyId = &#63;.
245            *
246            * <p>
247            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutSetPrototypeModelImpl}. 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.
248            * </p>
249            *
250            * @param uuid the uuid
251            * @param companyId the company ID
252            * @param start the lower bound of the range of layout set prototypes
253            * @param end the upper bound of the range of layout set prototypes (not inclusive)
254            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
255            * @return the ordered range of matching layout set prototypes
256            */
257            public java.util.List<LayoutSetPrototype> findByUuid_C(
258                    java.lang.String uuid, long companyId, int start, int end,
259                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator);
260    
261            /**
262            * Returns the first layout set prototype in the ordered set where uuid = &#63; and companyId = &#63;.
263            *
264            * @param uuid the uuid
265            * @param companyId the company ID
266            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
267            * @return the first matching layout set prototype
268            * @throws NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found
269            */
270            public LayoutSetPrototype findByUuid_C_First(java.lang.String uuid,
271                    long companyId,
272                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator)
273                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException;
274    
275            /**
276            * Returns the first layout set prototype in the ordered set where uuid = &#63; and companyId = &#63;.
277            *
278            * @param uuid the uuid
279            * @param companyId the company ID
280            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
281            * @return the first matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found
282            */
283            public LayoutSetPrototype fetchByUuid_C_First(java.lang.String uuid,
284                    long companyId,
285                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator);
286    
287            /**
288            * Returns the last layout set prototype in the ordered set where uuid = &#63; and companyId = &#63;.
289            *
290            * @param uuid the uuid
291            * @param companyId the company ID
292            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
293            * @return the last matching layout set prototype
294            * @throws NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found
295            */
296            public LayoutSetPrototype findByUuid_C_Last(java.lang.String uuid,
297                    long companyId,
298                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator)
299                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException;
300    
301            /**
302            * Returns the last layout set prototype in the ordered set where uuid = &#63; and companyId = &#63;.
303            *
304            * @param uuid the uuid
305            * @param companyId the company ID
306            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
307            * @return the last matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found
308            */
309            public LayoutSetPrototype fetchByUuid_C_Last(java.lang.String uuid,
310                    long companyId,
311                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator);
312    
313            /**
314            * Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = &#63; and companyId = &#63;.
315            *
316            * @param layoutSetPrototypeId the primary key of the current layout set prototype
317            * @param uuid the uuid
318            * @param companyId the company ID
319            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
320            * @return the previous, current, and next layout set prototype
321            * @throws NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found
322            */
323            public LayoutSetPrototype[] findByUuid_C_PrevAndNext(
324                    long layoutSetPrototypeId, java.lang.String uuid, long companyId,
325                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator)
326                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException;
327    
328            /**
329            * Returns all the layout set prototypes that the user has permission to view where uuid = &#63; and companyId = &#63;.
330            *
331            * @param uuid the uuid
332            * @param companyId the company ID
333            * @return the matching layout set prototypes that the user has permission to view
334            */
335            public java.util.List<LayoutSetPrototype> filterFindByUuid_C(
336                    java.lang.String uuid, long companyId);
337    
338            /**
339            * Returns a range of all the layout set prototypes that the user has permission to view where uuid = &#63; and companyId = &#63;.
340            *
341            * <p>
342            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutSetPrototypeModelImpl}. 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.
343            * </p>
344            *
345            * @param uuid the uuid
346            * @param companyId the company ID
347            * @param start the lower bound of the range of layout set prototypes
348            * @param end the upper bound of the range of layout set prototypes (not inclusive)
349            * @return the range of matching layout set prototypes that the user has permission to view
350            */
351            public java.util.List<LayoutSetPrototype> filterFindByUuid_C(
352                    java.lang.String uuid, long companyId, int start, int end);
353    
354            /**
355            * Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = &#63; and companyId = &#63;.
356            *
357            * <p>
358            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutSetPrototypeModelImpl}. 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.
359            * </p>
360            *
361            * @param uuid the uuid
362            * @param companyId the company ID
363            * @param start the lower bound of the range of layout set prototypes
364            * @param end the upper bound of the range of layout set prototypes (not inclusive)
365            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
366            * @return the ordered range of matching layout set prototypes that the user has permission to view
367            */
368            public java.util.List<LayoutSetPrototype> filterFindByUuid_C(
369                    java.lang.String uuid, long companyId, int start, int end,
370                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator);
371    
372            /**
373            * Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where uuid = &#63; and companyId = &#63;.
374            *
375            * @param layoutSetPrototypeId the primary key of the current layout set prototype
376            * @param uuid the uuid
377            * @param companyId the company ID
378            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
379            * @return the previous, current, and next layout set prototype
380            * @throws NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found
381            */
382            public LayoutSetPrototype[] filterFindByUuid_C_PrevAndNext(
383                    long layoutSetPrototypeId, java.lang.String uuid, long companyId,
384                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator)
385                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException;
386    
387            /**
388            * Removes all the layout set prototypes where uuid = &#63; and companyId = &#63; from the database.
389            *
390            * @param uuid the uuid
391            * @param companyId the company ID
392            */
393            public void removeByUuid_C(java.lang.String uuid, long companyId);
394    
395            /**
396            * Returns the number of layout set prototypes where uuid = &#63; and companyId = &#63;.
397            *
398            * @param uuid the uuid
399            * @param companyId the company ID
400            * @return the number of matching layout set prototypes
401            */
402            public int countByUuid_C(java.lang.String uuid, long companyId);
403    
404            /**
405            * Returns the number of layout set prototypes that the user has permission to view where uuid = &#63; and companyId = &#63;.
406            *
407            * @param uuid the uuid
408            * @param companyId the company ID
409            * @return the number of matching layout set prototypes that the user has permission to view
410            */
411            public int filterCountByUuid_C(java.lang.String uuid, long companyId);
412    
413            /**
414            * Returns all the layout set prototypes where companyId = &#63;.
415            *
416            * @param companyId the company ID
417            * @return the matching layout set prototypes
418            */
419            public java.util.List<LayoutSetPrototype> findByCompanyId(long companyId);
420    
421            /**
422            * Returns a range of all the layout set prototypes where companyId = &#63;.
423            *
424            * <p>
425            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutSetPrototypeModelImpl}. 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.
426            * </p>
427            *
428            * @param companyId the company ID
429            * @param start the lower bound of the range of layout set prototypes
430            * @param end the upper bound of the range of layout set prototypes (not inclusive)
431            * @return the range of matching layout set prototypes
432            */
433            public java.util.List<LayoutSetPrototype> findByCompanyId(long companyId,
434                    int start, int end);
435    
436            /**
437            * Returns an ordered range of all the layout set prototypes where companyId = &#63;.
438            *
439            * <p>
440            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutSetPrototypeModelImpl}. 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.
441            * </p>
442            *
443            * @param companyId the company ID
444            * @param start the lower bound of the range of layout set prototypes
445            * @param end the upper bound of the range of layout set prototypes (not inclusive)
446            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
447            * @return the ordered range of matching layout set prototypes
448            */
449            public java.util.List<LayoutSetPrototype> findByCompanyId(long companyId,
450                    int start, int end,
451                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator);
452    
453            /**
454            * Returns the first layout set prototype in the ordered set where companyId = &#63;.
455            *
456            * @param companyId the company ID
457            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
458            * @return the first matching layout set prototype
459            * @throws NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found
460            */
461            public LayoutSetPrototype findByCompanyId_First(long companyId,
462                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator)
463                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException;
464    
465            /**
466            * Returns the first layout set prototype in the ordered set where companyId = &#63;.
467            *
468            * @param companyId the company ID
469            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
470            * @return the first matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found
471            */
472            public LayoutSetPrototype fetchByCompanyId_First(long companyId,
473                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator);
474    
475            /**
476            * Returns the last layout set prototype in the ordered set where companyId = &#63;.
477            *
478            * @param companyId the company ID
479            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
480            * @return the last matching layout set prototype
481            * @throws NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found
482            */
483            public LayoutSetPrototype findByCompanyId_Last(long companyId,
484                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator)
485                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException;
486    
487            /**
488            * Returns the last layout set prototype in the ordered set where companyId = &#63;.
489            *
490            * @param companyId the company ID
491            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
492            * @return the last matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found
493            */
494            public LayoutSetPrototype fetchByCompanyId_Last(long companyId,
495                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator);
496    
497            /**
498            * Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = &#63;.
499            *
500            * @param layoutSetPrototypeId the primary key of the current layout set prototype
501            * @param companyId the company ID
502            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
503            * @return the previous, current, and next layout set prototype
504            * @throws NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found
505            */
506            public LayoutSetPrototype[] findByCompanyId_PrevAndNext(
507                    long layoutSetPrototypeId, long companyId,
508                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator)
509                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException;
510    
511            /**
512            * Returns all the layout set prototypes that the user has permission to view where companyId = &#63;.
513            *
514            * @param companyId the company ID
515            * @return the matching layout set prototypes that the user has permission to view
516            */
517            public java.util.List<LayoutSetPrototype> filterFindByCompanyId(
518                    long companyId);
519    
520            /**
521            * Returns a range of all the layout set prototypes that the user has permission to view where companyId = &#63;.
522            *
523            * <p>
524            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutSetPrototypeModelImpl}. 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.
525            * </p>
526            *
527            * @param companyId the company ID
528            * @param start the lower bound of the range of layout set prototypes
529            * @param end the upper bound of the range of layout set prototypes (not inclusive)
530            * @return the range of matching layout set prototypes that the user has permission to view
531            */
532            public java.util.List<LayoutSetPrototype> filterFindByCompanyId(
533                    long companyId, int start, int end);
534    
535            /**
536            * Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = &#63;.
537            *
538            * <p>
539            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutSetPrototypeModelImpl}. 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.
540            * </p>
541            *
542            * @param companyId the company ID
543            * @param start the lower bound of the range of layout set prototypes
544            * @param end the upper bound of the range of layout set prototypes (not inclusive)
545            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
546            * @return the ordered range of matching layout set prototypes that the user has permission to view
547            */
548            public java.util.List<LayoutSetPrototype> filterFindByCompanyId(
549                    long companyId, int start, int end,
550                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator);
551    
552            /**
553            * Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where companyId = &#63;.
554            *
555            * @param layoutSetPrototypeId the primary key of the current layout set prototype
556            * @param companyId the company ID
557            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
558            * @return the previous, current, and next layout set prototype
559            * @throws NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found
560            */
561            public LayoutSetPrototype[] filterFindByCompanyId_PrevAndNext(
562                    long layoutSetPrototypeId, long companyId,
563                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator)
564                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException;
565    
566            /**
567            * Removes all the layout set prototypes where companyId = &#63; from the database.
568            *
569            * @param companyId the company ID
570            */
571            public void removeByCompanyId(long companyId);
572    
573            /**
574            * Returns the number of layout set prototypes where companyId = &#63;.
575            *
576            * @param companyId the company ID
577            * @return the number of matching layout set prototypes
578            */
579            public int countByCompanyId(long companyId);
580    
581            /**
582            * Returns the number of layout set prototypes that the user has permission to view where companyId = &#63;.
583            *
584            * @param companyId the company ID
585            * @return the number of matching layout set prototypes that the user has permission to view
586            */
587            public int filterCountByCompanyId(long companyId);
588    
589            /**
590            * Returns all the layout set prototypes where companyId = &#63; and active = &#63;.
591            *
592            * @param companyId the company ID
593            * @param active the active
594            * @return the matching layout set prototypes
595            */
596            public java.util.List<LayoutSetPrototype> findByC_A(long companyId,
597                    boolean active);
598    
599            /**
600            * Returns a range of all the layout set prototypes where companyId = &#63; and active = &#63;.
601            *
602            * <p>
603            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutSetPrototypeModelImpl}. 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.
604            * </p>
605            *
606            * @param companyId the company ID
607            * @param active the active
608            * @param start the lower bound of the range of layout set prototypes
609            * @param end the upper bound of the range of layout set prototypes (not inclusive)
610            * @return the range of matching layout set prototypes
611            */
612            public java.util.List<LayoutSetPrototype> findByC_A(long companyId,
613                    boolean active, int start, int end);
614    
615            /**
616            * Returns an ordered range of all the layout set prototypes where companyId = &#63; and active = &#63;.
617            *
618            * <p>
619            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutSetPrototypeModelImpl}. 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.
620            * </p>
621            *
622            * @param companyId the company ID
623            * @param active the active
624            * @param start the lower bound of the range of layout set prototypes
625            * @param end the upper bound of the range of layout set prototypes (not inclusive)
626            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
627            * @return the ordered range of matching layout set prototypes
628            */
629            public java.util.List<LayoutSetPrototype> findByC_A(long companyId,
630                    boolean active, int start, int end,
631                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator);
632    
633            /**
634            * Returns the first layout set prototype in the ordered set where companyId = &#63; and active = &#63;.
635            *
636            * @param companyId the company ID
637            * @param active the active
638            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
639            * @return the first matching layout set prototype
640            * @throws NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found
641            */
642            public LayoutSetPrototype findByC_A_First(long companyId, boolean active,
643                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator)
644                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException;
645    
646            /**
647            * Returns the first layout set prototype in the ordered set where companyId = &#63; and active = &#63;.
648            *
649            * @param companyId the company ID
650            * @param active the active
651            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
652            * @return the first matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found
653            */
654            public LayoutSetPrototype fetchByC_A_First(long companyId, boolean active,
655                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator);
656    
657            /**
658            * Returns the last layout set prototype in the ordered set where companyId = &#63; and active = &#63;.
659            *
660            * @param companyId the company ID
661            * @param active the active
662            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
663            * @return the last matching layout set prototype
664            * @throws NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found
665            */
666            public LayoutSetPrototype findByC_A_Last(long companyId, boolean active,
667                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator)
668                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException;
669    
670            /**
671            * Returns the last layout set prototype in the ordered set where companyId = &#63; and active = &#63;.
672            *
673            * @param companyId the company ID
674            * @param active the active
675            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
676            * @return the last matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found
677            */
678            public LayoutSetPrototype fetchByC_A_Last(long companyId, boolean active,
679                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator);
680    
681            /**
682            * Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = &#63; and active = &#63;.
683            *
684            * @param layoutSetPrototypeId the primary key of the current layout set prototype
685            * @param companyId the company ID
686            * @param active the active
687            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
688            * @return the previous, current, and next layout set prototype
689            * @throws NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found
690            */
691            public LayoutSetPrototype[] findByC_A_PrevAndNext(
692                    long layoutSetPrototypeId, long companyId, boolean active,
693                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator)
694                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException;
695    
696            /**
697            * Returns all the layout set prototypes that the user has permission to view where companyId = &#63; and active = &#63;.
698            *
699            * @param companyId the company ID
700            * @param active the active
701            * @return the matching layout set prototypes that the user has permission to view
702            */
703            public java.util.List<LayoutSetPrototype> filterFindByC_A(long companyId,
704                    boolean active);
705    
706            /**
707            * Returns a range of all the layout set prototypes that the user has permission to view where companyId = &#63; and active = &#63;.
708            *
709            * <p>
710            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutSetPrototypeModelImpl}. 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.
711            * </p>
712            *
713            * @param companyId the company ID
714            * @param active the active
715            * @param start the lower bound of the range of layout set prototypes
716            * @param end the upper bound of the range of layout set prototypes (not inclusive)
717            * @return the range of matching layout set prototypes that the user has permission to view
718            */
719            public java.util.List<LayoutSetPrototype> filterFindByC_A(long companyId,
720                    boolean active, int start, int end);
721    
722            /**
723            * Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = &#63; and active = &#63;.
724            *
725            * <p>
726            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutSetPrototypeModelImpl}. 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.
727            * </p>
728            *
729            * @param companyId the company ID
730            * @param active the active
731            * @param start the lower bound of the range of layout set prototypes
732            * @param end the upper bound of the range of layout set prototypes (not inclusive)
733            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
734            * @return the ordered range of matching layout set prototypes that the user has permission to view
735            */
736            public java.util.List<LayoutSetPrototype> filterFindByC_A(long companyId,
737                    boolean active, int start, int end,
738                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator);
739    
740            /**
741            * Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where companyId = &#63; and active = &#63;.
742            *
743            * @param layoutSetPrototypeId the primary key of the current layout set prototype
744            * @param companyId the company ID
745            * @param active the active
746            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
747            * @return the previous, current, and next layout set prototype
748            * @throws NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found
749            */
750            public LayoutSetPrototype[] filterFindByC_A_PrevAndNext(
751                    long layoutSetPrototypeId, long companyId, boolean active,
752                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator)
753                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException;
754    
755            /**
756            * Removes all the layout set prototypes where companyId = &#63; and active = &#63; from the database.
757            *
758            * @param companyId the company ID
759            * @param active the active
760            */
761            public void removeByC_A(long companyId, boolean active);
762    
763            /**
764            * Returns the number of layout set prototypes where companyId = &#63; and active = &#63;.
765            *
766            * @param companyId the company ID
767            * @param active the active
768            * @return the number of matching layout set prototypes
769            */
770            public int countByC_A(long companyId, boolean active);
771    
772            /**
773            * Returns the number of layout set prototypes that the user has permission to view where companyId = &#63; and active = &#63;.
774            *
775            * @param companyId the company ID
776            * @param active the active
777            * @return the number of matching layout set prototypes that the user has permission to view
778            */
779            public int filterCountByC_A(long companyId, boolean active);
780    
781            /**
782            * Caches the layout set prototype in the entity cache if it is enabled.
783            *
784            * @param layoutSetPrototype the layout set prototype
785            */
786            public void cacheResult(LayoutSetPrototype layoutSetPrototype);
787    
788            /**
789            * Caches the layout set prototypes in the entity cache if it is enabled.
790            *
791            * @param layoutSetPrototypes the layout set prototypes
792            */
793            public void cacheResult(
794                    java.util.List<LayoutSetPrototype> layoutSetPrototypes);
795    
796            /**
797            * Creates a new layout set prototype with the primary key. Does not add the layout set prototype to the database.
798            *
799            * @param layoutSetPrototypeId the primary key for the new layout set prototype
800            * @return the new layout set prototype
801            */
802            public LayoutSetPrototype create(long layoutSetPrototypeId);
803    
804            /**
805            * Removes the layout set prototype with the primary key from the database. Also notifies the appropriate model listeners.
806            *
807            * @param layoutSetPrototypeId the primary key of the layout set prototype
808            * @return the layout set prototype that was removed
809            * @throws NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found
810            */
811            public LayoutSetPrototype remove(long layoutSetPrototypeId)
812                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException;
813    
814            public LayoutSetPrototype updateImpl(LayoutSetPrototype layoutSetPrototype);
815    
816            /**
817            * Returns the layout set prototype with the primary key or throws a {@link NoSuchLayoutSetPrototypeException} if it could not be found.
818            *
819            * @param layoutSetPrototypeId the primary key of the layout set prototype
820            * @return the layout set prototype
821            * @throws NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found
822            */
823            public LayoutSetPrototype findByPrimaryKey(long layoutSetPrototypeId)
824                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException;
825    
826            /**
827            * Returns the layout set prototype with the primary key or returns <code>null</code> if it could not be found.
828            *
829            * @param layoutSetPrototypeId the primary key of the layout set prototype
830            * @return the layout set prototype, or <code>null</code> if a layout set prototype with the primary key could not be found
831            */
832            public LayoutSetPrototype fetchByPrimaryKey(long layoutSetPrototypeId);
833    
834            @Override
835            public java.util.Map<java.io.Serializable, LayoutSetPrototype> fetchByPrimaryKeys(
836                    java.util.Set<java.io.Serializable> primaryKeys);
837    
838            /**
839            * Returns all the layout set prototypes.
840            *
841            * @return the layout set prototypes
842            */
843            public java.util.List<LayoutSetPrototype> findAll();
844    
845            /**
846            * Returns a range of all the layout set prototypes.
847            *
848            * <p>
849            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutSetPrototypeModelImpl}. 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.
850            * </p>
851            *
852            * @param start the lower bound of the range of layout set prototypes
853            * @param end the upper bound of the range of layout set prototypes (not inclusive)
854            * @return the range of layout set prototypes
855            */
856            public java.util.List<LayoutSetPrototype> findAll(int start, int end);
857    
858            /**
859            * Returns an ordered range of all the layout set prototypes.
860            *
861            * <p>
862            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link LayoutSetPrototypeModelImpl}. 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.
863            * </p>
864            *
865            * @param start the lower bound of the range of layout set prototypes
866            * @param end the upper bound of the range of layout set prototypes (not inclusive)
867            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
868            * @return the ordered range of layout set prototypes
869            */
870            public java.util.List<LayoutSetPrototype> findAll(int start, int end,
871                    com.liferay.portal.kernel.util.OrderByComparator<LayoutSetPrototype> orderByComparator);
872    
873            /**
874            * Removes all the layout set prototypes from the database.
875            */
876            public void removeAll();
877    
878            /**
879            * Returns the number of layout set prototypes.
880            *
881            * @return the number of layout set prototypes
882            */
883            public int countAll();
884    }