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.LayoutFriendlyURL;
018    
019    /**
020     * The persistence interface for the layout friendly u r l 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 LayoutFriendlyURLPersistenceImpl
028     * @see LayoutFriendlyURLUtil
029     * @generated
030     */
031    public interface LayoutFriendlyURLPersistence extends BasePersistence<LayoutFriendlyURL> {
032            /*
033             * NOTE FOR DEVELOPERS:
034             *
035             * Never modify or reference this interface directly. Always use {@link LayoutFriendlyURLUtil} to access the layout friendly u r l persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
036             */
037    
038            /**
039            * Returns all the layout friendly u r ls where uuid = &#63;.
040            *
041            * @param uuid the uuid
042            * @return the matching layout friendly u r ls
043            * @throws SystemException if a system exception occurred
044            */
045            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findByUuid(
046                    java.lang.String uuid)
047                    throws com.liferay.portal.kernel.exception.SystemException;
048    
049            /**
050            * Returns a range of all the layout friendly u r ls where uuid = &#63;.
051            *
052            * <p>
053            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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.LayoutFriendlyURLModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
054            * </p>
055            *
056            * @param uuid the uuid
057            * @param start the lower bound of the range of layout friendly u r ls
058            * @param end the upper bound of the range of layout friendly u r ls (not inclusive)
059            * @return the range of matching layout friendly u r ls
060            * @throws SystemException if a system exception occurred
061            */
062            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findByUuid(
063                    java.lang.String uuid, int start, int end)
064                    throws com.liferay.portal.kernel.exception.SystemException;
065    
066            /**
067            * Returns an ordered range of all the layout friendly u r ls where uuid = &#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.LayoutFriendlyURLModelImpl}. 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 uuid the uuid
074            * @param start the lower bound of the range of layout friendly u r ls
075            * @param end the upper bound of the range of layout friendly u r ls (not inclusive)
076            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
077            * @return the ordered range of matching layout friendly u r ls
078            * @throws SystemException if a system exception occurred
079            */
080            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findByUuid(
081                    java.lang.String uuid, 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 friendly u r l in the ordered set where uuid = &#63;.
087            *
088            * @param uuid the uuid
089            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
090            * @return the first matching layout friendly u r l
091            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found
092            * @throws SystemException if a system exception occurred
093            */
094            public com.liferay.portal.model.LayoutFriendlyURL findByUuid_First(
095                    java.lang.String uuid,
096                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
097                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
098                            com.liferay.portal.kernel.exception.SystemException;
099    
100            /**
101            * Returns the first layout friendly u r l in the ordered set where uuid = &#63;.
102            *
103            * @param uuid the uuid
104            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
105            * @return the first matching layout friendly u r l, or <code>null</code> if a matching layout friendly u r l could not be found
106            * @throws SystemException if a system exception occurred
107            */
108            public com.liferay.portal.model.LayoutFriendlyURL fetchByUuid_First(
109                    java.lang.String uuid,
110                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
111                    throws com.liferay.portal.kernel.exception.SystemException;
112    
113            /**
114            * Returns the last layout friendly u r l in the ordered set where uuid = &#63;.
115            *
116            * @param uuid the uuid
117            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
118            * @return the last matching layout friendly u r l
119            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found
120            * @throws SystemException if a system exception occurred
121            */
122            public com.liferay.portal.model.LayoutFriendlyURL findByUuid_Last(
123                    java.lang.String uuid,
124                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
125                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
126                            com.liferay.portal.kernel.exception.SystemException;
127    
128            /**
129            * Returns the last layout friendly u r l in the ordered set where uuid = &#63;.
130            *
131            * @param uuid the uuid
132            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
133            * @return the last matching layout friendly u r l, or <code>null</code> if a matching layout friendly u r l could not be found
134            * @throws SystemException if a system exception occurred
135            */
136            public com.liferay.portal.model.LayoutFriendlyURL fetchByUuid_Last(
137                    java.lang.String uuid,
138                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
139                    throws com.liferay.portal.kernel.exception.SystemException;
140    
141            /**
142            * Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where uuid = &#63;.
143            *
144            * @param layoutFriendlyURLId the primary key of the current layout friendly u r l
145            * @param uuid the uuid
146            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
147            * @return the previous, current, and next layout friendly u r l
148            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a layout friendly u r l with the primary key could not be found
149            * @throws SystemException if a system exception occurred
150            */
151            public com.liferay.portal.model.LayoutFriendlyURL[] findByUuid_PrevAndNext(
152                    long layoutFriendlyURLId, java.lang.String uuid,
153                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
154                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
155                            com.liferay.portal.kernel.exception.SystemException;
156    
157            /**
158            * Removes all the layout friendly u r ls where uuid = &#63; from the database.
159            *
160            * @param uuid the uuid
161            * @throws SystemException if a system exception occurred
162            */
163            public void removeByUuid(java.lang.String uuid)
164                    throws com.liferay.portal.kernel.exception.SystemException;
165    
166            /**
167            * Returns the number of layout friendly u r ls where uuid = &#63;.
168            *
169            * @param uuid the uuid
170            * @return the number of matching layout friendly u r ls
171            * @throws SystemException if a system exception occurred
172            */
173            public int countByUuid(java.lang.String uuid)
174                    throws com.liferay.portal.kernel.exception.SystemException;
175    
176            /**
177            * Returns the layout friendly u r l where uuid = &#63; and groupId = &#63; or throws a {@link com.liferay.portal.NoSuchLayoutFriendlyURLException} if it could not be found.
178            *
179            * @param uuid the uuid
180            * @param groupId the group ID
181            * @return the matching layout friendly u r l
182            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found
183            * @throws SystemException if a system exception occurred
184            */
185            public com.liferay.portal.model.LayoutFriendlyURL findByUUID_G(
186                    java.lang.String uuid, long groupId)
187                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
188                            com.liferay.portal.kernel.exception.SystemException;
189    
190            /**
191            * Returns the layout friendly u r l where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
192            *
193            * @param uuid the uuid
194            * @param groupId the group ID
195            * @return the matching layout friendly u r l, or <code>null</code> if a matching layout friendly u r l could not be found
196            * @throws SystemException if a system exception occurred
197            */
198            public com.liferay.portal.model.LayoutFriendlyURL fetchByUUID_G(
199                    java.lang.String uuid, long groupId)
200                    throws com.liferay.portal.kernel.exception.SystemException;
201    
202            /**
203            * Returns the layout friendly u r l where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
204            *
205            * @param uuid the uuid
206            * @param groupId the group ID
207            * @param retrieveFromCache whether to use the finder cache
208            * @return the matching layout friendly u r l, or <code>null</code> if a matching layout friendly u r l could not be found
209            * @throws SystemException if a system exception occurred
210            */
211            public com.liferay.portal.model.LayoutFriendlyURL fetchByUUID_G(
212                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
213                    throws com.liferay.portal.kernel.exception.SystemException;
214    
215            /**
216            * Removes the layout friendly u r l where uuid = &#63; and groupId = &#63; from the database.
217            *
218            * @param uuid the uuid
219            * @param groupId the group ID
220            * @return the layout friendly u r l that was removed
221            * @throws SystemException if a system exception occurred
222            */
223            public com.liferay.portal.model.LayoutFriendlyURL removeByUUID_G(
224                    java.lang.String uuid, long groupId)
225                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
226                            com.liferay.portal.kernel.exception.SystemException;
227    
228            /**
229            * Returns the number of layout friendly u r ls where uuid = &#63; and groupId = &#63;.
230            *
231            * @param uuid the uuid
232            * @param groupId the group ID
233            * @return the number of matching layout friendly u r ls
234            * @throws SystemException if a system exception occurred
235            */
236            public int countByUUID_G(java.lang.String uuid, long groupId)
237                    throws com.liferay.portal.kernel.exception.SystemException;
238    
239            /**
240            * Returns all the layout friendly u r ls where uuid = &#63; and companyId = &#63;.
241            *
242            * @param uuid the uuid
243            * @param companyId the company ID
244            * @return the matching layout friendly u r ls
245            * @throws SystemException if a system exception occurred
246            */
247            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findByUuid_C(
248                    java.lang.String uuid, long companyId)
249                    throws com.liferay.portal.kernel.exception.SystemException;
250    
251            /**
252            * Returns a range of all the layout friendly u r ls where uuid = &#63; and companyId = &#63;.
253            *
254            * <p>
255            * 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.LayoutFriendlyURLModelImpl}. 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.
256            * </p>
257            *
258            * @param uuid the uuid
259            * @param companyId the company ID
260            * @param start the lower bound of the range of layout friendly u r ls
261            * @param end the upper bound of the range of layout friendly u r ls (not inclusive)
262            * @return the range of matching layout friendly u r ls
263            * @throws SystemException if a system exception occurred
264            */
265            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findByUuid_C(
266                    java.lang.String uuid, long companyId, int start, int end)
267                    throws com.liferay.portal.kernel.exception.SystemException;
268    
269            /**
270            * Returns an ordered range of all the layout friendly u r ls where uuid = &#63; and companyId = &#63;.
271            *
272            * <p>
273            * 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.LayoutFriendlyURLModelImpl}. 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.
274            * </p>
275            *
276            * @param uuid the uuid
277            * @param companyId the company ID
278            * @param start the lower bound of the range of layout friendly u r ls
279            * @param end the upper bound of the range of layout friendly u r ls (not inclusive)
280            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
281            * @return the ordered range of matching layout friendly u r ls
282            * @throws SystemException if a system exception occurred
283            */
284            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findByUuid_C(
285                    java.lang.String uuid, long companyId, int start, int end,
286                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
287                    throws com.liferay.portal.kernel.exception.SystemException;
288    
289            /**
290            * Returns the first layout friendly u r l in the ordered set where uuid = &#63; and companyId = &#63;.
291            *
292            * @param uuid the uuid
293            * @param companyId the company ID
294            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
295            * @return the first matching layout friendly u r l
296            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found
297            * @throws SystemException if a system exception occurred
298            */
299            public com.liferay.portal.model.LayoutFriendlyURL findByUuid_C_First(
300                    java.lang.String uuid, long companyId,
301                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
302                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
303                            com.liferay.portal.kernel.exception.SystemException;
304    
305            /**
306            * Returns the first layout friendly u r l in the ordered set where uuid = &#63; and companyId = &#63;.
307            *
308            * @param uuid the uuid
309            * @param companyId the company ID
310            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
311            * @return the first matching layout friendly u r l, or <code>null</code> if a matching layout friendly u r l could not be found
312            * @throws SystemException if a system exception occurred
313            */
314            public com.liferay.portal.model.LayoutFriendlyURL fetchByUuid_C_First(
315                    java.lang.String uuid, long companyId,
316                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
317                    throws com.liferay.portal.kernel.exception.SystemException;
318    
319            /**
320            * Returns the last layout friendly u r l in the ordered set where uuid = &#63; and companyId = &#63;.
321            *
322            * @param uuid the uuid
323            * @param companyId the company ID
324            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
325            * @return the last matching layout friendly u r l
326            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found
327            * @throws SystemException if a system exception occurred
328            */
329            public com.liferay.portal.model.LayoutFriendlyURL findByUuid_C_Last(
330                    java.lang.String uuid, long companyId,
331                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
332                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
333                            com.liferay.portal.kernel.exception.SystemException;
334    
335            /**
336            * Returns the last layout friendly u r l in the ordered set where uuid = &#63; and companyId = &#63;.
337            *
338            * @param uuid the uuid
339            * @param companyId the company ID
340            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
341            * @return the last matching layout friendly u r l, or <code>null</code> if a matching layout friendly u r l could not be found
342            * @throws SystemException if a system exception occurred
343            */
344            public com.liferay.portal.model.LayoutFriendlyURL fetchByUuid_C_Last(
345                    java.lang.String uuid, long companyId,
346                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
347                    throws com.liferay.portal.kernel.exception.SystemException;
348    
349            /**
350            * Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where uuid = &#63; and companyId = &#63;.
351            *
352            * @param layoutFriendlyURLId the primary key of the current layout friendly u r l
353            * @param uuid the uuid
354            * @param companyId the company ID
355            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
356            * @return the previous, current, and next layout friendly u r l
357            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a layout friendly u r l with the primary key could not be found
358            * @throws SystemException if a system exception occurred
359            */
360            public com.liferay.portal.model.LayoutFriendlyURL[] findByUuid_C_PrevAndNext(
361                    long layoutFriendlyURLId, java.lang.String uuid, long companyId,
362                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
363                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
364                            com.liferay.portal.kernel.exception.SystemException;
365    
366            /**
367            * Removes all the layout friendly u r ls where uuid = &#63; and companyId = &#63; from the database.
368            *
369            * @param uuid the uuid
370            * @param companyId the company ID
371            * @throws SystemException if a system exception occurred
372            */
373            public void removeByUuid_C(java.lang.String uuid, long companyId)
374                    throws com.liferay.portal.kernel.exception.SystemException;
375    
376            /**
377            * Returns the number of layout friendly u r ls where uuid = &#63; and companyId = &#63;.
378            *
379            * @param uuid the uuid
380            * @param companyId the company ID
381            * @return the number of matching layout friendly u r ls
382            * @throws SystemException if a system exception occurred
383            */
384            public int countByUuid_C(java.lang.String uuid, long companyId)
385                    throws com.liferay.portal.kernel.exception.SystemException;
386    
387            /**
388            * Returns all the layout friendly u r ls where groupId = &#63;.
389            *
390            * @param groupId the group ID
391            * @return the matching layout friendly u r ls
392            * @throws SystemException if a system exception occurred
393            */
394            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findByGroupId(
395                    long groupId)
396                    throws com.liferay.portal.kernel.exception.SystemException;
397    
398            /**
399            * Returns a range of all the layout friendly u r ls where groupId = &#63;.
400            *
401            * <p>
402            * 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.LayoutFriendlyURLModelImpl}. 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.
403            * </p>
404            *
405            * @param groupId the group ID
406            * @param start the lower bound of the range of layout friendly u r ls
407            * @param end the upper bound of the range of layout friendly u r ls (not inclusive)
408            * @return the range of matching layout friendly u r ls
409            * @throws SystemException if a system exception occurred
410            */
411            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findByGroupId(
412                    long groupId, int start, int end)
413                    throws com.liferay.portal.kernel.exception.SystemException;
414    
415            /**
416            * Returns an ordered range of all the layout friendly u r ls where groupId = &#63;.
417            *
418            * <p>
419            * 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.LayoutFriendlyURLModelImpl}. 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.
420            * </p>
421            *
422            * @param groupId the group ID
423            * @param start the lower bound of the range of layout friendly u r ls
424            * @param end the upper bound of the range of layout friendly u r ls (not inclusive)
425            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
426            * @return the ordered range of matching layout friendly u r ls
427            * @throws SystemException if a system exception occurred
428            */
429            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findByGroupId(
430                    long groupId, int start, int end,
431                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
432                    throws com.liferay.portal.kernel.exception.SystemException;
433    
434            /**
435            * Returns the first layout friendly u r l in the ordered set where groupId = &#63;.
436            *
437            * @param groupId the group ID
438            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
439            * @return the first matching layout friendly u r l
440            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found
441            * @throws SystemException if a system exception occurred
442            */
443            public com.liferay.portal.model.LayoutFriendlyURL findByGroupId_First(
444                    long groupId,
445                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
446                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
447                            com.liferay.portal.kernel.exception.SystemException;
448    
449            /**
450            * Returns the first layout friendly u r l in the ordered set where groupId = &#63;.
451            *
452            * @param groupId the group ID
453            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
454            * @return the first matching layout friendly u r l, or <code>null</code> if a matching layout friendly u r l could not be found
455            * @throws SystemException if a system exception occurred
456            */
457            public com.liferay.portal.model.LayoutFriendlyURL fetchByGroupId_First(
458                    long groupId,
459                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
460                    throws com.liferay.portal.kernel.exception.SystemException;
461    
462            /**
463            * Returns the last layout friendly u r l in the ordered set where groupId = &#63;.
464            *
465            * @param groupId the group ID
466            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
467            * @return the last matching layout friendly u r l
468            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found
469            * @throws SystemException if a system exception occurred
470            */
471            public com.liferay.portal.model.LayoutFriendlyURL findByGroupId_Last(
472                    long groupId,
473                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
474                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
475                            com.liferay.portal.kernel.exception.SystemException;
476    
477            /**
478            * Returns the last layout friendly u r l in the ordered set where groupId = &#63;.
479            *
480            * @param groupId the group ID
481            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
482            * @return the last matching layout friendly u r l, or <code>null</code> if a matching layout friendly u r l could not be found
483            * @throws SystemException if a system exception occurred
484            */
485            public com.liferay.portal.model.LayoutFriendlyURL fetchByGroupId_Last(
486                    long groupId,
487                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
488                    throws com.liferay.portal.kernel.exception.SystemException;
489    
490            /**
491            * Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where groupId = &#63;.
492            *
493            * @param layoutFriendlyURLId the primary key of the current layout friendly u r l
494            * @param groupId the group ID
495            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
496            * @return the previous, current, and next layout friendly u r l
497            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a layout friendly u r l with the primary key could not be found
498            * @throws SystemException if a system exception occurred
499            */
500            public com.liferay.portal.model.LayoutFriendlyURL[] findByGroupId_PrevAndNext(
501                    long layoutFriendlyURLId, long groupId,
502                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
503                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
504                            com.liferay.portal.kernel.exception.SystemException;
505    
506            /**
507            * Removes all the layout friendly u r ls where groupId = &#63; from the database.
508            *
509            * @param groupId the group ID
510            * @throws SystemException if a system exception occurred
511            */
512            public void removeByGroupId(long groupId)
513                    throws com.liferay.portal.kernel.exception.SystemException;
514    
515            /**
516            * Returns the number of layout friendly u r ls where groupId = &#63;.
517            *
518            * @param groupId the group ID
519            * @return the number of matching layout friendly u r ls
520            * @throws SystemException if a system exception occurred
521            */
522            public int countByGroupId(long groupId)
523                    throws com.liferay.portal.kernel.exception.SystemException;
524    
525            /**
526            * Returns all the layout friendly u r ls where companyId = &#63;.
527            *
528            * @param companyId the company ID
529            * @return the matching layout friendly u r ls
530            * @throws SystemException if a system exception occurred
531            */
532            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findByCompanyId(
533                    long companyId)
534                    throws com.liferay.portal.kernel.exception.SystemException;
535    
536            /**
537            * Returns a range of all the layout friendly u r ls where companyId = &#63;.
538            *
539            * <p>
540            * 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.LayoutFriendlyURLModelImpl}. 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.
541            * </p>
542            *
543            * @param companyId the company ID
544            * @param start the lower bound of the range of layout friendly u r ls
545            * @param end the upper bound of the range of layout friendly u r ls (not inclusive)
546            * @return the range of matching layout friendly u r ls
547            * @throws SystemException if a system exception occurred
548            */
549            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findByCompanyId(
550                    long companyId, int start, int end)
551                    throws com.liferay.portal.kernel.exception.SystemException;
552    
553            /**
554            * Returns an ordered range of all the layout friendly u r ls where companyId = &#63;.
555            *
556            * <p>
557            * 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.LayoutFriendlyURLModelImpl}. 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.
558            * </p>
559            *
560            * @param companyId the company ID
561            * @param start the lower bound of the range of layout friendly u r ls
562            * @param end the upper bound of the range of layout friendly u r ls (not inclusive)
563            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
564            * @return the ordered range of matching layout friendly u r ls
565            * @throws SystemException if a system exception occurred
566            */
567            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findByCompanyId(
568                    long companyId, int start, int end,
569                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
570                    throws com.liferay.portal.kernel.exception.SystemException;
571    
572            /**
573            * Returns the first layout friendly u r l in the ordered set where companyId = &#63;.
574            *
575            * @param companyId the company ID
576            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
577            * @return the first matching layout friendly u r l
578            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found
579            * @throws SystemException if a system exception occurred
580            */
581            public com.liferay.portal.model.LayoutFriendlyURL findByCompanyId_First(
582                    long companyId,
583                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
584                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
585                            com.liferay.portal.kernel.exception.SystemException;
586    
587            /**
588            * Returns the first layout friendly u r l in the ordered set where companyId = &#63;.
589            *
590            * @param companyId the company ID
591            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
592            * @return the first matching layout friendly u r l, or <code>null</code> if a matching layout friendly u r l could not be found
593            * @throws SystemException if a system exception occurred
594            */
595            public com.liferay.portal.model.LayoutFriendlyURL fetchByCompanyId_First(
596                    long companyId,
597                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
598                    throws com.liferay.portal.kernel.exception.SystemException;
599    
600            /**
601            * Returns the last layout friendly u r l in the ordered set where companyId = &#63;.
602            *
603            * @param companyId the company ID
604            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
605            * @return the last matching layout friendly u r l
606            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found
607            * @throws SystemException if a system exception occurred
608            */
609            public com.liferay.portal.model.LayoutFriendlyURL findByCompanyId_Last(
610                    long companyId,
611                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
612                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
613                            com.liferay.portal.kernel.exception.SystemException;
614    
615            /**
616            * Returns the last layout friendly u r l in the ordered set where companyId = &#63;.
617            *
618            * @param companyId the company ID
619            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
620            * @return the last matching layout friendly u r l, or <code>null</code> if a matching layout friendly u r l could not be found
621            * @throws SystemException if a system exception occurred
622            */
623            public com.liferay.portal.model.LayoutFriendlyURL fetchByCompanyId_Last(
624                    long companyId,
625                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
626                    throws com.liferay.portal.kernel.exception.SystemException;
627    
628            /**
629            * Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where companyId = &#63;.
630            *
631            * @param layoutFriendlyURLId the primary key of the current layout friendly u r l
632            * @param companyId the company ID
633            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
634            * @return the previous, current, and next layout friendly u r l
635            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a layout friendly u r l with the primary key could not be found
636            * @throws SystemException if a system exception occurred
637            */
638            public com.liferay.portal.model.LayoutFriendlyURL[] findByCompanyId_PrevAndNext(
639                    long layoutFriendlyURLId, long companyId,
640                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
641                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
642                            com.liferay.portal.kernel.exception.SystemException;
643    
644            /**
645            * Removes all the layout friendly u r ls where companyId = &#63; from the database.
646            *
647            * @param companyId the company ID
648            * @throws SystemException if a system exception occurred
649            */
650            public void removeByCompanyId(long companyId)
651                    throws com.liferay.portal.kernel.exception.SystemException;
652    
653            /**
654            * Returns the number of layout friendly u r ls where companyId = &#63;.
655            *
656            * @param companyId the company ID
657            * @return the number of matching layout friendly u r ls
658            * @throws SystemException if a system exception occurred
659            */
660            public int countByCompanyId(long companyId)
661                    throws com.liferay.portal.kernel.exception.SystemException;
662    
663            /**
664            * Returns all the layout friendly u r ls where plid = &#63;.
665            *
666            * @param plid the plid
667            * @return the matching layout friendly u r ls
668            * @throws SystemException if a system exception occurred
669            */
670            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findByPlid(
671                    long plid) throws com.liferay.portal.kernel.exception.SystemException;
672    
673            /**
674            * Returns a range of all the layout friendly u r ls where plid = &#63;.
675            *
676            * <p>
677            * 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.LayoutFriendlyURLModelImpl}. 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.
678            * </p>
679            *
680            * @param plid the plid
681            * @param start the lower bound of the range of layout friendly u r ls
682            * @param end the upper bound of the range of layout friendly u r ls (not inclusive)
683            * @return the range of matching layout friendly u r ls
684            * @throws SystemException if a system exception occurred
685            */
686            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findByPlid(
687                    long plid, int start, int end)
688                    throws com.liferay.portal.kernel.exception.SystemException;
689    
690            /**
691            * Returns an ordered range of all the layout friendly u r ls where plid = &#63;.
692            *
693            * <p>
694            * 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.LayoutFriendlyURLModelImpl}. 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.
695            * </p>
696            *
697            * @param plid the plid
698            * @param start the lower bound of the range of layout friendly u r ls
699            * @param end the upper bound of the range of layout friendly u r ls (not inclusive)
700            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
701            * @return the ordered range of matching layout friendly u r ls
702            * @throws SystemException if a system exception occurred
703            */
704            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findByPlid(
705                    long plid, int start, int end,
706                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
707                    throws com.liferay.portal.kernel.exception.SystemException;
708    
709            /**
710            * Returns the first layout friendly u r l in the ordered set where plid = &#63;.
711            *
712            * @param plid the plid
713            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
714            * @return the first matching layout friendly u r l
715            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found
716            * @throws SystemException if a system exception occurred
717            */
718            public com.liferay.portal.model.LayoutFriendlyURL findByPlid_First(
719                    long plid,
720                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
721                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
722                            com.liferay.portal.kernel.exception.SystemException;
723    
724            /**
725            * Returns the first layout friendly u r l in the ordered set where plid = &#63;.
726            *
727            * @param plid the plid
728            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
729            * @return the first matching layout friendly u r l, or <code>null</code> if a matching layout friendly u r l could not be found
730            * @throws SystemException if a system exception occurred
731            */
732            public com.liferay.portal.model.LayoutFriendlyURL fetchByPlid_First(
733                    long plid,
734                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
735                    throws com.liferay.portal.kernel.exception.SystemException;
736    
737            /**
738            * Returns the last layout friendly u r l in the ordered set where plid = &#63;.
739            *
740            * @param plid the plid
741            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
742            * @return the last matching layout friendly u r l
743            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found
744            * @throws SystemException if a system exception occurred
745            */
746            public com.liferay.portal.model.LayoutFriendlyURL findByPlid_Last(
747                    long plid,
748                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
749                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
750                            com.liferay.portal.kernel.exception.SystemException;
751    
752            /**
753            * Returns the last layout friendly u r l in the ordered set where plid = &#63;.
754            *
755            * @param plid the plid
756            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
757            * @return the last matching layout friendly u r l, or <code>null</code> if a matching layout friendly u r l could not be found
758            * @throws SystemException if a system exception occurred
759            */
760            public com.liferay.portal.model.LayoutFriendlyURL fetchByPlid_Last(
761                    long plid,
762                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
763                    throws com.liferay.portal.kernel.exception.SystemException;
764    
765            /**
766            * Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where plid = &#63;.
767            *
768            * @param layoutFriendlyURLId the primary key of the current layout friendly u r l
769            * @param plid the plid
770            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
771            * @return the previous, current, and next layout friendly u r l
772            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a layout friendly u r l with the primary key could not be found
773            * @throws SystemException if a system exception occurred
774            */
775            public com.liferay.portal.model.LayoutFriendlyURL[] findByPlid_PrevAndNext(
776                    long layoutFriendlyURLId, long plid,
777                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
778                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
779                            com.liferay.portal.kernel.exception.SystemException;
780    
781            /**
782            * Removes all the layout friendly u r ls where plid = &#63; from the database.
783            *
784            * @param plid the plid
785            * @throws SystemException if a system exception occurred
786            */
787            public void removeByPlid(long plid)
788                    throws com.liferay.portal.kernel.exception.SystemException;
789    
790            /**
791            * Returns the number of layout friendly u r ls where plid = &#63;.
792            *
793            * @param plid the plid
794            * @return the number of matching layout friendly u r ls
795            * @throws SystemException if a system exception occurred
796            */
797            public int countByPlid(long plid)
798                    throws com.liferay.portal.kernel.exception.SystemException;
799    
800            /**
801            * Returns all the layout friendly u r ls where plid = &#63; and friendlyURL = &#63;.
802            *
803            * @param plid the plid
804            * @param friendlyURL the friendly u r l
805            * @return the matching layout friendly u r ls
806            * @throws SystemException if a system exception occurred
807            */
808            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findByP_F(
809                    long plid, java.lang.String friendlyURL)
810                    throws com.liferay.portal.kernel.exception.SystemException;
811    
812            /**
813            * Returns a range of all the layout friendly u r ls where plid = &#63; and friendlyURL = &#63;.
814            *
815            * <p>
816            * 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.LayoutFriendlyURLModelImpl}. 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.
817            * </p>
818            *
819            * @param plid the plid
820            * @param friendlyURL the friendly u r l
821            * @param start the lower bound of the range of layout friendly u r ls
822            * @param end the upper bound of the range of layout friendly u r ls (not inclusive)
823            * @return the range of matching layout friendly u r ls
824            * @throws SystemException if a system exception occurred
825            */
826            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findByP_F(
827                    long plid, java.lang.String friendlyURL, int start, int end)
828                    throws com.liferay.portal.kernel.exception.SystemException;
829    
830            /**
831            * Returns an ordered range of all the layout friendly u r ls where plid = &#63; and friendlyURL = &#63;.
832            *
833            * <p>
834            * 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.LayoutFriendlyURLModelImpl}. 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.
835            * </p>
836            *
837            * @param plid the plid
838            * @param friendlyURL the friendly u r l
839            * @param start the lower bound of the range of layout friendly u r ls
840            * @param end the upper bound of the range of layout friendly u r ls (not inclusive)
841            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
842            * @return the ordered range of matching layout friendly u r ls
843            * @throws SystemException if a system exception occurred
844            */
845            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findByP_F(
846                    long plid, java.lang.String friendlyURL, int start, int end,
847                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
848                    throws com.liferay.portal.kernel.exception.SystemException;
849    
850            /**
851            * Returns the first layout friendly u r l in the ordered set where plid = &#63; and friendlyURL = &#63;.
852            *
853            * @param plid the plid
854            * @param friendlyURL the friendly u r l
855            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
856            * @return the first matching layout friendly u r l
857            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found
858            * @throws SystemException if a system exception occurred
859            */
860            public com.liferay.portal.model.LayoutFriendlyURL findByP_F_First(
861                    long plid, java.lang.String friendlyURL,
862                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
863                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
864                            com.liferay.portal.kernel.exception.SystemException;
865    
866            /**
867            * Returns the first layout friendly u r l in the ordered set where plid = &#63; and friendlyURL = &#63;.
868            *
869            * @param plid the plid
870            * @param friendlyURL the friendly u r l
871            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
872            * @return the first matching layout friendly u r l, or <code>null</code> if a matching layout friendly u r l could not be found
873            * @throws SystemException if a system exception occurred
874            */
875            public com.liferay.portal.model.LayoutFriendlyURL fetchByP_F_First(
876                    long plid, java.lang.String friendlyURL,
877                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
878                    throws com.liferay.portal.kernel.exception.SystemException;
879    
880            /**
881            * Returns the last layout friendly u r l in the ordered set where plid = &#63; and friendlyURL = &#63;.
882            *
883            * @param plid the plid
884            * @param friendlyURL the friendly u r l
885            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
886            * @return the last matching layout friendly u r l
887            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found
888            * @throws SystemException if a system exception occurred
889            */
890            public com.liferay.portal.model.LayoutFriendlyURL findByP_F_Last(
891                    long plid, java.lang.String friendlyURL,
892                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
893                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
894                            com.liferay.portal.kernel.exception.SystemException;
895    
896            /**
897            * Returns the last layout friendly u r l in the ordered set where plid = &#63; and friendlyURL = &#63;.
898            *
899            * @param plid the plid
900            * @param friendlyURL the friendly u r l
901            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
902            * @return the last matching layout friendly u r l, or <code>null</code> if a matching layout friendly u r l could not be found
903            * @throws SystemException if a system exception occurred
904            */
905            public com.liferay.portal.model.LayoutFriendlyURL fetchByP_F_Last(
906                    long plid, java.lang.String friendlyURL,
907                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
908                    throws com.liferay.portal.kernel.exception.SystemException;
909    
910            /**
911            * Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where plid = &#63; and friendlyURL = &#63;.
912            *
913            * @param layoutFriendlyURLId the primary key of the current layout friendly u r l
914            * @param plid the plid
915            * @param friendlyURL the friendly u r l
916            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
917            * @return the previous, current, and next layout friendly u r l
918            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a layout friendly u r l with the primary key could not be found
919            * @throws SystemException if a system exception occurred
920            */
921            public com.liferay.portal.model.LayoutFriendlyURL[] findByP_F_PrevAndNext(
922                    long layoutFriendlyURLId, long plid, java.lang.String friendlyURL,
923                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
924                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
925                            com.liferay.portal.kernel.exception.SystemException;
926    
927            /**
928            * Removes all the layout friendly u r ls where plid = &#63; and friendlyURL = &#63; from the database.
929            *
930            * @param plid the plid
931            * @param friendlyURL the friendly u r l
932            * @throws SystemException if a system exception occurred
933            */
934            public void removeByP_F(long plid, java.lang.String friendlyURL)
935                    throws com.liferay.portal.kernel.exception.SystemException;
936    
937            /**
938            * Returns the number of layout friendly u r ls where plid = &#63; and friendlyURL = &#63;.
939            *
940            * @param plid the plid
941            * @param friendlyURL the friendly u r l
942            * @return the number of matching layout friendly u r ls
943            * @throws SystemException if a system exception occurred
944            */
945            public int countByP_F(long plid, java.lang.String friendlyURL)
946                    throws com.liferay.portal.kernel.exception.SystemException;
947    
948            /**
949            * Returns the layout friendly u r l where plid = &#63; and languageId = &#63; or throws a {@link com.liferay.portal.NoSuchLayoutFriendlyURLException} if it could not be found.
950            *
951            * @param plid the plid
952            * @param languageId the language ID
953            * @return the matching layout friendly u r l
954            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found
955            * @throws SystemException if a system exception occurred
956            */
957            public com.liferay.portal.model.LayoutFriendlyURL findByP_L(long plid,
958                    java.lang.String languageId)
959                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
960                            com.liferay.portal.kernel.exception.SystemException;
961    
962            /**
963            * Returns the layout friendly u r l where plid = &#63; and languageId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
964            *
965            * @param plid the plid
966            * @param languageId the language ID
967            * @return the matching layout friendly u r l, or <code>null</code> if a matching layout friendly u r l could not be found
968            * @throws SystemException if a system exception occurred
969            */
970            public com.liferay.portal.model.LayoutFriendlyURL fetchByP_L(long plid,
971                    java.lang.String languageId)
972                    throws com.liferay.portal.kernel.exception.SystemException;
973    
974            /**
975            * Returns the layout friendly u r l where plid = &#63; and languageId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
976            *
977            * @param plid the plid
978            * @param languageId the language ID
979            * @param retrieveFromCache whether to use the finder cache
980            * @return the matching layout friendly u r l, or <code>null</code> if a matching layout friendly u r l could not be found
981            * @throws SystemException if a system exception occurred
982            */
983            public com.liferay.portal.model.LayoutFriendlyURL fetchByP_L(long plid,
984                    java.lang.String languageId, boolean retrieveFromCache)
985                    throws com.liferay.portal.kernel.exception.SystemException;
986    
987            /**
988            * Removes the layout friendly u r l where plid = &#63; and languageId = &#63; from the database.
989            *
990            * @param plid the plid
991            * @param languageId the language ID
992            * @return the layout friendly u r l that was removed
993            * @throws SystemException if a system exception occurred
994            */
995            public com.liferay.portal.model.LayoutFriendlyURL removeByP_L(long plid,
996                    java.lang.String languageId)
997                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
998                            com.liferay.portal.kernel.exception.SystemException;
999    
1000            /**
1001            * Returns the number of layout friendly u r ls where plid = &#63; and languageId = &#63;.
1002            *
1003            * @param plid the plid
1004            * @param languageId the language ID
1005            * @return the number of matching layout friendly u r ls
1006            * @throws SystemException if a system exception occurred
1007            */
1008            public int countByP_L(long plid, java.lang.String languageId)
1009                    throws com.liferay.portal.kernel.exception.SystemException;
1010    
1011            /**
1012            * Returns all the layout friendly u r ls where groupId = &#63; and privateLayout = &#63; and friendlyURL = &#63;.
1013            *
1014            * @param groupId the group ID
1015            * @param privateLayout the private layout
1016            * @param friendlyURL the friendly u r l
1017            * @return the matching layout friendly u r ls
1018            * @throws SystemException if a system exception occurred
1019            */
1020            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findByG_P_F(
1021                    long groupId, boolean privateLayout, java.lang.String friendlyURL)
1022                    throws com.liferay.portal.kernel.exception.SystemException;
1023    
1024            /**
1025            * Returns a range of all the layout friendly u r ls where groupId = &#63; and privateLayout = &#63; and friendlyURL = &#63;.
1026            *
1027            * <p>
1028            * 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.LayoutFriendlyURLModelImpl}. 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.
1029            * </p>
1030            *
1031            * @param groupId the group ID
1032            * @param privateLayout the private layout
1033            * @param friendlyURL the friendly u r l
1034            * @param start the lower bound of the range of layout friendly u r ls
1035            * @param end the upper bound of the range of layout friendly u r ls (not inclusive)
1036            * @return the range of matching layout friendly u r ls
1037            * @throws SystemException if a system exception occurred
1038            */
1039            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findByG_P_F(
1040                    long groupId, boolean privateLayout, java.lang.String friendlyURL,
1041                    int start, int end)
1042                    throws com.liferay.portal.kernel.exception.SystemException;
1043    
1044            /**
1045            * Returns an ordered range of all the layout friendly u r ls where groupId = &#63; and privateLayout = &#63; and friendlyURL = &#63;.
1046            *
1047            * <p>
1048            * 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.LayoutFriendlyURLModelImpl}. 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.
1049            * </p>
1050            *
1051            * @param groupId the group ID
1052            * @param privateLayout the private layout
1053            * @param friendlyURL the friendly u r l
1054            * @param start the lower bound of the range of layout friendly u r ls
1055            * @param end the upper bound of the range of layout friendly u r ls (not inclusive)
1056            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1057            * @return the ordered range of matching layout friendly u r ls
1058            * @throws SystemException if a system exception occurred
1059            */
1060            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findByG_P_F(
1061                    long groupId, boolean privateLayout, java.lang.String friendlyURL,
1062                    int start, int end,
1063                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1064                    throws com.liferay.portal.kernel.exception.SystemException;
1065    
1066            /**
1067            * Returns the first layout friendly u r l in the ordered set where groupId = &#63; and privateLayout = &#63; and friendlyURL = &#63;.
1068            *
1069            * @param groupId the group ID
1070            * @param privateLayout the private layout
1071            * @param friendlyURL the friendly u r l
1072            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1073            * @return the first matching layout friendly u r l
1074            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found
1075            * @throws SystemException if a system exception occurred
1076            */
1077            public com.liferay.portal.model.LayoutFriendlyURL findByG_P_F_First(
1078                    long groupId, boolean privateLayout, java.lang.String friendlyURL,
1079                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1080                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
1081                            com.liferay.portal.kernel.exception.SystemException;
1082    
1083            /**
1084            * Returns the first layout friendly u r l in the ordered set where groupId = &#63; and privateLayout = &#63; and friendlyURL = &#63;.
1085            *
1086            * @param groupId the group ID
1087            * @param privateLayout the private layout
1088            * @param friendlyURL the friendly u r l
1089            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1090            * @return the first matching layout friendly u r l, or <code>null</code> if a matching layout friendly u r l could not be found
1091            * @throws SystemException if a system exception occurred
1092            */
1093            public com.liferay.portal.model.LayoutFriendlyURL fetchByG_P_F_First(
1094                    long groupId, boolean privateLayout, java.lang.String friendlyURL,
1095                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1096                    throws com.liferay.portal.kernel.exception.SystemException;
1097    
1098            /**
1099            * Returns the last layout friendly u r l in the ordered set where groupId = &#63; and privateLayout = &#63; and friendlyURL = &#63;.
1100            *
1101            * @param groupId the group ID
1102            * @param privateLayout the private layout
1103            * @param friendlyURL the friendly u r l
1104            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1105            * @return the last matching layout friendly u r l
1106            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found
1107            * @throws SystemException if a system exception occurred
1108            */
1109            public com.liferay.portal.model.LayoutFriendlyURL findByG_P_F_Last(
1110                    long groupId, boolean privateLayout, java.lang.String friendlyURL,
1111                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1112                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
1113                            com.liferay.portal.kernel.exception.SystemException;
1114    
1115            /**
1116            * Returns the last layout friendly u r l in the ordered set where groupId = &#63; and privateLayout = &#63; and friendlyURL = &#63;.
1117            *
1118            * @param groupId the group ID
1119            * @param privateLayout the private layout
1120            * @param friendlyURL the friendly u r l
1121            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1122            * @return the last matching layout friendly u r l, or <code>null</code> if a matching layout friendly u r l could not be found
1123            * @throws SystemException if a system exception occurred
1124            */
1125            public com.liferay.portal.model.LayoutFriendlyURL fetchByG_P_F_Last(
1126                    long groupId, boolean privateLayout, java.lang.String friendlyURL,
1127                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1128                    throws com.liferay.portal.kernel.exception.SystemException;
1129    
1130            /**
1131            * Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where groupId = &#63; and privateLayout = &#63; and friendlyURL = &#63;.
1132            *
1133            * @param layoutFriendlyURLId the primary key of the current layout friendly u r l
1134            * @param groupId the group ID
1135            * @param privateLayout the private layout
1136            * @param friendlyURL the friendly u r l
1137            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1138            * @return the previous, current, and next layout friendly u r l
1139            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a layout friendly u r l with the primary key could not be found
1140            * @throws SystemException if a system exception occurred
1141            */
1142            public com.liferay.portal.model.LayoutFriendlyURL[] findByG_P_F_PrevAndNext(
1143                    long layoutFriendlyURLId, long groupId, boolean privateLayout,
1144                    java.lang.String friendlyURL,
1145                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1146                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
1147                            com.liferay.portal.kernel.exception.SystemException;
1148    
1149            /**
1150            * Removes all the layout friendly u r ls where groupId = &#63; and privateLayout = &#63; and friendlyURL = &#63; from the database.
1151            *
1152            * @param groupId the group ID
1153            * @param privateLayout the private layout
1154            * @param friendlyURL the friendly u r l
1155            * @throws SystemException if a system exception occurred
1156            */
1157            public void removeByG_P_F(long groupId, boolean privateLayout,
1158                    java.lang.String friendlyURL)
1159                    throws com.liferay.portal.kernel.exception.SystemException;
1160    
1161            /**
1162            * Returns the number of layout friendly u r ls where groupId = &#63; and privateLayout = &#63; and friendlyURL = &#63;.
1163            *
1164            * @param groupId the group ID
1165            * @param privateLayout the private layout
1166            * @param friendlyURL the friendly u r l
1167            * @return the number of matching layout friendly u r ls
1168            * @throws SystemException if a system exception occurred
1169            */
1170            public int countByG_P_F(long groupId, boolean privateLayout,
1171                    java.lang.String friendlyURL)
1172                    throws com.liferay.portal.kernel.exception.SystemException;
1173    
1174            /**
1175            * Returns the layout friendly u r l where groupId = &#63; and privateLayout = &#63; and friendlyURL = &#63; and languageId = &#63; or throws a {@link com.liferay.portal.NoSuchLayoutFriendlyURLException} if it could not be found.
1176            *
1177            * @param groupId the group ID
1178            * @param privateLayout the private layout
1179            * @param friendlyURL the friendly u r l
1180            * @param languageId the language ID
1181            * @return the matching layout friendly u r l
1182            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a matching layout friendly u r l could not be found
1183            * @throws SystemException if a system exception occurred
1184            */
1185            public com.liferay.portal.model.LayoutFriendlyURL findByG_P_F_L(
1186                    long groupId, boolean privateLayout, java.lang.String friendlyURL,
1187                    java.lang.String languageId)
1188                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
1189                            com.liferay.portal.kernel.exception.SystemException;
1190    
1191            /**
1192            * Returns the layout friendly u r l where groupId = &#63; and privateLayout = &#63; and friendlyURL = &#63; and languageId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
1193            *
1194            * @param groupId the group ID
1195            * @param privateLayout the private layout
1196            * @param friendlyURL the friendly u r l
1197            * @param languageId the language ID
1198            * @return the matching layout friendly u r l, or <code>null</code> if a matching layout friendly u r l could not be found
1199            * @throws SystemException if a system exception occurred
1200            */
1201            public com.liferay.portal.model.LayoutFriendlyURL fetchByG_P_F_L(
1202                    long groupId, boolean privateLayout, java.lang.String friendlyURL,
1203                    java.lang.String languageId)
1204                    throws com.liferay.portal.kernel.exception.SystemException;
1205    
1206            /**
1207            * Returns the layout friendly u r l where groupId = &#63; and privateLayout = &#63; and friendlyURL = &#63; and languageId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
1208            *
1209            * @param groupId the group ID
1210            * @param privateLayout the private layout
1211            * @param friendlyURL the friendly u r l
1212            * @param languageId the language ID
1213            * @param retrieveFromCache whether to use the finder cache
1214            * @return the matching layout friendly u r l, or <code>null</code> if a matching layout friendly u r l could not be found
1215            * @throws SystemException if a system exception occurred
1216            */
1217            public com.liferay.portal.model.LayoutFriendlyURL fetchByG_P_F_L(
1218                    long groupId, boolean privateLayout, java.lang.String friendlyURL,
1219                    java.lang.String languageId, boolean retrieveFromCache)
1220                    throws com.liferay.portal.kernel.exception.SystemException;
1221    
1222            /**
1223            * Removes the layout friendly u r l where groupId = &#63; and privateLayout = &#63; and friendlyURL = &#63; and languageId = &#63; from the database.
1224            *
1225            * @param groupId the group ID
1226            * @param privateLayout the private layout
1227            * @param friendlyURL the friendly u r l
1228            * @param languageId the language ID
1229            * @return the layout friendly u r l that was removed
1230            * @throws SystemException if a system exception occurred
1231            */
1232            public com.liferay.portal.model.LayoutFriendlyURL removeByG_P_F_L(
1233                    long groupId, boolean privateLayout, java.lang.String friendlyURL,
1234                    java.lang.String languageId)
1235                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
1236                            com.liferay.portal.kernel.exception.SystemException;
1237    
1238            /**
1239            * Returns the number of layout friendly u r ls where groupId = &#63; and privateLayout = &#63; and friendlyURL = &#63; and languageId = &#63;.
1240            *
1241            * @param groupId the group ID
1242            * @param privateLayout the private layout
1243            * @param friendlyURL the friendly u r l
1244            * @param languageId the language ID
1245            * @return the number of matching layout friendly u r ls
1246            * @throws SystemException if a system exception occurred
1247            */
1248            public int countByG_P_F_L(long groupId, boolean privateLayout,
1249                    java.lang.String friendlyURL, java.lang.String languageId)
1250                    throws com.liferay.portal.kernel.exception.SystemException;
1251    
1252            /**
1253            * Caches the layout friendly u r l in the entity cache if it is enabled.
1254            *
1255            * @param layoutFriendlyURL the layout friendly u r l
1256            */
1257            public void cacheResult(
1258                    com.liferay.portal.model.LayoutFriendlyURL layoutFriendlyURL);
1259    
1260            /**
1261            * Caches the layout friendly u r ls in the entity cache if it is enabled.
1262            *
1263            * @param layoutFriendlyURLs the layout friendly u r ls
1264            */
1265            public void cacheResult(
1266                    java.util.List<com.liferay.portal.model.LayoutFriendlyURL> layoutFriendlyURLs);
1267    
1268            /**
1269            * Creates a new layout friendly u r l with the primary key. Does not add the layout friendly u r l to the database.
1270            *
1271            * @param layoutFriendlyURLId the primary key for the new layout friendly u r l
1272            * @return the new layout friendly u r l
1273            */
1274            public com.liferay.portal.model.LayoutFriendlyURL create(
1275                    long layoutFriendlyURLId);
1276    
1277            /**
1278            * Removes the layout friendly u r l with the primary key from the database. Also notifies the appropriate model listeners.
1279            *
1280            * @param layoutFriendlyURLId the primary key of the layout friendly u r l
1281            * @return the layout friendly u r l that was removed
1282            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a layout friendly u r l with the primary key could not be found
1283            * @throws SystemException if a system exception occurred
1284            */
1285            public com.liferay.portal.model.LayoutFriendlyURL remove(
1286                    long layoutFriendlyURLId)
1287                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
1288                            com.liferay.portal.kernel.exception.SystemException;
1289    
1290            public com.liferay.portal.model.LayoutFriendlyURL updateImpl(
1291                    com.liferay.portal.model.LayoutFriendlyURL layoutFriendlyURL)
1292                    throws com.liferay.portal.kernel.exception.SystemException;
1293    
1294            /**
1295            * Returns the layout friendly u r l with the primary key or throws a {@link com.liferay.portal.NoSuchLayoutFriendlyURLException} if it could not be found.
1296            *
1297            * @param layoutFriendlyURLId the primary key of the layout friendly u r l
1298            * @return the layout friendly u r l
1299            * @throws com.liferay.portal.NoSuchLayoutFriendlyURLException if a layout friendly u r l with the primary key could not be found
1300            * @throws SystemException if a system exception occurred
1301            */
1302            public com.liferay.portal.model.LayoutFriendlyURL findByPrimaryKey(
1303                    long layoutFriendlyURLId)
1304                    throws com.liferay.portal.NoSuchLayoutFriendlyURLException,
1305                            com.liferay.portal.kernel.exception.SystemException;
1306    
1307            /**
1308            * Returns the layout friendly u r l with the primary key or returns <code>null</code> if it could not be found.
1309            *
1310            * @param layoutFriendlyURLId the primary key of the layout friendly u r l
1311            * @return the layout friendly u r l, or <code>null</code> if a layout friendly u r l with the primary key could not be found
1312            * @throws SystemException if a system exception occurred
1313            */
1314            public com.liferay.portal.model.LayoutFriendlyURL fetchByPrimaryKey(
1315                    long layoutFriendlyURLId)
1316                    throws com.liferay.portal.kernel.exception.SystemException;
1317    
1318            /**
1319            * Returns all the layout friendly u r ls.
1320            *
1321            * @return the layout friendly u r ls
1322            * @throws SystemException if a system exception occurred
1323            */
1324            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findAll()
1325                    throws com.liferay.portal.kernel.exception.SystemException;
1326    
1327            /**
1328            * Returns a range of all the layout friendly u r ls.
1329            *
1330            * <p>
1331            * 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.LayoutFriendlyURLModelImpl}. 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.
1332            * </p>
1333            *
1334            * @param start the lower bound of the range of layout friendly u r ls
1335            * @param end the upper bound of the range of layout friendly u r ls (not inclusive)
1336            * @return the range of layout friendly u r ls
1337            * @throws SystemException if a system exception occurred
1338            */
1339            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findAll(
1340                    int start, int end)
1341                    throws com.liferay.portal.kernel.exception.SystemException;
1342    
1343            /**
1344            * Returns an ordered range of all the layout friendly u r ls.
1345            *
1346            * <p>
1347            * 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.LayoutFriendlyURLModelImpl}. 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.
1348            * </p>
1349            *
1350            * @param start the lower bound of the range of layout friendly u r ls
1351            * @param end the upper bound of the range of layout friendly u r ls (not inclusive)
1352            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1353            * @return the ordered range of layout friendly u r ls
1354            * @throws SystemException if a system exception occurred
1355            */
1356            public java.util.List<com.liferay.portal.model.LayoutFriendlyURL> findAll(
1357                    int start, int end,
1358                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1359                    throws com.liferay.portal.kernel.exception.SystemException;
1360    
1361            /**
1362            * Removes all the layout friendly u r ls from the database.
1363            *
1364            * @throws SystemException if a system exception occurred
1365            */
1366            public void removeAll()
1367                    throws com.liferay.portal.kernel.exception.SystemException;
1368    
1369            /**
1370            * Returns the number of layout friendly u r ls.
1371            *
1372            * @return the number of layout friendly u r ls
1373            * @throws SystemException if a system exception occurred
1374            */
1375            public int countAll()
1376                    throws com.liferay.portal.kernel.exception.SystemException;
1377    }