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