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