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 com.liferay.portal.model.LayoutRevision;
018    
019    /**
020     * The persistence interface for the layout revision service.
021     *
022     * <p>
023     * Caching information and settings can be found in <code>portal.properties</code>
024     * </p>
025     *
026     * @author Brian Wing Shun Chan
027     * @see LayoutRevisionPersistenceImpl
028     * @see LayoutRevisionUtil
029     * @generated
030     */
031    public interface LayoutRevisionPersistence extends BasePersistence<LayoutRevision> {
032            /*
033             * NOTE FOR DEVELOPERS:
034             *
035             * Never modify or reference this interface directly. Always use {@link LayoutRevisionUtil} to access the layout revision persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
036             */
037    
038            /**
039            * Returns all the layout revisions where layoutSetBranchId = &#63;.
040            *
041            * @param layoutSetBranchId the layout set branch ID
042            * @return the matching layout revisions
043            * @throws SystemException if a system exception occurred
044            */
045            public java.util.List<com.liferay.portal.model.LayoutRevision> findByLayoutSetBranchId(
046                    long layoutSetBranchId)
047                    throws com.liferay.portal.kernel.exception.SystemException;
048    
049            /**
050            * Returns a range of all the layout revisions where layoutSetBranchId = &#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 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.LayoutRevisionModelImpl}. 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 layoutSetBranchId the layout set branch ID
057            * @param start the lower bound of the range of layout revisions
058            * @param end the upper bound of the range of layout revisions (not inclusive)
059            * @return the range of matching layout revisions
060            * @throws SystemException if a system exception occurred
061            */
062            public java.util.List<com.liferay.portal.model.LayoutRevision> findByLayoutSetBranchId(
063                    long layoutSetBranchId, int start, int end)
064                    throws com.liferay.portal.kernel.exception.SystemException;
065    
066            /**
067            * Returns an ordered range of all the layout revisions where layoutSetBranchId = &#63;.
068            *
069            * <p>
070            * 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.LayoutRevisionModelImpl}. 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.
071            * </p>
072            *
073            * @param layoutSetBranchId the layout set branch ID
074            * @param start the lower bound of the range of layout revisions
075            * @param end the upper bound of the range of layout revisions (not inclusive)
076            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
077            * @return the ordered range of matching layout revisions
078            * @throws SystemException if a system exception occurred
079            */
080            public java.util.List<com.liferay.portal.model.LayoutRevision> findByLayoutSetBranchId(
081                    long layoutSetBranchId, int start, int end,
082                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
083                    throws com.liferay.portal.kernel.exception.SystemException;
084    
085            /**
086            * Returns the first layout revision in the ordered set where layoutSetBranchId = &#63;.
087            *
088            * @param layoutSetBranchId the layout set branch ID
089            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
090            * @return the first matching layout revision
091            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found
092            * @throws SystemException if a system exception occurred
093            */
094            public com.liferay.portal.model.LayoutRevision findByLayoutSetBranchId_First(
095                    long layoutSetBranchId,
096                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
097                    throws com.liferay.portal.NoSuchLayoutRevisionException,
098                            com.liferay.portal.kernel.exception.SystemException;
099    
100            /**
101            * Returns the first layout revision in the ordered set where layoutSetBranchId = &#63;.
102            *
103            * @param layoutSetBranchId the layout set branch ID
104            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
105            * @return the first matching layout revision, or <code>null</code> if a matching layout revision could not be found
106            * @throws SystemException if a system exception occurred
107            */
108            public com.liferay.portal.model.LayoutRevision fetchByLayoutSetBranchId_First(
109                    long layoutSetBranchId,
110                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
111                    throws com.liferay.portal.kernel.exception.SystemException;
112    
113            /**
114            * Returns the last layout revision in the ordered set where layoutSetBranchId = &#63;.
115            *
116            * @param layoutSetBranchId the layout set branch ID
117            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
118            * @return the last matching layout revision
119            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found
120            * @throws SystemException if a system exception occurred
121            */
122            public com.liferay.portal.model.LayoutRevision findByLayoutSetBranchId_Last(
123                    long layoutSetBranchId,
124                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
125                    throws com.liferay.portal.NoSuchLayoutRevisionException,
126                            com.liferay.portal.kernel.exception.SystemException;
127    
128            /**
129            * Returns the last layout revision in the ordered set where layoutSetBranchId = &#63;.
130            *
131            * @param layoutSetBranchId the layout set branch ID
132            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
133            * @return the last matching layout revision, or <code>null</code> if a matching layout revision could not be found
134            * @throws SystemException if a system exception occurred
135            */
136            public com.liferay.portal.model.LayoutRevision fetchByLayoutSetBranchId_Last(
137                    long layoutSetBranchId,
138                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
139                    throws com.liferay.portal.kernel.exception.SystemException;
140    
141            /**
142            * Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = &#63;.
143            *
144            * @param layoutRevisionId the primary key of the current layout revision
145            * @param layoutSetBranchId the layout set branch ID
146            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
147            * @return the previous, current, and next layout revision
148            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found
149            * @throws SystemException if a system exception occurred
150            */
151            public com.liferay.portal.model.LayoutRevision[] findByLayoutSetBranchId_PrevAndNext(
152                    long layoutRevisionId, long layoutSetBranchId,
153                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
154                    throws com.liferay.portal.NoSuchLayoutRevisionException,
155                            com.liferay.portal.kernel.exception.SystemException;
156    
157            /**
158            * Removes all the layout revisions where layoutSetBranchId = &#63; from the database.
159            *
160            * @param layoutSetBranchId the layout set branch ID
161            * @throws SystemException if a system exception occurred
162            */
163            public void removeByLayoutSetBranchId(long layoutSetBranchId)
164                    throws com.liferay.portal.kernel.exception.SystemException;
165    
166            /**
167            * Returns the number of layout revisions where layoutSetBranchId = &#63;.
168            *
169            * @param layoutSetBranchId the layout set branch ID
170            * @return the number of matching layout revisions
171            * @throws SystemException if a system exception occurred
172            */
173            public int countByLayoutSetBranchId(long layoutSetBranchId)
174                    throws com.liferay.portal.kernel.exception.SystemException;
175    
176            /**
177            * Returns all the layout revisions where plid = &#63;.
178            *
179            * @param plid the plid
180            * @return the matching layout revisions
181            * @throws SystemException if a system exception occurred
182            */
183            public java.util.List<com.liferay.portal.model.LayoutRevision> findByPlid(
184                    long plid) throws com.liferay.portal.kernel.exception.SystemException;
185    
186            /**
187            * Returns a range of all the layout revisions where plid = &#63;.
188            *
189            * <p>
190            * 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.LayoutRevisionModelImpl}. 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.
191            * </p>
192            *
193            * @param plid the plid
194            * @param start the lower bound of the range of layout revisions
195            * @param end the upper bound of the range of layout revisions (not inclusive)
196            * @return the range of matching layout revisions
197            * @throws SystemException if a system exception occurred
198            */
199            public java.util.List<com.liferay.portal.model.LayoutRevision> findByPlid(
200                    long plid, int start, int end)
201                    throws com.liferay.portal.kernel.exception.SystemException;
202    
203            /**
204            * Returns an ordered range of all the layout revisions where plid = &#63;.
205            *
206            * <p>
207            * 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.LayoutRevisionModelImpl}. 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.
208            * </p>
209            *
210            * @param plid the plid
211            * @param start the lower bound of the range of layout revisions
212            * @param end the upper bound of the range of layout revisions (not inclusive)
213            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
214            * @return the ordered range of matching layout revisions
215            * @throws SystemException if a system exception occurred
216            */
217            public java.util.List<com.liferay.portal.model.LayoutRevision> findByPlid(
218                    long plid, int start, int end,
219                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
220                    throws com.liferay.portal.kernel.exception.SystemException;
221    
222            /**
223            * Returns the first layout revision in the ordered set where plid = &#63;.
224            *
225            * @param plid the plid
226            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
227            * @return the first matching layout revision
228            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found
229            * @throws SystemException if a system exception occurred
230            */
231            public com.liferay.portal.model.LayoutRevision findByPlid_First(long plid,
232                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
233                    throws com.liferay.portal.NoSuchLayoutRevisionException,
234                            com.liferay.portal.kernel.exception.SystemException;
235    
236            /**
237            * Returns the first layout revision in the ordered set where plid = &#63;.
238            *
239            * @param plid the plid
240            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
241            * @return the first matching layout revision, or <code>null</code> if a matching layout revision could not be found
242            * @throws SystemException if a system exception occurred
243            */
244            public com.liferay.portal.model.LayoutRevision fetchByPlid_First(
245                    long plid,
246                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
247                    throws com.liferay.portal.kernel.exception.SystemException;
248    
249            /**
250            * Returns the last layout revision in the ordered set where plid = &#63;.
251            *
252            * @param plid the plid
253            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
254            * @return the last matching layout revision
255            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found
256            * @throws SystemException if a system exception occurred
257            */
258            public com.liferay.portal.model.LayoutRevision findByPlid_Last(long plid,
259                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
260                    throws com.liferay.portal.NoSuchLayoutRevisionException,
261                            com.liferay.portal.kernel.exception.SystemException;
262    
263            /**
264            * Returns the last layout revision in the ordered set where plid = &#63;.
265            *
266            * @param plid the plid
267            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
268            * @return the last matching layout revision, or <code>null</code> if a matching layout revision could not be found
269            * @throws SystemException if a system exception occurred
270            */
271            public com.liferay.portal.model.LayoutRevision fetchByPlid_Last(long plid,
272                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
273                    throws com.liferay.portal.kernel.exception.SystemException;
274    
275            /**
276            * Returns the layout revisions before and after the current layout revision in the ordered set where plid = &#63;.
277            *
278            * @param layoutRevisionId the primary key of the current layout revision
279            * @param plid the plid
280            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
281            * @return the previous, current, and next layout revision
282            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found
283            * @throws SystemException if a system exception occurred
284            */
285            public com.liferay.portal.model.LayoutRevision[] findByPlid_PrevAndNext(
286                    long layoutRevisionId, long plid,
287                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
288                    throws com.liferay.portal.NoSuchLayoutRevisionException,
289                            com.liferay.portal.kernel.exception.SystemException;
290    
291            /**
292            * Removes all the layout revisions where plid = &#63; from the database.
293            *
294            * @param plid the plid
295            * @throws SystemException if a system exception occurred
296            */
297            public void removeByPlid(long plid)
298                    throws com.liferay.portal.kernel.exception.SystemException;
299    
300            /**
301            * Returns the number of layout revisions where plid = &#63;.
302            *
303            * @param plid the plid
304            * @return the number of matching layout revisions
305            * @throws SystemException if a system exception occurred
306            */
307            public int countByPlid(long plid)
308                    throws com.liferay.portal.kernel.exception.SystemException;
309    
310            /**
311            * Returns all the layout revisions where layoutSetBranchId = &#63; and head = &#63;.
312            *
313            * @param layoutSetBranchId the layout set branch ID
314            * @param head the head
315            * @return the matching layout revisions
316            * @throws SystemException if a system exception occurred
317            */
318            public java.util.List<com.liferay.portal.model.LayoutRevision> findByL_H(
319                    long layoutSetBranchId, boolean head)
320                    throws com.liferay.portal.kernel.exception.SystemException;
321    
322            /**
323            * Returns a range of all the layout revisions where layoutSetBranchId = &#63; and head = &#63;.
324            *
325            * <p>
326            * 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.LayoutRevisionModelImpl}. 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.
327            * </p>
328            *
329            * @param layoutSetBranchId the layout set branch ID
330            * @param head the head
331            * @param start the lower bound of the range of layout revisions
332            * @param end the upper bound of the range of layout revisions (not inclusive)
333            * @return the range of matching layout revisions
334            * @throws SystemException if a system exception occurred
335            */
336            public java.util.List<com.liferay.portal.model.LayoutRevision> findByL_H(
337                    long layoutSetBranchId, boolean head, int start, int end)
338                    throws com.liferay.portal.kernel.exception.SystemException;
339    
340            /**
341            * Returns an ordered range of all the layout revisions where layoutSetBranchId = &#63; and head = &#63;.
342            *
343            * <p>
344            * 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.LayoutRevisionModelImpl}. 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.
345            * </p>
346            *
347            * @param layoutSetBranchId the layout set branch ID
348            * @param head the head
349            * @param start the lower bound of the range of layout revisions
350            * @param end the upper bound of the range of layout revisions (not inclusive)
351            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
352            * @return the ordered range of matching layout revisions
353            * @throws SystemException if a system exception occurred
354            */
355            public java.util.List<com.liferay.portal.model.LayoutRevision> findByL_H(
356                    long layoutSetBranchId, boolean head, int start, int end,
357                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
358                    throws com.liferay.portal.kernel.exception.SystemException;
359    
360            /**
361            * Returns the first layout revision in the ordered set where layoutSetBranchId = &#63; and head = &#63;.
362            *
363            * @param layoutSetBranchId the layout set branch ID
364            * @param head the head
365            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
366            * @return the first matching layout revision
367            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found
368            * @throws SystemException if a system exception occurred
369            */
370            public com.liferay.portal.model.LayoutRevision findByL_H_First(
371                    long layoutSetBranchId, boolean head,
372                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
373                    throws com.liferay.portal.NoSuchLayoutRevisionException,
374                            com.liferay.portal.kernel.exception.SystemException;
375    
376            /**
377            * Returns the first layout revision in the ordered set where layoutSetBranchId = &#63; and head = &#63;.
378            *
379            * @param layoutSetBranchId the layout set branch ID
380            * @param head the head
381            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
382            * @return the first matching layout revision, or <code>null</code> if a matching layout revision could not be found
383            * @throws SystemException if a system exception occurred
384            */
385            public com.liferay.portal.model.LayoutRevision fetchByL_H_First(
386                    long layoutSetBranchId, boolean head,
387                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
388                    throws com.liferay.portal.kernel.exception.SystemException;
389    
390            /**
391            * Returns the last layout revision in the ordered set where layoutSetBranchId = &#63; and head = &#63;.
392            *
393            * @param layoutSetBranchId the layout set branch ID
394            * @param head the head
395            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
396            * @return the last matching layout revision
397            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found
398            * @throws SystemException if a system exception occurred
399            */
400            public com.liferay.portal.model.LayoutRevision findByL_H_Last(
401                    long layoutSetBranchId, boolean head,
402                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
403                    throws com.liferay.portal.NoSuchLayoutRevisionException,
404                            com.liferay.portal.kernel.exception.SystemException;
405    
406            /**
407            * Returns the last layout revision in the ordered set where layoutSetBranchId = &#63; and head = &#63;.
408            *
409            * @param layoutSetBranchId the layout set branch ID
410            * @param head the head
411            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
412            * @return the last matching layout revision, or <code>null</code> if a matching layout revision could not be found
413            * @throws SystemException if a system exception occurred
414            */
415            public com.liferay.portal.model.LayoutRevision fetchByL_H_Last(
416                    long layoutSetBranchId, boolean head,
417                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
418                    throws com.liferay.portal.kernel.exception.SystemException;
419    
420            /**
421            * Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = &#63; and head = &#63;.
422            *
423            * @param layoutRevisionId the primary key of the current layout revision
424            * @param layoutSetBranchId the layout set branch ID
425            * @param head the head
426            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
427            * @return the previous, current, and next layout revision
428            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found
429            * @throws SystemException if a system exception occurred
430            */
431            public com.liferay.portal.model.LayoutRevision[] findByL_H_PrevAndNext(
432                    long layoutRevisionId, long layoutSetBranchId, boolean head,
433                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
434                    throws com.liferay.portal.NoSuchLayoutRevisionException,
435                            com.liferay.portal.kernel.exception.SystemException;
436    
437            /**
438            * Removes all the layout revisions where layoutSetBranchId = &#63; and head = &#63; from the database.
439            *
440            * @param layoutSetBranchId the layout set branch ID
441            * @param head the head
442            * @throws SystemException if a system exception occurred
443            */
444            public void removeByL_H(long layoutSetBranchId, boolean head)
445                    throws com.liferay.portal.kernel.exception.SystemException;
446    
447            /**
448            * Returns the number of layout revisions where layoutSetBranchId = &#63; and head = &#63;.
449            *
450            * @param layoutSetBranchId the layout set branch ID
451            * @param head the head
452            * @return the number of matching layout revisions
453            * @throws SystemException if a system exception occurred
454            */
455            public int countByL_H(long layoutSetBranchId, boolean head)
456                    throws com.liferay.portal.kernel.exception.SystemException;
457    
458            /**
459            * Returns all the layout revisions where layoutSetBranchId = &#63; and plid = &#63;.
460            *
461            * @param layoutSetBranchId the layout set branch ID
462            * @param plid the plid
463            * @return the matching layout revisions
464            * @throws SystemException if a system exception occurred
465            */
466            public java.util.List<com.liferay.portal.model.LayoutRevision> findByL_P(
467                    long layoutSetBranchId, long plid)
468                    throws com.liferay.portal.kernel.exception.SystemException;
469    
470            /**
471            * Returns a range of all the layout revisions where layoutSetBranchId = &#63; and plid = &#63;.
472            *
473            * <p>
474            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutRevisionModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
475            * </p>
476            *
477            * @param layoutSetBranchId the layout set branch ID
478            * @param plid the plid
479            * @param start the lower bound of the range of layout revisions
480            * @param end the upper bound of the range of layout revisions (not inclusive)
481            * @return the range of matching layout revisions
482            * @throws SystemException if a system exception occurred
483            */
484            public java.util.List<com.liferay.portal.model.LayoutRevision> findByL_P(
485                    long layoutSetBranchId, long plid, int start, int end)
486                    throws com.liferay.portal.kernel.exception.SystemException;
487    
488            /**
489            * Returns an ordered range of all the layout revisions where layoutSetBranchId = &#63; and plid = &#63;.
490            *
491            * <p>
492            * 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.LayoutRevisionModelImpl}. 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.
493            * </p>
494            *
495            * @param layoutSetBranchId the layout set branch ID
496            * @param plid the plid
497            * @param start the lower bound of the range of layout revisions
498            * @param end the upper bound of the range of layout revisions (not inclusive)
499            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
500            * @return the ordered range of matching layout revisions
501            * @throws SystemException if a system exception occurred
502            */
503            public java.util.List<com.liferay.portal.model.LayoutRevision> findByL_P(
504                    long layoutSetBranchId, long plid, int start, int end,
505                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
506                    throws com.liferay.portal.kernel.exception.SystemException;
507    
508            /**
509            * Returns the first layout revision in the ordered set where layoutSetBranchId = &#63; and plid = &#63;.
510            *
511            * @param layoutSetBranchId the layout set branch ID
512            * @param plid the plid
513            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
514            * @return the first matching layout revision
515            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found
516            * @throws SystemException if a system exception occurred
517            */
518            public com.liferay.portal.model.LayoutRevision findByL_P_First(
519                    long layoutSetBranchId, long plid,
520                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
521                    throws com.liferay.portal.NoSuchLayoutRevisionException,
522                            com.liferay.portal.kernel.exception.SystemException;
523    
524            /**
525            * Returns the first layout revision in the ordered set where layoutSetBranchId = &#63; and plid = &#63;.
526            *
527            * @param layoutSetBranchId the layout set branch ID
528            * @param plid the plid
529            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
530            * @return the first matching layout revision, or <code>null</code> if a matching layout revision could not be found
531            * @throws SystemException if a system exception occurred
532            */
533            public com.liferay.portal.model.LayoutRevision fetchByL_P_First(
534                    long layoutSetBranchId, long plid,
535                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
536                    throws com.liferay.portal.kernel.exception.SystemException;
537    
538            /**
539            * Returns the last layout revision in the ordered set where layoutSetBranchId = &#63; and plid = &#63;.
540            *
541            * @param layoutSetBranchId the layout set branch ID
542            * @param plid the plid
543            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
544            * @return the last matching layout revision
545            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found
546            * @throws SystemException if a system exception occurred
547            */
548            public com.liferay.portal.model.LayoutRevision findByL_P_Last(
549                    long layoutSetBranchId, long plid,
550                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
551                    throws com.liferay.portal.NoSuchLayoutRevisionException,
552                            com.liferay.portal.kernel.exception.SystemException;
553    
554            /**
555            * Returns the last layout revision in the ordered set where layoutSetBranchId = &#63; and plid = &#63;.
556            *
557            * @param layoutSetBranchId the layout set branch ID
558            * @param plid the plid
559            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
560            * @return the last matching layout revision, or <code>null</code> if a matching layout revision could not be found
561            * @throws SystemException if a system exception occurred
562            */
563            public com.liferay.portal.model.LayoutRevision fetchByL_P_Last(
564                    long layoutSetBranchId, long plid,
565                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
566                    throws com.liferay.portal.kernel.exception.SystemException;
567    
568            /**
569            * Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = &#63; and plid = &#63;.
570            *
571            * @param layoutRevisionId the primary key of the current layout revision
572            * @param layoutSetBranchId the layout set branch ID
573            * @param plid the plid
574            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
575            * @return the previous, current, and next layout revision
576            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found
577            * @throws SystemException if a system exception occurred
578            */
579            public com.liferay.portal.model.LayoutRevision[] findByL_P_PrevAndNext(
580                    long layoutRevisionId, long layoutSetBranchId, long plid,
581                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
582                    throws com.liferay.portal.NoSuchLayoutRevisionException,
583                            com.liferay.portal.kernel.exception.SystemException;
584    
585            /**
586            * Removes all the layout revisions where layoutSetBranchId = &#63; and plid = &#63; from the database.
587            *
588            * @param layoutSetBranchId the layout set branch ID
589            * @param plid the plid
590            * @throws SystemException if a system exception occurred
591            */
592            public void removeByL_P(long layoutSetBranchId, long plid)
593                    throws com.liferay.portal.kernel.exception.SystemException;
594    
595            /**
596            * Returns the number of layout revisions where layoutSetBranchId = &#63; and plid = &#63;.
597            *
598            * @param layoutSetBranchId the layout set branch ID
599            * @param plid the plid
600            * @return the number of matching layout revisions
601            * @throws SystemException if a system exception occurred
602            */
603            public int countByL_P(long layoutSetBranchId, long plid)
604                    throws com.liferay.portal.kernel.exception.SystemException;
605    
606            /**
607            * Returns all the layout revisions where layoutSetBranchId = &#63; and status = &#63;.
608            *
609            * @param layoutSetBranchId the layout set branch ID
610            * @param status the status
611            * @return the matching layout revisions
612            * @throws SystemException if a system exception occurred
613            */
614            public java.util.List<com.liferay.portal.model.LayoutRevision> findByL_S(
615                    long layoutSetBranchId, int status)
616                    throws com.liferay.portal.kernel.exception.SystemException;
617    
618            /**
619            * Returns a range of all the layout revisions where layoutSetBranchId = &#63; and status = &#63;.
620            *
621            * <p>
622            * 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.LayoutRevisionModelImpl}. 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.
623            * </p>
624            *
625            * @param layoutSetBranchId the layout set branch ID
626            * @param status the status
627            * @param start the lower bound of the range of layout revisions
628            * @param end the upper bound of the range of layout revisions (not inclusive)
629            * @return the range of matching layout revisions
630            * @throws SystemException if a system exception occurred
631            */
632            public java.util.List<com.liferay.portal.model.LayoutRevision> findByL_S(
633                    long layoutSetBranchId, int status, int start, int end)
634                    throws com.liferay.portal.kernel.exception.SystemException;
635    
636            /**
637            * Returns an ordered range of all the layout revisions where layoutSetBranchId = &#63; and status = &#63;.
638            *
639            * <p>
640            * 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.LayoutRevisionModelImpl}. 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.
641            * </p>
642            *
643            * @param layoutSetBranchId the layout set branch ID
644            * @param status the status
645            * @param start the lower bound of the range of layout revisions
646            * @param end the upper bound of the range of layout revisions (not inclusive)
647            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
648            * @return the ordered range of matching layout revisions
649            * @throws SystemException if a system exception occurred
650            */
651            public java.util.List<com.liferay.portal.model.LayoutRevision> findByL_S(
652                    long layoutSetBranchId, int status, int start, int end,
653                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
654                    throws com.liferay.portal.kernel.exception.SystemException;
655    
656            /**
657            * Returns the first layout revision in the ordered set where layoutSetBranchId = &#63; and status = &#63;.
658            *
659            * @param layoutSetBranchId the layout set branch ID
660            * @param status the status
661            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
662            * @return the first matching layout revision
663            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found
664            * @throws SystemException if a system exception occurred
665            */
666            public com.liferay.portal.model.LayoutRevision findByL_S_First(
667                    long layoutSetBranchId, int status,
668                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
669                    throws com.liferay.portal.NoSuchLayoutRevisionException,
670                            com.liferay.portal.kernel.exception.SystemException;
671    
672            /**
673            * Returns the first layout revision in the ordered set where layoutSetBranchId = &#63; and status = &#63;.
674            *
675            * @param layoutSetBranchId the layout set branch ID
676            * @param status the status
677            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
678            * @return the first matching layout revision, or <code>null</code> if a matching layout revision could not be found
679            * @throws SystemException if a system exception occurred
680            */
681            public com.liferay.portal.model.LayoutRevision fetchByL_S_First(
682                    long layoutSetBranchId, int status,
683                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
684                    throws com.liferay.portal.kernel.exception.SystemException;
685    
686            /**
687            * Returns the last layout revision in the ordered set where layoutSetBranchId = &#63; and status = &#63;.
688            *
689            * @param layoutSetBranchId the layout set branch ID
690            * @param status the status
691            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
692            * @return the last matching layout revision
693            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found
694            * @throws SystemException if a system exception occurred
695            */
696            public com.liferay.portal.model.LayoutRevision findByL_S_Last(
697                    long layoutSetBranchId, int status,
698                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
699                    throws com.liferay.portal.NoSuchLayoutRevisionException,
700                            com.liferay.portal.kernel.exception.SystemException;
701    
702            /**
703            * Returns the last layout revision in the ordered set where layoutSetBranchId = &#63; and status = &#63;.
704            *
705            * @param layoutSetBranchId the layout set branch ID
706            * @param status the status
707            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
708            * @return the last matching layout revision, or <code>null</code> if a matching layout revision could not be found
709            * @throws SystemException if a system exception occurred
710            */
711            public com.liferay.portal.model.LayoutRevision fetchByL_S_Last(
712                    long layoutSetBranchId, int status,
713                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
714                    throws com.liferay.portal.kernel.exception.SystemException;
715    
716            /**
717            * Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = &#63; and status = &#63;.
718            *
719            * @param layoutRevisionId the primary key of the current layout revision
720            * @param layoutSetBranchId the layout set branch ID
721            * @param status the status
722            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
723            * @return the previous, current, and next layout revision
724            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found
725            * @throws SystemException if a system exception occurred
726            */
727            public com.liferay.portal.model.LayoutRevision[] findByL_S_PrevAndNext(
728                    long layoutRevisionId, long layoutSetBranchId, int status,
729                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
730                    throws com.liferay.portal.NoSuchLayoutRevisionException,
731                            com.liferay.portal.kernel.exception.SystemException;
732    
733            /**
734            * Removes all the layout revisions where layoutSetBranchId = &#63; and status = &#63; from the database.
735            *
736            * @param layoutSetBranchId the layout set branch ID
737            * @param status the status
738            * @throws SystemException if a system exception occurred
739            */
740            public void removeByL_S(long layoutSetBranchId, int status)
741                    throws com.liferay.portal.kernel.exception.SystemException;
742    
743            /**
744            * Returns the number of layout revisions where layoutSetBranchId = &#63; and status = &#63;.
745            *
746            * @param layoutSetBranchId the layout set branch ID
747            * @param status the status
748            * @return the number of matching layout revisions
749            * @throws SystemException if a system exception occurred
750            */
751            public int countByL_S(long layoutSetBranchId, int status)
752                    throws com.liferay.portal.kernel.exception.SystemException;
753    
754            /**
755            * Returns all the layout revisions where head = &#63; and plid = &#63;.
756            *
757            * @param head the head
758            * @param plid the plid
759            * @return the matching layout revisions
760            * @throws SystemException if a system exception occurred
761            */
762            public java.util.List<com.liferay.portal.model.LayoutRevision> findByH_P(
763                    boolean head, long plid)
764                    throws com.liferay.portal.kernel.exception.SystemException;
765    
766            /**
767            * Returns a range of all the layout revisions where head = &#63; and plid = &#63;.
768            *
769            * <p>
770            * 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.LayoutRevisionModelImpl}. 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.
771            * </p>
772            *
773            * @param head the head
774            * @param plid the plid
775            * @param start the lower bound of the range of layout revisions
776            * @param end the upper bound of the range of layout revisions (not inclusive)
777            * @return the range of matching layout revisions
778            * @throws SystemException if a system exception occurred
779            */
780            public java.util.List<com.liferay.portal.model.LayoutRevision> findByH_P(
781                    boolean head, long plid, int start, int end)
782                    throws com.liferay.portal.kernel.exception.SystemException;
783    
784            /**
785            * Returns an ordered range of all the layout revisions where head = &#63; and plid = &#63;.
786            *
787            * <p>
788            * 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.LayoutRevisionModelImpl}. 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.
789            * </p>
790            *
791            * @param head the head
792            * @param plid the plid
793            * @param start the lower bound of the range of layout revisions
794            * @param end the upper bound of the range of layout revisions (not inclusive)
795            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
796            * @return the ordered range of matching layout revisions
797            * @throws SystemException if a system exception occurred
798            */
799            public java.util.List<com.liferay.portal.model.LayoutRevision> findByH_P(
800                    boolean head, long plid, int start, int end,
801                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
802                    throws com.liferay.portal.kernel.exception.SystemException;
803    
804            /**
805            * Returns the first layout revision in the ordered set where head = &#63; and plid = &#63;.
806            *
807            * @param head the head
808            * @param plid the plid
809            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
810            * @return the first matching layout revision
811            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found
812            * @throws SystemException if a system exception occurred
813            */
814            public com.liferay.portal.model.LayoutRevision findByH_P_First(
815                    boolean head, long plid,
816                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
817                    throws com.liferay.portal.NoSuchLayoutRevisionException,
818                            com.liferay.portal.kernel.exception.SystemException;
819    
820            /**
821            * Returns the first layout revision in the ordered set where head = &#63; and plid = &#63;.
822            *
823            * @param head the head
824            * @param plid the plid
825            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
826            * @return the first matching layout revision, or <code>null</code> if a matching layout revision could not be found
827            * @throws SystemException if a system exception occurred
828            */
829            public com.liferay.portal.model.LayoutRevision fetchByH_P_First(
830                    boolean head, long plid,
831                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
832                    throws com.liferay.portal.kernel.exception.SystemException;
833    
834            /**
835            * Returns the last layout revision in the ordered set where head = &#63; and plid = &#63;.
836            *
837            * @param head the head
838            * @param plid the plid
839            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
840            * @return the last matching layout revision
841            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found
842            * @throws SystemException if a system exception occurred
843            */
844            public com.liferay.portal.model.LayoutRevision findByH_P_Last(
845                    boolean head, long plid,
846                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
847                    throws com.liferay.portal.NoSuchLayoutRevisionException,
848                            com.liferay.portal.kernel.exception.SystemException;
849    
850            /**
851            * Returns the last layout revision in the ordered set where head = &#63; and plid = &#63;.
852            *
853            * @param head the head
854            * @param plid the plid
855            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
856            * @return the last matching layout revision, or <code>null</code> if a matching layout revision could not be found
857            * @throws SystemException if a system exception occurred
858            */
859            public com.liferay.portal.model.LayoutRevision fetchByH_P_Last(
860                    boolean head, long plid,
861                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
862                    throws com.liferay.portal.kernel.exception.SystemException;
863    
864            /**
865            * Returns the layout revisions before and after the current layout revision in the ordered set where head = &#63; and plid = &#63;.
866            *
867            * @param layoutRevisionId the primary key of the current layout revision
868            * @param head the head
869            * @param plid the plid
870            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
871            * @return the previous, current, and next layout revision
872            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found
873            * @throws SystemException if a system exception occurred
874            */
875            public com.liferay.portal.model.LayoutRevision[] findByH_P_PrevAndNext(
876                    long layoutRevisionId, boolean head, long plid,
877                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
878                    throws com.liferay.portal.NoSuchLayoutRevisionException,
879                            com.liferay.portal.kernel.exception.SystemException;
880    
881            /**
882            * Removes all the layout revisions where head = &#63; and plid = &#63; from the database.
883            *
884            * @param head the head
885            * @param plid the plid
886            * @throws SystemException if a system exception occurred
887            */
888            public void removeByH_P(boolean head, long plid)
889                    throws com.liferay.portal.kernel.exception.SystemException;
890    
891            /**
892            * Returns the number of layout revisions where head = &#63; and plid = &#63;.
893            *
894            * @param head the head
895            * @param plid the plid
896            * @return the number of matching layout revisions
897            * @throws SystemException if a system exception occurred
898            */
899            public int countByH_P(boolean head, long plid)
900                    throws com.liferay.portal.kernel.exception.SystemException;
901    
902            /**
903            * Returns all the layout revisions where plid = &#63; and status &ne; &#63;.
904            *
905            * @param plid the plid
906            * @param status the status
907            * @return the matching layout revisions
908            * @throws SystemException if a system exception occurred
909            */
910            public java.util.List<com.liferay.portal.model.LayoutRevision> findByP_NotS(
911                    long plid, int status)
912                    throws com.liferay.portal.kernel.exception.SystemException;
913    
914            /**
915            * Returns a range of all the layout revisions where plid = &#63; and status &ne; &#63;.
916            *
917            * <p>
918            * 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.LayoutRevisionModelImpl}. 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.
919            * </p>
920            *
921            * @param plid the plid
922            * @param status the status
923            * @param start the lower bound of the range of layout revisions
924            * @param end the upper bound of the range of layout revisions (not inclusive)
925            * @return the range of matching layout revisions
926            * @throws SystemException if a system exception occurred
927            */
928            public java.util.List<com.liferay.portal.model.LayoutRevision> findByP_NotS(
929                    long plid, int status, int start, int end)
930                    throws com.liferay.portal.kernel.exception.SystemException;
931    
932            /**
933            * Returns an ordered range of all the layout revisions where plid = &#63; and status &ne; &#63;.
934            *
935            * <p>
936            * 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.LayoutRevisionModelImpl}. 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.
937            * </p>
938            *
939            * @param plid the plid
940            * @param status the status
941            * @param start the lower bound of the range of layout revisions
942            * @param end the upper bound of the range of layout revisions (not inclusive)
943            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
944            * @return the ordered range of matching layout revisions
945            * @throws SystemException if a system exception occurred
946            */
947            public java.util.List<com.liferay.portal.model.LayoutRevision> findByP_NotS(
948                    long plid, int status, int start, int end,
949                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
950                    throws com.liferay.portal.kernel.exception.SystemException;
951    
952            /**
953            * Returns the first layout revision in the ordered set where plid = &#63; and status &ne; &#63;.
954            *
955            * @param plid the plid
956            * @param status the status
957            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
958            * @return the first matching layout revision
959            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found
960            * @throws SystemException if a system exception occurred
961            */
962            public com.liferay.portal.model.LayoutRevision findByP_NotS_First(
963                    long plid, int status,
964                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
965                    throws com.liferay.portal.NoSuchLayoutRevisionException,
966                            com.liferay.portal.kernel.exception.SystemException;
967    
968            /**
969            * Returns the first layout revision in the ordered set where plid = &#63; and status &ne; &#63;.
970            *
971            * @param plid the plid
972            * @param status the status
973            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
974            * @return the first matching layout revision, or <code>null</code> if a matching layout revision could not be found
975            * @throws SystemException if a system exception occurred
976            */
977            public com.liferay.portal.model.LayoutRevision fetchByP_NotS_First(
978                    long plid, int status,
979                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
980                    throws com.liferay.portal.kernel.exception.SystemException;
981    
982            /**
983            * Returns the last layout revision in the ordered set where plid = &#63; and status &ne; &#63;.
984            *
985            * @param plid the plid
986            * @param status the status
987            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
988            * @return the last matching layout revision
989            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found
990            * @throws SystemException if a system exception occurred
991            */
992            public com.liferay.portal.model.LayoutRevision findByP_NotS_Last(
993                    long plid, int status,
994                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
995                    throws com.liferay.portal.NoSuchLayoutRevisionException,
996                            com.liferay.portal.kernel.exception.SystemException;
997    
998            /**
999            * Returns the last layout revision in the ordered set where plid = &#63; and status &ne; &#63;.
1000            *
1001            * @param plid the plid
1002            * @param status the status
1003            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1004            * @return the last matching layout revision, or <code>null</code> if a matching layout revision could not be found
1005            * @throws SystemException if a system exception occurred
1006            */
1007            public com.liferay.portal.model.LayoutRevision fetchByP_NotS_Last(
1008                    long plid, int status,
1009                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1010                    throws com.liferay.portal.kernel.exception.SystemException;
1011    
1012            /**
1013            * Returns the layout revisions before and after the current layout revision in the ordered set where plid = &#63; and status &ne; &#63;.
1014            *
1015            * @param layoutRevisionId the primary key of the current layout revision
1016            * @param plid the plid
1017            * @param status the status
1018            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1019            * @return the previous, current, and next layout revision
1020            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found
1021            * @throws SystemException if a system exception occurred
1022            */
1023            public com.liferay.portal.model.LayoutRevision[] findByP_NotS_PrevAndNext(
1024                    long layoutRevisionId, long plid, int status,
1025                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1026                    throws com.liferay.portal.NoSuchLayoutRevisionException,
1027                            com.liferay.portal.kernel.exception.SystemException;
1028    
1029            /**
1030            * Removes all the layout revisions where plid = &#63; and status &ne; &#63; from the database.
1031            *
1032            * @param plid the plid
1033            * @param status the status
1034            * @throws SystemException if a system exception occurred
1035            */
1036            public void removeByP_NotS(long plid, int status)
1037                    throws com.liferay.portal.kernel.exception.SystemException;
1038    
1039            /**
1040            * Returns the number of layout revisions where plid = &#63; and status &ne; &#63;.
1041            *
1042            * @param plid the plid
1043            * @param status the status
1044            * @return the number of matching layout revisions
1045            * @throws SystemException if a system exception occurred
1046            */
1047            public int countByP_NotS(long plid, int status)
1048                    throws com.liferay.portal.kernel.exception.SystemException;
1049    
1050            /**
1051            * Returns all the layout revisions where layoutSetBranchId = &#63; and layoutBranchId = &#63; and plid = &#63;.
1052            *
1053            * @param layoutSetBranchId the layout set branch ID
1054            * @param layoutBranchId the layout branch ID
1055            * @param plid the plid
1056            * @return the matching layout revisions
1057            * @throws SystemException if a system exception occurred
1058            */
1059            public java.util.List<com.liferay.portal.model.LayoutRevision> findByL_L_P(
1060                    long layoutSetBranchId, long layoutBranchId, long plid)
1061                    throws com.liferay.portal.kernel.exception.SystemException;
1062    
1063            /**
1064            * Returns a range of all the layout revisions where layoutSetBranchId = &#63; and layoutBranchId = &#63; and plid = &#63;.
1065            *
1066            * <p>
1067            * 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.LayoutRevisionModelImpl}. 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.
1068            * </p>
1069            *
1070            * @param layoutSetBranchId the layout set branch ID
1071            * @param layoutBranchId the layout branch ID
1072            * @param plid the plid
1073            * @param start the lower bound of the range of layout revisions
1074            * @param end the upper bound of the range of layout revisions (not inclusive)
1075            * @return the range of matching layout revisions
1076            * @throws SystemException if a system exception occurred
1077            */
1078            public java.util.List<com.liferay.portal.model.LayoutRevision> findByL_L_P(
1079                    long layoutSetBranchId, long layoutBranchId, long plid, int start,
1080                    int end) throws com.liferay.portal.kernel.exception.SystemException;
1081    
1082            /**
1083            * Returns an ordered range of all the layout revisions where layoutSetBranchId = &#63; and layoutBranchId = &#63; and plid = &#63;.
1084            *
1085            * <p>
1086            * 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.LayoutRevisionModelImpl}. 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.
1087            * </p>
1088            *
1089            * @param layoutSetBranchId the layout set branch ID
1090            * @param layoutBranchId the layout branch ID
1091            * @param plid the plid
1092            * @param start the lower bound of the range of layout revisions
1093            * @param end the upper bound of the range of layout revisions (not inclusive)
1094            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1095            * @return the ordered range of matching layout revisions
1096            * @throws SystemException if a system exception occurred
1097            */
1098            public java.util.List<com.liferay.portal.model.LayoutRevision> findByL_L_P(
1099                    long layoutSetBranchId, long layoutBranchId, long plid, int start,
1100                    int end,
1101                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1102                    throws com.liferay.portal.kernel.exception.SystemException;
1103    
1104            /**
1105            * Returns the first layout revision in the ordered set where layoutSetBranchId = &#63; and layoutBranchId = &#63; and plid = &#63;.
1106            *
1107            * @param layoutSetBranchId the layout set branch ID
1108            * @param layoutBranchId the layout branch ID
1109            * @param plid the plid
1110            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1111            * @return the first matching layout revision
1112            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found
1113            * @throws SystemException if a system exception occurred
1114            */
1115            public com.liferay.portal.model.LayoutRevision findByL_L_P_First(
1116                    long layoutSetBranchId, long layoutBranchId, long plid,
1117                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1118                    throws com.liferay.portal.NoSuchLayoutRevisionException,
1119                            com.liferay.portal.kernel.exception.SystemException;
1120    
1121            /**
1122            * Returns the first layout revision in the ordered set where layoutSetBranchId = &#63; and layoutBranchId = &#63; and plid = &#63;.
1123            *
1124            * @param layoutSetBranchId the layout set branch ID
1125            * @param layoutBranchId the layout branch ID
1126            * @param plid the plid
1127            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1128            * @return the first matching layout revision, or <code>null</code> if a matching layout revision could not be found
1129            * @throws SystemException if a system exception occurred
1130            */
1131            public com.liferay.portal.model.LayoutRevision fetchByL_L_P_First(
1132                    long layoutSetBranchId, long layoutBranchId, long plid,
1133                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1134                    throws com.liferay.portal.kernel.exception.SystemException;
1135    
1136            /**
1137            * Returns the last layout revision in the ordered set where layoutSetBranchId = &#63; and layoutBranchId = &#63; and plid = &#63;.
1138            *
1139            * @param layoutSetBranchId the layout set branch ID
1140            * @param layoutBranchId the layout branch ID
1141            * @param plid the plid
1142            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1143            * @return the last matching layout revision
1144            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found
1145            * @throws SystemException if a system exception occurred
1146            */
1147            public com.liferay.portal.model.LayoutRevision findByL_L_P_Last(
1148                    long layoutSetBranchId, long layoutBranchId, long plid,
1149                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1150                    throws com.liferay.portal.NoSuchLayoutRevisionException,
1151                            com.liferay.portal.kernel.exception.SystemException;
1152    
1153            /**
1154            * Returns the last layout revision in the ordered set where layoutSetBranchId = &#63; and layoutBranchId = &#63; and plid = &#63;.
1155            *
1156            * @param layoutSetBranchId the layout set branch ID
1157            * @param layoutBranchId the layout branch ID
1158            * @param plid the plid
1159            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1160            * @return the last matching layout revision, or <code>null</code> if a matching layout revision could not be found
1161            * @throws SystemException if a system exception occurred
1162            */
1163            public com.liferay.portal.model.LayoutRevision fetchByL_L_P_Last(
1164                    long layoutSetBranchId, long layoutBranchId, long plid,
1165                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1166                    throws com.liferay.portal.kernel.exception.SystemException;
1167    
1168            /**
1169            * Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = &#63; and layoutBranchId = &#63; and plid = &#63;.
1170            *
1171            * @param layoutRevisionId the primary key of the current layout revision
1172            * @param layoutSetBranchId the layout set branch ID
1173            * @param layoutBranchId the layout branch ID
1174            * @param plid the plid
1175            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1176            * @return the previous, current, and next layout revision
1177            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found
1178            * @throws SystemException if a system exception occurred
1179            */
1180            public com.liferay.portal.model.LayoutRevision[] findByL_L_P_PrevAndNext(
1181                    long layoutRevisionId, long layoutSetBranchId, long layoutBranchId,
1182                    long plid,
1183                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1184                    throws com.liferay.portal.NoSuchLayoutRevisionException,
1185                            com.liferay.portal.kernel.exception.SystemException;
1186    
1187            /**
1188            * Removes all the layout revisions where layoutSetBranchId = &#63; and layoutBranchId = &#63; and plid = &#63; from the database.
1189            *
1190            * @param layoutSetBranchId the layout set branch ID
1191            * @param layoutBranchId the layout branch ID
1192            * @param plid the plid
1193            * @throws SystemException if a system exception occurred
1194            */
1195            public void removeByL_L_P(long layoutSetBranchId, long layoutBranchId,
1196                    long plid) throws com.liferay.portal.kernel.exception.SystemException;
1197    
1198            /**
1199            * Returns the number of layout revisions where layoutSetBranchId = &#63; and layoutBranchId = &#63; and plid = &#63;.
1200            *
1201            * @param layoutSetBranchId the layout set branch ID
1202            * @param layoutBranchId the layout branch ID
1203            * @param plid the plid
1204            * @return the number of matching layout revisions
1205            * @throws SystemException if a system exception occurred
1206            */
1207            public int countByL_L_P(long layoutSetBranchId, long layoutBranchId,
1208                    long plid) throws com.liferay.portal.kernel.exception.SystemException;
1209    
1210            /**
1211            * Returns all the layout revisions where layoutSetBranchId = &#63; and parentLayoutRevisionId = &#63; and plid = &#63;.
1212            *
1213            * @param layoutSetBranchId the layout set branch ID
1214            * @param parentLayoutRevisionId the parent layout revision ID
1215            * @param plid the plid
1216            * @return the matching layout revisions
1217            * @throws SystemException if a system exception occurred
1218            */
1219            public java.util.List<com.liferay.portal.model.LayoutRevision> findByL_P_P(
1220                    long layoutSetBranchId, long parentLayoutRevisionId, long plid)
1221                    throws com.liferay.portal.kernel.exception.SystemException;
1222    
1223            /**
1224            * Returns a range of all the layout revisions where layoutSetBranchId = &#63; and parentLayoutRevisionId = &#63; and plid = &#63;.
1225            *
1226            * <p>
1227            * 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.LayoutRevisionModelImpl}. 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.
1228            * </p>
1229            *
1230            * @param layoutSetBranchId the layout set branch ID
1231            * @param parentLayoutRevisionId the parent layout revision ID
1232            * @param plid the plid
1233            * @param start the lower bound of the range of layout revisions
1234            * @param end the upper bound of the range of layout revisions (not inclusive)
1235            * @return the range of matching layout revisions
1236            * @throws SystemException if a system exception occurred
1237            */
1238            public java.util.List<com.liferay.portal.model.LayoutRevision> findByL_P_P(
1239                    long layoutSetBranchId, long parentLayoutRevisionId, long plid,
1240                    int start, int end)
1241                    throws com.liferay.portal.kernel.exception.SystemException;
1242    
1243            /**
1244            * Returns an ordered range of all the layout revisions where layoutSetBranchId = &#63; and parentLayoutRevisionId = &#63; and plid = &#63;.
1245            *
1246            * <p>
1247            * 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.LayoutRevisionModelImpl}. 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.
1248            * </p>
1249            *
1250            * @param layoutSetBranchId the layout set branch ID
1251            * @param parentLayoutRevisionId the parent layout revision ID
1252            * @param plid the plid
1253            * @param start the lower bound of the range of layout revisions
1254            * @param end the upper bound of the range of layout revisions (not inclusive)
1255            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1256            * @return the ordered range of matching layout revisions
1257            * @throws SystemException if a system exception occurred
1258            */
1259            public java.util.List<com.liferay.portal.model.LayoutRevision> findByL_P_P(
1260                    long layoutSetBranchId, long parentLayoutRevisionId, long plid,
1261                    int start, int end,
1262                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1263                    throws com.liferay.portal.kernel.exception.SystemException;
1264    
1265            /**
1266            * Returns the first layout revision in the ordered set where layoutSetBranchId = &#63; and parentLayoutRevisionId = &#63; and plid = &#63;.
1267            *
1268            * @param layoutSetBranchId the layout set branch ID
1269            * @param parentLayoutRevisionId the parent layout revision ID
1270            * @param plid the plid
1271            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1272            * @return the first matching layout revision
1273            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found
1274            * @throws SystemException if a system exception occurred
1275            */
1276            public com.liferay.portal.model.LayoutRevision findByL_P_P_First(
1277                    long layoutSetBranchId, long parentLayoutRevisionId, long plid,
1278                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1279                    throws com.liferay.portal.NoSuchLayoutRevisionException,
1280                            com.liferay.portal.kernel.exception.SystemException;
1281    
1282            /**
1283            * Returns the first layout revision in the ordered set where layoutSetBranchId = &#63; and parentLayoutRevisionId = &#63; and plid = &#63;.
1284            *
1285            * @param layoutSetBranchId the layout set branch ID
1286            * @param parentLayoutRevisionId the parent layout revision ID
1287            * @param plid the plid
1288            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1289            * @return the first matching layout revision, or <code>null</code> if a matching layout revision could not be found
1290            * @throws SystemException if a system exception occurred
1291            */
1292            public com.liferay.portal.model.LayoutRevision fetchByL_P_P_First(
1293                    long layoutSetBranchId, long parentLayoutRevisionId, long plid,
1294                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1295                    throws com.liferay.portal.kernel.exception.SystemException;
1296    
1297            /**
1298            * Returns the last layout revision in the ordered set where layoutSetBranchId = &#63; and parentLayoutRevisionId = &#63; and plid = &#63;.
1299            *
1300            * @param layoutSetBranchId the layout set branch ID
1301            * @param parentLayoutRevisionId the parent layout revision ID
1302            * @param plid the plid
1303            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1304            * @return the last matching layout revision
1305            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found
1306            * @throws SystemException if a system exception occurred
1307            */
1308            public com.liferay.portal.model.LayoutRevision findByL_P_P_Last(
1309                    long layoutSetBranchId, long parentLayoutRevisionId, long plid,
1310                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1311                    throws com.liferay.portal.NoSuchLayoutRevisionException,
1312                            com.liferay.portal.kernel.exception.SystemException;
1313    
1314            /**
1315            * Returns the last layout revision in the ordered set where layoutSetBranchId = &#63; and parentLayoutRevisionId = &#63; and plid = &#63;.
1316            *
1317            * @param layoutSetBranchId the layout set branch ID
1318            * @param parentLayoutRevisionId the parent layout revision ID
1319            * @param plid the plid
1320            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1321            * @return the last matching layout revision, or <code>null</code> if a matching layout revision could not be found
1322            * @throws SystemException if a system exception occurred
1323            */
1324            public com.liferay.portal.model.LayoutRevision fetchByL_P_P_Last(
1325                    long layoutSetBranchId, long parentLayoutRevisionId, long plid,
1326                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1327                    throws com.liferay.portal.kernel.exception.SystemException;
1328    
1329            /**
1330            * Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = &#63; and parentLayoutRevisionId = &#63; and plid = &#63;.
1331            *
1332            * @param layoutRevisionId the primary key of the current layout revision
1333            * @param layoutSetBranchId the layout set branch ID
1334            * @param parentLayoutRevisionId the parent layout revision ID
1335            * @param plid the plid
1336            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1337            * @return the previous, current, and next layout revision
1338            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found
1339            * @throws SystemException if a system exception occurred
1340            */
1341            public com.liferay.portal.model.LayoutRevision[] findByL_P_P_PrevAndNext(
1342                    long layoutRevisionId, long layoutSetBranchId,
1343                    long parentLayoutRevisionId, long plid,
1344                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1345                    throws com.liferay.portal.NoSuchLayoutRevisionException,
1346                            com.liferay.portal.kernel.exception.SystemException;
1347    
1348            /**
1349            * Removes all the layout revisions where layoutSetBranchId = &#63; and parentLayoutRevisionId = &#63; and plid = &#63; from the database.
1350            *
1351            * @param layoutSetBranchId the layout set branch ID
1352            * @param parentLayoutRevisionId the parent layout revision ID
1353            * @param plid the plid
1354            * @throws SystemException if a system exception occurred
1355            */
1356            public void removeByL_P_P(long layoutSetBranchId,
1357                    long parentLayoutRevisionId, long plid)
1358                    throws com.liferay.portal.kernel.exception.SystemException;
1359    
1360            /**
1361            * Returns the number of layout revisions where layoutSetBranchId = &#63; and parentLayoutRevisionId = &#63; and plid = &#63;.
1362            *
1363            * @param layoutSetBranchId the layout set branch ID
1364            * @param parentLayoutRevisionId the parent layout revision ID
1365            * @param plid the plid
1366            * @return the number of matching layout revisions
1367            * @throws SystemException if a system exception occurred
1368            */
1369            public int countByL_P_P(long layoutSetBranchId,
1370                    long parentLayoutRevisionId, long plid)
1371                    throws com.liferay.portal.kernel.exception.SystemException;
1372    
1373            /**
1374            * Returns the layout revision where layoutSetBranchId = &#63; and head = &#63; and plid = &#63; or throws a {@link com.liferay.portal.NoSuchLayoutRevisionException} if it could not be found.
1375            *
1376            * @param layoutSetBranchId the layout set branch ID
1377            * @param head the head
1378            * @param plid the plid
1379            * @return the matching layout revision
1380            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found
1381            * @throws SystemException if a system exception occurred
1382            */
1383            public com.liferay.portal.model.LayoutRevision findByL_H_P(
1384                    long layoutSetBranchId, boolean head, long plid)
1385                    throws com.liferay.portal.NoSuchLayoutRevisionException,
1386                            com.liferay.portal.kernel.exception.SystemException;
1387    
1388            /**
1389            * Returns the layout revision where layoutSetBranchId = &#63; and head = &#63; and plid = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
1390            *
1391            * @param layoutSetBranchId the layout set branch ID
1392            * @param head the head
1393            * @param plid the plid
1394            * @return the matching layout revision, or <code>null</code> if a matching layout revision could not be found
1395            * @throws SystemException if a system exception occurred
1396            */
1397            public com.liferay.portal.model.LayoutRevision fetchByL_H_P(
1398                    long layoutSetBranchId, boolean head, long plid)
1399                    throws com.liferay.portal.kernel.exception.SystemException;
1400    
1401            /**
1402            * Returns the layout revision where layoutSetBranchId = &#63; and head = &#63; and plid = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
1403            *
1404            * @param layoutSetBranchId the layout set branch ID
1405            * @param head the head
1406            * @param plid the plid
1407            * @param retrieveFromCache whether to use the finder cache
1408            * @return the matching layout revision, or <code>null</code> if a matching layout revision could not be found
1409            * @throws SystemException if a system exception occurred
1410            */
1411            public com.liferay.portal.model.LayoutRevision fetchByL_H_P(
1412                    long layoutSetBranchId, boolean head, long plid,
1413                    boolean retrieveFromCache)
1414                    throws com.liferay.portal.kernel.exception.SystemException;
1415    
1416            /**
1417            * Removes the layout revision where layoutSetBranchId = &#63; and head = &#63; and plid = &#63; from the database.
1418            *
1419            * @param layoutSetBranchId the layout set branch ID
1420            * @param head the head
1421            * @param plid the plid
1422            * @return the layout revision that was removed
1423            * @throws SystemException if a system exception occurred
1424            */
1425            public com.liferay.portal.model.LayoutRevision removeByL_H_P(
1426                    long layoutSetBranchId, boolean head, long plid)
1427                    throws com.liferay.portal.NoSuchLayoutRevisionException,
1428                            com.liferay.portal.kernel.exception.SystemException;
1429    
1430            /**
1431            * Returns the number of layout revisions where layoutSetBranchId = &#63; and head = &#63; and plid = &#63;.
1432            *
1433            * @param layoutSetBranchId the layout set branch ID
1434            * @param head the head
1435            * @param plid the plid
1436            * @return the number of matching layout revisions
1437            * @throws SystemException if a system exception occurred
1438            */
1439            public int countByL_H_P(long layoutSetBranchId, boolean head, long plid)
1440                    throws com.liferay.portal.kernel.exception.SystemException;
1441    
1442            /**
1443            * Returns all the layout revisions where layoutSetBranchId = &#63; and plid = &#63; and status = &#63;.
1444            *
1445            * @param layoutSetBranchId the layout set branch ID
1446            * @param plid the plid
1447            * @param status the status
1448            * @return the matching layout revisions
1449            * @throws SystemException if a system exception occurred
1450            */
1451            public java.util.List<com.liferay.portal.model.LayoutRevision> findByL_P_S(
1452                    long layoutSetBranchId, long plid, int status)
1453                    throws com.liferay.portal.kernel.exception.SystemException;
1454    
1455            /**
1456            * Returns a range of all the layout revisions where layoutSetBranchId = &#63; and plid = &#63; and status = &#63;.
1457            *
1458            * <p>
1459            * 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.LayoutRevisionModelImpl}. 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.
1460            * </p>
1461            *
1462            * @param layoutSetBranchId the layout set branch ID
1463            * @param plid the plid
1464            * @param status the status
1465            * @param start the lower bound of the range of layout revisions
1466            * @param end the upper bound of the range of layout revisions (not inclusive)
1467            * @return the range of matching layout revisions
1468            * @throws SystemException if a system exception occurred
1469            */
1470            public java.util.List<com.liferay.portal.model.LayoutRevision> findByL_P_S(
1471                    long layoutSetBranchId, long plid, int status, int start, int end)
1472                    throws com.liferay.portal.kernel.exception.SystemException;
1473    
1474            /**
1475            * Returns an ordered range of all the layout revisions where layoutSetBranchId = &#63; and plid = &#63; and status = &#63;.
1476            *
1477            * <p>
1478            * 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.LayoutRevisionModelImpl}. 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.
1479            * </p>
1480            *
1481            * @param layoutSetBranchId the layout set branch ID
1482            * @param plid the plid
1483            * @param status the status
1484            * @param start the lower bound of the range of layout revisions
1485            * @param end the upper bound of the range of layout revisions (not inclusive)
1486            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1487            * @return the ordered range of matching layout revisions
1488            * @throws SystemException if a system exception occurred
1489            */
1490            public java.util.List<com.liferay.portal.model.LayoutRevision> findByL_P_S(
1491                    long layoutSetBranchId, long plid, int status, int start, int end,
1492                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1493                    throws com.liferay.portal.kernel.exception.SystemException;
1494    
1495            /**
1496            * Returns the first layout revision in the ordered set where layoutSetBranchId = &#63; and plid = &#63; and status = &#63;.
1497            *
1498            * @param layoutSetBranchId the layout set branch ID
1499            * @param plid the plid
1500            * @param status the status
1501            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1502            * @return the first matching layout revision
1503            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found
1504            * @throws SystemException if a system exception occurred
1505            */
1506            public com.liferay.portal.model.LayoutRevision findByL_P_S_First(
1507                    long layoutSetBranchId, long plid, int status,
1508                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1509                    throws com.liferay.portal.NoSuchLayoutRevisionException,
1510                            com.liferay.portal.kernel.exception.SystemException;
1511    
1512            /**
1513            * Returns the first layout revision in the ordered set where layoutSetBranchId = &#63; and plid = &#63; and status = &#63;.
1514            *
1515            * @param layoutSetBranchId the layout set branch ID
1516            * @param plid the plid
1517            * @param status the status
1518            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1519            * @return the first matching layout revision, or <code>null</code> if a matching layout revision could not be found
1520            * @throws SystemException if a system exception occurred
1521            */
1522            public com.liferay.portal.model.LayoutRevision fetchByL_P_S_First(
1523                    long layoutSetBranchId, long plid, int status,
1524                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1525                    throws com.liferay.portal.kernel.exception.SystemException;
1526    
1527            /**
1528            * Returns the last layout revision in the ordered set where layoutSetBranchId = &#63; and plid = &#63; and status = &#63;.
1529            *
1530            * @param layoutSetBranchId the layout set branch ID
1531            * @param plid the plid
1532            * @param status the status
1533            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1534            * @return the last matching layout revision
1535            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a matching layout revision could not be found
1536            * @throws SystemException if a system exception occurred
1537            */
1538            public com.liferay.portal.model.LayoutRevision findByL_P_S_Last(
1539                    long layoutSetBranchId, long plid, int status,
1540                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1541                    throws com.liferay.portal.NoSuchLayoutRevisionException,
1542                            com.liferay.portal.kernel.exception.SystemException;
1543    
1544            /**
1545            * Returns the last layout revision in the ordered set where layoutSetBranchId = &#63; and plid = &#63; and status = &#63;.
1546            *
1547            * @param layoutSetBranchId the layout set branch ID
1548            * @param plid the plid
1549            * @param status the status
1550            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1551            * @return the last matching layout revision, or <code>null</code> if a matching layout revision could not be found
1552            * @throws SystemException if a system exception occurred
1553            */
1554            public com.liferay.portal.model.LayoutRevision fetchByL_P_S_Last(
1555                    long layoutSetBranchId, long plid, int status,
1556                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1557                    throws com.liferay.portal.kernel.exception.SystemException;
1558    
1559            /**
1560            * Returns the layout revisions before and after the current layout revision in the ordered set where layoutSetBranchId = &#63; and plid = &#63; and status = &#63;.
1561            *
1562            * @param layoutRevisionId the primary key of the current layout revision
1563            * @param layoutSetBranchId the layout set branch ID
1564            * @param plid the plid
1565            * @param status the status
1566            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1567            * @return the previous, current, and next layout revision
1568            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found
1569            * @throws SystemException if a system exception occurred
1570            */
1571            public com.liferay.portal.model.LayoutRevision[] findByL_P_S_PrevAndNext(
1572                    long layoutRevisionId, long layoutSetBranchId, long plid, int status,
1573                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1574                    throws com.liferay.portal.NoSuchLayoutRevisionException,
1575                            com.liferay.portal.kernel.exception.SystemException;
1576    
1577            /**
1578            * Removes all the layout revisions where layoutSetBranchId = &#63; and plid = &#63; and status = &#63; from the database.
1579            *
1580            * @param layoutSetBranchId the layout set branch ID
1581            * @param plid the plid
1582            * @param status the status
1583            * @throws SystemException if a system exception occurred
1584            */
1585            public void removeByL_P_S(long layoutSetBranchId, long plid, int status)
1586                    throws com.liferay.portal.kernel.exception.SystemException;
1587    
1588            /**
1589            * Returns the number of layout revisions where layoutSetBranchId = &#63; and plid = &#63; and status = &#63;.
1590            *
1591            * @param layoutSetBranchId the layout set branch ID
1592            * @param plid the plid
1593            * @param status the status
1594            * @return the number of matching layout revisions
1595            * @throws SystemException if a system exception occurred
1596            */
1597            public int countByL_P_S(long layoutSetBranchId, long plid, int status)
1598                    throws com.liferay.portal.kernel.exception.SystemException;
1599    
1600            /**
1601            * Caches the layout revision in the entity cache if it is enabled.
1602            *
1603            * @param layoutRevision the layout revision
1604            */
1605            public void cacheResult(
1606                    com.liferay.portal.model.LayoutRevision layoutRevision);
1607    
1608            /**
1609            * Caches the layout revisions in the entity cache if it is enabled.
1610            *
1611            * @param layoutRevisions the layout revisions
1612            */
1613            public void cacheResult(
1614                    java.util.List<com.liferay.portal.model.LayoutRevision> layoutRevisions);
1615    
1616            /**
1617            * Creates a new layout revision with the primary key. Does not add the layout revision to the database.
1618            *
1619            * @param layoutRevisionId the primary key for the new layout revision
1620            * @return the new layout revision
1621            */
1622            public com.liferay.portal.model.LayoutRevision create(long layoutRevisionId);
1623    
1624            /**
1625            * Removes the layout revision with the primary key from the database. Also notifies the appropriate model listeners.
1626            *
1627            * @param layoutRevisionId the primary key of the layout revision
1628            * @return the layout revision that was removed
1629            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found
1630            * @throws SystemException if a system exception occurred
1631            */
1632            public com.liferay.portal.model.LayoutRevision remove(long layoutRevisionId)
1633                    throws com.liferay.portal.NoSuchLayoutRevisionException,
1634                            com.liferay.portal.kernel.exception.SystemException;
1635    
1636            public com.liferay.portal.model.LayoutRevision updateImpl(
1637                    com.liferay.portal.model.LayoutRevision layoutRevision)
1638                    throws com.liferay.portal.kernel.exception.SystemException;
1639    
1640            /**
1641            * Returns the layout revision with the primary key or throws a {@link com.liferay.portal.NoSuchLayoutRevisionException} if it could not be found.
1642            *
1643            * @param layoutRevisionId the primary key of the layout revision
1644            * @return the layout revision
1645            * @throws com.liferay.portal.NoSuchLayoutRevisionException if a layout revision with the primary key could not be found
1646            * @throws SystemException if a system exception occurred
1647            */
1648            public com.liferay.portal.model.LayoutRevision findByPrimaryKey(
1649                    long layoutRevisionId)
1650                    throws com.liferay.portal.NoSuchLayoutRevisionException,
1651                            com.liferay.portal.kernel.exception.SystemException;
1652    
1653            /**
1654            * Returns the layout revision with the primary key or returns <code>null</code> if it could not be found.
1655            *
1656            * @param layoutRevisionId the primary key of the layout revision
1657            * @return the layout revision, or <code>null</code> if a layout revision with the primary key could not be found
1658            * @throws SystemException if a system exception occurred
1659            */
1660            public com.liferay.portal.model.LayoutRevision fetchByPrimaryKey(
1661                    long layoutRevisionId)
1662                    throws com.liferay.portal.kernel.exception.SystemException;
1663    
1664            /**
1665            * Returns all the layout revisions.
1666            *
1667            * @return the layout revisions
1668            * @throws SystemException if a system exception occurred
1669            */
1670            public java.util.List<com.liferay.portal.model.LayoutRevision> findAll()
1671                    throws com.liferay.portal.kernel.exception.SystemException;
1672    
1673            /**
1674            * Returns a range of all the layout revisions.
1675            *
1676            * <p>
1677            * 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.LayoutRevisionModelImpl}. 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.
1678            * </p>
1679            *
1680            * @param start the lower bound of the range of layout revisions
1681            * @param end the upper bound of the range of layout revisions (not inclusive)
1682            * @return the range of layout revisions
1683            * @throws SystemException if a system exception occurred
1684            */
1685            public java.util.List<com.liferay.portal.model.LayoutRevision> findAll(
1686                    int start, int end)
1687                    throws com.liferay.portal.kernel.exception.SystemException;
1688    
1689            /**
1690            * Returns an ordered range of all the layout revisions.
1691            *
1692            * <p>
1693            * 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.LayoutRevisionModelImpl}. 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.
1694            * </p>
1695            *
1696            * @param start the lower bound of the range of layout revisions
1697            * @param end the upper bound of the range of layout revisions (not inclusive)
1698            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1699            * @return the ordered range of layout revisions
1700            * @throws SystemException if a system exception occurred
1701            */
1702            public java.util.List<com.liferay.portal.model.LayoutRevision> findAll(
1703                    int start, int end,
1704                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1705                    throws com.liferay.portal.kernel.exception.SystemException;
1706    
1707            /**
1708            * Removes all the layout revisions from the database.
1709            *
1710            * @throws SystemException if a system exception occurred
1711            */
1712            public void removeAll()
1713                    throws com.liferay.portal.kernel.exception.SystemException;
1714    
1715            /**
1716            * Returns the number of layout revisions.
1717            *
1718            * @return the number of layout revisions
1719            * @throws SystemException if a system exception occurred
1720            */
1721            public int countAll()
1722                    throws com.liferay.portal.kernel.exception.SystemException;
1723    }