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.LayoutPrototype; 018 019 /** 020 * The persistence interface for the layout prototype 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 LayoutPrototypePersistenceImpl 028 * @see LayoutPrototypeUtil 029 * @generated 030 */ 031 public interface LayoutPrototypePersistence extends BasePersistence<LayoutPrototype> { 032 /* 033 * NOTE FOR DEVELOPERS: 034 * 035 * Never modify or reference this interface directly. Always use {@link LayoutPrototypeUtil} to access the layout prototype persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 036 */ 037 038 /** 039 * Caches the layout prototype in the entity cache if it is enabled. 040 * 041 * @param layoutPrototype the layout prototype 042 */ 043 public void cacheResult( 044 com.liferay.portal.model.LayoutPrototype layoutPrototype); 045 046 /** 047 * Caches the layout prototypes in the entity cache if it is enabled. 048 * 049 * @param layoutPrototypes the layout prototypes 050 */ 051 public void cacheResult( 052 java.util.List<com.liferay.portal.model.LayoutPrototype> layoutPrototypes); 053 054 /** 055 * Creates a new layout prototype with the primary key. Does not add the layout prototype to the database. 056 * 057 * @param layoutPrototypeId the primary key for the new layout prototype 058 * @return the new layout prototype 059 */ 060 public com.liferay.portal.model.LayoutPrototype create( 061 long layoutPrototypeId); 062 063 /** 064 * Removes the layout prototype with the primary key from the database. Also notifies the appropriate model listeners. 065 * 066 * @param layoutPrototypeId the primary key of the layout prototype 067 * @return the layout prototype that was removed 068 * @throws com.liferay.portal.NoSuchLayoutPrototypeException if a layout prototype with the primary key could not be found 069 * @throws SystemException if a system exception occurred 070 */ 071 public com.liferay.portal.model.LayoutPrototype remove( 072 long layoutPrototypeId) 073 throws com.liferay.portal.NoSuchLayoutPrototypeException, 074 com.liferay.portal.kernel.exception.SystemException; 075 076 public com.liferay.portal.model.LayoutPrototype updateImpl( 077 com.liferay.portal.model.LayoutPrototype layoutPrototype) 078 throws com.liferay.portal.kernel.exception.SystemException; 079 080 /** 081 * Returns the layout prototype with the primary key or throws a {@link com.liferay.portal.NoSuchLayoutPrototypeException} if it could not be found. 082 * 083 * @param layoutPrototypeId the primary key of the layout prototype 084 * @return the layout prototype 085 * @throws com.liferay.portal.NoSuchLayoutPrototypeException if a layout prototype with the primary key could not be found 086 * @throws SystemException if a system exception occurred 087 */ 088 public com.liferay.portal.model.LayoutPrototype findByPrimaryKey( 089 long layoutPrototypeId) 090 throws com.liferay.portal.NoSuchLayoutPrototypeException, 091 com.liferay.portal.kernel.exception.SystemException; 092 093 /** 094 * Returns the layout prototype with the primary key or returns <code>null</code> if it could not be found. 095 * 096 * @param layoutPrototypeId the primary key of the layout prototype 097 * @return the layout prototype, or <code>null</code> if a layout prototype with the primary key could not be found 098 * @throws SystemException if a system exception occurred 099 */ 100 public com.liferay.portal.model.LayoutPrototype fetchByPrimaryKey( 101 long layoutPrototypeId) 102 throws com.liferay.portal.kernel.exception.SystemException; 103 104 /** 105 * Returns all the layout prototypes where uuid = ?. 106 * 107 * @param uuid the uuid 108 * @return the matching layout prototypes 109 * @throws SystemException if a system exception occurred 110 */ 111 public java.util.List<com.liferay.portal.model.LayoutPrototype> findByUuid( 112 java.lang.String uuid) 113 throws com.liferay.portal.kernel.exception.SystemException; 114 115 /** 116 * Returns a range of all the layout prototypes where uuid = ?. 117 * 118 * <p> 119 * 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. 120 * </p> 121 * 122 * @param uuid the uuid 123 * @param start the lower bound of the range of layout prototypes 124 * @param end the upper bound of the range of layout prototypes (not inclusive) 125 * @return the range of matching layout prototypes 126 * @throws SystemException if a system exception occurred 127 */ 128 public java.util.List<com.liferay.portal.model.LayoutPrototype> findByUuid( 129 java.lang.String uuid, int start, int end) 130 throws com.liferay.portal.kernel.exception.SystemException; 131 132 /** 133 * Returns an ordered range of all the layout prototypes where uuid = ?. 134 * 135 * <p> 136 * 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. 137 * </p> 138 * 139 * @param uuid the uuid 140 * @param start the lower bound of the range of layout prototypes 141 * @param end the upper bound of the range of layout prototypes (not inclusive) 142 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 143 * @return the ordered range of matching layout prototypes 144 * @throws SystemException if a system exception occurred 145 */ 146 public java.util.List<com.liferay.portal.model.LayoutPrototype> findByUuid( 147 java.lang.String uuid, int start, int end, 148 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 149 throws com.liferay.portal.kernel.exception.SystemException; 150 151 /** 152 * Returns the first layout prototype in the ordered set where uuid = ?. 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 prototype 157 * @throws com.liferay.portal.NoSuchLayoutPrototypeException if a matching layout prototype could not be found 158 * @throws SystemException if a system exception occurred 159 */ 160 public com.liferay.portal.model.LayoutPrototype findByUuid_First( 161 java.lang.String uuid, 162 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 163 throws com.liferay.portal.NoSuchLayoutPrototypeException, 164 com.liferay.portal.kernel.exception.SystemException; 165 166 /** 167 * Returns the first layout prototype in the ordered set where uuid = ?. 168 * 169 * @param uuid the uuid 170 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 171 * @return the first matching layout prototype, or <code>null</code> if a matching layout prototype could not be found 172 * @throws SystemException if a system exception occurred 173 */ 174 public com.liferay.portal.model.LayoutPrototype fetchByUuid_First( 175 java.lang.String uuid, 176 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 177 throws com.liferay.portal.kernel.exception.SystemException; 178 179 /** 180 * Returns the last layout prototype in the ordered set where uuid = ?. 181 * 182 * @param uuid the uuid 183 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 184 * @return the last matching layout prototype 185 * @throws com.liferay.portal.NoSuchLayoutPrototypeException if a matching layout prototype could not be found 186 * @throws SystemException if a system exception occurred 187 */ 188 public com.liferay.portal.model.LayoutPrototype findByUuid_Last( 189 java.lang.String uuid, 190 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 191 throws com.liferay.portal.NoSuchLayoutPrototypeException, 192 com.liferay.portal.kernel.exception.SystemException; 193 194 /** 195 * Returns the last layout prototype in the ordered set where uuid = ?. 196 * 197 * @param uuid the uuid 198 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 199 * @return the last matching layout prototype, or <code>null</code> if a matching layout prototype could not be found 200 * @throws SystemException if a system exception occurred 201 */ 202 public com.liferay.portal.model.LayoutPrototype fetchByUuid_Last( 203 java.lang.String uuid, 204 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 205 throws com.liferay.portal.kernel.exception.SystemException; 206 207 /** 208 * Returns the layout prototypes before and after the current layout prototype in the ordered set where uuid = ?. 209 * 210 * @param layoutPrototypeId the primary key of the current layout prototype 211 * @param uuid the uuid 212 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 213 * @return the previous, current, and next layout prototype 214 * @throws com.liferay.portal.NoSuchLayoutPrototypeException if a layout prototype with the primary key could not be found 215 * @throws SystemException if a system exception occurred 216 */ 217 public com.liferay.portal.model.LayoutPrototype[] findByUuid_PrevAndNext( 218 long layoutPrototypeId, java.lang.String uuid, 219 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 220 throws com.liferay.portal.NoSuchLayoutPrototypeException, 221 com.liferay.portal.kernel.exception.SystemException; 222 223 /** 224 * Returns all the layout prototypes that the user has permission to view where uuid = ?. 225 * 226 * @param uuid the uuid 227 * @return the matching layout prototypes that the user has permission to view 228 * @throws SystemException if a system exception occurred 229 */ 230 public java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByUuid( 231 java.lang.String uuid) 232 throws com.liferay.portal.kernel.exception.SystemException; 233 234 /** 235 * Returns a range of all the layout prototypes that the user has permission to view where uuid = ?. 236 * 237 * <p> 238 * 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. 239 * </p> 240 * 241 * @param uuid the uuid 242 * @param start the lower bound of the range of layout prototypes 243 * @param end the upper bound of the range of layout prototypes (not inclusive) 244 * @return the range of matching layout prototypes that the user has permission to view 245 * @throws SystemException if a system exception occurred 246 */ 247 public java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByUuid( 248 java.lang.String uuid, int start, int end) 249 throws com.liferay.portal.kernel.exception.SystemException; 250 251 /** 252 * Returns an ordered range of all the layout prototypes that the user has permissions to view where uuid = ?. 253 * 254 * <p> 255 * 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. 256 * </p> 257 * 258 * @param uuid the uuid 259 * @param start the lower bound of the range of layout prototypes 260 * @param end the upper bound of the range of layout prototypes (not inclusive) 261 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 262 * @return the ordered range of matching layout prototypes that the user has permission to view 263 * @throws SystemException if a system exception occurred 264 */ 265 public java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByUuid( 266 java.lang.String uuid, int start, int end, 267 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 268 throws com.liferay.portal.kernel.exception.SystemException; 269 270 /** 271 * Returns the layout prototypes before and after the current layout prototype in the ordered set of layout prototypes that the user has permission to view where uuid = ?. 272 * 273 * @param layoutPrototypeId the primary key of the current layout prototype 274 * @param uuid the uuid 275 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 276 * @return the previous, current, and next layout prototype 277 * @throws com.liferay.portal.NoSuchLayoutPrototypeException if a layout prototype with the primary key could not be found 278 * @throws SystemException if a system exception occurred 279 */ 280 public com.liferay.portal.model.LayoutPrototype[] filterFindByUuid_PrevAndNext( 281 long layoutPrototypeId, java.lang.String uuid, 282 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 283 throws com.liferay.portal.NoSuchLayoutPrototypeException, 284 com.liferay.portal.kernel.exception.SystemException; 285 286 /** 287 * Returns all the layout prototypes where uuid = ? and companyId = ?. 288 * 289 * @param uuid the uuid 290 * @param companyId the company ID 291 * @return the matching layout prototypes 292 * @throws SystemException if a system exception occurred 293 */ 294 public java.util.List<com.liferay.portal.model.LayoutPrototype> findByUuid_C( 295 java.lang.String uuid, long companyId) 296 throws com.liferay.portal.kernel.exception.SystemException; 297 298 /** 299 * Returns a range of all the layout prototypes where uuid = ? and companyId = ?. 300 * 301 * <p> 302 * 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. 303 * </p> 304 * 305 * @param uuid the uuid 306 * @param companyId the company ID 307 * @param start the lower bound of the range of layout prototypes 308 * @param end the upper bound of the range of layout prototypes (not inclusive) 309 * @return the range of matching layout prototypes 310 * @throws SystemException if a system exception occurred 311 */ 312 public java.util.List<com.liferay.portal.model.LayoutPrototype> findByUuid_C( 313 java.lang.String uuid, long companyId, int start, int end) 314 throws com.liferay.portal.kernel.exception.SystemException; 315 316 /** 317 * Returns an ordered range of all the layout prototypes where uuid = ? and companyId = ?. 318 * 319 * <p> 320 * 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. 321 * </p> 322 * 323 * @param uuid the uuid 324 * @param companyId the company ID 325 * @param start the lower bound of the range of layout prototypes 326 * @param end the upper bound of the range of layout prototypes (not inclusive) 327 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 328 * @return the ordered range of matching layout prototypes 329 * @throws SystemException if a system exception occurred 330 */ 331 public java.util.List<com.liferay.portal.model.LayoutPrototype> findByUuid_C( 332 java.lang.String uuid, long companyId, int start, int end, 333 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 334 throws com.liferay.portal.kernel.exception.SystemException; 335 336 /** 337 * Returns the first layout prototype in the ordered set where uuid = ? and companyId = ?. 338 * 339 * @param uuid the uuid 340 * @param companyId the company ID 341 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 342 * @return the first matching layout prototype 343 * @throws com.liferay.portal.NoSuchLayoutPrototypeException if a matching layout prototype could not be found 344 * @throws SystemException if a system exception occurred 345 */ 346 public com.liferay.portal.model.LayoutPrototype findByUuid_C_First( 347 java.lang.String uuid, long companyId, 348 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 349 throws com.liferay.portal.NoSuchLayoutPrototypeException, 350 com.liferay.portal.kernel.exception.SystemException; 351 352 /** 353 * Returns the first layout prototype in the ordered set where uuid = ? and companyId = ?. 354 * 355 * @param uuid the uuid 356 * @param companyId the company ID 357 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 358 * @return the first matching layout prototype, or <code>null</code> if a matching layout prototype could not be found 359 * @throws SystemException if a system exception occurred 360 */ 361 public com.liferay.portal.model.LayoutPrototype fetchByUuid_C_First( 362 java.lang.String uuid, long companyId, 363 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 364 throws com.liferay.portal.kernel.exception.SystemException; 365 366 /** 367 * Returns the last layout prototype in the ordered set where uuid = ? and companyId = ?. 368 * 369 * @param uuid the uuid 370 * @param companyId the company ID 371 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 372 * @return the last matching layout prototype 373 * @throws com.liferay.portal.NoSuchLayoutPrototypeException if a matching layout prototype could not be found 374 * @throws SystemException if a system exception occurred 375 */ 376 public com.liferay.portal.model.LayoutPrototype findByUuid_C_Last( 377 java.lang.String uuid, long companyId, 378 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 379 throws com.liferay.portal.NoSuchLayoutPrototypeException, 380 com.liferay.portal.kernel.exception.SystemException; 381 382 /** 383 * Returns the last layout prototype in the ordered set where uuid = ? and companyId = ?. 384 * 385 * @param uuid the uuid 386 * @param companyId the company ID 387 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 388 * @return the last matching layout prototype, or <code>null</code> if a matching layout prototype could not be found 389 * @throws SystemException if a system exception occurred 390 */ 391 public com.liferay.portal.model.LayoutPrototype fetchByUuid_C_Last( 392 java.lang.String uuid, long companyId, 393 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 394 throws com.liferay.portal.kernel.exception.SystemException; 395 396 /** 397 * Returns the layout prototypes before and after the current layout prototype in the ordered set where uuid = ? and companyId = ?. 398 * 399 * @param layoutPrototypeId the primary key of the current layout prototype 400 * @param uuid the uuid 401 * @param companyId the company ID 402 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 403 * @return the previous, current, and next layout prototype 404 * @throws com.liferay.portal.NoSuchLayoutPrototypeException if a layout prototype with the primary key could not be found 405 * @throws SystemException if a system exception occurred 406 */ 407 public com.liferay.portal.model.LayoutPrototype[] findByUuid_C_PrevAndNext( 408 long layoutPrototypeId, java.lang.String uuid, long companyId, 409 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 410 throws com.liferay.portal.NoSuchLayoutPrototypeException, 411 com.liferay.portal.kernel.exception.SystemException; 412 413 /** 414 * Returns all the layout prototypes that the user has permission to view where uuid = ? and companyId = ?. 415 * 416 * @param uuid the uuid 417 * @param companyId the company ID 418 * @return the matching layout prototypes that the user has permission to view 419 * @throws SystemException if a system exception occurred 420 */ 421 public java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByUuid_C( 422 java.lang.String uuid, long companyId) 423 throws com.liferay.portal.kernel.exception.SystemException; 424 425 /** 426 * Returns a range of all the layout prototypes that the user has permission to view where uuid = ? and companyId = ?. 427 * 428 * <p> 429 * 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. 430 * </p> 431 * 432 * @param uuid the uuid 433 * @param companyId the company ID 434 * @param start the lower bound of the range of layout prototypes 435 * @param end the upper bound of the range of layout prototypes (not inclusive) 436 * @return the range of matching layout prototypes that the user has permission to view 437 * @throws SystemException if a system exception occurred 438 */ 439 public java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByUuid_C( 440 java.lang.String uuid, long companyId, int start, int end) 441 throws com.liferay.portal.kernel.exception.SystemException; 442 443 /** 444 * Returns an ordered range of all the layout prototypes that the user has permissions to view where uuid = ? and companyId = ?. 445 * 446 * <p> 447 * 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. 448 * </p> 449 * 450 * @param uuid the uuid 451 * @param companyId the company ID 452 * @param start the lower bound of the range of layout prototypes 453 * @param end the upper bound of the range of layout prototypes (not inclusive) 454 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 455 * @return the ordered range of matching layout prototypes that the user has permission to view 456 * @throws SystemException if a system exception occurred 457 */ 458 public java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByUuid_C( 459 java.lang.String uuid, long companyId, int start, int end, 460 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 461 throws com.liferay.portal.kernel.exception.SystemException; 462 463 /** 464 * Returns the layout prototypes before and after the current layout prototype in the ordered set of layout prototypes that the user has permission to view where uuid = ? and companyId = ?. 465 * 466 * @param layoutPrototypeId the primary key of the current layout prototype 467 * @param uuid the uuid 468 * @param companyId the company ID 469 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 470 * @return the previous, current, and next layout prototype 471 * @throws com.liferay.portal.NoSuchLayoutPrototypeException if a layout prototype with the primary key could not be found 472 * @throws SystemException if a system exception occurred 473 */ 474 public com.liferay.portal.model.LayoutPrototype[] filterFindByUuid_C_PrevAndNext( 475 long layoutPrototypeId, java.lang.String uuid, long companyId, 476 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 477 throws com.liferay.portal.NoSuchLayoutPrototypeException, 478 com.liferay.portal.kernel.exception.SystemException; 479 480 /** 481 * Returns all the layout prototypes where companyId = ?. 482 * 483 * @param companyId the company ID 484 * @return the matching layout prototypes 485 * @throws SystemException if a system exception occurred 486 */ 487 public java.util.List<com.liferay.portal.model.LayoutPrototype> findByCompanyId( 488 long companyId) 489 throws com.liferay.portal.kernel.exception.SystemException; 490 491 /** 492 * Returns a range of all the layout prototypes where companyId = ?. 493 * 494 * <p> 495 * 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. 496 * </p> 497 * 498 * @param companyId the company ID 499 * @param start the lower bound of the range of layout prototypes 500 * @param end the upper bound of the range of layout prototypes (not inclusive) 501 * @return the range of matching layout prototypes 502 * @throws SystemException if a system exception occurred 503 */ 504 public java.util.List<com.liferay.portal.model.LayoutPrototype> findByCompanyId( 505 long companyId, int start, int end) 506 throws com.liferay.portal.kernel.exception.SystemException; 507 508 /** 509 * Returns an ordered range of all the layout prototypes where companyId = ?. 510 * 511 * <p> 512 * 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. 513 * </p> 514 * 515 * @param companyId the company ID 516 * @param start the lower bound of the range of layout prototypes 517 * @param end the upper bound of the range of layout prototypes (not inclusive) 518 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 519 * @return the ordered range of matching layout prototypes 520 * @throws SystemException if a system exception occurred 521 */ 522 public java.util.List<com.liferay.portal.model.LayoutPrototype> findByCompanyId( 523 long companyId, int start, int end, 524 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 525 throws com.liferay.portal.kernel.exception.SystemException; 526 527 /** 528 * Returns the first layout prototype in the ordered set where companyId = ?. 529 * 530 * @param companyId the company ID 531 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 532 * @return the first matching layout prototype 533 * @throws com.liferay.portal.NoSuchLayoutPrototypeException if a matching layout prototype could not be found 534 * @throws SystemException if a system exception occurred 535 */ 536 public com.liferay.portal.model.LayoutPrototype findByCompanyId_First( 537 long companyId, 538 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 539 throws com.liferay.portal.NoSuchLayoutPrototypeException, 540 com.liferay.portal.kernel.exception.SystemException; 541 542 /** 543 * Returns the first layout prototype in the ordered set where companyId = ?. 544 * 545 * @param companyId the company ID 546 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 547 * @return the first matching layout prototype, or <code>null</code> if a matching layout prototype could not be found 548 * @throws SystemException if a system exception occurred 549 */ 550 public com.liferay.portal.model.LayoutPrototype fetchByCompanyId_First( 551 long companyId, 552 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 553 throws com.liferay.portal.kernel.exception.SystemException; 554 555 /** 556 * Returns the last layout prototype in the ordered set where companyId = ?. 557 * 558 * @param companyId the company ID 559 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 560 * @return the last matching layout prototype 561 * @throws com.liferay.portal.NoSuchLayoutPrototypeException if a matching layout prototype could not be found 562 * @throws SystemException if a system exception occurred 563 */ 564 public com.liferay.portal.model.LayoutPrototype findByCompanyId_Last( 565 long companyId, 566 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 567 throws com.liferay.portal.NoSuchLayoutPrototypeException, 568 com.liferay.portal.kernel.exception.SystemException; 569 570 /** 571 * Returns the last layout prototype in the ordered set where companyId = ?. 572 * 573 * @param companyId the company ID 574 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 575 * @return the last matching layout prototype, or <code>null</code> if a matching layout prototype could not be found 576 * @throws SystemException if a system exception occurred 577 */ 578 public com.liferay.portal.model.LayoutPrototype fetchByCompanyId_Last( 579 long companyId, 580 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 581 throws com.liferay.portal.kernel.exception.SystemException; 582 583 /** 584 * Returns the layout prototypes before and after the current layout prototype in the ordered set where companyId = ?. 585 * 586 * @param layoutPrototypeId the primary key of the current layout prototype 587 * @param companyId the company ID 588 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 589 * @return the previous, current, and next layout prototype 590 * @throws com.liferay.portal.NoSuchLayoutPrototypeException if a layout prototype with the primary key could not be found 591 * @throws SystemException if a system exception occurred 592 */ 593 public com.liferay.portal.model.LayoutPrototype[] findByCompanyId_PrevAndNext( 594 long layoutPrototypeId, long companyId, 595 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 596 throws com.liferay.portal.NoSuchLayoutPrototypeException, 597 com.liferay.portal.kernel.exception.SystemException; 598 599 /** 600 * Returns all the layout prototypes that the user has permission to view where companyId = ?. 601 * 602 * @param companyId the company ID 603 * @return the matching layout prototypes that the user has permission to view 604 * @throws SystemException if a system exception occurred 605 */ 606 public java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByCompanyId( 607 long companyId) 608 throws com.liferay.portal.kernel.exception.SystemException; 609 610 /** 611 * Returns a range of all the layout prototypes that the user has permission to view where companyId = ?. 612 * 613 * <p> 614 * 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. 615 * </p> 616 * 617 * @param companyId the company ID 618 * @param start the lower bound of the range of layout prototypes 619 * @param end the upper bound of the range of layout prototypes (not inclusive) 620 * @return the range of matching layout prototypes that the user has permission to view 621 * @throws SystemException if a system exception occurred 622 */ 623 public java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByCompanyId( 624 long companyId, int start, int end) 625 throws com.liferay.portal.kernel.exception.SystemException; 626 627 /** 628 * Returns an ordered range of all the layout prototypes that the user has permissions to view where companyId = ?. 629 * 630 * <p> 631 * 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. 632 * </p> 633 * 634 * @param companyId the company ID 635 * @param start the lower bound of the range of layout prototypes 636 * @param end the upper bound of the range of layout prototypes (not inclusive) 637 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 638 * @return the ordered range of matching layout prototypes that the user has permission to view 639 * @throws SystemException if a system exception occurred 640 */ 641 public java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByCompanyId( 642 long companyId, int start, int end, 643 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 644 throws com.liferay.portal.kernel.exception.SystemException; 645 646 /** 647 * Returns the layout prototypes before and after the current layout prototype in the ordered set of layout prototypes that the user has permission to view where companyId = ?. 648 * 649 * @param layoutPrototypeId the primary key of the current layout prototype 650 * @param companyId the company ID 651 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 652 * @return the previous, current, and next layout prototype 653 * @throws com.liferay.portal.NoSuchLayoutPrototypeException if a layout prototype with the primary key could not be found 654 * @throws SystemException if a system exception occurred 655 */ 656 public com.liferay.portal.model.LayoutPrototype[] filterFindByCompanyId_PrevAndNext( 657 long layoutPrototypeId, long companyId, 658 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 659 throws com.liferay.portal.NoSuchLayoutPrototypeException, 660 com.liferay.portal.kernel.exception.SystemException; 661 662 /** 663 * Returns all the layout prototypes where companyId = ? and active = ?. 664 * 665 * @param companyId the company ID 666 * @param active the active 667 * @return the matching layout prototypes 668 * @throws SystemException if a system exception occurred 669 */ 670 public java.util.List<com.liferay.portal.model.LayoutPrototype> findByC_A( 671 long companyId, boolean active) 672 throws com.liferay.portal.kernel.exception.SystemException; 673 674 /** 675 * Returns a range of all the layout prototypes where companyId = ? and active = ?. 676 * 677 * <p> 678 * 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. 679 * </p> 680 * 681 * @param companyId the company ID 682 * @param active the active 683 * @param start the lower bound of the range of layout prototypes 684 * @param end the upper bound of the range of layout prototypes (not inclusive) 685 * @return the range of matching layout prototypes 686 * @throws SystemException if a system exception occurred 687 */ 688 public java.util.List<com.liferay.portal.model.LayoutPrototype> findByC_A( 689 long companyId, boolean active, int start, int end) 690 throws com.liferay.portal.kernel.exception.SystemException; 691 692 /** 693 * Returns an ordered range of all the layout prototypes where companyId = ? and active = ?. 694 * 695 * <p> 696 * 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. 697 * </p> 698 * 699 * @param companyId the company ID 700 * @param active the active 701 * @param start the lower bound of the range of layout prototypes 702 * @param end the upper bound of the range of layout prototypes (not inclusive) 703 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 704 * @return the ordered range of matching layout prototypes 705 * @throws SystemException if a system exception occurred 706 */ 707 public java.util.List<com.liferay.portal.model.LayoutPrototype> findByC_A( 708 long companyId, boolean active, int start, int end, 709 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 710 throws com.liferay.portal.kernel.exception.SystemException; 711 712 /** 713 * Returns the first layout prototype in the ordered set where companyId = ? and active = ?. 714 * 715 * @param companyId the company ID 716 * @param active the active 717 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 718 * @return the first matching layout prototype 719 * @throws com.liferay.portal.NoSuchLayoutPrototypeException if a matching layout prototype could not be found 720 * @throws SystemException if a system exception occurred 721 */ 722 public com.liferay.portal.model.LayoutPrototype findByC_A_First( 723 long companyId, boolean active, 724 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 725 throws com.liferay.portal.NoSuchLayoutPrototypeException, 726 com.liferay.portal.kernel.exception.SystemException; 727 728 /** 729 * Returns the first layout prototype in the ordered set where companyId = ? and active = ?. 730 * 731 * @param companyId the company ID 732 * @param active the active 733 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 734 * @return the first matching layout prototype, or <code>null</code> if a matching layout prototype could not be found 735 * @throws SystemException if a system exception occurred 736 */ 737 public com.liferay.portal.model.LayoutPrototype fetchByC_A_First( 738 long companyId, boolean active, 739 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 740 throws com.liferay.portal.kernel.exception.SystemException; 741 742 /** 743 * Returns the last layout prototype in the ordered set where companyId = ? and active = ?. 744 * 745 * @param companyId the company ID 746 * @param active the active 747 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 748 * @return the last matching layout prototype 749 * @throws com.liferay.portal.NoSuchLayoutPrototypeException if a matching layout prototype could not be found 750 * @throws SystemException if a system exception occurred 751 */ 752 public com.liferay.portal.model.LayoutPrototype findByC_A_Last( 753 long companyId, boolean active, 754 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 755 throws com.liferay.portal.NoSuchLayoutPrototypeException, 756 com.liferay.portal.kernel.exception.SystemException; 757 758 /** 759 * Returns the last layout prototype in the ordered set where companyId = ? and active = ?. 760 * 761 * @param companyId the company ID 762 * @param active the active 763 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 764 * @return the last matching layout prototype, or <code>null</code> if a matching layout prototype could not be found 765 * @throws SystemException if a system exception occurred 766 */ 767 public com.liferay.portal.model.LayoutPrototype fetchByC_A_Last( 768 long companyId, boolean active, 769 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 770 throws com.liferay.portal.kernel.exception.SystemException; 771 772 /** 773 * Returns the layout prototypes before and after the current layout prototype in the ordered set where companyId = ? and active = ?. 774 * 775 * @param layoutPrototypeId the primary key of the current layout prototype 776 * @param companyId the company ID 777 * @param active the active 778 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 779 * @return the previous, current, and next layout prototype 780 * @throws com.liferay.portal.NoSuchLayoutPrototypeException if a layout prototype with the primary key could not be found 781 * @throws SystemException if a system exception occurred 782 */ 783 public com.liferay.portal.model.LayoutPrototype[] findByC_A_PrevAndNext( 784 long layoutPrototypeId, long companyId, boolean active, 785 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 786 throws com.liferay.portal.NoSuchLayoutPrototypeException, 787 com.liferay.portal.kernel.exception.SystemException; 788 789 /** 790 * Returns all the layout prototypes that the user has permission to view where companyId = ? and active = ?. 791 * 792 * @param companyId the company ID 793 * @param active the active 794 * @return the matching layout prototypes that the user has permission to view 795 * @throws SystemException if a system exception occurred 796 */ 797 public java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByC_A( 798 long companyId, boolean active) 799 throws com.liferay.portal.kernel.exception.SystemException; 800 801 /** 802 * Returns a range of all the layout prototypes that the user has permission to view where companyId = ? and active = ?. 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 companyId the company ID 809 * @param active the active 810 * @param start the lower bound of the range of layout prototypes 811 * @param end the upper bound of the range of layout prototypes (not inclusive) 812 * @return the range of matching layout prototypes that the user has permission to view 813 * @throws SystemException if a system exception occurred 814 */ 815 public java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByC_A( 816 long companyId, boolean active, int start, int end) 817 throws com.liferay.portal.kernel.exception.SystemException; 818 819 /** 820 * Returns an ordered range of all the layout prototypes that the user has permissions to view where companyId = ? and active = ?. 821 * 822 * <p> 823 * 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. 824 * </p> 825 * 826 * @param companyId the company ID 827 * @param active the active 828 * @param start the lower bound of the range of layout prototypes 829 * @param end the upper bound of the range of layout prototypes (not inclusive) 830 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 831 * @return the ordered range of matching layout prototypes that the user has permission to view 832 * @throws SystemException if a system exception occurred 833 */ 834 public java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByC_A( 835 long companyId, boolean active, int start, int end, 836 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 837 throws com.liferay.portal.kernel.exception.SystemException; 838 839 /** 840 * Returns the layout prototypes before and after the current layout prototype in the ordered set of layout prototypes that the user has permission to view where companyId = ? and active = ?. 841 * 842 * @param layoutPrototypeId the primary key of the current layout prototype 843 * @param companyId the company ID 844 * @param active the active 845 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 846 * @return the previous, current, and next layout prototype 847 * @throws com.liferay.portal.NoSuchLayoutPrototypeException if a layout prototype with the primary key could not be found 848 * @throws SystemException if a system exception occurred 849 */ 850 public com.liferay.portal.model.LayoutPrototype[] filterFindByC_A_PrevAndNext( 851 long layoutPrototypeId, long companyId, boolean active, 852 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 853 throws com.liferay.portal.NoSuchLayoutPrototypeException, 854 com.liferay.portal.kernel.exception.SystemException; 855 856 /** 857 * Returns all the layout prototypes. 858 * 859 * @return the layout prototypes 860 * @throws SystemException if a system exception occurred 861 */ 862 public java.util.List<com.liferay.portal.model.LayoutPrototype> findAll() 863 throws com.liferay.portal.kernel.exception.SystemException; 864 865 /** 866 * Returns a range of all the layout prototypes. 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 start the lower bound of the range of layout prototypes 873 * @param end the upper bound of the range of layout prototypes (not inclusive) 874 * @return the range of layout prototypes 875 * @throws SystemException if a system exception occurred 876 */ 877 public java.util.List<com.liferay.portal.model.LayoutPrototype> findAll( 878 int start, int end) 879 throws com.liferay.portal.kernel.exception.SystemException; 880 881 /** 882 * Returns an ordered range of all the layout prototypes. 883 * 884 * <p> 885 * 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. 886 * </p> 887 * 888 * @param start the lower bound of the range of layout prototypes 889 * @param end the upper bound of the range of layout prototypes (not inclusive) 890 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 891 * @return the ordered range of layout prototypes 892 * @throws SystemException if a system exception occurred 893 */ 894 public java.util.List<com.liferay.portal.model.LayoutPrototype> findAll( 895 int start, int end, 896 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 897 throws com.liferay.portal.kernel.exception.SystemException; 898 899 /** 900 * Removes all the layout prototypes where uuid = ? from the database. 901 * 902 * @param uuid the uuid 903 * @throws SystemException if a system exception occurred 904 */ 905 public void removeByUuid(java.lang.String uuid) 906 throws com.liferay.portal.kernel.exception.SystemException; 907 908 /** 909 * Removes all the layout prototypes where uuid = ? and companyId = ? from the database. 910 * 911 * @param uuid the uuid 912 * @param companyId the company ID 913 * @throws SystemException if a system exception occurred 914 */ 915 public void removeByUuid_C(java.lang.String uuid, long companyId) 916 throws com.liferay.portal.kernel.exception.SystemException; 917 918 /** 919 * Removes all the layout prototypes where companyId = ? from the database. 920 * 921 * @param companyId the company ID 922 * @throws SystemException if a system exception occurred 923 */ 924 public void removeByCompanyId(long companyId) 925 throws com.liferay.portal.kernel.exception.SystemException; 926 927 /** 928 * Removes all the layout prototypes where companyId = ? and active = ? from the database. 929 * 930 * @param companyId the company ID 931 * @param active the active 932 * @throws SystemException if a system exception occurred 933 */ 934 public void removeByC_A(long companyId, boolean active) 935 throws com.liferay.portal.kernel.exception.SystemException; 936 937 /** 938 * Removes all the layout prototypes from the database. 939 * 940 * @throws SystemException if a system exception occurred 941 */ 942 public void removeAll() 943 throws com.liferay.portal.kernel.exception.SystemException; 944 945 /** 946 * Returns the number of layout prototypes where uuid = ?. 947 * 948 * @param uuid the uuid 949 * @return the number of matching layout prototypes 950 * @throws SystemException if a system exception occurred 951 */ 952 public int countByUuid(java.lang.String uuid) 953 throws com.liferay.portal.kernel.exception.SystemException; 954 955 /** 956 * Returns the number of layout prototypes that the user has permission to view where uuid = ?. 957 * 958 * @param uuid the uuid 959 * @return the number of matching layout prototypes that the user has permission to view 960 * @throws SystemException if a system exception occurred 961 */ 962 public int filterCountByUuid(java.lang.String uuid) 963 throws com.liferay.portal.kernel.exception.SystemException; 964 965 /** 966 * Returns the number of layout prototypes where uuid = ? and companyId = ?. 967 * 968 * @param uuid the uuid 969 * @param companyId the company ID 970 * @return the number of matching layout prototypes 971 * @throws SystemException if a system exception occurred 972 */ 973 public int countByUuid_C(java.lang.String uuid, long companyId) 974 throws com.liferay.portal.kernel.exception.SystemException; 975 976 /** 977 * Returns the number of layout prototypes that the user has permission to view where uuid = ? and companyId = ?. 978 * 979 * @param uuid the uuid 980 * @param companyId the company ID 981 * @return the number of matching layout prototypes that the user has permission to view 982 * @throws SystemException if a system exception occurred 983 */ 984 public int filterCountByUuid_C(java.lang.String uuid, long companyId) 985 throws com.liferay.portal.kernel.exception.SystemException; 986 987 /** 988 * Returns the number of layout prototypes where companyId = ?. 989 * 990 * @param companyId the company ID 991 * @return the number of matching layout prototypes 992 * @throws SystemException if a system exception occurred 993 */ 994 public int countByCompanyId(long companyId) 995 throws com.liferay.portal.kernel.exception.SystemException; 996 997 /** 998 * Returns the number of layout prototypes that the user has permission to view where companyId = ?. 999 * 1000 * @param companyId the company ID 1001 * @return the number of matching layout prototypes that the user has permission to view 1002 * @throws SystemException if a system exception occurred 1003 */ 1004 public int filterCountByCompanyId(long companyId) 1005 throws com.liferay.portal.kernel.exception.SystemException; 1006 1007 /** 1008 * Returns the number of layout prototypes where companyId = ? and active = ?. 1009 * 1010 * @param companyId the company ID 1011 * @param active the active 1012 * @return the number of matching layout prototypes 1013 * @throws SystemException if a system exception occurred 1014 */ 1015 public int countByC_A(long companyId, boolean active) 1016 throws com.liferay.portal.kernel.exception.SystemException; 1017 1018 /** 1019 * Returns the number of layout prototypes that the user has permission to view where companyId = ? and active = ?. 1020 * 1021 * @param companyId the company ID 1022 * @param active the active 1023 * @return the number of matching layout prototypes that the user has permission to view 1024 * @throws SystemException if a system exception occurred 1025 */ 1026 public int filterCountByC_A(long companyId, boolean active) 1027 throws com.liferay.portal.kernel.exception.SystemException; 1028 1029 /** 1030 * Returns the number of layout prototypes. 1031 * 1032 * @return the number of layout prototypes 1033 * @throws SystemException if a system exception occurred 1034 */ 1035 public int countAll() 1036 throws com.liferay.portal.kernel.exception.SystemException; 1037 }