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