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