001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.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 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            * @throws SystemException if a system exception occurred
047            */
048            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByUuid(
049                    java.lang.String uuid)
050                    throws com.liferay.portal.kernel.exception.SystemException;
051    
052            /**
053            * Returns a range of all the layout set prototypes where uuid = &#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.portal.model.impl.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.
057            * </p>
058            *
059            * @param uuid the uuid
060            * @param start the lower bound of the range of layout set prototypes
061            * @param end the upper bound of the range of layout set prototypes (not inclusive)
062            * @return the range of matching layout set prototypes
063            * @throws SystemException if a system exception occurred
064            */
065            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByUuid(
066                    java.lang.String uuid, int start, int end)
067                    throws com.liferay.portal.kernel.exception.SystemException;
068    
069            /**
070            * Returns an ordered range of all the layout set prototypes where uuid = &#63;.
071            *
072            * <p>
073            * 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.portal.model.impl.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.
074            * </p>
075            *
076            * @param uuid the uuid
077            * @param start the lower bound of the range of layout set prototypes
078            * @param end the upper bound of the range of layout set prototypes (not inclusive)
079            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
080            * @return the ordered range of matching layout set prototypes
081            * @throws SystemException if a system exception occurred
082            */
083            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByUuid(
084                    java.lang.String uuid, int start, int end,
085                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
086                    throws com.liferay.portal.kernel.exception.SystemException;
087    
088            /**
089            * Returns the first layout set prototype in the ordered set where uuid = &#63;.
090            *
091            * @param uuid the uuid
092            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
093            * @return the first matching layout set prototype
094            * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found
095            * @throws SystemException if a system exception occurred
096            */
097            public com.liferay.portal.model.LayoutSetPrototype findByUuid_First(
098                    java.lang.String uuid,
099                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
100                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
101                            com.liferay.portal.kernel.exception.SystemException;
102    
103            /**
104            * Returns the first 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 first matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found
109            * @throws SystemException if a system exception occurred
110            */
111            public com.liferay.portal.model.LayoutSetPrototype fetchByUuid_First(
112                    java.lang.String uuid,
113                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
114                    throws com.liferay.portal.kernel.exception.SystemException;
115    
116            /**
117            * Returns the last layout set prototype in the ordered set where uuid = &#63;.
118            *
119            * @param uuid the uuid
120            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
121            * @return the last matching layout set prototype
122            * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found
123            * @throws SystemException if a system exception occurred
124            */
125            public com.liferay.portal.model.LayoutSetPrototype findByUuid_Last(
126                    java.lang.String uuid,
127                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
128                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
129                            com.liferay.portal.kernel.exception.SystemException;
130    
131            /**
132            * Returns the last layout set prototype in the ordered set where uuid = &#63;.
133            *
134            * @param uuid the uuid
135            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
136            * @return the last matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found
137            * @throws SystemException if a system exception occurred
138            */
139            public com.liferay.portal.model.LayoutSetPrototype fetchByUuid_Last(
140                    java.lang.String uuid,
141                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
142                    throws com.liferay.portal.kernel.exception.SystemException;
143    
144            /**
145            * Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = &#63;.
146            *
147            * @param layoutSetPrototypeId the primary key of the current layout set prototype
148            * @param uuid the uuid
149            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
150            * @return the previous, current, and next layout set prototype
151            * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found
152            * @throws SystemException if a system exception occurred
153            */
154            public com.liferay.portal.model.LayoutSetPrototype[] findByUuid_PrevAndNext(
155                    long layoutSetPrototypeId, java.lang.String uuid,
156                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
157                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
158                            com.liferay.portal.kernel.exception.SystemException;
159    
160            /**
161            * Returns all the layout set prototypes that the user has permission to view where uuid = &#63;.
162            *
163            * @param uuid the uuid
164            * @return the matching layout set prototypes that the user has permission to view
165            * @throws SystemException if a system exception occurred
166            */
167            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByUuid(
168                    java.lang.String uuid)
169                    throws com.liferay.portal.kernel.exception.SystemException;
170    
171            /**
172            * Returns a range of all the layout set prototypes that the user has permission to view where uuid = &#63;.
173            *
174            * <p>
175            * 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.portal.model.impl.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.
176            * </p>
177            *
178            * @param uuid the uuid
179            * @param start the lower bound of the range of layout set prototypes
180            * @param end the upper bound of the range of layout set prototypes (not inclusive)
181            * @return the range of matching layout set prototypes that the user has permission to view
182            * @throws SystemException if a system exception occurred
183            */
184            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByUuid(
185                    java.lang.String uuid, int start, int end)
186                    throws com.liferay.portal.kernel.exception.SystemException;
187    
188            /**
189            * Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = &#63;.
190            *
191            * <p>
192            * 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.portal.model.impl.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.
193            * </p>
194            *
195            * @param uuid the uuid
196            * @param start the lower bound of the range of layout set prototypes
197            * @param end the upper bound of the range of layout set prototypes (not inclusive)
198            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
199            * @return the ordered range of matching layout set prototypes that the user has permission to view
200            * @throws SystemException if a system exception occurred
201            */
202            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByUuid(
203                    java.lang.String uuid, int start, int end,
204                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
205                    throws com.liferay.portal.kernel.exception.SystemException;
206    
207            /**
208            * 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;.
209            *
210            * @param layoutSetPrototypeId the primary key of the current layout set prototype
211            * @param uuid the uuid
212            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
213            * @return the previous, current, and next layout set prototype
214            * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found
215            * @throws SystemException if a system exception occurred
216            */
217            public com.liferay.portal.model.LayoutSetPrototype[] filterFindByUuid_PrevAndNext(
218                    long layoutSetPrototypeId, java.lang.String uuid,
219                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
220                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
221                            com.liferay.portal.kernel.exception.SystemException;
222    
223            /**
224            * Removes all the layout set prototypes where uuid = &#63; from the database.
225            *
226            * @param uuid the uuid
227            * @throws SystemException if a system exception occurred
228            */
229            public void removeByUuid(java.lang.String uuid)
230                    throws com.liferay.portal.kernel.exception.SystemException;
231    
232            /**
233            * Returns the number of layout set prototypes where uuid = &#63;.
234            *
235            * @param uuid the uuid
236            * @return the number of matching layout set prototypes
237            * @throws SystemException if a system exception occurred
238            */
239            public int countByUuid(java.lang.String uuid)
240                    throws com.liferay.portal.kernel.exception.SystemException;
241    
242            /**
243            * Returns the number of layout set prototypes that the user has permission to view where uuid = &#63;.
244            *
245            * @param uuid the uuid
246            * @return the number of matching layout set prototypes that the user has permission to view
247            * @throws SystemException if a system exception occurred
248            */
249            public int filterCountByUuid(java.lang.String uuid)
250                    throws com.liferay.portal.kernel.exception.SystemException;
251    
252            /**
253            * Returns all the layout set prototypes where uuid = &#63; and companyId = &#63;.
254            *
255            * @param uuid the uuid
256            * @param companyId the company ID
257            * @return the matching layout set prototypes
258            * @throws SystemException if a system exception occurred
259            */
260            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByUuid_C(
261                    java.lang.String uuid, long companyId)
262                    throws com.liferay.portal.kernel.exception.SystemException;
263    
264            /**
265            * Returns a range of all the layout set prototypes where uuid = &#63; and companyId = &#63;.
266            *
267            * <p>
268            * 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.portal.model.impl.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.
269            * </p>
270            *
271            * @param uuid the uuid
272            * @param companyId the company ID
273            * @param start the lower bound of the range of layout set prototypes
274            * @param end the upper bound of the range of layout set prototypes (not inclusive)
275            * @return the range of matching layout set prototypes
276            * @throws SystemException if a system exception occurred
277            */
278            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByUuid_C(
279                    java.lang.String uuid, long companyId, int start, int end)
280                    throws com.liferay.portal.kernel.exception.SystemException;
281    
282            /**
283            * Returns an ordered range of all the layout set prototypes where uuid = &#63; and companyId = &#63;.
284            *
285            * <p>
286            * 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.portal.model.impl.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.
287            * </p>
288            *
289            * @param uuid the uuid
290            * @param companyId the company ID
291            * @param start the lower bound of the range of layout set prototypes
292            * @param end the upper bound of the range of layout set prototypes (not inclusive)
293            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
294            * @return the ordered range of matching layout set prototypes
295            * @throws SystemException if a system exception occurred
296            */
297            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByUuid_C(
298                    java.lang.String uuid, long companyId, int start, int end,
299                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
300                    throws com.liferay.portal.kernel.exception.SystemException;
301    
302            /**
303            * Returns the first layout set prototype in the ordered set where uuid = &#63; and companyId = &#63;.
304            *
305            * @param uuid the uuid
306            * @param companyId the company ID
307            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
308            * @return the first matching layout set prototype
309            * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found
310            * @throws SystemException if a system exception occurred
311            */
312            public com.liferay.portal.model.LayoutSetPrototype findByUuid_C_First(
313                    java.lang.String uuid, long companyId,
314                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
315                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
316                            com.liferay.portal.kernel.exception.SystemException;
317    
318            /**
319            * Returns the first layout set prototype in the ordered set where uuid = &#63; and companyId = &#63;.
320            *
321            * @param uuid the uuid
322            * @param companyId the company ID
323            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
324            * @return the first matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found
325            * @throws SystemException if a system exception occurred
326            */
327            public com.liferay.portal.model.LayoutSetPrototype fetchByUuid_C_First(
328                    java.lang.String uuid, long companyId,
329                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
330                    throws com.liferay.portal.kernel.exception.SystemException;
331    
332            /**
333            * Returns the last layout set prototype in the ordered set where uuid = &#63; and companyId = &#63;.
334            *
335            * @param uuid the uuid
336            * @param companyId the company ID
337            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
338            * @return the last matching layout set prototype
339            * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found
340            * @throws SystemException if a system exception occurred
341            */
342            public com.liferay.portal.model.LayoutSetPrototype findByUuid_C_Last(
343                    java.lang.String uuid, long companyId,
344                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
345                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
346                            com.liferay.portal.kernel.exception.SystemException;
347    
348            /**
349            * Returns the last layout set prototype in the ordered set where uuid = &#63; and companyId = &#63;.
350            *
351            * @param uuid the uuid
352            * @param companyId the company ID
353            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
354            * @return the last matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found
355            * @throws SystemException if a system exception occurred
356            */
357            public com.liferay.portal.model.LayoutSetPrototype fetchByUuid_C_Last(
358                    java.lang.String uuid, long companyId,
359                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
360                    throws com.liferay.portal.kernel.exception.SystemException;
361    
362            /**
363            * Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = &#63; and companyId = &#63;.
364            *
365            * @param layoutSetPrototypeId the primary key of the current layout set prototype
366            * @param uuid the uuid
367            * @param companyId the company ID
368            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
369            * @return the previous, current, and next layout set prototype
370            * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found
371            * @throws SystemException if a system exception occurred
372            */
373            public com.liferay.portal.model.LayoutSetPrototype[] findByUuid_C_PrevAndNext(
374                    long layoutSetPrototypeId, java.lang.String uuid, long companyId,
375                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
376                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
377                            com.liferay.portal.kernel.exception.SystemException;
378    
379            /**
380            * Returns all the layout set prototypes that the user has permission to view where uuid = &#63; and companyId = &#63;.
381            *
382            * @param uuid the uuid
383            * @param companyId the company ID
384            * @return the matching layout set prototypes that the user has permission to view
385            * @throws SystemException if a system exception occurred
386            */
387            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByUuid_C(
388                    java.lang.String uuid, long companyId)
389                    throws com.liferay.portal.kernel.exception.SystemException;
390    
391            /**
392            * Returns a range of all the layout set prototypes that the user has permission to view where uuid = &#63; and companyId = &#63;.
393            *
394            * <p>
395            * 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.portal.model.impl.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.
396            * </p>
397            *
398            * @param uuid the uuid
399            * @param companyId the company ID
400            * @param start the lower bound of the range of layout set prototypes
401            * @param end the upper bound of the range of layout set prototypes (not inclusive)
402            * @return the range of matching layout set prototypes that the user has permission to view
403            * @throws SystemException if a system exception occurred
404            */
405            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByUuid_C(
406                    java.lang.String uuid, long companyId, int start, int end)
407                    throws com.liferay.portal.kernel.exception.SystemException;
408    
409            /**
410            * Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = &#63; and companyId = &#63;.
411            *
412            * <p>
413            * 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.portal.model.impl.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.
414            * </p>
415            *
416            * @param uuid the uuid
417            * @param companyId the company ID
418            * @param start the lower bound of the range of layout set prototypes
419            * @param end the upper bound of the range of layout set prototypes (not inclusive)
420            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
421            * @return the ordered range of matching layout set prototypes that the user has permission to view
422            * @throws SystemException if a system exception occurred
423            */
424            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByUuid_C(
425                    java.lang.String uuid, long companyId, int start, int end,
426                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
427                    throws com.liferay.portal.kernel.exception.SystemException;
428    
429            /**
430            * 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;.
431            *
432            * @param layoutSetPrototypeId the primary key of the current layout set prototype
433            * @param uuid the uuid
434            * @param companyId the company ID
435            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
436            * @return the previous, current, and next layout set prototype
437            * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found
438            * @throws SystemException if a system exception occurred
439            */
440            public com.liferay.portal.model.LayoutSetPrototype[] filterFindByUuid_C_PrevAndNext(
441                    long layoutSetPrototypeId, java.lang.String uuid, long companyId,
442                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
443                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
444                            com.liferay.portal.kernel.exception.SystemException;
445    
446            /**
447            * Removes all the layout set prototypes where uuid = &#63; and companyId = &#63; from the database.
448            *
449            * @param uuid the uuid
450            * @param companyId the company ID
451            * @throws SystemException if a system exception occurred
452            */
453            public void removeByUuid_C(java.lang.String uuid, long companyId)
454                    throws com.liferay.portal.kernel.exception.SystemException;
455    
456            /**
457            * Returns the number of layout set prototypes where uuid = &#63; and companyId = &#63;.
458            *
459            * @param uuid the uuid
460            * @param companyId the company ID
461            * @return the number of matching layout set prototypes
462            * @throws SystemException if a system exception occurred
463            */
464            public int countByUuid_C(java.lang.String uuid, long companyId)
465                    throws com.liferay.portal.kernel.exception.SystemException;
466    
467            /**
468            * Returns the number of layout set prototypes that the user has permission to view where uuid = &#63; and companyId = &#63;.
469            *
470            * @param uuid the uuid
471            * @param companyId the company ID
472            * @return the number of matching layout set prototypes that the user has permission to view
473            * @throws SystemException if a system exception occurred
474            */
475            public int filterCountByUuid_C(java.lang.String uuid, long companyId)
476                    throws com.liferay.portal.kernel.exception.SystemException;
477    
478            /**
479            * Returns all the layout set prototypes where companyId = &#63;.
480            *
481            * @param companyId the company ID
482            * @return the matching layout set prototypes
483            * @throws SystemException if a system exception occurred
484            */
485            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByCompanyId(
486                    long companyId)
487                    throws com.liferay.portal.kernel.exception.SystemException;
488    
489            /**
490            * Returns a range of all the layout set prototypes where companyId = &#63;.
491            *
492            * <p>
493            * 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.portal.model.impl.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.
494            * </p>
495            *
496            * @param companyId the company ID
497            * @param start the lower bound of the range of layout set prototypes
498            * @param end the upper bound of the range of layout set prototypes (not inclusive)
499            * @return the range of matching layout set prototypes
500            * @throws SystemException if a system exception occurred
501            */
502            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByCompanyId(
503                    long companyId, int start, int end)
504                    throws com.liferay.portal.kernel.exception.SystemException;
505    
506            /**
507            * Returns an ordered range of all the layout set prototypes where companyId = &#63;.
508            *
509            * <p>
510            * 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.portal.model.impl.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.
511            * </p>
512            *
513            * @param companyId the company ID
514            * @param start the lower bound of the range of layout set prototypes
515            * @param end the upper bound of the range of layout set prototypes (not inclusive)
516            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
517            * @return the ordered range of matching layout set prototypes
518            * @throws SystemException if a system exception occurred
519            */
520            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByCompanyId(
521                    long companyId, int start, int end,
522                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
523                    throws com.liferay.portal.kernel.exception.SystemException;
524    
525            /**
526            * Returns the first layout set prototype in the ordered set where companyId = &#63;.
527            *
528            * @param companyId the company ID
529            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
530            * @return the first matching layout set prototype
531            * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found
532            * @throws SystemException if a system exception occurred
533            */
534            public com.liferay.portal.model.LayoutSetPrototype findByCompanyId_First(
535                    long companyId,
536                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
537                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
538                            com.liferay.portal.kernel.exception.SystemException;
539    
540            /**
541            * Returns the first layout set prototype in the ordered set where companyId = &#63;.
542            *
543            * @param companyId the company ID
544            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
545            * @return the first matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found
546            * @throws SystemException if a system exception occurred
547            */
548            public com.liferay.portal.model.LayoutSetPrototype fetchByCompanyId_First(
549                    long companyId,
550                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
551                    throws com.liferay.portal.kernel.exception.SystemException;
552    
553            /**
554            * Returns the last layout set prototype in the ordered set where companyId = &#63;.
555            *
556            * @param companyId the company ID
557            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
558            * @return the last matching layout set prototype
559            * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found
560            * @throws SystemException if a system exception occurred
561            */
562            public com.liferay.portal.model.LayoutSetPrototype findByCompanyId_Last(
563                    long companyId,
564                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
565                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
566                            com.liferay.portal.kernel.exception.SystemException;
567    
568            /**
569            * Returns the last layout set prototype in the ordered set where companyId = &#63;.
570            *
571            * @param companyId the company ID
572            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
573            * @return the last matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found
574            * @throws SystemException if a system exception occurred
575            */
576            public com.liferay.portal.model.LayoutSetPrototype fetchByCompanyId_Last(
577                    long companyId,
578                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
579                    throws com.liferay.portal.kernel.exception.SystemException;
580    
581            /**
582            * Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = &#63;.
583            *
584            * @param layoutSetPrototypeId the primary key of the current layout set prototype
585            * @param companyId the company ID
586            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
587            * @return the previous, current, and next layout set prototype
588            * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found
589            * @throws SystemException if a system exception occurred
590            */
591            public com.liferay.portal.model.LayoutSetPrototype[] findByCompanyId_PrevAndNext(
592                    long layoutSetPrototypeId, long companyId,
593                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
594                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
595                            com.liferay.portal.kernel.exception.SystemException;
596    
597            /**
598            * Returns all the layout set prototypes that the user has permission to view where companyId = &#63;.
599            *
600            * @param companyId the company ID
601            * @return the matching layout set prototypes that the user has permission to view
602            * @throws SystemException if a system exception occurred
603            */
604            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByCompanyId(
605                    long companyId)
606                    throws com.liferay.portal.kernel.exception.SystemException;
607    
608            /**
609            * Returns a range of all the layout set prototypes that the user has permission to view where companyId = &#63;.
610            *
611            * <p>
612            * 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.portal.model.impl.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.
613            * </p>
614            *
615            * @param companyId the company ID
616            * @param start the lower bound of the range of layout set prototypes
617            * @param end the upper bound of the range of layout set prototypes (not inclusive)
618            * @return the range of matching layout set prototypes that the user has permission to view
619            * @throws SystemException if a system exception occurred
620            */
621            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByCompanyId(
622                    long companyId, int start, int end)
623                    throws com.liferay.portal.kernel.exception.SystemException;
624    
625            /**
626            * Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = &#63;.
627            *
628            * <p>
629            * 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.portal.model.impl.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.
630            * </p>
631            *
632            * @param companyId the company ID
633            * @param start the lower bound of the range of layout set prototypes
634            * @param end the upper bound of the range of layout set prototypes (not inclusive)
635            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
636            * @return the ordered range of matching layout set prototypes that the user has permission to view
637            * @throws SystemException if a system exception occurred
638            */
639            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByCompanyId(
640                    long companyId, int start, int end,
641                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
642                    throws com.liferay.portal.kernel.exception.SystemException;
643    
644            /**
645            * 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;.
646            *
647            * @param layoutSetPrototypeId the primary key of the current layout set prototype
648            * @param companyId the company ID
649            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
650            * @return the previous, current, and next layout set prototype
651            * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found
652            * @throws SystemException if a system exception occurred
653            */
654            public com.liferay.portal.model.LayoutSetPrototype[] filterFindByCompanyId_PrevAndNext(
655                    long layoutSetPrototypeId, long companyId,
656                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
657                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
658                            com.liferay.portal.kernel.exception.SystemException;
659    
660            /**
661            * Removes all the layout set prototypes where companyId = &#63; from the database.
662            *
663            * @param companyId the company ID
664            * @throws SystemException if a system exception occurred
665            */
666            public void removeByCompanyId(long companyId)
667                    throws com.liferay.portal.kernel.exception.SystemException;
668    
669            /**
670            * Returns the number of layout set prototypes where companyId = &#63;.
671            *
672            * @param companyId the company ID
673            * @return the number of matching layout set prototypes
674            * @throws SystemException if a system exception occurred
675            */
676            public int countByCompanyId(long companyId)
677                    throws com.liferay.portal.kernel.exception.SystemException;
678    
679            /**
680            * Returns the number of layout set prototypes that the user has permission to view where companyId = &#63;.
681            *
682            * @param companyId the company ID
683            * @return the number of matching layout set prototypes that the user has permission to view
684            * @throws SystemException if a system exception occurred
685            */
686            public int filterCountByCompanyId(long companyId)
687                    throws com.liferay.portal.kernel.exception.SystemException;
688    
689            /**
690            * Returns all the layout set prototypes where companyId = &#63; and active = &#63;.
691            *
692            * @param companyId the company ID
693            * @param active the active
694            * @return the matching layout set prototypes
695            * @throws SystemException if a system exception occurred
696            */
697            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByC_A(
698                    long companyId, boolean active)
699                    throws com.liferay.portal.kernel.exception.SystemException;
700    
701            /**
702            * Returns a range of all the layout set prototypes where companyId = &#63; and active = &#63;.
703            *
704            * <p>
705            * 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.portal.model.impl.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.
706            * </p>
707            *
708            * @param companyId the company ID
709            * @param active the active
710            * @param start the lower bound of the range of layout set prototypes
711            * @param end the upper bound of the range of layout set prototypes (not inclusive)
712            * @return the range of matching layout set prototypes
713            * @throws SystemException if a system exception occurred
714            */
715            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByC_A(
716                    long companyId, boolean active, int start, int end)
717                    throws com.liferay.portal.kernel.exception.SystemException;
718    
719            /**
720            * Returns an ordered range of all the layout set prototypes where companyId = &#63; and active = &#63;.
721            *
722            * <p>
723            * 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.portal.model.impl.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.
724            * </p>
725            *
726            * @param companyId the company ID
727            * @param active the active
728            * @param start the lower bound of the range of layout set prototypes
729            * @param end the upper bound of the range of layout set prototypes (not inclusive)
730            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
731            * @return the ordered range of matching layout set prototypes
732            * @throws SystemException if a system exception occurred
733            */
734            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByC_A(
735                    long companyId, boolean active, int start, int end,
736                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
737                    throws com.liferay.portal.kernel.exception.SystemException;
738    
739            /**
740            * Returns the first layout set prototype in the ordered set where companyId = &#63; and active = &#63;.
741            *
742            * @param companyId the company ID
743            * @param active the active
744            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
745            * @return the first matching layout set prototype
746            * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found
747            * @throws SystemException if a system exception occurred
748            */
749            public com.liferay.portal.model.LayoutSetPrototype findByC_A_First(
750                    long companyId, boolean active,
751                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
752                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
753                            com.liferay.portal.kernel.exception.SystemException;
754    
755            /**
756            * Returns the first layout set prototype in the ordered set where companyId = &#63; and active = &#63;.
757            *
758            * @param companyId the company ID
759            * @param active the active
760            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
761            * @return the first matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found
762            * @throws SystemException if a system exception occurred
763            */
764            public com.liferay.portal.model.LayoutSetPrototype fetchByC_A_First(
765                    long companyId, boolean active,
766                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
767                    throws com.liferay.portal.kernel.exception.SystemException;
768    
769            /**
770            * Returns the last layout set prototype in the ordered set where companyId = &#63; and active = &#63;.
771            *
772            * @param companyId the company ID
773            * @param active the active
774            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
775            * @return the last matching layout set prototype
776            * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found
777            * @throws SystemException if a system exception occurred
778            */
779            public com.liferay.portal.model.LayoutSetPrototype findByC_A_Last(
780                    long companyId, boolean active,
781                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
782                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
783                            com.liferay.portal.kernel.exception.SystemException;
784    
785            /**
786            * Returns the last layout set prototype in the ordered set where companyId = &#63; and active = &#63;.
787            *
788            * @param companyId the company ID
789            * @param active the active
790            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
791            * @return the last matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found
792            * @throws SystemException if a system exception occurred
793            */
794            public com.liferay.portal.model.LayoutSetPrototype fetchByC_A_Last(
795                    long companyId, boolean active,
796                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
797                    throws com.liferay.portal.kernel.exception.SystemException;
798    
799            /**
800            * Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = &#63; and active = &#63;.
801            *
802            * @param layoutSetPrototypeId the primary key of the current layout set prototype
803            * @param companyId the company ID
804            * @param active the active
805            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
806            * @return the previous, current, and next layout set prototype
807            * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found
808            * @throws SystemException if a system exception occurred
809            */
810            public com.liferay.portal.model.LayoutSetPrototype[] findByC_A_PrevAndNext(
811                    long layoutSetPrototypeId, long companyId, boolean active,
812                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
813                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
814                            com.liferay.portal.kernel.exception.SystemException;
815    
816            /**
817            * Returns all the layout set prototypes that the user has permission to view where companyId = &#63; and active = &#63;.
818            *
819            * @param companyId the company ID
820            * @param active the active
821            * @return the matching layout set prototypes that the user has permission to view
822            * @throws SystemException if a system exception occurred
823            */
824            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByC_A(
825                    long companyId, boolean active)
826                    throws com.liferay.portal.kernel.exception.SystemException;
827    
828            /**
829            * Returns a range of all the layout set prototypes that the user has permission to view where companyId = &#63; and active = &#63;.
830            *
831            * <p>
832            * 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.portal.model.impl.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.
833            * </p>
834            *
835            * @param companyId the company ID
836            * @param active the active
837            * @param start the lower bound of the range of layout set prototypes
838            * @param end the upper bound of the range of layout set prototypes (not inclusive)
839            * @return the range of matching layout set prototypes that the user has permission to view
840            * @throws SystemException if a system exception occurred
841            */
842            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByC_A(
843                    long companyId, boolean active, int start, int end)
844                    throws com.liferay.portal.kernel.exception.SystemException;
845    
846            /**
847            * Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = &#63; and active = &#63;.
848            *
849            * <p>
850            * 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.portal.model.impl.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.
851            * </p>
852            *
853            * @param companyId the company ID
854            * @param active the active
855            * @param start the lower bound of the range of layout set prototypes
856            * @param end the upper bound of the range of layout set prototypes (not inclusive)
857            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
858            * @return the ordered range of matching layout set prototypes that the user has permission to view
859            * @throws SystemException if a system exception occurred
860            */
861            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByC_A(
862                    long companyId, boolean active, int start, int end,
863                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
864                    throws com.liferay.portal.kernel.exception.SystemException;
865    
866            /**
867            * 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;.
868            *
869            * @param layoutSetPrototypeId the primary key of the current layout set prototype
870            * @param companyId the company ID
871            * @param active the active
872            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
873            * @return the previous, current, and next layout set prototype
874            * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found
875            * @throws SystemException if a system exception occurred
876            */
877            public com.liferay.portal.model.LayoutSetPrototype[] filterFindByC_A_PrevAndNext(
878                    long layoutSetPrototypeId, long companyId, boolean active,
879                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
880                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
881                            com.liferay.portal.kernel.exception.SystemException;
882    
883            /**
884            * Removes all the layout set prototypes where companyId = &#63; and active = &#63; from the database.
885            *
886            * @param companyId the company ID
887            * @param active the active
888            * @throws SystemException if a system exception occurred
889            */
890            public void removeByC_A(long companyId, boolean active)
891                    throws com.liferay.portal.kernel.exception.SystemException;
892    
893            /**
894            * Returns the number of layout set prototypes where companyId = &#63; and active = &#63;.
895            *
896            * @param companyId the company ID
897            * @param active the active
898            * @return the number of matching layout set prototypes
899            * @throws SystemException if a system exception occurred
900            */
901            public int countByC_A(long companyId, boolean active)
902                    throws com.liferay.portal.kernel.exception.SystemException;
903    
904            /**
905            * Returns the number of layout set prototypes that the user has permission to view where companyId = &#63; and active = &#63;.
906            *
907            * @param companyId the company ID
908            * @param active the active
909            * @return the number of matching layout set prototypes that the user has permission to view
910            * @throws SystemException if a system exception occurred
911            */
912            public int filterCountByC_A(long companyId, boolean active)
913                    throws com.liferay.portal.kernel.exception.SystemException;
914    
915            /**
916            * Caches the layout set prototype in the entity cache if it is enabled.
917            *
918            * @param layoutSetPrototype the layout set prototype
919            */
920            public void cacheResult(
921                    com.liferay.portal.model.LayoutSetPrototype layoutSetPrototype);
922    
923            /**
924            * Caches the layout set prototypes in the entity cache if it is enabled.
925            *
926            * @param layoutSetPrototypes the layout set prototypes
927            */
928            public void cacheResult(
929                    java.util.List<com.liferay.portal.model.LayoutSetPrototype> layoutSetPrototypes);
930    
931            /**
932            * Creates a new layout set prototype with the primary key. Does not add the layout set prototype to the database.
933            *
934            * @param layoutSetPrototypeId the primary key for the new layout set prototype
935            * @return the new layout set prototype
936            */
937            public com.liferay.portal.model.LayoutSetPrototype create(
938                    long layoutSetPrototypeId);
939    
940            /**
941            * Removes the layout set prototype with the primary key from the database. Also notifies the appropriate model listeners.
942            *
943            * @param layoutSetPrototypeId the primary key of the layout set prototype
944            * @return the layout set prototype that was removed
945            * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found
946            * @throws SystemException if a system exception occurred
947            */
948            public com.liferay.portal.model.LayoutSetPrototype remove(
949                    long layoutSetPrototypeId)
950                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
951                            com.liferay.portal.kernel.exception.SystemException;
952    
953            public com.liferay.portal.model.LayoutSetPrototype updateImpl(
954                    com.liferay.portal.model.LayoutSetPrototype layoutSetPrototype)
955                    throws com.liferay.portal.kernel.exception.SystemException;
956    
957            /**
958            * Returns the layout set prototype with the primary key or throws a {@link com.liferay.portal.NoSuchLayoutSetPrototypeException} if it could not be found.
959            *
960            * @param layoutSetPrototypeId the primary key of the layout set prototype
961            * @return the layout set prototype
962            * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found
963            * @throws SystemException if a system exception occurred
964            */
965            public com.liferay.portal.model.LayoutSetPrototype findByPrimaryKey(
966                    long layoutSetPrototypeId)
967                    throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
968                            com.liferay.portal.kernel.exception.SystemException;
969    
970            /**
971            * Returns the layout set prototype with the primary key or returns <code>null</code> if it could not be found.
972            *
973            * @param layoutSetPrototypeId the primary key of the layout set prototype
974            * @return the layout set prototype, or <code>null</code> if a layout set prototype with the primary key could not be found
975            * @throws SystemException if a system exception occurred
976            */
977            public com.liferay.portal.model.LayoutSetPrototype fetchByPrimaryKey(
978                    long layoutSetPrototypeId)
979                    throws com.liferay.portal.kernel.exception.SystemException;
980    
981            /**
982            * Returns all the layout set prototypes.
983            *
984            * @return the layout set prototypes
985            * @throws SystemException if a system exception occurred
986            */
987            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findAll()
988                    throws com.liferay.portal.kernel.exception.SystemException;
989    
990            /**
991            * Returns a range of all the layout set prototypes.
992            *
993            * <p>
994            * 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.portal.model.impl.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.
995            * </p>
996            *
997            * @param start the lower bound of the range of layout set prototypes
998            * @param end the upper bound of the range of layout set prototypes (not inclusive)
999            * @return the range of layout set prototypes
1000            * @throws SystemException if a system exception occurred
1001            */
1002            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findAll(
1003                    int start, int end)
1004                    throws com.liferay.portal.kernel.exception.SystemException;
1005    
1006            /**
1007            * Returns an ordered range of all the layout set prototypes.
1008            *
1009            * <p>
1010            * 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.portal.model.impl.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.
1011            * </p>
1012            *
1013            * @param start the lower bound of the range of layout set prototypes
1014            * @param end the upper bound of the range of layout set prototypes (not inclusive)
1015            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1016            * @return the ordered range of layout set prototypes
1017            * @throws SystemException if a system exception occurred
1018            */
1019            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findAll(
1020                    int start, int end,
1021                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1022                    throws com.liferay.portal.kernel.exception.SystemException;
1023    
1024            /**
1025            * Removes all the layout set prototypes from the database.
1026            *
1027            * @throws SystemException if a system exception occurred
1028            */
1029            public void removeAll()
1030                    throws com.liferay.portal.kernel.exception.SystemException;
1031    
1032            /**
1033            * Returns the number of layout set prototypes.
1034            *
1035            * @return the number of layout set prototypes
1036            * @throws SystemException if a system exception occurred
1037            */
1038            public int countAll()
1039                    throws com.liferay.portal.kernel.exception.SystemException;
1040    }