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