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