001 /** 002 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portal.service.persistence; 016 017 import com.liferay.portal.model.LayoutSetPrototype; 018 019 /** 020 * The persistence interface for the layout set 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 LayoutSetPrototypePersistenceImpl 028 * @see LayoutSetPrototypeUtil 029 * @generated 030 */ 031 public interface LayoutSetPrototypePersistence extends BasePersistence<LayoutSetPrototype> { 032 /* 033 * NOTE FOR DEVELOPERS: 034 * 035 * Never modify or reference this interface directly. Always use {@link LayoutSetPrototypeUtil} to access the layout set prototype persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 036 */ 037 038 /** 039 * Caches the layout set prototype in the entity cache if it is enabled. 040 * 041 * @param layoutSetPrototype the layout set prototype 042 */ 043 public void cacheResult( 044 com.liferay.portal.model.LayoutSetPrototype layoutSetPrototype); 045 046 /** 047 * Caches the layout set prototypes in the entity cache if it is enabled. 048 * 049 * @param layoutSetPrototypes the layout set prototypes 050 */ 051 public void cacheResult( 052 java.util.List<com.liferay.portal.model.LayoutSetPrototype> layoutSetPrototypes); 053 054 /** 055 * Creates a new layout set prototype with the primary key. Does not add the layout set prototype to the database. 056 * 057 * @param layoutSetPrototypeId the primary key for the new layout set prototype 058 * @return the new layout set prototype 059 */ 060 public com.liferay.portal.model.LayoutSetPrototype create( 061 long layoutSetPrototypeId); 062 063 /** 064 * Removes the layout set prototype with the primary key from the database. Also notifies the appropriate model listeners. 065 * 066 * @param layoutSetPrototypeId the primary key of the layout set prototype 067 * @return the layout set prototype that was removed 068 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found 069 * @throws SystemException if a system exception occurred 070 */ 071 public com.liferay.portal.model.LayoutSetPrototype remove( 072 long layoutSetPrototypeId) 073 throws com.liferay.portal.NoSuchLayoutSetPrototypeException, 074 com.liferay.portal.kernel.exception.SystemException; 075 076 public com.liferay.portal.model.LayoutSetPrototype updateImpl( 077 com.liferay.portal.model.LayoutSetPrototype layoutSetPrototype, 078 boolean merge) 079 throws com.liferay.portal.kernel.exception.SystemException; 080 081 /** 082 * Returns the layout set prototype with the primary key or throws a {@link com.liferay.portal.NoSuchLayoutSetPrototypeException} if it could not be found. 083 * 084 * @param layoutSetPrototypeId the primary key of the layout set prototype 085 * @return the layout set prototype 086 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found 087 * @throws SystemException if a system exception occurred 088 */ 089 public com.liferay.portal.model.LayoutSetPrototype findByPrimaryKey( 090 long layoutSetPrototypeId) 091 throws com.liferay.portal.NoSuchLayoutSetPrototypeException, 092 com.liferay.portal.kernel.exception.SystemException; 093 094 /** 095 * Returns the layout set prototype with the primary key or returns <code>null</code> if it could not be found. 096 * 097 * @param layoutSetPrototypeId the primary key of the layout set prototype 098 * @return the layout set prototype, or <code>null</code> if a layout set prototype with the primary key could not be found 099 * @throws SystemException if a system exception occurred 100 */ 101 public com.liferay.portal.model.LayoutSetPrototype fetchByPrimaryKey( 102 long layoutSetPrototypeId) 103 throws com.liferay.portal.kernel.exception.SystemException; 104 105 /** 106 * Returns all the layout set prototypes where uuid = ?. 107 * 108 * @param uuid the uuid 109 * @return the matching layout set prototypes 110 * @throws SystemException if a system exception occurred 111 */ 112 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByUuid( 113 java.lang.String uuid) 114 throws com.liferay.portal.kernel.exception.SystemException; 115 116 /** 117 * Returns a range of all the layout set prototypes where uuid = ?. 118 * 119 * <p> 120 * 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. 121 * </p> 122 * 123 * @param uuid the uuid 124 * @param start the lower bound of the range of layout set prototypes 125 * @param end the upper bound of the range of layout set prototypes (not inclusive) 126 * @return the range of matching layout set prototypes 127 * @throws SystemException if a system exception occurred 128 */ 129 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByUuid( 130 java.lang.String uuid, int start, int end) 131 throws com.liferay.portal.kernel.exception.SystemException; 132 133 /** 134 * Returns an ordered range of all the layout set prototypes where uuid = ?. 135 * 136 * <p> 137 * 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. 138 * </p> 139 * 140 * @param uuid the uuid 141 * @param start the lower bound of the range of layout set prototypes 142 * @param end the upper bound of the range of layout set prototypes (not inclusive) 143 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 144 * @return the ordered range of matching layout set prototypes 145 * @throws SystemException if a system exception occurred 146 */ 147 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByUuid( 148 java.lang.String uuid, int start, int end, 149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 150 throws com.liferay.portal.kernel.exception.SystemException; 151 152 /** 153 * Returns the first layout set prototype in the ordered set where uuid = ?. 154 * 155 * @param uuid the uuid 156 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 157 * @return the first matching layout set prototype 158 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found 159 * @throws SystemException if a system exception occurred 160 */ 161 public com.liferay.portal.model.LayoutSetPrototype findByUuid_First( 162 java.lang.String uuid, 163 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 164 throws com.liferay.portal.NoSuchLayoutSetPrototypeException, 165 com.liferay.portal.kernel.exception.SystemException; 166 167 /** 168 * Returns the first layout set prototype in the ordered set where uuid = ?. 169 * 170 * @param uuid the uuid 171 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 172 * @return the first matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found 173 * @throws SystemException if a system exception occurred 174 */ 175 public com.liferay.portal.model.LayoutSetPrototype fetchByUuid_First( 176 java.lang.String uuid, 177 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 178 throws com.liferay.portal.kernel.exception.SystemException; 179 180 /** 181 * Returns the last layout set prototype in the ordered set where uuid = ?. 182 * 183 * @param uuid the uuid 184 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 185 * @return the last matching layout set prototype 186 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found 187 * @throws SystemException if a system exception occurred 188 */ 189 public com.liferay.portal.model.LayoutSetPrototype findByUuid_Last( 190 java.lang.String uuid, 191 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 192 throws com.liferay.portal.NoSuchLayoutSetPrototypeException, 193 com.liferay.portal.kernel.exception.SystemException; 194 195 /** 196 * Returns the last layout set prototype in the ordered set where uuid = ?. 197 * 198 * @param uuid the uuid 199 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 200 * @return the last matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found 201 * @throws SystemException if a system exception occurred 202 */ 203 public com.liferay.portal.model.LayoutSetPrototype fetchByUuid_Last( 204 java.lang.String uuid, 205 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 206 throws com.liferay.portal.kernel.exception.SystemException; 207 208 /** 209 * Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = ?. 210 * 211 * @param layoutSetPrototypeId the primary key of the current layout set prototype 212 * @param uuid the uuid 213 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 214 * @return the previous, current, and next layout set prototype 215 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found 216 * @throws SystemException if a system exception occurred 217 */ 218 public com.liferay.portal.model.LayoutSetPrototype[] findByUuid_PrevAndNext( 219 long layoutSetPrototypeId, java.lang.String uuid, 220 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 221 throws com.liferay.portal.NoSuchLayoutSetPrototypeException, 222 com.liferay.portal.kernel.exception.SystemException; 223 224 /** 225 * Returns all the layout set prototypes that the user has permission to view where uuid = ?. 226 * 227 * @param uuid the uuid 228 * @return the matching layout set prototypes that the user has permission to view 229 * @throws SystemException if a system exception occurred 230 */ 231 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByUuid( 232 java.lang.String uuid) 233 throws com.liferay.portal.kernel.exception.SystemException; 234 235 /** 236 * Returns a range of all the layout set prototypes that the user has permission to view where uuid = ?. 237 * 238 * <p> 239 * 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. 240 * </p> 241 * 242 * @param uuid the uuid 243 * @param start the lower bound of the range of layout set prototypes 244 * @param end the upper bound of the range of layout set prototypes (not inclusive) 245 * @return the range of matching layout set prototypes that the user has permission to view 246 * @throws SystemException if a system exception occurred 247 */ 248 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByUuid( 249 java.lang.String uuid, int start, int end) 250 throws com.liferay.portal.kernel.exception.SystemException; 251 252 /** 253 * Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ?. 254 * 255 * <p> 256 * 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. 257 * </p> 258 * 259 * @param uuid the uuid 260 * @param start the lower bound of the range of layout set prototypes 261 * @param end the upper bound of the range of layout set prototypes (not inclusive) 262 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 263 * @return the ordered range of matching layout set prototypes that the user has permission to view 264 * @throws SystemException if a system exception occurred 265 */ 266 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByUuid( 267 java.lang.String uuid, int start, int end, 268 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 269 throws com.liferay.portal.kernel.exception.SystemException; 270 271 /** 272 * Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where uuid = ?. 273 * 274 * @param layoutSetPrototypeId the primary key of the current layout set prototype 275 * @param uuid the uuid 276 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 277 * @return the previous, current, and next layout set prototype 278 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found 279 * @throws SystemException if a system exception occurred 280 */ 281 public com.liferay.portal.model.LayoutSetPrototype[] filterFindByUuid_PrevAndNext( 282 long layoutSetPrototypeId, java.lang.String uuid, 283 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 284 throws com.liferay.portal.NoSuchLayoutSetPrototypeException, 285 com.liferay.portal.kernel.exception.SystemException; 286 287 /** 288 * Returns all the layout set prototypes where companyId = ?. 289 * 290 * @param companyId the company ID 291 * @return the matching layout set prototypes 292 * @throws SystemException if a system exception occurred 293 */ 294 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByCompanyId( 295 long companyId) 296 throws com.liferay.portal.kernel.exception.SystemException; 297 298 /** 299 * Returns a range of all the layout set prototypes where 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 companyId the company ID 306 * @param start the lower bound of the range of layout set prototypes 307 * @param end the upper bound of the range of layout set prototypes (not inclusive) 308 * @return the range of matching layout set prototypes 309 * @throws SystemException if a system exception occurred 310 */ 311 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByCompanyId( 312 long companyId, int start, int end) 313 throws com.liferay.portal.kernel.exception.SystemException; 314 315 /** 316 * Returns an ordered range of all the layout set prototypes where companyId = ?. 317 * 318 * <p> 319 * 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. 320 * </p> 321 * 322 * @param companyId the company ID 323 * @param start the lower bound of the range of layout set prototypes 324 * @param end the upper bound of the range of layout set prototypes (not inclusive) 325 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 326 * @return the ordered range of matching layout set prototypes 327 * @throws SystemException if a system exception occurred 328 */ 329 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByCompanyId( 330 long companyId, int start, int end, 331 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 332 throws com.liferay.portal.kernel.exception.SystemException; 333 334 /** 335 * Returns the first layout set prototype in the ordered set where companyId = ?. 336 * 337 * @param companyId the company ID 338 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 339 * @return the first matching layout set prototype 340 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found 341 * @throws SystemException if a system exception occurred 342 */ 343 public com.liferay.portal.model.LayoutSetPrototype findByCompanyId_First( 344 long companyId, 345 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 346 throws com.liferay.portal.NoSuchLayoutSetPrototypeException, 347 com.liferay.portal.kernel.exception.SystemException; 348 349 /** 350 * Returns the first layout set prototype in the ordered set where companyId = ?. 351 * 352 * @param companyId the company ID 353 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 354 * @return the first matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found 355 * @throws SystemException if a system exception occurred 356 */ 357 public com.liferay.portal.model.LayoutSetPrototype fetchByCompanyId_First( 358 long companyId, 359 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 360 throws com.liferay.portal.kernel.exception.SystemException; 361 362 /** 363 * Returns the last layout set prototype in the ordered set where companyId = ?. 364 * 365 * @param companyId the company ID 366 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 367 * @return the last matching layout set prototype 368 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found 369 * @throws SystemException if a system exception occurred 370 */ 371 public com.liferay.portal.model.LayoutSetPrototype findByCompanyId_Last( 372 long companyId, 373 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 374 throws com.liferay.portal.NoSuchLayoutSetPrototypeException, 375 com.liferay.portal.kernel.exception.SystemException; 376 377 /** 378 * Returns the last layout set prototype in the ordered set where companyId = ?. 379 * 380 * @param companyId the company ID 381 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 382 * @return the last matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found 383 * @throws SystemException if a system exception occurred 384 */ 385 public com.liferay.portal.model.LayoutSetPrototype fetchByCompanyId_Last( 386 long companyId, 387 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 388 throws com.liferay.portal.kernel.exception.SystemException; 389 390 /** 391 * Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ?. 392 * 393 * @param layoutSetPrototypeId the primary key of the current layout set prototype 394 * @param companyId the company ID 395 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 396 * @return the previous, current, and next layout set prototype 397 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found 398 * @throws SystemException if a system exception occurred 399 */ 400 public com.liferay.portal.model.LayoutSetPrototype[] findByCompanyId_PrevAndNext( 401 long layoutSetPrototypeId, long companyId, 402 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 403 throws com.liferay.portal.NoSuchLayoutSetPrototypeException, 404 com.liferay.portal.kernel.exception.SystemException; 405 406 /** 407 * Returns all the layout set prototypes that the user has permission to view where companyId = ?. 408 * 409 * @param companyId the company ID 410 * @return the matching layout set prototypes that the user has permission to view 411 * @throws SystemException if a system exception occurred 412 */ 413 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByCompanyId( 414 long companyId) 415 throws com.liferay.portal.kernel.exception.SystemException; 416 417 /** 418 * Returns a range of all the layout set prototypes that the user has permission to view where companyId = ?. 419 * 420 * <p> 421 * 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. 422 * </p> 423 * 424 * @param companyId the company ID 425 * @param start the lower bound of the range of layout set prototypes 426 * @param end the upper bound of the range of layout set prototypes (not inclusive) 427 * @return the range of matching layout set prototypes that the user has permission to view 428 * @throws SystemException if a system exception occurred 429 */ 430 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByCompanyId( 431 long companyId, int start, int end) 432 throws com.liferay.portal.kernel.exception.SystemException; 433 434 /** 435 * Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ?. 436 * 437 * <p> 438 * 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. 439 * </p> 440 * 441 * @param companyId the company ID 442 * @param start the lower bound of the range of layout set prototypes 443 * @param end the upper bound of the range of layout set prototypes (not inclusive) 444 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 445 * @return the ordered range of matching layout set prototypes that the user has permission to view 446 * @throws SystemException if a system exception occurred 447 */ 448 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByCompanyId( 449 long companyId, int start, int end, 450 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 451 throws com.liferay.portal.kernel.exception.SystemException; 452 453 /** 454 * Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where companyId = ?. 455 * 456 * @param layoutSetPrototypeId the primary key of the current layout set prototype 457 * @param companyId the company ID 458 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 459 * @return the previous, current, and next layout set prototype 460 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found 461 * @throws SystemException if a system exception occurred 462 */ 463 public com.liferay.portal.model.LayoutSetPrototype[] filterFindByCompanyId_PrevAndNext( 464 long layoutSetPrototypeId, long companyId, 465 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 466 throws com.liferay.portal.NoSuchLayoutSetPrototypeException, 467 com.liferay.portal.kernel.exception.SystemException; 468 469 /** 470 * Returns all the layout set prototypes where companyId = ? and active = ?. 471 * 472 * @param companyId the company ID 473 * @param active the active 474 * @return the matching layout set prototypes 475 * @throws SystemException if a system exception occurred 476 */ 477 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByC_A( 478 long companyId, boolean active) 479 throws com.liferay.portal.kernel.exception.SystemException; 480 481 /** 482 * Returns a range of all the layout set prototypes where companyId = ? and active = ?. 483 * 484 * <p> 485 * 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. 486 * </p> 487 * 488 * @param companyId the company ID 489 * @param active the active 490 * @param start the lower bound of the range of layout set prototypes 491 * @param end the upper bound of the range of layout set prototypes (not inclusive) 492 * @return the range of matching layout set prototypes 493 * @throws SystemException if a system exception occurred 494 */ 495 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByC_A( 496 long companyId, boolean active, int start, int end) 497 throws com.liferay.portal.kernel.exception.SystemException; 498 499 /** 500 * Returns an ordered range of all the layout set prototypes where companyId = ? and active = ?. 501 * 502 * <p> 503 * 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. 504 * </p> 505 * 506 * @param companyId the company ID 507 * @param active the active 508 * @param start the lower bound of the range of layout set prototypes 509 * @param end the upper bound of the range of layout set prototypes (not inclusive) 510 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 511 * @return the ordered range of matching layout set prototypes 512 * @throws SystemException if a system exception occurred 513 */ 514 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByC_A( 515 long companyId, boolean active, int start, int end, 516 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 517 throws com.liferay.portal.kernel.exception.SystemException; 518 519 /** 520 * Returns the first layout set prototype in the ordered set where companyId = ? and active = ?. 521 * 522 * @param companyId the company ID 523 * @param active the active 524 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 525 * @return the first matching layout set prototype 526 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found 527 * @throws SystemException if a system exception occurred 528 */ 529 public com.liferay.portal.model.LayoutSetPrototype findByC_A_First( 530 long companyId, boolean active, 531 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 532 throws com.liferay.portal.NoSuchLayoutSetPrototypeException, 533 com.liferay.portal.kernel.exception.SystemException; 534 535 /** 536 * Returns the first layout set prototype in the ordered set where companyId = ? and active = ?. 537 * 538 * @param companyId the company ID 539 * @param active the active 540 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 541 * @return the first matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found 542 * @throws SystemException if a system exception occurred 543 */ 544 public com.liferay.portal.model.LayoutSetPrototype fetchByC_A_First( 545 long companyId, boolean active, 546 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 547 throws com.liferay.portal.kernel.exception.SystemException; 548 549 /** 550 * Returns the last layout set prototype in the ordered set where companyId = ? and active = ?. 551 * 552 * @param companyId the company ID 553 * @param active the active 554 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 555 * @return the last matching layout set prototype 556 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a matching layout set prototype could not be found 557 * @throws SystemException if a system exception occurred 558 */ 559 public com.liferay.portal.model.LayoutSetPrototype findByC_A_Last( 560 long companyId, boolean active, 561 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 562 throws com.liferay.portal.NoSuchLayoutSetPrototypeException, 563 com.liferay.portal.kernel.exception.SystemException; 564 565 /** 566 * Returns the last layout set prototype in the ordered set where companyId = ? and active = ?. 567 * 568 * @param companyId the company ID 569 * @param active the active 570 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 571 * @return the last matching layout set prototype, or <code>null</code> if a matching layout set prototype could not be found 572 * @throws SystemException if a system exception occurred 573 */ 574 public com.liferay.portal.model.LayoutSetPrototype fetchByC_A_Last( 575 long companyId, boolean active, 576 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 577 throws com.liferay.portal.kernel.exception.SystemException; 578 579 /** 580 * Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ? and active = ?. 581 * 582 * @param layoutSetPrototypeId the primary key of the current layout set prototype 583 * @param companyId the company ID 584 * @param active the active 585 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 586 * @return the previous, current, and next layout set prototype 587 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found 588 * @throws SystemException if a system exception occurred 589 */ 590 public com.liferay.portal.model.LayoutSetPrototype[] findByC_A_PrevAndNext( 591 long layoutSetPrototypeId, long companyId, boolean active, 592 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 593 throws com.liferay.portal.NoSuchLayoutSetPrototypeException, 594 com.liferay.portal.kernel.exception.SystemException; 595 596 /** 597 * Returns all the layout set prototypes that the user has permission to view where companyId = ? and active = ?. 598 * 599 * @param companyId the company ID 600 * @param active the active 601 * @return the matching layout set prototypes that the user has permission to view 602 * @throws SystemException if a system exception occurred 603 */ 604 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByC_A( 605 long companyId, boolean active) 606 throws com.liferay.portal.kernel.exception.SystemException; 607 608 /** 609 * Returns a range of all the layout set prototypes that the user has permission to view where companyId = ? and active = ?. 610 * 611 * <p> 612 * 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. 613 * </p> 614 * 615 * @param companyId the company ID 616 * @param active the active 617 * @param start the lower bound of the range of layout set prototypes 618 * @param end the upper bound of the range of layout set prototypes (not inclusive) 619 * @return the range of matching layout set prototypes that the user has permission to view 620 * @throws SystemException if a system exception occurred 621 */ 622 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> filterFindByC_A( 623 long companyId, boolean active, int start, int end) 624 throws com.liferay.portal.kernel.exception.SystemException; 625 626 /** 627 * Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ? and active = ?. 628 * 629 * <p> 630 * 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. 631 * </p> 632 * 633 * @param companyId the company ID 634 * @param active the active 635 * @param start the lower bound of the range of layout set prototypes 636 * @param end the upper bound of the range of layout set 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 set 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.LayoutSetPrototype> filterFindByC_A( 642 long companyId, boolean active, 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 set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where companyId = ? and active = ?. 648 * 649 * @param layoutSetPrototypeId the primary key of the current layout set prototype 650 * @param companyId the company ID 651 * @param active the active 652 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 653 * @return the previous, current, and next layout set prototype 654 * @throws com.liferay.portal.NoSuchLayoutSetPrototypeException if a layout set prototype with the primary key could not be found 655 * @throws SystemException if a system exception occurred 656 */ 657 public com.liferay.portal.model.LayoutSetPrototype[] filterFindByC_A_PrevAndNext( 658 long layoutSetPrototypeId, long companyId, boolean active, 659 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 660 throws com.liferay.portal.NoSuchLayoutSetPrototypeException, 661 com.liferay.portal.kernel.exception.SystemException; 662 663 /** 664 * Returns all the layout set prototypes. 665 * 666 * @return the layout set prototypes 667 * @throws SystemException if a system exception occurred 668 */ 669 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findAll() 670 throws com.liferay.portal.kernel.exception.SystemException; 671 672 /** 673 * Returns a range of all the layout set prototypes. 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 start the lower bound of the range of layout set prototypes 680 * @param end the upper bound of the range of layout set prototypes (not inclusive) 681 * @return the range of layout set prototypes 682 * @throws SystemException if a system exception occurred 683 */ 684 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findAll( 685 int start, int end) 686 throws com.liferay.portal.kernel.exception.SystemException; 687 688 /** 689 * Returns an ordered range of all the layout set prototypes. 690 * 691 * <p> 692 * 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. 693 * </p> 694 * 695 * @param start the lower bound of the range of layout set prototypes 696 * @param end the upper bound of the range of layout set prototypes (not inclusive) 697 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 698 * @return the ordered range of layout set prototypes 699 * @throws SystemException if a system exception occurred 700 */ 701 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findAll( 702 int start, int end, 703 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 704 throws com.liferay.portal.kernel.exception.SystemException; 705 706 /** 707 * Removes all the layout set prototypes where uuid = ? from the database. 708 * 709 * @param uuid the uuid 710 * @throws SystemException if a system exception occurred 711 */ 712 public void removeByUuid(java.lang.String uuid) 713 throws com.liferay.portal.kernel.exception.SystemException; 714 715 /** 716 * Removes all the layout set prototypes where companyId = ? from the database. 717 * 718 * @param companyId the company ID 719 * @throws SystemException if a system exception occurred 720 */ 721 public void removeByCompanyId(long companyId) 722 throws com.liferay.portal.kernel.exception.SystemException; 723 724 /** 725 * Removes all the layout set prototypes where companyId = ? and active = ? from the database. 726 * 727 * @param companyId the company ID 728 * @param active the active 729 * @throws SystemException if a system exception occurred 730 */ 731 public void removeByC_A(long companyId, boolean active) 732 throws com.liferay.portal.kernel.exception.SystemException; 733 734 /** 735 * Removes all the layout set prototypes from the database. 736 * 737 * @throws SystemException if a system exception occurred 738 */ 739 public void removeAll() 740 throws com.liferay.portal.kernel.exception.SystemException; 741 742 /** 743 * Returns the number of layout set prototypes where uuid = ?. 744 * 745 * @param uuid the uuid 746 * @return the number of matching layout set prototypes 747 * @throws SystemException if a system exception occurred 748 */ 749 public int countByUuid(java.lang.String uuid) 750 throws com.liferay.portal.kernel.exception.SystemException; 751 752 /** 753 * Returns the number of layout set prototypes that the user has permission to view where uuid = ?. 754 * 755 * @param uuid the uuid 756 * @return the number of matching layout set prototypes that the user has permission to view 757 * @throws SystemException if a system exception occurred 758 */ 759 public int filterCountByUuid(java.lang.String uuid) 760 throws com.liferay.portal.kernel.exception.SystemException; 761 762 /** 763 * Returns the number of layout set prototypes where companyId = ?. 764 * 765 * @param companyId the company ID 766 * @return the number of matching layout set prototypes 767 * @throws SystemException if a system exception occurred 768 */ 769 public int countByCompanyId(long companyId) 770 throws com.liferay.portal.kernel.exception.SystemException; 771 772 /** 773 * Returns the number of layout set prototypes that the user has permission to view where companyId = ?. 774 * 775 * @param companyId the company ID 776 * @return the number of matching layout set prototypes that the user has permission to view 777 * @throws SystemException if a system exception occurred 778 */ 779 public int filterCountByCompanyId(long companyId) 780 throws com.liferay.portal.kernel.exception.SystemException; 781 782 /** 783 * Returns the number of layout set prototypes where companyId = ? and active = ?. 784 * 785 * @param companyId the company ID 786 * @param active the active 787 * @return the number of matching layout set prototypes 788 * @throws SystemException if a system exception occurred 789 */ 790 public int countByC_A(long companyId, boolean active) 791 throws com.liferay.portal.kernel.exception.SystemException; 792 793 /** 794 * Returns the number of layout set prototypes that the user has permission to view where companyId = ? and active = ?. 795 * 796 * @param companyId the company ID 797 * @param active the active 798 * @return the number of matching layout set prototypes that the user has permission to view 799 * @throws SystemException if a system exception occurred 800 */ 801 public int filterCountByC_A(long companyId, boolean active) 802 throws com.liferay.portal.kernel.exception.SystemException; 803 804 /** 805 * Returns the number of layout set prototypes. 806 * 807 * @return the number of layout set prototypes 808 * @throws SystemException if a system exception occurred 809 */ 810 public int countAll() 811 throws com.liferay.portal.kernel.exception.SystemException; 812 }