001 /** 002 * Copyright (c) 2000-2012 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.Layout; 018 019 /** 020 * The persistence interface for the layout 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 LayoutPersistenceImpl 028 * @see LayoutUtil 029 * @generated 030 */ 031 public interface LayoutPersistence extends BasePersistence<Layout> { 032 /* 033 * NOTE FOR DEVELOPERS: 034 * 035 * Never modify or reference this interface directly. Always use {@link LayoutUtil} to access the layout persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 036 */ 037 038 /** 039 * Caches the layout in the entity cache if it is enabled. 040 * 041 * @param layout the layout 042 */ 043 public void cacheResult(com.liferay.portal.model.Layout layout); 044 045 /** 046 * Caches the layouts in the entity cache if it is enabled. 047 * 048 * @param layouts the layouts 049 */ 050 public void cacheResult( 051 java.util.List<com.liferay.portal.model.Layout> layouts); 052 053 /** 054 * Creates a new layout with the primary key. Does not add the layout to the database. 055 * 056 * @param plid the primary key for the new layout 057 * @return the new layout 058 */ 059 public com.liferay.portal.model.Layout create(long plid); 060 061 /** 062 * Removes the layout with the primary key from the database. Also notifies the appropriate model listeners. 063 * 064 * @param plid the primary key of the layout 065 * @return the layout that was removed 066 * @throws com.liferay.portal.NoSuchLayoutException if a layout with the primary key could not be found 067 * @throws SystemException if a system exception occurred 068 */ 069 public com.liferay.portal.model.Layout remove(long plid) 070 throws com.liferay.portal.NoSuchLayoutException, 071 com.liferay.portal.kernel.exception.SystemException; 072 073 public com.liferay.portal.model.Layout updateImpl( 074 com.liferay.portal.model.Layout layout) 075 throws com.liferay.portal.kernel.exception.SystemException; 076 077 /** 078 * Returns the layout with the primary key or throws a {@link com.liferay.portal.NoSuchLayoutException} if it could not be found. 079 * 080 * @param plid the primary key of the layout 081 * @return the layout 082 * @throws com.liferay.portal.NoSuchLayoutException if a layout with the primary key could not be found 083 * @throws SystemException if a system exception occurred 084 */ 085 public com.liferay.portal.model.Layout findByPrimaryKey(long plid) 086 throws com.liferay.portal.NoSuchLayoutException, 087 com.liferay.portal.kernel.exception.SystemException; 088 089 /** 090 * Returns the layout with the primary key or returns <code>null</code> if it could not be found. 091 * 092 * @param plid the primary key of the layout 093 * @return the layout, or <code>null</code> if a layout with the primary key could not be found 094 * @throws SystemException if a system exception occurred 095 */ 096 public com.liferay.portal.model.Layout fetchByPrimaryKey(long plid) 097 throws com.liferay.portal.kernel.exception.SystemException; 098 099 /** 100 * Returns all the layouts where uuid = ?. 101 * 102 * @param uuid the uuid 103 * @return the matching layouts 104 * @throws SystemException if a system exception occurred 105 */ 106 public java.util.List<com.liferay.portal.model.Layout> findByUuid( 107 java.lang.String uuid) 108 throws com.liferay.portal.kernel.exception.SystemException; 109 110 /** 111 * Returns a range of all the layouts where uuid = ?. 112 * 113 * <p> 114 * 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. 115 * </p> 116 * 117 * @param uuid the uuid 118 * @param start the lower bound of the range of layouts 119 * @param end the upper bound of the range of layouts (not inclusive) 120 * @return the range of matching layouts 121 * @throws SystemException if a system exception occurred 122 */ 123 public java.util.List<com.liferay.portal.model.Layout> findByUuid( 124 java.lang.String uuid, int start, int end) 125 throws com.liferay.portal.kernel.exception.SystemException; 126 127 /** 128 * Returns an ordered range of all the layouts where uuid = ?. 129 * 130 * <p> 131 * 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. 132 * </p> 133 * 134 * @param uuid the uuid 135 * @param start the lower bound of the range of layouts 136 * @param end the upper bound of the range of layouts (not inclusive) 137 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 138 * @return the ordered range of matching layouts 139 * @throws SystemException if a system exception occurred 140 */ 141 public java.util.List<com.liferay.portal.model.Layout> findByUuid( 142 java.lang.String uuid, int start, int end, 143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 144 throws com.liferay.portal.kernel.exception.SystemException; 145 146 /** 147 * Returns the first layout in the ordered set where uuid = ?. 148 * 149 * @param uuid the uuid 150 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 151 * @return the first matching layout 152 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 153 * @throws SystemException if a system exception occurred 154 */ 155 public com.liferay.portal.model.Layout findByUuid_First( 156 java.lang.String uuid, 157 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 158 throws com.liferay.portal.NoSuchLayoutException, 159 com.liferay.portal.kernel.exception.SystemException; 160 161 /** 162 * Returns the first layout in the ordered set where uuid = ?. 163 * 164 * @param uuid the uuid 165 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 166 * @return the first matching layout, or <code>null</code> if a matching layout could not be found 167 * @throws SystemException if a system exception occurred 168 */ 169 public com.liferay.portal.model.Layout fetchByUuid_First( 170 java.lang.String uuid, 171 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 172 throws com.liferay.portal.kernel.exception.SystemException; 173 174 /** 175 * Returns the last layout in the ordered set where uuid = ?. 176 * 177 * @param uuid the uuid 178 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 179 * @return the last matching layout 180 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 181 * @throws SystemException if a system exception occurred 182 */ 183 public com.liferay.portal.model.Layout findByUuid_Last( 184 java.lang.String uuid, 185 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 186 throws com.liferay.portal.NoSuchLayoutException, 187 com.liferay.portal.kernel.exception.SystemException; 188 189 /** 190 * Returns the last layout in the ordered set where uuid = ?. 191 * 192 * @param uuid the uuid 193 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 194 * @return the last matching layout, or <code>null</code> if a matching layout could not be found 195 * @throws SystemException if a system exception occurred 196 */ 197 public com.liferay.portal.model.Layout fetchByUuid_Last( 198 java.lang.String uuid, 199 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 200 throws com.liferay.portal.kernel.exception.SystemException; 201 202 /** 203 * Returns the layouts before and after the current layout in the ordered set where uuid = ?. 204 * 205 * @param plid the primary key of the current layout 206 * @param uuid the uuid 207 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 208 * @return the previous, current, and next layout 209 * @throws com.liferay.portal.NoSuchLayoutException if a layout with the primary key could not be found 210 * @throws SystemException if a system exception occurred 211 */ 212 public com.liferay.portal.model.Layout[] findByUuid_PrevAndNext(long plid, 213 java.lang.String uuid, 214 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 215 throws com.liferay.portal.NoSuchLayoutException, 216 com.liferay.portal.kernel.exception.SystemException; 217 218 /** 219 * Returns the layout where uuid = ? and groupId = ? or throws a {@link com.liferay.portal.NoSuchLayoutException} if it could not be found. 220 * 221 * @param uuid the uuid 222 * @param groupId the group ID 223 * @return the matching layout 224 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 225 * @throws SystemException if a system exception occurred 226 */ 227 public com.liferay.portal.model.Layout findByUUID_G(java.lang.String uuid, 228 long groupId) 229 throws com.liferay.portal.NoSuchLayoutException, 230 com.liferay.portal.kernel.exception.SystemException; 231 232 /** 233 * Returns the layout where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 234 * 235 * @param uuid the uuid 236 * @param groupId the group ID 237 * @return the matching layout, or <code>null</code> if a matching layout could not be found 238 * @throws SystemException if a system exception occurred 239 */ 240 public com.liferay.portal.model.Layout fetchByUUID_G( 241 java.lang.String uuid, long groupId) 242 throws com.liferay.portal.kernel.exception.SystemException; 243 244 /** 245 * Returns the layout where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 246 * 247 * @param uuid the uuid 248 * @param groupId the group ID 249 * @param retrieveFromCache whether to use the finder cache 250 * @return the matching layout, or <code>null</code> if a matching layout could not be found 251 * @throws SystemException if a system exception occurred 252 */ 253 public com.liferay.portal.model.Layout fetchByUUID_G( 254 java.lang.String uuid, long groupId, boolean retrieveFromCache) 255 throws com.liferay.portal.kernel.exception.SystemException; 256 257 /** 258 * Returns all the layouts where uuid = ? and companyId = ?. 259 * 260 * @param uuid the uuid 261 * @param companyId the company ID 262 * @return the matching layouts 263 * @throws SystemException if a system exception occurred 264 */ 265 public java.util.List<com.liferay.portal.model.Layout> findByUuid_C( 266 java.lang.String uuid, long companyId) 267 throws com.liferay.portal.kernel.exception.SystemException; 268 269 /** 270 * Returns a range of all the layouts where uuid = ? and companyId = ?. 271 * 272 * <p> 273 * 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. 274 * </p> 275 * 276 * @param uuid the uuid 277 * @param companyId the company ID 278 * @param start the lower bound of the range of layouts 279 * @param end the upper bound of the range of layouts (not inclusive) 280 * @return the range of matching layouts 281 * @throws SystemException if a system exception occurred 282 */ 283 public java.util.List<com.liferay.portal.model.Layout> findByUuid_C( 284 java.lang.String uuid, long companyId, int start, int end) 285 throws com.liferay.portal.kernel.exception.SystemException; 286 287 /** 288 * Returns an ordered range of all the layouts where uuid = ? and companyId = ?. 289 * 290 * <p> 291 * 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. 292 * </p> 293 * 294 * @param uuid the uuid 295 * @param companyId the company ID 296 * @param start the lower bound of the range of layouts 297 * @param end the upper bound of the range of layouts (not inclusive) 298 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 299 * @return the ordered range of matching layouts 300 * @throws SystemException if a system exception occurred 301 */ 302 public java.util.List<com.liferay.portal.model.Layout> findByUuid_C( 303 java.lang.String uuid, long companyId, int start, int end, 304 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 305 throws com.liferay.portal.kernel.exception.SystemException; 306 307 /** 308 * Returns the first layout in the ordered set where uuid = ? and companyId = ?. 309 * 310 * @param uuid the uuid 311 * @param companyId the company ID 312 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 313 * @return the first matching layout 314 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 315 * @throws SystemException if a system exception occurred 316 */ 317 public com.liferay.portal.model.Layout findByUuid_C_First( 318 java.lang.String uuid, long companyId, 319 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 320 throws com.liferay.portal.NoSuchLayoutException, 321 com.liferay.portal.kernel.exception.SystemException; 322 323 /** 324 * Returns the first layout in the ordered set where uuid = ? and companyId = ?. 325 * 326 * @param uuid the uuid 327 * @param companyId the company ID 328 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 329 * @return the first matching layout, or <code>null</code> if a matching layout could not be found 330 * @throws SystemException if a system exception occurred 331 */ 332 public com.liferay.portal.model.Layout fetchByUuid_C_First( 333 java.lang.String uuid, long companyId, 334 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 335 throws com.liferay.portal.kernel.exception.SystemException; 336 337 /** 338 * Returns the last layout in the ordered set where uuid = ? and companyId = ?. 339 * 340 * @param uuid the uuid 341 * @param companyId the company ID 342 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 343 * @return the last matching layout 344 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 345 * @throws SystemException if a system exception occurred 346 */ 347 public com.liferay.portal.model.Layout findByUuid_C_Last( 348 java.lang.String uuid, long companyId, 349 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 350 throws com.liferay.portal.NoSuchLayoutException, 351 com.liferay.portal.kernel.exception.SystemException; 352 353 /** 354 * Returns the last layout in the ordered set where uuid = ? and companyId = ?. 355 * 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 last matching layout, or <code>null</code> if a matching layout could not be found 360 * @throws SystemException if a system exception occurred 361 */ 362 public com.liferay.portal.model.Layout fetchByUuid_C_Last( 363 java.lang.String uuid, long companyId, 364 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 365 throws com.liferay.portal.kernel.exception.SystemException; 366 367 /** 368 * Returns the layouts before and after the current layout in the ordered set where uuid = ? and companyId = ?. 369 * 370 * @param plid the primary key of the current layout 371 * @param uuid the uuid 372 * @param companyId the company ID 373 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 374 * @return the previous, current, and next layout 375 * @throws com.liferay.portal.NoSuchLayoutException if a layout with the primary key could not be found 376 * @throws SystemException if a system exception occurred 377 */ 378 public com.liferay.portal.model.Layout[] findByUuid_C_PrevAndNext( 379 long plid, java.lang.String uuid, long companyId, 380 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 381 throws com.liferay.portal.NoSuchLayoutException, 382 com.liferay.portal.kernel.exception.SystemException; 383 384 /** 385 * Returns all the layouts where groupId = ?. 386 * 387 * @param groupId the group ID 388 * @return the matching layouts 389 * @throws SystemException if a system exception occurred 390 */ 391 public java.util.List<com.liferay.portal.model.Layout> findByGroupId( 392 long groupId) 393 throws com.liferay.portal.kernel.exception.SystemException; 394 395 /** 396 * Returns a range of all the layouts where groupId = ?. 397 * 398 * <p> 399 * 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. 400 * </p> 401 * 402 * @param groupId the group ID 403 * @param start the lower bound of the range of layouts 404 * @param end the upper bound of the range of layouts (not inclusive) 405 * @return the range of matching layouts 406 * @throws SystemException if a system exception occurred 407 */ 408 public java.util.List<com.liferay.portal.model.Layout> findByGroupId( 409 long groupId, int start, int end) 410 throws com.liferay.portal.kernel.exception.SystemException; 411 412 /** 413 * Returns an ordered range of all the layouts where groupId = ?. 414 * 415 * <p> 416 * 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. 417 * </p> 418 * 419 * @param groupId the group ID 420 * @param start the lower bound of the range of layouts 421 * @param end the upper bound of the range of layouts (not inclusive) 422 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 423 * @return the ordered range of matching layouts 424 * @throws SystemException if a system exception occurred 425 */ 426 public java.util.List<com.liferay.portal.model.Layout> findByGroupId( 427 long groupId, int start, int end, 428 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 429 throws com.liferay.portal.kernel.exception.SystemException; 430 431 /** 432 * Returns the first layout in the ordered set where groupId = ?. 433 * 434 * @param groupId the group ID 435 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 436 * @return the first matching layout 437 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 438 * @throws SystemException if a system exception occurred 439 */ 440 public com.liferay.portal.model.Layout findByGroupId_First(long groupId, 441 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 442 throws com.liferay.portal.NoSuchLayoutException, 443 com.liferay.portal.kernel.exception.SystemException; 444 445 /** 446 * Returns the first layout in the ordered set where groupId = ?. 447 * 448 * @param groupId the group ID 449 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 450 * @return the first matching layout, or <code>null</code> if a matching layout could not be found 451 * @throws SystemException if a system exception occurred 452 */ 453 public com.liferay.portal.model.Layout fetchByGroupId_First(long groupId, 454 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 455 throws com.liferay.portal.kernel.exception.SystemException; 456 457 /** 458 * Returns the last layout in the ordered set where groupId = ?. 459 * 460 * @param groupId the group ID 461 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 462 * @return the last matching layout 463 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 464 * @throws SystemException if a system exception occurred 465 */ 466 public com.liferay.portal.model.Layout findByGroupId_Last(long groupId, 467 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 468 throws com.liferay.portal.NoSuchLayoutException, 469 com.liferay.portal.kernel.exception.SystemException; 470 471 /** 472 * Returns the last layout in the ordered set where groupId = ?. 473 * 474 * @param groupId the group ID 475 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 476 * @return the last matching layout, or <code>null</code> if a matching layout could not be found 477 * @throws SystemException if a system exception occurred 478 */ 479 public com.liferay.portal.model.Layout fetchByGroupId_Last(long groupId, 480 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 481 throws com.liferay.portal.kernel.exception.SystemException; 482 483 /** 484 * Returns the layouts before and after the current layout in the ordered set where groupId = ?. 485 * 486 * @param plid the primary key of the current layout 487 * @param groupId the group ID 488 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 489 * @return the previous, current, and next layout 490 * @throws com.liferay.portal.NoSuchLayoutException if a layout with the primary key could not be found 491 * @throws SystemException if a system exception occurred 492 */ 493 public com.liferay.portal.model.Layout[] findByGroupId_PrevAndNext( 494 long plid, long groupId, 495 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 496 throws com.liferay.portal.NoSuchLayoutException, 497 com.liferay.portal.kernel.exception.SystemException; 498 499 /** 500 * Returns all the layouts that the user has permission to view where groupId = ?. 501 * 502 * @param groupId the group ID 503 * @return the matching layouts that the user has permission to view 504 * @throws SystemException if a system exception occurred 505 */ 506 public java.util.List<com.liferay.portal.model.Layout> filterFindByGroupId( 507 long groupId) 508 throws com.liferay.portal.kernel.exception.SystemException; 509 510 /** 511 * Returns a range of all the layouts that the user has permission to view where groupId = ?. 512 * 513 * <p> 514 * 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. 515 * </p> 516 * 517 * @param groupId the group ID 518 * @param start the lower bound of the range of layouts 519 * @param end the upper bound of the range of layouts (not inclusive) 520 * @return the range of matching layouts that the user has permission to view 521 * @throws SystemException if a system exception occurred 522 */ 523 public java.util.List<com.liferay.portal.model.Layout> filterFindByGroupId( 524 long groupId, int start, int end) 525 throws com.liferay.portal.kernel.exception.SystemException; 526 527 /** 528 * Returns an ordered range of all the layouts that the user has permissions to view where groupId = ?. 529 * 530 * <p> 531 * 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. 532 * </p> 533 * 534 * @param groupId the group ID 535 * @param start the lower bound of the range of layouts 536 * @param end the upper bound of the range of layouts (not inclusive) 537 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 538 * @return the ordered range of matching layouts that the user has permission to view 539 * @throws SystemException if a system exception occurred 540 */ 541 public java.util.List<com.liferay.portal.model.Layout> filterFindByGroupId( 542 long groupId, int start, int end, 543 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 544 throws com.liferay.portal.kernel.exception.SystemException; 545 546 /** 547 * Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ?. 548 * 549 * @param plid the primary key of the current layout 550 * @param groupId the group ID 551 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 552 * @return the previous, current, and next layout 553 * @throws com.liferay.portal.NoSuchLayoutException if a layout with the primary key could not be found 554 * @throws SystemException if a system exception occurred 555 */ 556 public com.liferay.portal.model.Layout[] filterFindByGroupId_PrevAndNext( 557 long plid, long groupId, 558 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 559 throws com.liferay.portal.NoSuchLayoutException, 560 com.liferay.portal.kernel.exception.SystemException; 561 562 /** 563 * Returns all the layouts where companyId = ?. 564 * 565 * @param companyId the company ID 566 * @return the matching layouts 567 * @throws SystemException if a system exception occurred 568 */ 569 public java.util.List<com.liferay.portal.model.Layout> findByCompanyId( 570 long companyId) 571 throws com.liferay.portal.kernel.exception.SystemException; 572 573 /** 574 * Returns a range of all the layouts where companyId = ?. 575 * 576 * <p> 577 * 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. 578 * </p> 579 * 580 * @param companyId the company ID 581 * @param start the lower bound of the range of layouts 582 * @param end the upper bound of the range of layouts (not inclusive) 583 * @return the range of matching layouts 584 * @throws SystemException if a system exception occurred 585 */ 586 public java.util.List<com.liferay.portal.model.Layout> findByCompanyId( 587 long companyId, int start, int end) 588 throws com.liferay.portal.kernel.exception.SystemException; 589 590 /** 591 * Returns an ordered range of all the layouts where companyId = ?. 592 * 593 * <p> 594 * 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. 595 * </p> 596 * 597 * @param companyId the company ID 598 * @param start the lower bound of the range of layouts 599 * @param end the upper bound of the range of layouts (not inclusive) 600 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 601 * @return the ordered range of matching layouts 602 * @throws SystemException if a system exception occurred 603 */ 604 public java.util.List<com.liferay.portal.model.Layout> findByCompanyId( 605 long companyId, int start, int end, 606 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 607 throws com.liferay.portal.kernel.exception.SystemException; 608 609 /** 610 * Returns the first layout in the ordered set where companyId = ?. 611 * 612 * @param companyId the company ID 613 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 614 * @return the first matching layout 615 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 616 * @throws SystemException if a system exception occurred 617 */ 618 public com.liferay.portal.model.Layout findByCompanyId_First( 619 long companyId, 620 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 621 throws com.liferay.portal.NoSuchLayoutException, 622 com.liferay.portal.kernel.exception.SystemException; 623 624 /** 625 * Returns the first layout in the ordered set where companyId = ?. 626 * 627 * @param companyId the company ID 628 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 629 * @return the first matching layout, or <code>null</code> if a matching layout could not be found 630 * @throws SystemException if a system exception occurred 631 */ 632 public com.liferay.portal.model.Layout fetchByCompanyId_First( 633 long companyId, 634 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 635 throws com.liferay.portal.kernel.exception.SystemException; 636 637 /** 638 * Returns the last layout in the ordered set where companyId = ?. 639 * 640 * @param companyId the company ID 641 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 642 * @return the last matching layout 643 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 644 * @throws SystemException if a system exception occurred 645 */ 646 public com.liferay.portal.model.Layout findByCompanyId_Last( 647 long companyId, 648 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 649 throws com.liferay.portal.NoSuchLayoutException, 650 com.liferay.portal.kernel.exception.SystemException; 651 652 /** 653 * Returns the last layout in the ordered set where companyId = ?. 654 * 655 * @param companyId the company ID 656 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 657 * @return the last matching layout, or <code>null</code> if a matching layout could not be found 658 * @throws SystemException if a system exception occurred 659 */ 660 public com.liferay.portal.model.Layout fetchByCompanyId_Last( 661 long companyId, 662 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 663 throws com.liferay.portal.kernel.exception.SystemException; 664 665 /** 666 * Returns the layouts before and after the current layout in the ordered set where companyId = ?. 667 * 668 * @param plid the primary key of the current layout 669 * @param companyId the company ID 670 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 671 * @return the previous, current, and next layout 672 * @throws com.liferay.portal.NoSuchLayoutException if a layout with the primary key could not be found 673 * @throws SystemException if a system exception occurred 674 */ 675 public com.liferay.portal.model.Layout[] findByCompanyId_PrevAndNext( 676 long plid, long companyId, 677 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 678 throws com.liferay.portal.NoSuchLayoutException, 679 com.liferay.portal.kernel.exception.SystemException; 680 681 /** 682 * Returns the layout where iconImageId = ? or throws a {@link com.liferay.portal.NoSuchLayoutException} if it could not be found. 683 * 684 * @param iconImageId the icon image ID 685 * @return the matching layout 686 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 687 * @throws SystemException if a system exception occurred 688 */ 689 public com.liferay.portal.model.Layout findByIconImageId(long iconImageId) 690 throws com.liferay.portal.NoSuchLayoutException, 691 com.liferay.portal.kernel.exception.SystemException; 692 693 /** 694 * Returns the layout where iconImageId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 695 * 696 * @param iconImageId the icon image ID 697 * @return the matching layout, or <code>null</code> if a matching layout could not be found 698 * @throws SystemException if a system exception occurred 699 */ 700 public com.liferay.portal.model.Layout fetchByIconImageId(long iconImageId) 701 throws com.liferay.portal.kernel.exception.SystemException; 702 703 /** 704 * Returns the layout where iconImageId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 705 * 706 * @param iconImageId the icon image ID 707 * @param retrieveFromCache whether to use the finder cache 708 * @return the matching layout, or <code>null</code> if a matching layout could not be found 709 * @throws SystemException if a system exception occurred 710 */ 711 public com.liferay.portal.model.Layout fetchByIconImageId( 712 long iconImageId, boolean retrieveFromCache) 713 throws com.liferay.portal.kernel.exception.SystemException; 714 715 /** 716 * Returns all the layouts where layoutPrototypeUuid = ?. 717 * 718 * @param layoutPrototypeUuid the layout prototype uuid 719 * @return the matching layouts 720 * @throws SystemException if a system exception occurred 721 */ 722 public java.util.List<com.liferay.portal.model.Layout> findByLayoutPrototypeUuid( 723 java.lang.String layoutPrototypeUuid) 724 throws com.liferay.portal.kernel.exception.SystemException; 725 726 /** 727 * Returns a range of all the layouts where layoutPrototypeUuid = ?. 728 * 729 * <p> 730 * 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. 731 * </p> 732 * 733 * @param layoutPrototypeUuid the layout prototype uuid 734 * @param start the lower bound of the range of layouts 735 * @param end the upper bound of the range of layouts (not inclusive) 736 * @return the range of matching layouts 737 * @throws SystemException if a system exception occurred 738 */ 739 public java.util.List<com.liferay.portal.model.Layout> findByLayoutPrototypeUuid( 740 java.lang.String layoutPrototypeUuid, int start, int end) 741 throws com.liferay.portal.kernel.exception.SystemException; 742 743 /** 744 * Returns an ordered range of all the layouts where layoutPrototypeUuid = ?. 745 * 746 * <p> 747 * 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. 748 * </p> 749 * 750 * @param layoutPrototypeUuid the layout prototype uuid 751 * @param start the lower bound of the range of layouts 752 * @param end the upper bound of the range of layouts (not inclusive) 753 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 754 * @return the ordered range of matching layouts 755 * @throws SystemException if a system exception occurred 756 */ 757 public java.util.List<com.liferay.portal.model.Layout> findByLayoutPrototypeUuid( 758 java.lang.String layoutPrototypeUuid, int start, int end, 759 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 760 throws com.liferay.portal.kernel.exception.SystemException; 761 762 /** 763 * Returns the first layout in the ordered set where layoutPrototypeUuid = ?. 764 * 765 * @param layoutPrototypeUuid the layout prototype uuid 766 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 767 * @return the first matching layout 768 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 769 * @throws SystemException if a system exception occurred 770 */ 771 public com.liferay.portal.model.Layout findByLayoutPrototypeUuid_First( 772 java.lang.String layoutPrototypeUuid, 773 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 774 throws com.liferay.portal.NoSuchLayoutException, 775 com.liferay.portal.kernel.exception.SystemException; 776 777 /** 778 * Returns the first layout in the ordered set where layoutPrototypeUuid = ?. 779 * 780 * @param layoutPrototypeUuid the layout prototype uuid 781 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 782 * @return the first matching layout, or <code>null</code> if a matching layout could not be found 783 * @throws SystemException if a system exception occurred 784 */ 785 public com.liferay.portal.model.Layout fetchByLayoutPrototypeUuid_First( 786 java.lang.String layoutPrototypeUuid, 787 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 788 throws com.liferay.portal.kernel.exception.SystemException; 789 790 /** 791 * Returns the last layout in the ordered set where layoutPrototypeUuid = ?. 792 * 793 * @param layoutPrototypeUuid the layout prototype uuid 794 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 795 * @return the last matching layout 796 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 797 * @throws SystemException if a system exception occurred 798 */ 799 public com.liferay.portal.model.Layout findByLayoutPrototypeUuid_Last( 800 java.lang.String layoutPrototypeUuid, 801 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 802 throws com.liferay.portal.NoSuchLayoutException, 803 com.liferay.portal.kernel.exception.SystemException; 804 805 /** 806 * Returns the last layout in the ordered set where layoutPrototypeUuid = ?. 807 * 808 * @param layoutPrototypeUuid the layout prototype uuid 809 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 810 * @return the last matching layout, or <code>null</code> if a matching layout could not be found 811 * @throws SystemException if a system exception occurred 812 */ 813 public com.liferay.portal.model.Layout fetchByLayoutPrototypeUuid_Last( 814 java.lang.String layoutPrototypeUuid, 815 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 816 throws com.liferay.portal.kernel.exception.SystemException; 817 818 /** 819 * Returns the layouts before and after the current layout in the ordered set where layoutPrototypeUuid = ?. 820 * 821 * @param plid the primary key of the current layout 822 * @param layoutPrototypeUuid the layout prototype uuid 823 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 824 * @return the previous, current, and next layout 825 * @throws com.liferay.portal.NoSuchLayoutException if a layout with the primary key could not be found 826 * @throws SystemException if a system exception occurred 827 */ 828 public com.liferay.portal.model.Layout[] findByLayoutPrototypeUuid_PrevAndNext( 829 long plid, java.lang.String layoutPrototypeUuid, 830 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 831 throws com.liferay.portal.NoSuchLayoutException, 832 com.liferay.portal.kernel.exception.SystemException; 833 834 /** 835 * Returns all the layouts where sourcePrototypeLayoutUuid = ?. 836 * 837 * @param sourcePrototypeLayoutUuid the source prototype layout uuid 838 * @return the matching layouts 839 * @throws SystemException if a system exception occurred 840 */ 841 public java.util.List<com.liferay.portal.model.Layout> findBySourcePrototypeLayoutUuid( 842 java.lang.String sourcePrototypeLayoutUuid) 843 throws com.liferay.portal.kernel.exception.SystemException; 844 845 /** 846 * Returns a range of all the layouts where sourcePrototypeLayoutUuid = ?. 847 * 848 * <p> 849 * 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. 850 * </p> 851 * 852 * @param sourcePrototypeLayoutUuid the source prototype layout uuid 853 * @param start the lower bound of the range of layouts 854 * @param end the upper bound of the range of layouts (not inclusive) 855 * @return the range of matching layouts 856 * @throws SystemException if a system exception occurred 857 */ 858 public java.util.List<com.liferay.portal.model.Layout> findBySourcePrototypeLayoutUuid( 859 java.lang.String sourcePrototypeLayoutUuid, int start, int end) 860 throws com.liferay.portal.kernel.exception.SystemException; 861 862 /** 863 * Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?. 864 * 865 * <p> 866 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 867 * </p> 868 * 869 * @param sourcePrototypeLayoutUuid the source prototype layout uuid 870 * @param start the lower bound of the range of layouts 871 * @param end the upper bound of the range of layouts (not inclusive) 872 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 873 * @return the ordered range of matching layouts 874 * @throws SystemException if a system exception occurred 875 */ 876 public java.util.List<com.liferay.portal.model.Layout> findBySourcePrototypeLayoutUuid( 877 java.lang.String sourcePrototypeLayoutUuid, int start, int end, 878 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 879 throws com.liferay.portal.kernel.exception.SystemException; 880 881 /** 882 * Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?. 883 * 884 * @param sourcePrototypeLayoutUuid the source prototype layout uuid 885 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 886 * @return the first matching layout 887 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 888 * @throws SystemException if a system exception occurred 889 */ 890 public com.liferay.portal.model.Layout findBySourcePrototypeLayoutUuid_First( 891 java.lang.String sourcePrototypeLayoutUuid, 892 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 893 throws com.liferay.portal.NoSuchLayoutException, 894 com.liferay.portal.kernel.exception.SystemException; 895 896 /** 897 * Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?. 898 * 899 * @param sourcePrototypeLayoutUuid the source prototype layout uuid 900 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 901 * @return the first matching layout, or <code>null</code> if a matching layout could not be found 902 * @throws SystemException if a system exception occurred 903 */ 904 public com.liferay.portal.model.Layout fetchBySourcePrototypeLayoutUuid_First( 905 java.lang.String sourcePrototypeLayoutUuid, 906 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 907 throws com.liferay.portal.kernel.exception.SystemException; 908 909 /** 910 * Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?. 911 * 912 * @param sourcePrototypeLayoutUuid the source prototype layout uuid 913 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 914 * @return the last matching layout 915 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 916 * @throws SystemException if a system exception occurred 917 */ 918 public com.liferay.portal.model.Layout findBySourcePrototypeLayoutUuid_Last( 919 java.lang.String sourcePrototypeLayoutUuid, 920 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 921 throws com.liferay.portal.NoSuchLayoutException, 922 com.liferay.portal.kernel.exception.SystemException; 923 924 /** 925 * Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?. 926 * 927 * @param sourcePrototypeLayoutUuid the source prototype layout uuid 928 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 929 * @return the last matching layout, or <code>null</code> if a matching layout could not be found 930 * @throws SystemException if a system exception occurred 931 */ 932 public com.liferay.portal.model.Layout fetchBySourcePrototypeLayoutUuid_Last( 933 java.lang.String sourcePrototypeLayoutUuid, 934 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 935 throws com.liferay.portal.kernel.exception.SystemException; 936 937 /** 938 * Returns the layouts before and after the current layout in the ordered set where sourcePrototypeLayoutUuid = ?. 939 * 940 * @param plid the primary key of the current layout 941 * @param sourcePrototypeLayoutUuid the source prototype layout uuid 942 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 943 * @return the previous, current, and next layout 944 * @throws com.liferay.portal.NoSuchLayoutException if a layout with the primary key could not be found 945 * @throws SystemException if a system exception occurred 946 */ 947 public com.liferay.portal.model.Layout[] findBySourcePrototypeLayoutUuid_PrevAndNext( 948 long plid, java.lang.String sourcePrototypeLayoutUuid, 949 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 950 throws com.liferay.portal.NoSuchLayoutException, 951 com.liferay.portal.kernel.exception.SystemException; 952 953 /** 954 * Returns all the layouts where groupId = ? and privateLayout = ?. 955 * 956 * @param groupId the group ID 957 * @param privateLayout the private layout 958 * @return the matching layouts 959 * @throws SystemException if a system exception occurred 960 */ 961 public java.util.List<com.liferay.portal.model.Layout> findByG_P( 962 long groupId, boolean privateLayout) 963 throws com.liferay.portal.kernel.exception.SystemException; 964 965 /** 966 * Returns a range of all the layouts where groupId = ? and privateLayout = ?. 967 * 968 * <p> 969 * 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. 970 * </p> 971 * 972 * @param groupId the group ID 973 * @param privateLayout the private layout 974 * @param start the lower bound of the range of layouts 975 * @param end the upper bound of the range of layouts (not inclusive) 976 * @return the range of matching layouts 977 * @throws SystemException if a system exception occurred 978 */ 979 public java.util.List<com.liferay.portal.model.Layout> findByG_P( 980 long groupId, boolean privateLayout, int start, int end) 981 throws com.liferay.portal.kernel.exception.SystemException; 982 983 /** 984 * Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?. 985 * 986 * <p> 987 * 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. 988 * </p> 989 * 990 * @param groupId the group ID 991 * @param privateLayout the private layout 992 * @param start the lower bound of the range of layouts 993 * @param end the upper bound of the range of layouts (not inclusive) 994 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 995 * @return the ordered range of matching layouts 996 * @throws SystemException if a system exception occurred 997 */ 998 public java.util.List<com.liferay.portal.model.Layout> findByG_P( 999 long groupId, boolean privateLayout, int start, int end, 1000 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1001 throws com.liferay.portal.kernel.exception.SystemException; 1002 1003 /** 1004 * Returns the first layout in the ordered set where groupId = ? and privateLayout = ?. 1005 * 1006 * @param groupId the group ID 1007 * @param privateLayout the private layout 1008 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1009 * @return the first matching layout 1010 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 1011 * @throws SystemException if a system exception occurred 1012 */ 1013 public com.liferay.portal.model.Layout findByG_P_First(long groupId, 1014 boolean privateLayout, 1015 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1016 throws com.liferay.portal.NoSuchLayoutException, 1017 com.liferay.portal.kernel.exception.SystemException; 1018 1019 /** 1020 * Returns the first layout in the ordered set where groupId = ? and privateLayout = ?. 1021 * 1022 * @param groupId the group ID 1023 * @param privateLayout the private layout 1024 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1025 * @return the first matching layout, or <code>null</code> if a matching layout could not be found 1026 * @throws SystemException if a system exception occurred 1027 */ 1028 public com.liferay.portal.model.Layout fetchByG_P_First(long groupId, 1029 boolean privateLayout, 1030 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1031 throws com.liferay.portal.kernel.exception.SystemException; 1032 1033 /** 1034 * Returns the last layout in the ordered set where groupId = ? and privateLayout = ?. 1035 * 1036 * @param groupId the group ID 1037 * @param privateLayout the private layout 1038 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1039 * @return the last matching layout 1040 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 1041 * @throws SystemException if a system exception occurred 1042 */ 1043 public com.liferay.portal.model.Layout findByG_P_Last(long groupId, 1044 boolean privateLayout, 1045 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1046 throws com.liferay.portal.NoSuchLayoutException, 1047 com.liferay.portal.kernel.exception.SystemException; 1048 1049 /** 1050 * Returns the last layout in the ordered set where groupId = ? and privateLayout = ?. 1051 * 1052 * @param groupId the group ID 1053 * @param privateLayout the private layout 1054 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1055 * @return the last matching layout, or <code>null</code> if a matching layout could not be found 1056 * @throws SystemException if a system exception occurred 1057 */ 1058 public com.liferay.portal.model.Layout fetchByG_P_Last(long groupId, 1059 boolean privateLayout, 1060 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1061 throws com.liferay.portal.kernel.exception.SystemException; 1062 1063 /** 1064 * Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ?. 1065 * 1066 * @param plid the primary key of the current layout 1067 * @param groupId the group ID 1068 * @param privateLayout the private layout 1069 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1070 * @return the previous, current, and next layout 1071 * @throws com.liferay.portal.NoSuchLayoutException if a layout with the primary key could not be found 1072 * @throws SystemException if a system exception occurred 1073 */ 1074 public com.liferay.portal.model.Layout[] findByG_P_PrevAndNext(long plid, 1075 long groupId, boolean privateLayout, 1076 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1077 throws com.liferay.portal.NoSuchLayoutException, 1078 com.liferay.portal.kernel.exception.SystemException; 1079 1080 /** 1081 * Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ?. 1082 * 1083 * @param groupId the group ID 1084 * @param privateLayout the private layout 1085 * @return the matching layouts that the user has permission to view 1086 * @throws SystemException if a system exception occurred 1087 */ 1088 public java.util.List<com.liferay.portal.model.Layout> filterFindByG_P( 1089 long groupId, boolean privateLayout) 1090 throws com.liferay.portal.kernel.exception.SystemException; 1091 1092 /** 1093 * Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ?. 1094 * 1095 * <p> 1096 * 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. 1097 * </p> 1098 * 1099 * @param groupId the group ID 1100 * @param privateLayout the private layout 1101 * @param start the lower bound of the range of layouts 1102 * @param end the upper bound of the range of layouts (not inclusive) 1103 * @return the range of matching layouts that the user has permission to view 1104 * @throws SystemException if a system exception occurred 1105 */ 1106 public java.util.List<com.liferay.portal.model.Layout> filterFindByG_P( 1107 long groupId, boolean privateLayout, int start, int end) 1108 throws com.liferay.portal.kernel.exception.SystemException; 1109 1110 /** 1111 * Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ?. 1112 * 1113 * <p> 1114 * 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. 1115 * </p> 1116 * 1117 * @param groupId the group ID 1118 * @param privateLayout the private layout 1119 * @param start the lower bound of the range of layouts 1120 * @param end the upper bound of the range of layouts (not inclusive) 1121 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1122 * @return the ordered range of matching layouts that the user has permission to view 1123 * @throws SystemException if a system exception occurred 1124 */ 1125 public java.util.List<com.liferay.portal.model.Layout> filterFindByG_P( 1126 long groupId, boolean privateLayout, int start, int end, 1127 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1128 throws com.liferay.portal.kernel.exception.SystemException; 1129 1130 /** 1131 * Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ?. 1132 * 1133 * @param plid the primary key of the current layout 1134 * @param groupId the group ID 1135 * @param privateLayout the private layout 1136 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1137 * @return the previous, current, and next layout 1138 * @throws com.liferay.portal.NoSuchLayoutException if a layout with the primary key could not be found 1139 * @throws SystemException if a system exception occurred 1140 */ 1141 public com.liferay.portal.model.Layout[] filterFindByG_P_PrevAndNext( 1142 long plid, long groupId, boolean privateLayout, 1143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1144 throws com.liferay.portal.NoSuchLayoutException, 1145 com.liferay.portal.kernel.exception.SystemException; 1146 1147 /** 1148 * Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or throws a {@link com.liferay.portal.NoSuchLayoutException} if it could not be found. 1149 * 1150 * @param groupId the group ID 1151 * @param privateLayout the private layout 1152 * @param layoutId the layout ID 1153 * @return the matching layout 1154 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 1155 * @throws SystemException if a system exception occurred 1156 */ 1157 public com.liferay.portal.model.Layout findByG_P_L(long groupId, 1158 boolean privateLayout, long layoutId) 1159 throws com.liferay.portal.NoSuchLayoutException, 1160 com.liferay.portal.kernel.exception.SystemException; 1161 1162 /** 1163 * Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 1164 * 1165 * @param groupId the group ID 1166 * @param privateLayout the private layout 1167 * @param layoutId the layout ID 1168 * @return the matching layout, or <code>null</code> if a matching layout could not be found 1169 * @throws SystemException if a system exception occurred 1170 */ 1171 public com.liferay.portal.model.Layout fetchByG_P_L(long groupId, 1172 boolean privateLayout, long layoutId) 1173 throws com.liferay.portal.kernel.exception.SystemException; 1174 1175 /** 1176 * Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 1177 * 1178 * @param groupId the group ID 1179 * @param privateLayout the private layout 1180 * @param layoutId the layout ID 1181 * @param retrieveFromCache whether to use the finder cache 1182 * @return the matching layout, or <code>null</code> if a matching layout could not be found 1183 * @throws SystemException if a system exception occurred 1184 */ 1185 public com.liferay.portal.model.Layout fetchByG_P_L(long groupId, 1186 boolean privateLayout, long layoutId, boolean retrieveFromCache) 1187 throws com.liferay.portal.kernel.exception.SystemException; 1188 1189 /** 1190 * Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?. 1191 * 1192 * @param groupId the group ID 1193 * @param privateLayout the private layout 1194 * @param parentLayoutId the parent layout ID 1195 * @return the matching layouts 1196 * @throws SystemException if a system exception occurred 1197 */ 1198 public java.util.List<com.liferay.portal.model.Layout> findByG_P_P( 1199 long groupId, boolean privateLayout, long parentLayoutId) 1200 throws com.liferay.portal.kernel.exception.SystemException; 1201 1202 /** 1203 * Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?. 1204 * 1205 * <p> 1206 * 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. 1207 * </p> 1208 * 1209 * @param groupId the group ID 1210 * @param privateLayout the private layout 1211 * @param parentLayoutId the parent layout ID 1212 * @param start the lower bound of the range of layouts 1213 * @param end the upper bound of the range of layouts (not inclusive) 1214 * @return the range of matching layouts 1215 * @throws SystemException if a system exception occurred 1216 */ 1217 public java.util.List<com.liferay.portal.model.Layout> findByG_P_P( 1218 long groupId, boolean privateLayout, long parentLayoutId, int start, 1219 int end) throws com.liferay.portal.kernel.exception.SystemException; 1220 1221 /** 1222 * Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?. 1223 * 1224 * <p> 1225 * 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. 1226 * </p> 1227 * 1228 * @param groupId the group ID 1229 * @param privateLayout the private layout 1230 * @param parentLayoutId the parent layout ID 1231 * @param start the lower bound of the range of layouts 1232 * @param end the upper bound of the range of layouts (not inclusive) 1233 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1234 * @return the ordered range of matching layouts 1235 * @throws SystemException if a system exception occurred 1236 */ 1237 public java.util.List<com.liferay.portal.model.Layout> findByG_P_P( 1238 long groupId, boolean privateLayout, long parentLayoutId, int start, 1239 int end, 1240 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1241 throws com.liferay.portal.kernel.exception.SystemException; 1242 1243 /** 1244 * Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?. 1245 * 1246 * @param groupId the group ID 1247 * @param privateLayout the private layout 1248 * @param parentLayoutId the parent layout ID 1249 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1250 * @return the first matching layout 1251 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 1252 * @throws SystemException if a system exception occurred 1253 */ 1254 public com.liferay.portal.model.Layout findByG_P_P_First(long groupId, 1255 boolean privateLayout, long parentLayoutId, 1256 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1257 throws com.liferay.portal.NoSuchLayoutException, 1258 com.liferay.portal.kernel.exception.SystemException; 1259 1260 /** 1261 * Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?. 1262 * 1263 * @param groupId the group ID 1264 * @param privateLayout the private layout 1265 * @param parentLayoutId the parent layout ID 1266 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1267 * @return the first matching layout, or <code>null</code> if a matching layout could not be found 1268 * @throws SystemException if a system exception occurred 1269 */ 1270 public com.liferay.portal.model.Layout fetchByG_P_P_First(long groupId, 1271 boolean privateLayout, long parentLayoutId, 1272 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1273 throws com.liferay.portal.kernel.exception.SystemException; 1274 1275 /** 1276 * Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?. 1277 * 1278 * @param groupId the group ID 1279 * @param privateLayout the private layout 1280 * @param parentLayoutId the parent layout ID 1281 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1282 * @return the last matching layout 1283 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 1284 * @throws SystemException if a system exception occurred 1285 */ 1286 public com.liferay.portal.model.Layout findByG_P_P_Last(long groupId, 1287 boolean privateLayout, long parentLayoutId, 1288 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1289 throws com.liferay.portal.NoSuchLayoutException, 1290 com.liferay.portal.kernel.exception.SystemException; 1291 1292 /** 1293 * Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?. 1294 * 1295 * @param groupId the group ID 1296 * @param privateLayout the private layout 1297 * @param parentLayoutId the parent layout ID 1298 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1299 * @return the last matching layout, or <code>null</code> if a matching layout could not be found 1300 * @throws SystemException if a system exception occurred 1301 */ 1302 public com.liferay.portal.model.Layout fetchByG_P_P_Last(long groupId, 1303 boolean privateLayout, long parentLayoutId, 1304 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1305 throws com.liferay.portal.kernel.exception.SystemException; 1306 1307 /** 1308 * Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?. 1309 * 1310 * @param plid the primary key of the current layout 1311 * @param groupId the group ID 1312 * @param privateLayout the private layout 1313 * @param parentLayoutId the parent layout ID 1314 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1315 * @return the previous, current, and next layout 1316 * @throws com.liferay.portal.NoSuchLayoutException if a layout with the primary key could not be found 1317 * @throws SystemException if a system exception occurred 1318 */ 1319 public com.liferay.portal.model.Layout[] findByG_P_P_PrevAndNext( 1320 long plid, long groupId, boolean privateLayout, long parentLayoutId, 1321 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1322 throws com.liferay.portal.NoSuchLayoutException, 1323 com.liferay.portal.kernel.exception.SystemException; 1324 1325 /** 1326 * Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?. 1327 * 1328 * @param groupId the group ID 1329 * @param privateLayout the private layout 1330 * @param parentLayoutId the parent layout ID 1331 * @return the matching layouts that the user has permission to view 1332 * @throws SystemException if a system exception occurred 1333 */ 1334 public java.util.List<com.liferay.portal.model.Layout> filterFindByG_P_P( 1335 long groupId, boolean privateLayout, long parentLayoutId) 1336 throws com.liferay.portal.kernel.exception.SystemException; 1337 1338 /** 1339 * Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?. 1340 * 1341 * <p> 1342 * 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. 1343 * </p> 1344 * 1345 * @param groupId the group ID 1346 * @param privateLayout the private layout 1347 * @param parentLayoutId the parent layout ID 1348 * @param start the lower bound of the range of layouts 1349 * @param end the upper bound of the range of layouts (not inclusive) 1350 * @return the range of matching layouts that the user has permission to view 1351 * @throws SystemException if a system exception occurred 1352 */ 1353 public java.util.List<com.liferay.portal.model.Layout> filterFindByG_P_P( 1354 long groupId, boolean privateLayout, long parentLayoutId, int start, 1355 int end) throws com.liferay.portal.kernel.exception.SystemException; 1356 1357 /** 1358 * Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ?. 1359 * 1360 * <p> 1361 * 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. 1362 * </p> 1363 * 1364 * @param groupId the group ID 1365 * @param privateLayout the private layout 1366 * @param parentLayoutId the parent layout ID 1367 * @param start the lower bound of the range of layouts 1368 * @param end the upper bound of the range of layouts (not inclusive) 1369 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1370 * @return the ordered range of matching layouts that the user has permission to view 1371 * @throws SystemException if a system exception occurred 1372 */ 1373 public java.util.List<com.liferay.portal.model.Layout> filterFindByG_P_P( 1374 long groupId, boolean privateLayout, long parentLayoutId, int start, 1375 int end, 1376 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1377 throws com.liferay.portal.kernel.exception.SystemException; 1378 1379 /** 1380 * Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?. 1381 * 1382 * @param plid the primary key of the current layout 1383 * @param groupId the group ID 1384 * @param privateLayout the private layout 1385 * @param parentLayoutId the parent layout ID 1386 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1387 * @return the previous, current, and next layout 1388 * @throws com.liferay.portal.NoSuchLayoutException if a layout with the primary key could not be found 1389 * @throws SystemException if a system exception occurred 1390 */ 1391 public com.liferay.portal.model.Layout[] filterFindByG_P_P_PrevAndNext( 1392 long plid, long groupId, boolean privateLayout, long parentLayoutId, 1393 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1394 throws com.liferay.portal.NoSuchLayoutException, 1395 com.liferay.portal.kernel.exception.SystemException; 1396 1397 /** 1398 * Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or throws a {@link com.liferay.portal.NoSuchLayoutException} if it could not be found. 1399 * 1400 * @param groupId the group ID 1401 * @param privateLayout the private layout 1402 * @param friendlyURL the friendly u r l 1403 * @return the matching layout 1404 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 1405 * @throws SystemException if a system exception occurred 1406 */ 1407 public com.liferay.portal.model.Layout findByG_P_F(long groupId, 1408 boolean privateLayout, java.lang.String friendlyURL) 1409 throws com.liferay.portal.NoSuchLayoutException, 1410 com.liferay.portal.kernel.exception.SystemException; 1411 1412 /** 1413 * Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 1414 * 1415 * @param groupId the group ID 1416 * @param privateLayout the private layout 1417 * @param friendlyURL the friendly u r l 1418 * @return the matching layout, or <code>null</code> if a matching layout could not be found 1419 * @throws SystemException if a system exception occurred 1420 */ 1421 public com.liferay.portal.model.Layout fetchByG_P_F(long groupId, 1422 boolean privateLayout, java.lang.String friendlyURL) 1423 throws com.liferay.portal.kernel.exception.SystemException; 1424 1425 /** 1426 * Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 1427 * 1428 * @param groupId the group ID 1429 * @param privateLayout the private layout 1430 * @param friendlyURL the friendly u r l 1431 * @param retrieveFromCache whether to use the finder cache 1432 * @return the matching layout, or <code>null</code> if a matching layout could not be found 1433 * @throws SystemException if a system exception occurred 1434 */ 1435 public com.liferay.portal.model.Layout fetchByG_P_F(long groupId, 1436 boolean privateLayout, java.lang.String friendlyURL, 1437 boolean retrieveFromCache) 1438 throws com.liferay.portal.kernel.exception.SystemException; 1439 1440 /** 1441 * Returns all the layouts where groupId = ? and privateLayout = ? and type = ?. 1442 * 1443 * @param groupId the group ID 1444 * @param privateLayout the private layout 1445 * @param type the type 1446 * @return the matching layouts 1447 * @throws SystemException if a system exception occurred 1448 */ 1449 public java.util.List<com.liferay.portal.model.Layout> findByG_P_T( 1450 long groupId, boolean privateLayout, java.lang.String type) 1451 throws com.liferay.portal.kernel.exception.SystemException; 1452 1453 /** 1454 * Returns a range of all the layouts where groupId = ? and privateLayout = ? and type = ?. 1455 * 1456 * <p> 1457 * 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. 1458 * </p> 1459 * 1460 * @param groupId the group ID 1461 * @param privateLayout the private layout 1462 * @param type the type 1463 * @param start the lower bound of the range of layouts 1464 * @param end the upper bound of the range of layouts (not inclusive) 1465 * @return the range of matching layouts 1466 * @throws SystemException if a system exception occurred 1467 */ 1468 public java.util.List<com.liferay.portal.model.Layout> findByG_P_T( 1469 long groupId, boolean privateLayout, java.lang.String type, int start, 1470 int end) throws com.liferay.portal.kernel.exception.SystemException; 1471 1472 /** 1473 * Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?. 1474 * 1475 * <p> 1476 * 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. 1477 * </p> 1478 * 1479 * @param groupId the group ID 1480 * @param privateLayout the private layout 1481 * @param type the type 1482 * @param start the lower bound of the range of layouts 1483 * @param end the upper bound of the range of layouts (not inclusive) 1484 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1485 * @return the ordered range of matching layouts 1486 * @throws SystemException if a system exception occurred 1487 */ 1488 public java.util.List<com.liferay.portal.model.Layout> findByG_P_T( 1489 long groupId, boolean privateLayout, java.lang.String type, int start, 1490 int end, 1491 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1492 throws com.liferay.portal.kernel.exception.SystemException; 1493 1494 /** 1495 * Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?. 1496 * 1497 * @param groupId the group ID 1498 * @param privateLayout the private layout 1499 * @param type the type 1500 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1501 * @return the first matching layout 1502 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 1503 * @throws SystemException if a system exception occurred 1504 */ 1505 public com.liferay.portal.model.Layout findByG_P_T_First(long groupId, 1506 boolean privateLayout, java.lang.String type, 1507 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1508 throws com.liferay.portal.NoSuchLayoutException, 1509 com.liferay.portal.kernel.exception.SystemException; 1510 1511 /** 1512 * Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?. 1513 * 1514 * @param groupId the group ID 1515 * @param privateLayout the private layout 1516 * @param type the type 1517 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1518 * @return the first matching layout, or <code>null</code> if a matching layout could not be found 1519 * @throws SystemException if a system exception occurred 1520 */ 1521 public com.liferay.portal.model.Layout fetchByG_P_T_First(long groupId, 1522 boolean privateLayout, java.lang.String type, 1523 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1524 throws com.liferay.portal.kernel.exception.SystemException; 1525 1526 /** 1527 * Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?. 1528 * 1529 * @param groupId the group ID 1530 * @param privateLayout the private layout 1531 * @param type the type 1532 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1533 * @return the last matching layout 1534 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 1535 * @throws SystemException if a system exception occurred 1536 */ 1537 public com.liferay.portal.model.Layout findByG_P_T_Last(long groupId, 1538 boolean privateLayout, java.lang.String type, 1539 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1540 throws com.liferay.portal.NoSuchLayoutException, 1541 com.liferay.portal.kernel.exception.SystemException; 1542 1543 /** 1544 * Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?. 1545 * 1546 * @param groupId the group ID 1547 * @param privateLayout the private layout 1548 * @param type the type 1549 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1550 * @return the last matching layout, or <code>null</code> if a matching layout could not be found 1551 * @throws SystemException if a system exception occurred 1552 */ 1553 public com.liferay.portal.model.Layout fetchByG_P_T_Last(long groupId, 1554 boolean privateLayout, java.lang.String type, 1555 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1556 throws com.liferay.portal.kernel.exception.SystemException; 1557 1558 /** 1559 * Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and type = ?. 1560 * 1561 * @param plid the primary key of the current layout 1562 * @param groupId the group ID 1563 * @param privateLayout the private layout 1564 * @param type the type 1565 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1566 * @return the previous, current, and next layout 1567 * @throws com.liferay.portal.NoSuchLayoutException if a layout with the primary key could not be found 1568 * @throws SystemException if a system exception occurred 1569 */ 1570 public com.liferay.portal.model.Layout[] findByG_P_T_PrevAndNext( 1571 long plid, long groupId, boolean privateLayout, java.lang.String type, 1572 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1573 throws com.liferay.portal.NoSuchLayoutException, 1574 com.liferay.portal.kernel.exception.SystemException; 1575 1576 /** 1577 * Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?. 1578 * 1579 * @param groupId the group ID 1580 * @param privateLayout the private layout 1581 * @param type the type 1582 * @return the matching layouts that the user has permission to view 1583 * @throws SystemException if a system exception occurred 1584 */ 1585 public java.util.List<com.liferay.portal.model.Layout> filterFindByG_P_T( 1586 long groupId, boolean privateLayout, java.lang.String type) 1587 throws com.liferay.portal.kernel.exception.SystemException; 1588 1589 /** 1590 * Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?. 1591 * 1592 * <p> 1593 * 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. 1594 * </p> 1595 * 1596 * @param groupId the group ID 1597 * @param privateLayout the private layout 1598 * @param type the type 1599 * @param start the lower bound of the range of layouts 1600 * @param end the upper bound of the range of layouts (not inclusive) 1601 * @return the range of matching layouts that the user has permission to view 1602 * @throws SystemException if a system exception occurred 1603 */ 1604 public java.util.List<com.liferay.portal.model.Layout> filterFindByG_P_T( 1605 long groupId, boolean privateLayout, java.lang.String type, int start, 1606 int end) throws com.liferay.portal.kernel.exception.SystemException; 1607 1608 /** 1609 * Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and type = ?. 1610 * 1611 * <p> 1612 * 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. 1613 * </p> 1614 * 1615 * @param groupId the group ID 1616 * @param privateLayout the private layout 1617 * @param type the type 1618 * @param start the lower bound of the range of layouts 1619 * @param end the upper bound of the range of layouts (not inclusive) 1620 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1621 * @return the ordered range of matching layouts that the user has permission to view 1622 * @throws SystemException if a system exception occurred 1623 */ 1624 public java.util.List<com.liferay.portal.model.Layout> filterFindByG_P_T( 1625 long groupId, boolean privateLayout, java.lang.String type, int start, 1626 int end, 1627 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1628 throws com.liferay.portal.kernel.exception.SystemException; 1629 1630 /** 1631 * Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?. 1632 * 1633 * @param plid the primary key of the current layout 1634 * @param groupId the group ID 1635 * @param privateLayout the private layout 1636 * @param type the type 1637 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1638 * @return the previous, current, and next layout 1639 * @throws com.liferay.portal.NoSuchLayoutException if a layout with the primary key could not be found 1640 * @throws SystemException if a system exception occurred 1641 */ 1642 public com.liferay.portal.model.Layout[] filterFindByG_P_T_PrevAndNext( 1643 long plid, long groupId, boolean privateLayout, java.lang.String type, 1644 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1645 throws com.liferay.portal.NoSuchLayoutException, 1646 com.liferay.portal.kernel.exception.SystemException; 1647 1648 /** 1649 * Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or throws a {@link com.liferay.portal.NoSuchLayoutException} if it could not be found. 1650 * 1651 * @param groupId the group ID 1652 * @param privateLayout the private layout 1653 * @param sourcePrototypeLayoutUuid the source prototype layout uuid 1654 * @return the matching layout 1655 * @throws com.liferay.portal.NoSuchLayoutException if a matching layout could not be found 1656 * @throws SystemException if a system exception occurred 1657 */ 1658 public com.liferay.portal.model.Layout findByG_P_SPLU(long groupId, 1659 boolean privateLayout, java.lang.String sourcePrototypeLayoutUuid) 1660 throws com.liferay.portal.NoSuchLayoutException, 1661 com.liferay.portal.kernel.exception.SystemException; 1662 1663 /** 1664 * Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 1665 * 1666 * @param groupId the group ID 1667 * @param privateLayout the private layout 1668 * @param sourcePrototypeLayoutUuid the source prototype layout uuid 1669 * @return the matching layout, or <code>null</code> if a matching layout could not be found 1670 * @throws SystemException if a system exception occurred 1671 */ 1672 public com.liferay.portal.model.Layout fetchByG_P_SPLU(long groupId, 1673 boolean privateLayout, java.lang.String sourcePrototypeLayoutUuid) 1674 throws com.liferay.portal.kernel.exception.SystemException; 1675 1676 /** 1677 * Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 1678 * 1679 * @param groupId the group ID 1680 * @param privateLayout the private layout 1681 * @param sourcePrototypeLayoutUuid the source prototype layout uuid 1682 * @param retrieveFromCache whether to use the finder cache 1683 * @return the matching layout, or <code>null</code> if a matching layout could not be found 1684 * @throws SystemException if a system exception occurred 1685 */ 1686 public com.liferay.portal.model.Layout fetchByG_P_SPLU(long groupId, 1687 boolean privateLayout, java.lang.String sourcePrototypeLayoutUuid, 1688 boolean retrieveFromCache) 1689 throws com.liferay.portal.kernel.exception.SystemException; 1690 1691 /** 1692 * Returns all the layouts. 1693 * 1694 * @return the layouts 1695 * @throws SystemException if a system exception occurred 1696 */ 1697 public java.util.List<com.liferay.portal.model.Layout> findAll() 1698 throws com.liferay.portal.kernel.exception.SystemException; 1699 1700 /** 1701 * Returns a range of all the layouts. 1702 * 1703 * <p> 1704 * 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. 1705 * </p> 1706 * 1707 * @param start the lower bound of the range of layouts 1708 * @param end the upper bound of the range of layouts (not inclusive) 1709 * @return the range of layouts 1710 * @throws SystemException if a system exception occurred 1711 */ 1712 public java.util.List<com.liferay.portal.model.Layout> findAll(int start, 1713 int end) throws com.liferay.portal.kernel.exception.SystemException; 1714 1715 /** 1716 * Returns an ordered range of all the layouts. 1717 * 1718 * <p> 1719 * 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. 1720 * </p> 1721 * 1722 * @param start the lower bound of the range of layouts 1723 * @param end the upper bound of the range of layouts (not inclusive) 1724 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1725 * @return the ordered range of layouts 1726 * @throws SystemException if a system exception occurred 1727 */ 1728 public java.util.List<com.liferay.portal.model.Layout> findAll(int start, 1729 int end, 1730 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1731 throws com.liferay.portal.kernel.exception.SystemException; 1732 1733 /** 1734 * Removes all the layouts where uuid = ? from the database. 1735 * 1736 * @param uuid the uuid 1737 * @throws SystemException if a system exception occurred 1738 */ 1739 public void removeByUuid(java.lang.String uuid) 1740 throws com.liferay.portal.kernel.exception.SystemException; 1741 1742 /** 1743 * Removes the layout where uuid = ? and groupId = ? from the database. 1744 * 1745 * @param uuid the uuid 1746 * @param groupId the group ID 1747 * @return the layout that was removed 1748 * @throws SystemException if a system exception occurred 1749 */ 1750 public com.liferay.portal.model.Layout removeByUUID_G( 1751 java.lang.String uuid, long groupId) 1752 throws com.liferay.portal.NoSuchLayoutException, 1753 com.liferay.portal.kernel.exception.SystemException; 1754 1755 /** 1756 * Removes all the layouts where uuid = ? and companyId = ? from the database. 1757 * 1758 * @param uuid the uuid 1759 * @param companyId the company ID 1760 * @throws SystemException if a system exception occurred 1761 */ 1762 public void removeByUuid_C(java.lang.String uuid, long companyId) 1763 throws com.liferay.portal.kernel.exception.SystemException; 1764 1765 /** 1766 * Removes all the layouts where groupId = ? from the database. 1767 * 1768 * @param groupId the group ID 1769 * @throws SystemException if a system exception occurred 1770 */ 1771 public void removeByGroupId(long groupId) 1772 throws com.liferay.portal.kernel.exception.SystemException; 1773 1774 /** 1775 * Removes all the layouts where companyId = ? from the database. 1776 * 1777 * @param companyId the company ID 1778 * @throws SystemException if a system exception occurred 1779 */ 1780 public void removeByCompanyId(long companyId) 1781 throws com.liferay.portal.kernel.exception.SystemException; 1782 1783 /** 1784 * Removes the layout where iconImageId = ? from the database. 1785 * 1786 * @param iconImageId the icon image ID 1787 * @return the layout that was removed 1788 * @throws SystemException if a system exception occurred 1789 */ 1790 public com.liferay.portal.model.Layout removeByIconImageId(long iconImageId) 1791 throws com.liferay.portal.NoSuchLayoutException, 1792 com.liferay.portal.kernel.exception.SystemException; 1793 1794 /** 1795 * Removes all the layouts where layoutPrototypeUuid = ? from the database. 1796 * 1797 * @param layoutPrototypeUuid the layout prototype uuid 1798 * @throws SystemException if a system exception occurred 1799 */ 1800 public void removeByLayoutPrototypeUuid( 1801 java.lang.String layoutPrototypeUuid) 1802 throws com.liferay.portal.kernel.exception.SystemException; 1803 1804 /** 1805 * Removes all the layouts where sourcePrototypeLayoutUuid = ? from the database. 1806 * 1807 * @param sourcePrototypeLayoutUuid the source prototype layout uuid 1808 * @throws SystemException if a system exception occurred 1809 */ 1810 public void removeBySourcePrototypeLayoutUuid( 1811 java.lang.String sourcePrototypeLayoutUuid) 1812 throws com.liferay.portal.kernel.exception.SystemException; 1813 1814 /** 1815 * Removes all the layouts where groupId = ? and privateLayout = ? from the database. 1816 * 1817 * @param groupId the group ID 1818 * @param privateLayout the private layout 1819 * @throws SystemException if a system exception occurred 1820 */ 1821 public void removeByG_P(long groupId, boolean privateLayout) 1822 throws com.liferay.portal.kernel.exception.SystemException; 1823 1824 /** 1825 * Removes the layout where groupId = ? and privateLayout = ? and layoutId = ? from the database. 1826 * 1827 * @param groupId the group ID 1828 * @param privateLayout the private layout 1829 * @param layoutId the layout ID 1830 * @return the layout that was removed 1831 * @throws SystemException if a system exception occurred 1832 */ 1833 public com.liferay.portal.model.Layout removeByG_P_L(long groupId, 1834 boolean privateLayout, long layoutId) 1835 throws com.liferay.portal.NoSuchLayoutException, 1836 com.liferay.portal.kernel.exception.SystemException; 1837 1838 /** 1839 * Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? from the database. 1840 * 1841 * @param groupId the group ID 1842 * @param privateLayout the private layout 1843 * @param parentLayoutId the parent layout ID 1844 * @throws SystemException if a system exception occurred 1845 */ 1846 public void removeByG_P_P(long groupId, boolean privateLayout, 1847 long parentLayoutId) 1848 throws com.liferay.portal.kernel.exception.SystemException; 1849 1850 /** 1851 * Removes the layout where groupId = ? and privateLayout = ? and friendlyURL = ? from the database. 1852 * 1853 * @param groupId the group ID 1854 * @param privateLayout the private layout 1855 * @param friendlyURL the friendly u r l 1856 * @return the layout that was removed 1857 * @throws SystemException if a system exception occurred 1858 */ 1859 public com.liferay.portal.model.Layout removeByG_P_F(long groupId, 1860 boolean privateLayout, java.lang.String friendlyURL) 1861 throws com.liferay.portal.NoSuchLayoutException, 1862 com.liferay.portal.kernel.exception.SystemException; 1863 1864 /** 1865 * Removes all the layouts where groupId = ? and privateLayout = ? and type = ? from the database. 1866 * 1867 * @param groupId the group ID 1868 * @param privateLayout the private layout 1869 * @param type the type 1870 * @throws SystemException if a system exception occurred 1871 */ 1872 public void removeByG_P_T(long groupId, boolean privateLayout, 1873 java.lang.String type) 1874 throws com.liferay.portal.kernel.exception.SystemException; 1875 1876 /** 1877 * Removes the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? from the database. 1878 * 1879 * @param groupId the group ID 1880 * @param privateLayout the private layout 1881 * @param sourcePrototypeLayoutUuid the source prototype layout uuid 1882 * @return the layout that was removed 1883 * @throws SystemException if a system exception occurred 1884 */ 1885 public com.liferay.portal.model.Layout removeByG_P_SPLU(long groupId, 1886 boolean privateLayout, java.lang.String sourcePrototypeLayoutUuid) 1887 throws com.liferay.portal.NoSuchLayoutException, 1888 com.liferay.portal.kernel.exception.SystemException; 1889 1890 /** 1891 * Removes all the layouts from the database. 1892 * 1893 * @throws SystemException if a system exception occurred 1894 */ 1895 public void removeAll() 1896 throws com.liferay.portal.kernel.exception.SystemException; 1897 1898 /** 1899 * Returns the number of layouts where uuid = ?. 1900 * 1901 * @param uuid the uuid 1902 * @return the number of matching layouts 1903 * @throws SystemException if a system exception occurred 1904 */ 1905 public int countByUuid(java.lang.String uuid) 1906 throws com.liferay.portal.kernel.exception.SystemException; 1907 1908 /** 1909 * Returns the number of layouts where uuid = ? and groupId = ?. 1910 * 1911 * @param uuid the uuid 1912 * @param groupId the group ID 1913 * @return the number of matching layouts 1914 * @throws SystemException if a system exception occurred 1915 */ 1916 public int countByUUID_G(java.lang.String uuid, long groupId) 1917 throws com.liferay.portal.kernel.exception.SystemException; 1918 1919 /** 1920 * Returns the number of layouts where uuid = ? and companyId = ?. 1921 * 1922 * @param uuid the uuid 1923 * @param companyId the company ID 1924 * @return the number of matching layouts 1925 * @throws SystemException if a system exception occurred 1926 */ 1927 public int countByUuid_C(java.lang.String uuid, long companyId) 1928 throws com.liferay.portal.kernel.exception.SystemException; 1929 1930 /** 1931 * Returns the number of layouts where groupId = ?. 1932 * 1933 * @param groupId the group ID 1934 * @return the number of matching layouts 1935 * @throws SystemException if a system exception occurred 1936 */ 1937 public int countByGroupId(long groupId) 1938 throws com.liferay.portal.kernel.exception.SystemException; 1939 1940 /** 1941 * Returns the number of layouts that the user has permission to view where groupId = ?. 1942 * 1943 * @param groupId the group ID 1944 * @return the number of matching layouts that the user has permission to view 1945 * @throws SystemException if a system exception occurred 1946 */ 1947 public int filterCountByGroupId(long groupId) 1948 throws com.liferay.portal.kernel.exception.SystemException; 1949 1950 /** 1951 * Returns the number of layouts where companyId = ?. 1952 * 1953 * @param companyId the company ID 1954 * @return the number of matching layouts 1955 * @throws SystemException if a system exception occurred 1956 */ 1957 public int countByCompanyId(long companyId) 1958 throws com.liferay.portal.kernel.exception.SystemException; 1959 1960 /** 1961 * Returns the number of layouts where iconImageId = ?. 1962 * 1963 * @param iconImageId the icon image ID 1964 * @return the number of matching layouts 1965 * @throws SystemException if a system exception occurred 1966 */ 1967 public int countByIconImageId(long iconImageId) 1968 throws com.liferay.portal.kernel.exception.SystemException; 1969 1970 /** 1971 * Returns the number of layouts where layoutPrototypeUuid = ?. 1972 * 1973 * @param layoutPrototypeUuid the layout prototype uuid 1974 * @return the number of matching layouts 1975 * @throws SystemException if a system exception occurred 1976 */ 1977 public int countByLayoutPrototypeUuid(java.lang.String layoutPrototypeUuid) 1978 throws com.liferay.portal.kernel.exception.SystemException; 1979 1980 /** 1981 * Returns the number of layouts where sourcePrototypeLayoutUuid = ?. 1982 * 1983 * @param sourcePrototypeLayoutUuid the source prototype layout uuid 1984 * @return the number of matching layouts 1985 * @throws SystemException if a system exception occurred 1986 */ 1987 public int countBySourcePrototypeLayoutUuid( 1988 java.lang.String sourcePrototypeLayoutUuid) 1989 throws com.liferay.portal.kernel.exception.SystemException; 1990 1991 /** 1992 * Returns the number of layouts where groupId = ? and privateLayout = ?. 1993 * 1994 * @param groupId the group ID 1995 * @param privateLayout the private layout 1996 * @return the number of matching layouts 1997 * @throws SystemException if a system exception occurred 1998 */ 1999 public int countByG_P(long groupId, boolean privateLayout) 2000 throws com.liferay.portal.kernel.exception.SystemException; 2001 2002 /** 2003 * Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ?. 2004 * 2005 * @param groupId the group ID 2006 * @param privateLayout the private layout 2007 * @return the number of matching layouts that the user has permission to view 2008 * @throws SystemException if a system exception occurred 2009 */ 2010 public int filterCountByG_P(long groupId, boolean privateLayout) 2011 throws com.liferay.portal.kernel.exception.SystemException; 2012 2013 /** 2014 * Returns the number of layouts where groupId = ? and privateLayout = ? and layoutId = ?. 2015 * 2016 * @param groupId the group ID 2017 * @param privateLayout the private layout 2018 * @param layoutId the layout ID 2019 * @return the number of matching layouts 2020 * @throws SystemException if a system exception occurred 2021 */ 2022 public int countByG_P_L(long groupId, boolean privateLayout, long layoutId) 2023 throws com.liferay.portal.kernel.exception.SystemException; 2024 2025 /** 2026 * Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?. 2027 * 2028 * @param groupId the group ID 2029 * @param privateLayout the private layout 2030 * @param parentLayoutId the parent layout ID 2031 * @return the number of matching layouts 2032 * @throws SystemException if a system exception occurred 2033 */ 2034 public int countByG_P_P(long groupId, boolean privateLayout, 2035 long parentLayoutId) 2036 throws com.liferay.portal.kernel.exception.SystemException; 2037 2038 /** 2039 * Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?. 2040 * 2041 * @param groupId the group ID 2042 * @param privateLayout the private layout 2043 * @param parentLayoutId the parent layout ID 2044 * @return the number of matching layouts that the user has permission to view 2045 * @throws SystemException if a system exception occurred 2046 */ 2047 public int filterCountByG_P_P(long groupId, boolean privateLayout, 2048 long parentLayoutId) 2049 throws com.liferay.portal.kernel.exception.SystemException; 2050 2051 /** 2052 * Returns the number of layouts where groupId = ? and privateLayout = ? and friendlyURL = ?. 2053 * 2054 * @param groupId the group ID 2055 * @param privateLayout the private layout 2056 * @param friendlyURL the friendly u r l 2057 * @return the number of matching layouts 2058 * @throws SystemException if a system exception occurred 2059 */ 2060 public int countByG_P_F(long groupId, boolean privateLayout, 2061 java.lang.String friendlyURL) 2062 throws com.liferay.portal.kernel.exception.SystemException; 2063 2064 /** 2065 * Returns the number of layouts where groupId = ? and privateLayout = ? and type = ?. 2066 * 2067 * @param groupId the group ID 2068 * @param privateLayout the private layout 2069 * @param type the type 2070 * @return the number of matching layouts 2071 * @throws SystemException if a system exception occurred 2072 */ 2073 public int countByG_P_T(long groupId, boolean privateLayout, 2074 java.lang.String type) 2075 throws com.liferay.portal.kernel.exception.SystemException; 2076 2077 /** 2078 * Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?. 2079 * 2080 * @param groupId the group ID 2081 * @param privateLayout the private layout 2082 * @param type the type 2083 * @return the number of matching layouts that the user has permission to view 2084 * @throws SystemException if a system exception occurred 2085 */ 2086 public int filterCountByG_P_T(long groupId, boolean privateLayout, 2087 java.lang.String type) 2088 throws com.liferay.portal.kernel.exception.SystemException; 2089 2090 /** 2091 * Returns the number of layouts where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ?. 2092 * 2093 * @param groupId the group ID 2094 * @param privateLayout the private layout 2095 * @param sourcePrototypeLayoutUuid the source prototype layout uuid 2096 * @return the number of matching layouts 2097 * @throws SystemException if a system exception occurred 2098 */ 2099 public int countByG_P_SPLU(long groupId, boolean privateLayout, 2100 java.lang.String sourcePrototypeLayoutUuid) 2101 throws com.liferay.portal.kernel.exception.SystemException; 2102 2103 /** 2104 * Returns the number of layouts. 2105 * 2106 * @return the number of layouts 2107 * @throws SystemException if a system exception occurred 2108 */ 2109 public int countAll() 2110 throws com.liferay.portal.kernel.exception.SystemException; 2111 }