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.portlet.documentlibrary.service.persistence; 016 017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil; 018 import com.liferay.portal.kernel.dao.orm.DynamicQuery; 019 import com.liferay.portal.kernel.exception.SystemException; 020 import com.liferay.portal.kernel.util.OrderByComparator; 021 import com.liferay.portal.kernel.util.ReferenceRegistry; 022 import com.liferay.portal.service.ServiceContext; 023 024 import com.liferay.portlet.documentlibrary.model.DLFolder; 025 026 import java.util.List; 027 028 /** 029 * The persistence utility for the document library folder service. This utility wraps {@link DLFolderPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. 030 * 031 * <p> 032 * Caching information and settings can be found in <code>portal.properties</code> 033 * </p> 034 * 035 * @author Brian Wing Shun Chan 036 * @see DLFolderPersistence 037 * @see DLFolderPersistenceImpl 038 * @generated 039 */ 040 public class DLFolderUtil { 041 /* 042 * NOTE FOR DEVELOPERS: 043 * 044 * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class. 045 */ 046 047 /** 048 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() 049 */ 050 public static void clearCache() { 051 getPersistence().clearCache(); 052 } 053 054 /** 055 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) 056 */ 057 public static void clearCache(DLFolder dlFolder) { 058 getPersistence().clearCache(dlFolder); 059 } 060 061 /** 062 * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) 063 */ 064 public long countWithDynamicQuery(DynamicQuery dynamicQuery) 065 throws SystemException { 066 return getPersistence().countWithDynamicQuery(dynamicQuery); 067 } 068 069 /** 070 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) 071 */ 072 public static List<DLFolder> findWithDynamicQuery(DynamicQuery dynamicQuery) 073 throws SystemException { 074 return getPersistence().findWithDynamicQuery(dynamicQuery); 075 } 076 077 /** 078 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) 079 */ 080 public static List<DLFolder> findWithDynamicQuery( 081 DynamicQuery dynamicQuery, int start, int end) 082 throws SystemException { 083 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); 084 } 085 086 /** 087 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) 088 */ 089 public static List<DLFolder> findWithDynamicQuery( 090 DynamicQuery dynamicQuery, int start, int end, 091 OrderByComparator orderByComparator) throws SystemException { 092 return getPersistence() 093 .findWithDynamicQuery(dynamicQuery, start, end, 094 orderByComparator); 095 } 096 097 /** 098 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) 099 */ 100 public static DLFolder update(DLFolder dlFolder) throws SystemException { 101 return getPersistence().update(dlFolder); 102 } 103 104 /** 105 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) 106 */ 107 public static DLFolder update(DLFolder dlFolder, 108 ServiceContext serviceContext) throws SystemException { 109 return getPersistence().update(dlFolder, serviceContext); 110 } 111 112 /** 113 * Caches the document library folder in the entity cache if it is enabled. 114 * 115 * @param dlFolder the document library folder 116 */ 117 public static void cacheResult( 118 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder) { 119 getPersistence().cacheResult(dlFolder); 120 } 121 122 /** 123 * Caches the document library folders in the entity cache if it is enabled. 124 * 125 * @param dlFolders the document library folders 126 */ 127 public static void cacheResult( 128 java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> dlFolders) { 129 getPersistence().cacheResult(dlFolders); 130 } 131 132 /** 133 * Creates a new document library folder with the primary key. Does not add the document library folder to the database. 134 * 135 * @param folderId the primary key for the new document library folder 136 * @return the new document library folder 137 */ 138 public static com.liferay.portlet.documentlibrary.model.DLFolder create( 139 long folderId) { 140 return getPersistence().create(folderId); 141 } 142 143 /** 144 * Removes the document library folder with the primary key from the database. Also notifies the appropriate model listeners. 145 * 146 * @param folderId the primary key of the document library folder 147 * @return the document library folder that was removed 148 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 149 * @throws SystemException if a system exception occurred 150 */ 151 public static com.liferay.portlet.documentlibrary.model.DLFolder remove( 152 long folderId) 153 throws com.liferay.portal.kernel.exception.SystemException, 154 com.liferay.portlet.documentlibrary.NoSuchFolderException { 155 return getPersistence().remove(folderId); 156 } 157 158 public static com.liferay.portlet.documentlibrary.model.DLFolder updateImpl( 159 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder) 160 throws com.liferay.portal.kernel.exception.SystemException { 161 return getPersistence().updateImpl(dlFolder); 162 } 163 164 /** 165 * Returns the document library folder with the primary key or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFolderException} if it could not be found. 166 * 167 * @param folderId the primary key of the document library folder 168 * @return the document library folder 169 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 170 * @throws SystemException if a system exception occurred 171 */ 172 public static com.liferay.portlet.documentlibrary.model.DLFolder findByPrimaryKey( 173 long folderId) 174 throws com.liferay.portal.kernel.exception.SystemException, 175 com.liferay.portlet.documentlibrary.NoSuchFolderException { 176 return getPersistence().findByPrimaryKey(folderId); 177 } 178 179 /** 180 * Returns the document library folder with the primary key or returns <code>null</code> if it could not be found. 181 * 182 * @param folderId the primary key of the document library folder 183 * @return the document library folder, or <code>null</code> if a document library folder with the primary key could not be found 184 * @throws SystemException if a system exception occurred 185 */ 186 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByPrimaryKey( 187 long folderId) 188 throws com.liferay.portal.kernel.exception.SystemException { 189 return getPersistence().fetchByPrimaryKey(folderId); 190 } 191 192 /** 193 * Returns all the document library folders where uuid = ?. 194 * 195 * @param uuid the uuid 196 * @return the matching document library folders 197 * @throws SystemException if a system exception occurred 198 */ 199 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid( 200 java.lang.String uuid) 201 throws com.liferay.portal.kernel.exception.SystemException { 202 return getPersistence().findByUuid(uuid); 203 } 204 205 /** 206 * Returns a range of all the document library folders where uuid = ?. 207 * 208 * <p> 209 * 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. 210 * </p> 211 * 212 * @param uuid the uuid 213 * @param start the lower bound of the range of document library folders 214 * @param end the upper bound of the range of document library folders (not inclusive) 215 * @return the range of matching document library folders 216 * @throws SystemException if a system exception occurred 217 */ 218 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid( 219 java.lang.String uuid, int start, int end) 220 throws com.liferay.portal.kernel.exception.SystemException { 221 return getPersistence().findByUuid(uuid, start, end); 222 } 223 224 /** 225 * Returns an ordered range of all the document library folders where uuid = ?. 226 * 227 * <p> 228 * 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. 229 * </p> 230 * 231 * @param uuid the uuid 232 * @param start the lower bound of the range of document library folders 233 * @param end the upper bound of the range of document library folders (not inclusive) 234 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 235 * @return the ordered range of matching document library folders 236 * @throws SystemException if a system exception occurred 237 */ 238 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid( 239 java.lang.String uuid, int start, int end, 240 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 241 throws com.liferay.portal.kernel.exception.SystemException { 242 return getPersistence().findByUuid(uuid, start, end, orderByComparator); 243 } 244 245 /** 246 * Returns the first document library folder in the ordered set where uuid = ?. 247 * 248 * @param uuid the uuid 249 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 250 * @return the first matching document library folder 251 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 252 * @throws SystemException if a system exception occurred 253 */ 254 public static com.liferay.portlet.documentlibrary.model.DLFolder findByUuid_First( 255 java.lang.String uuid, 256 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 257 throws com.liferay.portal.kernel.exception.SystemException, 258 com.liferay.portlet.documentlibrary.NoSuchFolderException { 259 return getPersistence().findByUuid_First(uuid, orderByComparator); 260 } 261 262 /** 263 * Returns the first document library folder in the ordered set where uuid = ?. 264 * 265 * @param uuid the uuid 266 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 267 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 268 * @throws SystemException if a system exception occurred 269 */ 270 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByUuid_First( 271 java.lang.String uuid, 272 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 273 throws com.liferay.portal.kernel.exception.SystemException { 274 return getPersistence().fetchByUuid_First(uuid, orderByComparator); 275 } 276 277 /** 278 * Returns the last document library folder in the ordered set where uuid = ?. 279 * 280 * @param uuid the uuid 281 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 282 * @return the last matching document library folder 283 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 284 * @throws SystemException if a system exception occurred 285 */ 286 public static com.liferay.portlet.documentlibrary.model.DLFolder findByUuid_Last( 287 java.lang.String uuid, 288 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 289 throws com.liferay.portal.kernel.exception.SystemException, 290 com.liferay.portlet.documentlibrary.NoSuchFolderException { 291 return getPersistence().findByUuid_Last(uuid, orderByComparator); 292 } 293 294 /** 295 * Returns the last document library folder in the ordered set where uuid = ?. 296 * 297 * @param uuid the uuid 298 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 299 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 300 * @throws SystemException if a system exception occurred 301 */ 302 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByUuid_Last( 303 java.lang.String uuid, 304 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 305 throws com.liferay.portal.kernel.exception.SystemException { 306 return getPersistence().fetchByUuid_Last(uuid, orderByComparator); 307 } 308 309 /** 310 * Returns the document library folders before and after the current document library folder in the ordered set where uuid = ?. 311 * 312 * @param folderId the primary key of the current document library folder 313 * @param uuid the uuid 314 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 315 * @return the previous, current, and next document library folder 316 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 317 * @throws SystemException if a system exception occurred 318 */ 319 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByUuid_PrevAndNext( 320 long folderId, java.lang.String uuid, 321 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 322 throws com.liferay.portal.kernel.exception.SystemException, 323 com.liferay.portlet.documentlibrary.NoSuchFolderException { 324 return getPersistence() 325 .findByUuid_PrevAndNext(folderId, uuid, orderByComparator); 326 } 327 328 /** 329 * Returns the document library folder where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFolderException} if it could not be found. 330 * 331 * @param uuid the uuid 332 * @param groupId the group ID 333 * @return the matching document library folder 334 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 335 * @throws SystemException if a system exception occurred 336 */ 337 public static com.liferay.portlet.documentlibrary.model.DLFolder findByUUID_G( 338 java.lang.String uuid, long groupId) 339 throws com.liferay.portal.kernel.exception.SystemException, 340 com.liferay.portlet.documentlibrary.NoSuchFolderException { 341 return getPersistence().findByUUID_G(uuid, groupId); 342 } 343 344 /** 345 * Returns the document library folder where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 346 * 347 * @param uuid the uuid 348 * @param groupId the group ID 349 * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found 350 * @throws SystemException if a system exception occurred 351 */ 352 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByUUID_G( 353 java.lang.String uuid, long groupId) 354 throws com.liferay.portal.kernel.exception.SystemException { 355 return getPersistence().fetchByUUID_G(uuid, groupId); 356 } 357 358 /** 359 * Returns the document library folder where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 360 * 361 * @param uuid the uuid 362 * @param groupId the group ID 363 * @param retrieveFromCache whether to use the finder cache 364 * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found 365 * @throws SystemException if a system exception occurred 366 */ 367 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByUUID_G( 368 java.lang.String uuid, long groupId, boolean retrieveFromCache) 369 throws com.liferay.portal.kernel.exception.SystemException { 370 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); 371 } 372 373 /** 374 * Returns all the document library folders where uuid = ? and companyId = ?. 375 * 376 * @param uuid the uuid 377 * @param companyId the company ID 378 * @return the matching document library folders 379 * @throws SystemException if a system exception occurred 380 */ 381 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid_C( 382 java.lang.String uuid, long companyId) 383 throws com.liferay.portal.kernel.exception.SystemException { 384 return getPersistence().findByUuid_C(uuid, companyId); 385 } 386 387 /** 388 * Returns a range of all the document library folders where uuid = ? and companyId = ?. 389 * 390 * <p> 391 * 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. 392 * </p> 393 * 394 * @param uuid the uuid 395 * @param companyId the company ID 396 * @param start the lower bound of the range of document library folders 397 * @param end the upper bound of the range of document library folders (not inclusive) 398 * @return the range of matching document library folders 399 * @throws SystemException if a system exception occurred 400 */ 401 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid_C( 402 java.lang.String uuid, long companyId, int start, int end) 403 throws com.liferay.portal.kernel.exception.SystemException { 404 return getPersistence().findByUuid_C(uuid, companyId, start, end); 405 } 406 407 /** 408 * Returns an ordered range of all the document library folders where uuid = ? and companyId = ?. 409 * 410 * <p> 411 * 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. 412 * </p> 413 * 414 * @param uuid the uuid 415 * @param companyId the company ID 416 * @param start the lower bound of the range of document library folders 417 * @param end the upper bound of the range of document library folders (not inclusive) 418 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 419 * @return the ordered range of matching document library folders 420 * @throws SystemException if a system exception occurred 421 */ 422 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid_C( 423 java.lang.String uuid, long companyId, int start, int end, 424 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 425 throws com.liferay.portal.kernel.exception.SystemException { 426 return getPersistence() 427 .findByUuid_C(uuid, companyId, start, end, orderByComparator); 428 } 429 430 /** 431 * Returns the first document library folder in the ordered set where uuid = ? and companyId = ?. 432 * 433 * @param uuid the uuid 434 * @param companyId the company ID 435 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 436 * @return the first matching document library folder 437 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 438 * @throws SystemException if a system exception occurred 439 */ 440 public static com.liferay.portlet.documentlibrary.model.DLFolder findByUuid_C_First( 441 java.lang.String uuid, long companyId, 442 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 443 throws com.liferay.portal.kernel.exception.SystemException, 444 com.liferay.portlet.documentlibrary.NoSuchFolderException { 445 return getPersistence() 446 .findByUuid_C_First(uuid, companyId, orderByComparator); 447 } 448 449 /** 450 * Returns the first document library folder in the ordered set where uuid = ? and companyId = ?. 451 * 452 * @param uuid the uuid 453 * @param companyId the company ID 454 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 455 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 456 * @throws SystemException if a system exception occurred 457 */ 458 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByUuid_C_First( 459 java.lang.String uuid, long companyId, 460 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 461 throws com.liferay.portal.kernel.exception.SystemException { 462 return getPersistence() 463 .fetchByUuid_C_First(uuid, companyId, orderByComparator); 464 } 465 466 /** 467 * Returns the last document library folder in the ordered set where uuid = ? and companyId = ?. 468 * 469 * @param uuid the uuid 470 * @param companyId the company ID 471 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 472 * @return the last matching document library folder 473 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 474 * @throws SystemException if a system exception occurred 475 */ 476 public static com.liferay.portlet.documentlibrary.model.DLFolder findByUuid_C_Last( 477 java.lang.String uuid, long companyId, 478 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 479 throws com.liferay.portal.kernel.exception.SystemException, 480 com.liferay.portlet.documentlibrary.NoSuchFolderException { 481 return getPersistence() 482 .findByUuid_C_Last(uuid, companyId, orderByComparator); 483 } 484 485 /** 486 * Returns the last document library folder in the ordered set where uuid = ? and companyId = ?. 487 * 488 * @param uuid the uuid 489 * @param companyId the company ID 490 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 491 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 492 * @throws SystemException if a system exception occurred 493 */ 494 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByUuid_C_Last( 495 java.lang.String uuid, long companyId, 496 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 497 throws com.liferay.portal.kernel.exception.SystemException { 498 return getPersistence() 499 .fetchByUuid_C_Last(uuid, companyId, orderByComparator); 500 } 501 502 /** 503 * Returns the document library folders before and after the current document library folder in the ordered set where uuid = ? and companyId = ?. 504 * 505 * @param folderId the primary key of the current document library folder 506 * @param uuid the uuid 507 * @param companyId the company ID 508 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 509 * @return the previous, current, and next document library folder 510 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 511 * @throws SystemException if a system exception occurred 512 */ 513 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByUuid_C_PrevAndNext( 514 long folderId, java.lang.String uuid, long companyId, 515 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 516 throws com.liferay.portal.kernel.exception.SystemException, 517 com.liferay.portlet.documentlibrary.NoSuchFolderException { 518 return getPersistence() 519 .findByUuid_C_PrevAndNext(folderId, uuid, companyId, 520 orderByComparator); 521 } 522 523 /** 524 * Returns all the document library folders where groupId = ?. 525 * 526 * @param groupId the group ID 527 * @return the matching document library folders 528 * @throws SystemException if a system exception occurred 529 */ 530 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId( 531 long groupId) 532 throws com.liferay.portal.kernel.exception.SystemException { 533 return getPersistence().findByGroupId(groupId); 534 } 535 536 /** 537 * Returns a range of all the document library folders where groupId = ?. 538 * 539 * <p> 540 * 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. 541 * </p> 542 * 543 * @param groupId the group ID 544 * @param start the lower bound of the range of document library folders 545 * @param end the upper bound of the range of document library folders (not inclusive) 546 * @return the range of matching document library folders 547 * @throws SystemException if a system exception occurred 548 */ 549 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId( 550 long groupId, int start, int end) 551 throws com.liferay.portal.kernel.exception.SystemException { 552 return getPersistence().findByGroupId(groupId, start, end); 553 } 554 555 /** 556 * Returns an ordered range of all the document library folders where groupId = ?. 557 * 558 * <p> 559 * 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. 560 * </p> 561 * 562 * @param groupId the group ID 563 * @param start the lower bound of the range of document library folders 564 * @param end the upper bound of the range of document library folders (not inclusive) 565 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 566 * @return the ordered range of matching document library folders 567 * @throws SystemException if a system exception occurred 568 */ 569 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId( 570 long groupId, int start, int end, 571 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 572 throws com.liferay.portal.kernel.exception.SystemException { 573 return getPersistence() 574 .findByGroupId(groupId, start, end, orderByComparator); 575 } 576 577 /** 578 * Returns the first document library folder in the ordered set where groupId = ?. 579 * 580 * @param groupId the group ID 581 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 582 * @return the first matching document library folder 583 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 584 * @throws SystemException if a system exception occurred 585 */ 586 public static com.liferay.portlet.documentlibrary.model.DLFolder findByGroupId_First( 587 long groupId, 588 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 589 throws com.liferay.portal.kernel.exception.SystemException, 590 com.liferay.portlet.documentlibrary.NoSuchFolderException { 591 return getPersistence().findByGroupId_First(groupId, orderByComparator); 592 } 593 594 /** 595 * Returns the first document library folder in the ordered set where groupId = ?. 596 * 597 * @param groupId the group ID 598 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 599 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 600 * @throws SystemException if a system exception occurred 601 */ 602 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByGroupId_First( 603 long groupId, 604 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 605 throws com.liferay.portal.kernel.exception.SystemException { 606 return getPersistence().fetchByGroupId_First(groupId, orderByComparator); 607 } 608 609 /** 610 * Returns the last document library folder in the ordered set where groupId = ?. 611 * 612 * @param groupId the group ID 613 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 614 * @return the last matching document library folder 615 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 616 * @throws SystemException if a system exception occurred 617 */ 618 public static com.liferay.portlet.documentlibrary.model.DLFolder findByGroupId_Last( 619 long groupId, 620 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 621 throws com.liferay.portal.kernel.exception.SystemException, 622 com.liferay.portlet.documentlibrary.NoSuchFolderException { 623 return getPersistence().findByGroupId_Last(groupId, orderByComparator); 624 } 625 626 /** 627 * Returns the last document library folder in the ordered set where groupId = ?. 628 * 629 * @param groupId the group ID 630 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 631 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 632 * @throws SystemException if a system exception occurred 633 */ 634 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByGroupId_Last( 635 long groupId, 636 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 637 throws com.liferay.portal.kernel.exception.SystemException { 638 return getPersistence().fetchByGroupId_Last(groupId, orderByComparator); 639 } 640 641 /** 642 * Returns the document library folders before and after the current document library folder in the ordered set where groupId = ?. 643 * 644 * @param folderId the primary key of the current document library folder 645 * @param groupId the group ID 646 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 647 * @return the previous, current, and next document library folder 648 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 649 * @throws SystemException if a system exception occurred 650 */ 651 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByGroupId_PrevAndNext( 652 long folderId, long groupId, 653 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 654 throws com.liferay.portal.kernel.exception.SystemException, 655 com.liferay.portlet.documentlibrary.NoSuchFolderException { 656 return getPersistence() 657 .findByGroupId_PrevAndNext(folderId, groupId, 658 orderByComparator); 659 } 660 661 /** 662 * Returns all the document library folders that the user has permission to view where groupId = ?. 663 * 664 * @param groupId the group ID 665 * @return the matching document library folders that the user has permission to view 666 * @throws SystemException if a system exception occurred 667 */ 668 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByGroupId( 669 long groupId) 670 throws com.liferay.portal.kernel.exception.SystemException { 671 return getPersistence().filterFindByGroupId(groupId); 672 } 673 674 /** 675 * Returns a range of all the document library folders that the user has permission to view where groupId = ?. 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 groupId the group ID 682 * @param start the lower bound of the range of document library folders 683 * @param end the upper bound of the range of document library folders (not inclusive) 684 * @return the range of matching document library folders that the user has permission to view 685 * @throws SystemException if a system exception occurred 686 */ 687 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByGroupId( 688 long groupId, int start, int end) 689 throws com.liferay.portal.kernel.exception.SystemException { 690 return getPersistence().filterFindByGroupId(groupId, start, end); 691 } 692 693 /** 694 * Returns an ordered range of all the document library folders that the user has permissions to view where groupId = ?. 695 * 696 * <p> 697 * 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. 698 * </p> 699 * 700 * @param groupId the group ID 701 * @param start the lower bound of the range of document library folders 702 * @param end the upper bound of the range of document library folders (not inclusive) 703 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 704 * @return the ordered range of matching document library folders that the user has permission to view 705 * @throws SystemException if a system exception occurred 706 */ 707 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByGroupId( 708 long groupId, int start, int end, 709 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 710 throws com.liferay.portal.kernel.exception.SystemException { 711 return getPersistence() 712 .filterFindByGroupId(groupId, start, end, orderByComparator); 713 } 714 715 /** 716 * Returns the document library folders before and after the current document library folder in the ordered set of document library folders that the user has permission to view where groupId = ?. 717 * 718 * @param folderId the primary key of the current document library folder 719 * @param groupId the group ID 720 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 721 * @return the previous, current, and next document library folder 722 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 723 * @throws SystemException if a system exception occurred 724 */ 725 public static com.liferay.portlet.documentlibrary.model.DLFolder[] filterFindByGroupId_PrevAndNext( 726 long folderId, long groupId, 727 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 728 throws com.liferay.portal.kernel.exception.SystemException, 729 com.liferay.portlet.documentlibrary.NoSuchFolderException { 730 return getPersistence() 731 .filterFindByGroupId_PrevAndNext(folderId, groupId, 732 orderByComparator); 733 } 734 735 /** 736 * Returns all the document library folders where companyId = ?. 737 * 738 * @param companyId the company ID 739 * @return the matching document library folders 740 * @throws SystemException if a system exception occurred 741 */ 742 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId( 743 long companyId) 744 throws com.liferay.portal.kernel.exception.SystemException { 745 return getPersistence().findByCompanyId(companyId); 746 } 747 748 /** 749 * Returns a range of all the document library folders where companyId = ?. 750 * 751 * <p> 752 * 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. 753 * </p> 754 * 755 * @param companyId the company ID 756 * @param start the lower bound of the range of document library folders 757 * @param end the upper bound of the range of document library folders (not inclusive) 758 * @return the range of matching document library folders 759 * @throws SystemException if a system exception occurred 760 */ 761 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId( 762 long companyId, int start, int end) 763 throws com.liferay.portal.kernel.exception.SystemException { 764 return getPersistence().findByCompanyId(companyId, start, end); 765 } 766 767 /** 768 * Returns an ordered range of all the document library folders where companyId = ?. 769 * 770 * <p> 771 * 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. 772 * </p> 773 * 774 * @param companyId the company ID 775 * @param start the lower bound of the range of document library folders 776 * @param end the upper bound of the range of document library folders (not inclusive) 777 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 778 * @return the ordered range of matching document library folders 779 * @throws SystemException if a system exception occurred 780 */ 781 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId( 782 long companyId, int start, int end, 783 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 784 throws com.liferay.portal.kernel.exception.SystemException { 785 return getPersistence() 786 .findByCompanyId(companyId, start, end, orderByComparator); 787 } 788 789 /** 790 * Returns the first document library folder in the ordered set where companyId = ?. 791 * 792 * @param companyId the company ID 793 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 794 * @return the first matching document library folder 795 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 796 * @throws SystemException if a system exception occurred 797 */ 798 public static com.liferay.portlet.documentlibrary.model.DLFolder findByCompanyId_First( 799 long companyId, 800 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 801 throws com.liferay.portal.kernel.exception.SystemException, 802 com.liferay.portlet.documentlibrary.NoSuchFolderException { 803 return getPersistence() 804 .findByCompanyId_First(companyId, orderByComparator); 805 } 806 807 /** 808 * Returns the first document library folder in the ordered set where companyId = ?. 809 * 810 * @param companyId the company ID 811 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 812 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 813 * @throws SystemException if a system exception occurred 814 */ 815 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByCompanyId_First( 816 long companyId, 817 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 818 throws com.liferay.portal.kernel.exception.SystemException { 819 return getPersistence() 820 .fetchByCompanyId_First(companyId, orderByComparator); 821 } 822 823 /** 824 * Returns the last document library folder in the ordered set where companyId = ?. 825 * 826 * @param companyId the company ID 827 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 828 * @return the last matching document library folder 829 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 830 * @throws SystemException if a system exception occurred 831 */ 832 public static com.liferay.portlet.documentlibrary.model.DLFolder findByCompanyId_Last( 833 long companyId, 834 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 835 throws com.liferay.portal.kernel.exception.SystemException, 836 com.liferay.portlet.documentlibrary.NoSuchFolderException { 837 return getPersistence() 838 .findByCompanyId_Last(companyId, orderByComparator); 839 } 840 841 /** 842 * Returns the last document library folder in the ordered set where companyId = ?. 843 * 844 * @param companyId the company ID 845 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 846 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 847 * @throws SystemException if a system exception occurred 848 */ 849 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByCompanyId_Last( 850 long companyId, 851 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 852 throws com.liferay.portal.kernel.exception.SystemException { 853 return getPersistence() 854 .fetchByCompanyId_Last(companyId, orderByComparator); 855 } 856 857 /** 858 * Returns the document library folders before and after the current document library folder in the ordered set where companyId = ?. 859 * 860 * @param folderId the primary key of the current document library folder 861 * @param companyId the company ID 862 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 863 * @return the previous, current, and next document library folder 864 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 865 * @throws SystemException if a system exception occurred 866 */ 867 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByCompanyId_PrevAndNext( 868 long folderId, long companyId, 869 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 870 throws com.liferay.portal.kernel.exception.SystemException, 871 com.liferay.portlet.documentlibrary.NoSuchFolderException { 872 return getPersistence() 873 .findByCompanyId_PrevAndNext(folderId, companyId, 874 orderByComparator); 875 } 876 877 /** 878 * Returns the document library folder where repositoryId = ? or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFolderException} if it could not be found. 879 * 880 * @param repositoryId the repository ID 881 * @return the matching document library folder 882 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 883 * @throws SystemException if a system exception occurred 884 */ 885 public static com.liferay.portlet.documentlibrary.model.DLFolder findByRepositoryId( 886 long repositoryId) 887 throws com.liferay.portal.kernel.exception.SystemException, 888 com.liferay.portlet.documentlibrary.NoSuchFolderException { 889 return getPersistence().findByRepositoryId(repositoryId); 890 } 891 892 /** 893 * Returns the document library folder where repositoryId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 894 * 895 * @param repositoryId the repository ID 896 * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found 897 * @throws SystemException if a system exception occurred 898 */ 899 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByRepositoryId( 900 long repositoryId) 901 throws com.liferay.portal.kernel.exception.SystemException { 902 return getPersistence().fetchByRepositoryId(repositoryId); 903 } 904 905 /** 906 * Returns the document library folder where repositoryId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 907 * 908 * @param repositoryId the repository ID 909 * @param retrieveFromCache whether to use the finder cache 910 * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found 911 * @throws SystemException if a system exception occurred 912 */ 913 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByRepositoryId( 914 long repositoryId, boolean retrieveFromCache) 915 throws com.liferay.portal.kernel.exception.SystemException { 916 return getPersistence() 917 .fetchByRepositoryId(repositoryId, retrieveFromCache); 918 } 919 920 /** 921 * Returns all the document library folders where groupId = ? and parentFolderId = ?. 922 * 923 * @param groupId the group ID 924 * @param parentFolderId the parent folder ID 925 * @return the matching document library folders 926 * @throws SystemException if a system exception occurred 927 */ 928 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P( 929 long groupId, long parentFolderId) 930 throws com.liferay.portal.kernel.exception.SystemException { 931 return getPersistence().findByG_P(groupId, parentFolderId); 932 } 933 934 /** 935 * Returns a range of all the document library folders where groupId = ? and parentFolderId = ?. 936 * 937 * <p> 938 * 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. 939 * </p> 940 * 941 * @param groupId the group ID 942 * @param parentFolderId the parent folder ID 943 * @param start the lower bound of the range of document library folders 944 * @param end the upper bound of the range of document library folders (not inclusive) 945 * @return the range of matching document library folders 946 * @throws SystemException if a system exception occurred 947 */ 948 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P( 949 long groupId, long parentFolderId, int start, int end) 950 throws com.liferay.portal.kernel.exception.SystemException { 951 return getPersistence().findByG_P(groupId, parentFolderId, start, end); 952 } 953 954 /** 955 * Returns an ordered range of all the document library folders where groupId = ? and parentFolderId = ?. 956 * 957 * <p> 958 * 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. 959 * </p> 960 * 961 * @param groupId the group ID 962 * @param parentFolderId the parent folder ID 963 * @param start the lower bound of the range of document library folders 964 * @param end the upper bound of the range of document library folders (not inclusive) 965 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 966 * @return the ordered range of matching document library folders 967 * @throws SystemException if a system exception occurred 968 */ 969 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P( 970 long groupId, long parentFolderId, int start, int end, 971 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 972 throws com.liferay.portal.kernel.exception.SystemException { 973 return getPersistence() 974 .findByG_P(groupId, parentFolderId, start, end, 975 orderByComparator); 976 } 977 978 /** 979 * Returns the first document library folder in the ordered set where groupId = ? and parentFolderId = ?. 980 * 981 * @param groupId the group ID 982 * @param parentFolderId the parent folder ID 983 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 984 * @return the first matching document library folder 985 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 986 * @throws SystemException if a system exception occurred 987 */ 988 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_First( 989 long groupId, long parentFolderId, 990 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 991 throws com.liferay.portal.kernel.exception.SystemException, 992 com.liferay.portlet.documentlibrary.NoSuchFolderException { 993 return getPersistence() 994 .findByG_P_First(groupId, parentFolderId, orderByComparator); 995 } 996 997 /** 998 * Returns the first document library folder in the ordered set where groupId = ? and parentFolderId = ?. 999 * 1000 * @param groupId the group ID 1001 * @param parentFolderId the parent folder ID 1002 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1003 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 1004 * @throws SystemException if a system exception occurred 1005 */ 1006 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_First( 1007 long groupId, long parentFolderId, 1008 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1009 throws com.liferay.portal.kernel.exception.SystemException { 1010 return getPersistence() 1011 .fetchByG_P_First(groupId, parentFolderId, orderByComparator); 1012 } 1013 1014 /** 1015 * Returns the last document library folder in the ordered set where groupId = ? and parentFolderId = ?. 1016 * 1017 * @param groupId the group ID 1018 * @param parentFolderId the parent folder ID 1019 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1020 * @return the last matching document library folder 1021 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1022 * @throws SystemException if a system exception occurred 1023 */ 1024 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_Last( 1025 long groupId, long parentFolderId, 1026 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1027 throws com.liferay.portal.kernel.exception.SystemException, 1028 com.liferay.portlet.documentlibrary.NoSuchFolderException { 1029 return getPersistence() 1030 .findByG_P_Last(groupId, parentFolderId, orderByComparator); 1031 } 1032 1033 /** 1034 * Returns the last document library folder in the ordered set where groupId = ? and parentFolderId = ?. 1035 * 1036 * @param groupId the group ID 1037 * @param parentFolderId the parent folder ID 1038 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1039 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 1040 * @throws SystemException if a system exception occurred 1041 */ 1042 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_Last( 1043 long groupId, long parentFolderId, 1044 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1045 throws com.liferay.portal.kernel.exception.SystemException { 1046 return getPersistence() 1047 .fetchByG_P_Last(groupId, parentFolderId, orderByComparator); 1048 } 1049 1050 /** 1051 * Returns the document library folders before and after the current document library folder in the ordered set where groupId = ? and parentFolderId = ?. 1052 * 1053 * @param folderId the primary key of the current document library folder 1054 * @param groupId the group ID 1055 * @param parentFolderId the parent folder ID 1056 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1057 * @return the previous, current, and next document library folder 1058 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 1059 * @throws SystemException if a system exception occurred 1060 */ 1061 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_P_PrevAndNext( 1062 long folderId, long groupId, long parentFolderId, 1063 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1064 throws com.liferay.portal.kernel.exception.SystemException, 1065 com.liferay.portlet.documentlibrary.NoSuchFolderException { 1066 return getPersistence() 1067 .findByG_P_PrevAndNext(folderId, groupId, parentFolderId, 1068 orderByComparator); 1069 } 1070 1071 /** 1072 * Returns all the document library folders that the user has permission to view where groupId = ? and parentFolderId = ?. 1073 * 1074 * @param groupId the group ID 1075 * @param parentFolderId the parent folder ID 1076 * @return the matching document library folders that the user has permission to view 1077 * @throws SystemException if a system exception occurred 1078 */ 1079 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P( 1080 long groupId, long parentFolderId) 1081 throws com.liferay.portal.kernel.exception.SystemException { 1082 return getPersistence().filterFindByG_P(groupId, parentFolderId); 1083 } 1084 1085 /** 1086 * Returns a range of all the document library folders that the user has permission to view where groupId = ? and parentFolderId = ?. 1087 * 1088 * <p> 1089 * 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. 1090 * </p> 1091 * 1092 * @param groupId the group ID 1093 * @param parentFolderId the parent folder ID 1094 * @param start the lower bound of the range of document library folders 1095 * @param end the upper bound of the range of document library folders (not inclusive) 1096 * @return the range of matching document library folders that the user has permission to view 1097 * @throws SystemException if a system exception occurred 1098 */ 1099 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P( 1100 long groupId, long parentFolderId, int start, int end) 1101 throws com.liferay.portal.kernel.exception.SystemException { 1102 return getPersistence() 1103 .filterFindByG_P(groupId, parentFolderId, start, end); 1104 } 1105 1106 /** 1107 * Returns an ordered range of all the document library folders that the user has permissions to view where groupId = ? and parentFolderId = ?. 1108 * 1109 * <p> 1110 * 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. 1111 * </p> 1112 * 1113 * @param groupId the group ID 1114 * @param parentFolderId the parent folder ID 1115 * @param start the lower bound of the range of document library folders 1116 * @param end the upper bound of the range of document library folders (not inclusive) 1117 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1118 * @return the ordered range of matching document library folders that the user has permission to view 1119 * @throws SystemException if a system exception occurred 1120 */ 1121 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P( 1122 long groupId, long parentFolderId, int start, int end, 1123 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1124 throws com.liferay.portal.kernel.exception.SystemException { 1125 return getPersistence() 1126 .filterFindByG_P(groupId, parentFolderId, start, end, 1127 orderByComparator); 1128 } 1129 1130 /** 1131 * Returns the document library folders before and after the current document library folder in the ordered set of document library folders that the user has permission to view where groupId = ? and parentFolderId = ?. 1132 * 1133 * @param folderId the primary key of the current document library folder 1134 * @param groupId the group ID 1135 * @param parentFolderId the parent folder ID 1136 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1137 * @return the previous, current, and next document library folder 1138 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 1139 * @throws SystemException if a system exception occurred 1140 */ 1141 public static com.liferay.portlet.documentlibrary.model.DLFolder[] filterFindByG_P_PrevAndNext( 1142 long folderId, long groupId, long parentFolderId, 1143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1144 throws com.liferay.portal.kernel.exception.SystemException, 1145 com.liferay.portlet.documentlibrary.NoSuchFolderException { 1146 return getPersistence() 1147 .filterFindByG_P_PrevAndNext(folderId, groupId, 1148 parentFolderId, orderByComparator); 1149 } 1150 1151 /** 1152 * Returns all the document library folders where parentFolderId = ? and name = ?. 1153 * 1154 * @param parentFolderId the parent folder ID 1155 * @param name the name 1156 * @return the matching document library folders 1157 * @throws SystemException if a system exception occurred 1158 */ 1159 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N( 1160 long parentFolderId, java.lang.String name) 1161 throws com.liferay.portal.kernel.exception.SystemException { 1162 return getPersistence().findByP_N(parentFolderId, name); 1163 } 1164 1165 /** 1166 * Returns a range of all the document library folders where parentFolderId = ? and name = ?. 1167 * 1168 * <p> 1169 * 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. 1170 * </p> 1171 * 1172 * @param parentFolderId the parent folder ID 1173 * @param name the name 1174 * @param start the lower bound of the range of document library folders 1175 * @param end the upper bound of the range of document library folders (not inclusive) 1176 * @return the range of matching document library folders 1177 * @throws SystemException if a system exception occurred 1178 */ 1179 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N( 1180 long parentFolderId, java.lang.String name, int start, int end) 1181 throws com.liferay.portal.kernel.exception.SystemException { 1182 return getPersistence().findByP_N(parentFolderId, name, start, end); 1183 } 1184 1185 /** 1186 * Returns an ordered range of all the document library folders where parentFolderId = ? and name = ?. 1187 * 1188 * <p> 1189 * 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. 1190 * </p> 1191 * 1192 * @param parentFolderId the parent folder ID 1193 * @param name the name 1194 * @param start the lower bound of the range of document library folders 1195 * @param end the upper bound of the range of document library folders (not inclusive) 1196 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1197 * @return the ordered range of matching document library folders 1198 * @throws SystemException if a system exception occurred 1199 */ 1200 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N( 1201 long parentFolderId, java.lang.String name, int start, int end, 1202 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1203 throws com.liferay.portal.kernel.exception.SystemException { 1204 return getPersistence() 1205 .findByP_N(parentFolderId, name, start, end, 1206 orderByComparator); 1207 } 1208 1209 /** 1210 * Returns the first document library folder in the ordered set where parentFolderId = ? and name = ?. 1211 * 1212 * @param parentFolderId the parent folder ID 1213 * @param name the name 1214 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1215 * @return the first matching document library folder 1216 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1217 * @throws SystemException if a system exception occurred 1218 */ 1219 public static com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_First( 1220 long parentFolderId, java.lang.String name, 1221 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1222 throws com.liferay.portal.kernel.exception.SystemException, 1223 com.liferay.portlet.documentlibrary.NoSuchFolderException { 1224 return getPersistence() 1225 .findByP_N_First(parentFolderId, name, orderByComparator); 1226 } 1227 1228 /** 1229 * Returns the first document library folder in the ordered set where parentFolderId = ? and name = ?. 1230 * 1231 * @param parentFolderId the parent folder ID 1232 * @param name the name 1233 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1234 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 1235 * @throws SystemException if a system exception occurred 1236 */ 1237 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByP_N_First( 1238 long parentFolderId, java.lang.String name, 1239 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1240 throws com.liferay.portal.kernel.exception.SystemException { 1241 return getPersistence() 1242 .fetchByP_N_First(parentFolderId, name, orderByComparator); 1243 } 1244 1245 /** 1246 * Returns the last document library folder in the ordered set where parentFolderId = ? and name = ?. 1247 * 1248 * @param parentFolderId the parent folder ID 1249 * @param name the name 1250 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1251 * @return the last matching document library folder 1252 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1253 * @throws SystemException if a system exception occurred 1254 */ 1255 public static com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_Last( 1256 long parentFolderId, java.lang.String name, 1257 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1258 throws com.liferay.portal.kernel.exception.SystemException, 1259 com.liferay.portlet.documentlibrary.NoSuchFolderException { 1260 return getPersistence() 1261 .findByP_N_Last(parentFolderId, name, orderByComparator); 1262 } 1263 1264 /** 1265 * Returns the last document library folder in the ordered set where parentFolderId = ? and name = ?. 1266 * 1267 * @param parentFolderId the parent folder ID 1268 * @param name the name 1269 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1270 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 1271 * @throws SystemException if a system exception occurred 1272 */ 1273 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByP_N_Last( 1274 long parentFolderId, java.lang.String name, 1275 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1276 throws com.liferay.portal.kernel.exception.SystemException { 1277 return getPersistence() 1278 .fetchByP_N_Last(parentFolderId, name, orderByComparator); 1279 } 1280 1281 /** 1282 * Returns the document library folders before and after the current document library folder in the ordered set where parentFolderId = ? and name = ?. 1283 * 1284 * @param folderId the primary key of the current document library folder 1285 * @param parentFolderId the parent folder ID 1286 * @param name the name 1287 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1288 * @return the previous, current, and next document library folder 1289 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 1290 * @throws SystemException if a system exception occurred 1291 */ 1292 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByP_N_PrevAndNext( 1293 long folderId, long parentFolderId, java.lang.String name, 1294 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1295 throws com.liferay.portal.kernel.exception.SystemException, 1296 com.liferay.portlet.documentlibrary.NoSuchFolderException { 1297 return getPersistence() 1298 .findByP_N_PrevAndNext(folderId, parentFolderId, name, 1299 orderByComparator); 1300 } 1301 1302 /** 1303 * Returns all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ?. 1304 * 1305 * @param groupId the group ID 1306 * @param mountPoint the mount point 1307 * @param parentFolderId the parent folder ID 1308 * @return the matching document library folders 1309 * @throws SystemException if a system exception occurred 1310 */ 1311 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P( 1312 long groupId, boolean mountPoint, long parentFolderId) 1313 throws com.liferay.portal.kernel.exception.SystemException { 1314 return getPersistence().findByG_M_P(groupId, mountPoint, parentFolderId); 1315 } 1316 1317 /** 1318 * Returns a range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ?. 1319 * 1320 * <p> 1321 * 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. 1322 * </p> 1323 * 1324 * @param groupId the group ID 1325 * @param mountPoint the mount point 1326 * @param parentFolderId the parent folder ID 1327 * @param start the lower bound of the range of document library folders 1328 * @param end the upper bound of the range of document library folders (not inclusive) 1329 * @return the range of matching document library folders 1330 * @throws SystemException if a system exception occurred 1331 */ 1332 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P( 1333 long groupId, boolean mountPoint, long parentFolderId, int start, 1334 int end) throws com.liferay.portal.kernel.exception.SystemException { 1335 return getPersistence() 1336 .findByG_M_P(groupId, mountPoint, parentFolderId, start, end); 1337 } 1338 1339 /** 1340 * Returns an ordered range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ?. 1341 * 1342 * <p> 1343 * 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. 1344 * </p> 1345 * 1346 * @param groupId the group ID 1347 * @param mountPoint the mount point 1348 * @param parentFolderId the parent folder ID 1349 * @param start the lower bound of the range of document library folders 1350 * @param end the upper bound of the range of document library folders (not inclusive) 1351 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1352 * @return the ordered range of matching document library folders 1353 * @throws SystemException if a system exception occurred 1354 */ 1355 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P( 1356 long groupId, boolean mountPoint, long parentFolderId, int start, 1357 int end, 1358 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1359 throws com.liferay.portal.kernel.exception.SystemException { 1360 return getPersistence() 1361 .findByG_M_P(groupId, mountPoint, parentFolderId, start, 1362 end, orderByComparator); 1363 } 1364 1365 /** 1366 * Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ?. 1367 * 1368 * @param groupId the group ID 1369 * @param mountPoint the mount point 1370 * @param parentFolderId the parent folder ID 1371 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1372 * @return the first matching document library folder 1373 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1374 * @throws SystemException if a system exception occurred 1375 */ 1376 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_M_P_First( 1377 long groupId, boolean mountPoint, long parentFolderId, 1378 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1379 throws com.liferay.portal.kernel.exception.SystemException, 1380 com.liferay.portlet.documentlibrary.NoSuchFolderException { 1381 return getPersistence() 1382 .findByG_M_P_First(groupId, mountPoint, parentFolderId, 1383 orderByComparator); 1384 } 1385 1386 /** 1387 * Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ?. 1388 * 1389 * @param groupId the group ID 1390 * @param mountPoint the mount point 1391 * @param parentFolderId the parent folder ID 1392 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1393 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 1394 * @throws SystemException if a system exception occurred 1395 */ 1396 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_M_P_First( 1397 long groupId, boolean mountPoint, long parentFolderId, 1398 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1399 throws com.liferay.portal.kernel.exception.SystemException { 1400 return getPersistence() 1401 .fetchByG_M_P_First(groupId, mountPoint, parentFolderId, 1402 orderByComparator); 1403 } 1404 1405 /** 1406 * Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ?. 1407 * 1408 * @param groupId the group ID 1409 * @param mountPoint the mount point 1410 * @param parentFolderId the parent folder ID 1411 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1412 * @return the last matching document library folder 1413 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1414 * @throws SystemException if a system exception occurred 1415 */ 1416 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_M_P_Last( 1417 long groupId, boolean mountPoint, long parentFolderId, 1418 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1419 throws com.liferay.portal.kernel.exception.SystemException, 1420 com.liferay.portlet.documentlibrary.NoSuchFolderException { 1421 return getPersistence() 1422 .findByG_M_P_Last(groupId, mountPoint, parentFolderId, 1423 orderByComparator); 1424 } 1425 1426 /** 1427 * Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ?. 1428 * 1429 * @param groupId the group ID 1430 * @param mountPoint the mount point 1431 * @param parentFolderId the parent folder ID 1432 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1433 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 1434 * @throws SystemException if a system exception occurred 1435 */ 1436 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_M_P_Last( 1437 long groupId, boolean mountPoint, long parentFolderId, 1438 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1439 throws com.liferay.portal.kernel.exception.SystemException { 1440 return getPersistence() 1441 .fetchByG_M_P_Last(groupId, mountPoint, parentFolderId, 1442 orderByComparator); 1443 } 1444 1445 /** 1446 * Returns the document library folders before and after the current document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ?. 1447 * 1448 * @param folderId the primary key of the current document library folder 1449 * @param groupId the group ID 1450 * @param mountPoint the mount point 1451 * @param parentFolderId the parent folder ID 1452 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1453 * @return the previous, current, and next document library folder 1454 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 1455 * @throws SystemException if a system exception occurred 1456 */ 1457 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_M_P_PrevAndNext( 1458 long folderId, long groupId, boolean mountPoint, long parentFolderId, 1459 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1460 throws com.liferay.portal.kernel.exception.SystemException, 1461 com.liferay.portlet.documentlibrary.NoSuchFolderException { 1462 return getPersistence() 1463 .findByG_M_P_PrevAndNext(folderId, groupId, mountPoint, 1464 parentFolderId, orderByComparator); 1465 } 1466 1467 /** 1468 * Returns all the document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ?. 1469 * 1470 * @param groupId the group ID 1471 * @param mountPoint the mount point 1472 * @param parentFolderId the parent folder ID 1473 * @return the matching document library folders that the user has permission to view 1474 * @throws SystemException if a system exception occurred 1475 */ 1476 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P( 1477 long groupId, boolean mountPoint, long parentFolderId) 1478 throws com.liferay.portal.kernel.exception.SystemException { 1479 return getPersistence() 1480 .filterFindByG_M_P(groupId, mountPoint, parentFolderId); 1481 } 1482 1483 /** 1484 * Returns a range of all the document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ?. 1485 * 1486 * <p> 1487 * 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. 1488 * </p> 1489 * 1490 * @param groupId the group ID 1491 * @param mountPoint the mount point 1492 * @param parentFolderId the parent folder ID 1493 * @param start the lower bound of the range of document library folders 1494 * @param end the upper bound of the range of document library folders (not inclusive) 1495 * @return the range of matching document library folders that the user has permission to view 1496 * @throws SystemException if a system exception occurred 1497 */ 1498 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P( 1499 long groupId, boolean mountPoint, long parentFolderId, int start, 1500 int end) throws com.liferay.portal.kernel.exception.SystemException { 1501 return getPersistence() 1502 .filterFindByG_M_P(groupId, mountPoint, parentFolderId, 1503 start, end); 1504 } 1505 1506 /** 1507 * Returns an ordered range of all the document library folders that the user has permissions to view where groupId = ? and mountPoint = ? and parentFolderId = ?. 1508 * 1509 * <p> 1510 * 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. 1511 * </p> 1512 * 1513 * @param groupId the group ID 1514 * @param mountPoint the mount point 1515 * @param parentFolderId the parent folder ID 1516 * @param start the lower bound of the range of document library folders 1517 * @param end the upper bound of the range of document library folders (not inclusive) 1518 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1519 * @return the ordered range of matching document library folders that the user has permission to view 1520 * @throws SystemException if a system exception occurred 1521 */ 1522 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P( 1523 long groupId, boolean mountPoint, long parentFolderId, int start, 1524 int end, 1525 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1526 throws com.liferay.portal.kernel.exception.SystemException { 1527 return getPersistence() 1528 .filterFindByG_M_P(groupId, mountPoint, parentFolderId, 1529 start, end, orderByComparator); 1530 } 1531 1532 /** 1533 * Returns the document library folders before and after the current document library folder in the ordered set of document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ?. 1534 * 1535 * @param folderId the primary key of the current document library folder 1536 * @param groupId the group ID 1537 * @param mountPoint the mount point 1538 * @param parentFolderId the parent folder ID 1539 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1540 * @return the previous, current, and next document library folder 1541 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 1542 * @throws SystemException if a system exception occurred 1543 */ 1544 public static com.liferay.portlet.documentlibrary.model.DLFolder[] filterFindByG_M_P_PrevAndNext( 1545 long folderId, long groupId, boolean mountPoint, long parentFolderId, 1546 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1547 throws com.liferay.portal.kernel.exception.SystemException, 1548 com.liferay.portlet.documentlibrary.NoSuchFolderException { 1549 return getPersistence() 1550 .filterFindByG_M_P_PrevAndNext(folderId, groupId, 1551 mountPoint, parentFolderId, orderByComparator); 1552 } 1553 1554 /** 1555 * Returns the document library folder where groupId = ? and parentFolderId = ? and name = ? or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFolderException} if it could not be found. 1556 * 1557 * @param groupId the group ID 1558 * @param parentFolderId the parent folder ID 1559 * @param name the name 1560 * @return the matching document library folder 1561 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1562 * @throws SystemException if a system exception occurred 1563 */ 1564 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_N( 1565 long groupId, long parentFolderId, java.lang.String name) 1566 throws com.liferay.portal.kernel.exception.SystemException, 1567 com.liferay.portlet.documentlibrary.NoSuchFolderException { 1568 return getPersistence().findByG_P_N(groupId, parentFolderId, name); 1569 } 1570 1571 /** 1572 * Returns the document library folder where groupId = ? and parentFolderId = ? and name = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 1573 * 1574 * @param groupId the group ID 1575 * @param parentFolderId the parent folder ID 1576 * @param name the name 1577 * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found 1578 * @throws SystemException if a system exception occurred 1579 */ 1580 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N( 1581 long groupId, long parentFolderId, java.lang.String name) 1582 throws com.liferay.portal.kernel.exception.SystemException { 1583 return getPersistence().fetchByG_P_N(groupId, parentFolderId, name); 1584 } 1585 1586 /** 1587 * Returns the document library folder where groupId = ? and parentFolderId = ? and name = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 1588 * 1589 * @param groupId the group ID 1590 * @param parentFolderId the parent folder ID 1591 * @param name the name 1592 * @param retrieveFromCache whether to use the finder cache 1593 * @return the matching document library folder, or <code>null</code> if a matching document library folder could not be found 1594 * @throws SystemException if a system exception occurred 1595 */ 1596 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N( 1597 long groupId, long parentFolderId, java.lang.String name, 1598 boolean retrieveFromCache) 1599 throws com.liferay.portal.kernel.exception.SystemException { 1600 return getPersistence() 1601 .fetchByG_P_N(groupId, parentFolderId, name, 1602 retrieveFromCache); 1603 } 1604 1605 /** 1606 * Returns all the document library folders where groupId = ? and parentFolderId = ? and status = ?. 1607 * 1608 * @param groupId the group ID 1609 * @param parentFolderId the parent folder ID 1610 * @param status the status 1611 * @return the matching document library folders 1612 * @throws SystemException if a system exception occurred 1613 */ 1614 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P_S( 1615 long groupId, long parentFolderId, int status) 1616 throws com.liferay.portal.kernel.exception.SystemException { 1617 return getPersistence().findByG_P_S(groupId, parentFolderId, status); 1618 } 1619 1620 /** 1621 * Returns a range of all the document library folders where groupId = ? and parentFolderId = ? and status = ?. 1622 * 1623 * <p> 1624 * 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. 1625 * </p> 1626 * 1627 * @param groupId the group ID 1628 * @param parentFolderId the parent folder ID 1629 * @param status the status 1630 * @param start the lower bound of the range of document library folders 1631 * @param end the upper bound of the range of document library folders (not inclusive) 1632 * @return the range of matching document library folders 1633 * @throws SystemException if a system exception occurred 1634 */ 1635 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P_S( 1636 long groupId, long parentFolderId, int status, int start, int end) 1637 throws com.liferay.portal.kernel.exception.SystemException { 1638 return getPersistence() 1639 .findByG_P_S(groupId, parentFolderId, status, start, end); 1640 } 1641 1642 /** 1643 * Returns an ordered range of all the document library folders where groupId = ? and parentFolderId = ? and status = ?. 1644 * 1645 * <p> 1646 * 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. 1647 * </p> 1648 * 1649 * @param groupId the group ID 1650 * @param parentFolderId the parent folder ID 1651 * @param status the status 1652 * @param start the lower bound of the range of document library folders 1653 * @param end the upper bound of the range of document library folders (not inclusive) 1654 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1655 * @return the ordered range of matching document library folders 1656 * @throws SystemException if a system exception occurred 1657 */ 1658 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P_S( 1659 long groupId, long parentFolderId, int status, int start, int end, 1660 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1661 throws com.liferay.portal.kernel.exception.SystemException { 1662 return getPersistence() 1663 .findByG_P_S(groupId, parentFolderId, status, start, end, 1664 orderByComparator); 1665 } 1666 1667 /** 1668 * Returns the first document library folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?. 1669 * 1670 * @param groupId the group ID 1671 * @param parentFolderId the parent folder ID 1672 * @param status the status 1673 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1674 * @return the first matching document library folder 1675 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1676 * @throws SystemException if a system exception occurred 1677 */ 1678 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_S_First( 1679 long groupId, long parentFolderId, int status, 1680 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1681 throws com.liferay.portal.kernel.exception.SystemException, 1682 com.liferay.portlet.documentlibrary.NoSuchFolderException { 1683 return getPersistence() 1684 .findByG_P_S_First(groupId, parentFolderId, status, 1685 orderByComparator); 1686 } 1687 1688 /** 1689 * Returns the first document library folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?. 1690 * 1691 * @param groupId the group ID 1692 * @param parentFolderId the parent folder ID 1693 * @param status the status 1694 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1695 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 1696 * @throws SystemException if a system exception occurred 1697 */ 1698 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_S_First( 1699 long groupId, long parentFolderId, int status, 1700 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1701 throws com.liferay.portal.kernel.exception.SystemException { 1702 return getPersistence() 1703 .fetchByG_P_S_First(groupId, parentFolderId, status, 1704 orderByComparator); 1705 } 1706 1707 /** 1708 * Returns the last document library folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?. 1709 * 1710 * @param groupId the group ID 1711 * @param parentFolderId the parent folder ID 1712 * @param status the status 1713 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1714 * @return the last matching document library folder 1715 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1716 * @throws SystemException if a system exception occurred 1717 */ 1718 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_S_Last( 1719 long groupId, long parentFolderId, int status, 1720 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1721 throws com.liferay.portal.kernel.exception.SystemException, 1722 com.liferay.portlet.documentlibrary.NoSuchFolderException { 1723 return getPersistence() 1724 .findByG_P_S_Last(groupId, parentFolderId, status, 1725 orderByComparator); 1726 } 1727 1728 /** 1729 * Returns the last document library folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?. 1730 * 1731 * @param groupId the group ID 1732 * @param parentFolderId the parent folder ID 1733 * @param status the status 1734 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1735 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 1736 * @throws SystemException if a system exception occurred 1737 */ 1738 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_S_Last( 1739 long groupId, long parentFolderId, int status, 1740 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1741 throws com.liferay.portal.kernel.exception.SystemException { 1742 return getPersistence() 1743 .fetchByG_P_S_Last(groupId, parentFolderId, status, 1744 orderByComparator); 1745 } 1746 1747 /** 1748 * Returns the document library folders before and after the current document library folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?. 1749 * 1750 * @param folderId the primary key of the current document library folder 1751 * @param groupId the group ID 1752 * @param parentFolderId the parent folder ID 1753 * @param status the status 1754 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1755 * @return the previous, current, and next document library folder 1756 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 1757 * @throws SystemException if a system exception occurred 1758 */ 1759 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_P_S_PrevAndNext( 1760 long folderId, long groupId, long parentFolderId, int status, 1761 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1762 throws com.liferay.portal.kernel.exception.SystemException, 1763 com.liferay.portlet.documentlibrary.NoSuchFolderException { 1764 return getPersistence() 1765 .findByG_P_S_PrevAndNext(folderId, groupId, parentFolderId, 1766 status, orderByComparator); 1767 } 1768 1769 /** 1770 * Returns all the document library folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?. 1771 * 1772 * @param groupId the group ID 1773 * @param parentFolderId the parent folder ID 1774 * @param status the status 1775 * @return the matching document library folders that the user has permission to view 1776 * @throws SystemException if a system exception occurred 1777 */ 1778 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P_S( 1779 long groupId, long parentFolderId, int status) 1780 throws com.liferay.portal.kernel.exception.SystemException { 1781 return getPersistence() 1782 .filterFindByG_P_S(groupId, parentFolderId, status); 1783 } 1784 1785 /** 1786 * Returns a range of all the document library folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?. 1787 * 1788 * <p> 1789 * 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. 1790 * </p> 1791 * 1792 * @param groupId the group ID 1793 * @param parentFolderId the parent folder ID 1794 * @param status the status 1795 * @param start the lower bound of the range of document library folders 1796 * @param end the upper bound of the range of document library folders (not inclusive) 1797 * @return the range of matching document library folders that the user has permission to view 1798 * @throws SystemException if a system exception occurred 1799 */ 1800 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P_S( 1801 long groupId, long parentFolderId, int status, int start, int end) 1802 throws com.liferay.portal.kernel.exception.SystemException { 1803 return getPersistence() 1804 .filterFindByG_P_S(groupId, parentFolderId, status, start, 1805 end); 1806 } 1807 1808 /** 1809 * Returns an ordered range of all the document library folders that the user has permissions to view where groupId = ? and parentFolderId = ? and status = ?. 1810 * 1811 * <p> 1812 * 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. 1813 * </p> 1814 * 1815 * @param groupId the group ID 1816 * @param parentFolderId the parent folder ID 1817 * @param status the status 1818 * @param start the lower bound of the range of document library folders 1819 * @param end the upper bound of the range of document library folders (not inclusive) 1820 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1821 * @return the ordered range of matching document library folders that the user has permission to view 1822 * @throws SystemException if a system exception occurred 1823 */ 1824 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P_S( 1825 long groupId, long parentFolderId, int status, int start, int end, 1826 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1827 throws com.liferay.portal.kernel.exception.SystemException { 1828 return getPersistence() 1829 .filterFindByG_P_S(groupId, parentFolderId, status, start, 1830 end, orderByComparator); 1831 } 1832 1833 /** 1834 * Returns the document library folders before and after the current document library folder in the ordered set of document library folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?. 1835 * 1836 * @param folderId the primary key of the current document library folder 1837 * @param groupId the group ID 1838 * @param parentFolderId the parent folder ID 1839 * @param status the status 1840 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1841 * @return the previous, current, and next document library folder 1842 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 1843 * @throws SystemException if a system exception occurred 1844 */ 1845 public static com.liferay.portlet.documentlibrary.model.DLFolder[] filterFindByG_P_S_PrevAndNext( 1846 long folderId, long groupId, long parentFolderId, int status, 1847 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1848 throws com.liferay.portal.kernel.exception.SystemException, 1849 com.liferay.portlet.documentlibrary.NoSuchFolderException { 1850 return getPersistence() 1851 .filterFindByG_P_S_PrevAndNext(folderId, groupId, 1852 parentFolderId, status, orderByComparator); 1853 } 1854 1855 /** 1856 * Returns all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 1857 * 1858 * @param groupId the group ID 1859 * @param mountPoint the mount point 1860 * @param parentFolderId the parent folder ID 1861 * @param hidden the hidden 1862 * @return the matching document library folders 1863 * @throws SystemException if a system exception occurred 1864 */ 1865 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P_H( 1866 long groupId, boolean mountPoint, long parentFolderId, boolean hidden) 1867 throws com.liferay.portal.kernel.exception.SystemException { 1868 return getPersistence() 1869 .findByG_M_P_H(groupId, mountPoint, parentFolderId, hidden); 1870 } 1871 1872 /** 1873 * Returns a range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 1874 * 1875 * <p> 1876 * 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. 1877 * </p> 1878 * 1879 * @param groupId the group ID 1880 * @param mountPoint the mount point 1881 * @param parentFolderId the parent folder ID 1882 * @param hidden the hidden 1883 * @param start the lower bound of the range of document library folders 1884 * @param end the upper bound of the range of document library folders (not inclusive) 1885 * @return the range of matching document library folders 1886 * @throws SystemException if a system exception occurred 1887 */ 1888 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P_H( 1889 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 1890 int start, int end) 1891 throws com.liferay.portal.kernel.exception.SystemException { 1892 return getPersistence() 1893 .findByG_M_P_H(groupId, mountPoint, parentFolderId, hidden, 1894 start, end); 1895 } 1896 1897 /** 1898 * Returns an ordered range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 1899 * 1900 * <p> 1901 * 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. 1902 * </p> 1903 * 1904 * @param groupId the group ID 1905 * @param mountPoint the mount point 1906 * @param parentFolderId the parent folder ID 1907 * @param hidden the hidden 1908 * @param start the lower bound of the range of document library folders 1909 * @param end the upper bound of the range of document library folders (not inclusive) 1910 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1911 * @return the ordered range of matching document library folders 1912 * @throws SystemException if a system exception occurred 1913 */ 1914 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P_H( 1915 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 1916 int start, int end, 1917 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1918 throws com.liferay.portal.kernel.exception.SystemException { 1919 return getPersistence() 1920 .findByG_M_P_H(groupId, mountPoint, parentFolderId, hidden, 1921 start, end, orderByComparator); 1922 } 1923 1924 /** 1925 * Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 1926 * 1927 * @param groupId the group ID 1928 * @param mountPoint the mount point 1929 * @param parentFolderId the parent folder ID 1930 * @param hidden the hidden 1931 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1932 * @return the first matching document library folder 1933 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1934 * @throws SystemException if a system exception occurred 1935 */ 1936 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_M_P_H_First( 1937 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 1938 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1939 throws com.liferay.portal.kernel.exception.SystemException, 1940 com.liferay.portlet.documentlibrary.NoSuchFolderException { 1941 return getPersistence() 1942 .findByG_M_P_H_First(groupId, mountPoint, parentFolderId, 1943 hidden, orderByComparator); 1944 } 1945 1946 /** 1947 * Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 1948 * 1949 * @param groupId the group ID 1950 * @param mountPoint the mount point 1951 * @param parentFolderId the parent folder ID 1952 * @param hidden the hidden 1953 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1954 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 1955 * @throws SystemException if a system exception occurred 1956 */ 1957 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_M_P_H_First( 1958 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 1959 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1960 throws com.liferay.portal.kernel.exception.SystemException { 1961 return getPersistence() 1962 .fetchByG_M_P_H_First(groupId, mountPoint, parentFolderId, 1963 hidden, orderByComparator); 1964 } 1965 1966 /** 1967 * Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 1968 * 1969 * @param groupId the group ID 1970 * @param mountPoint the mount point 1971 * @param parentFolderId the parent folder ID 1972 * @param hidden the hidden 1973 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1974 * @return the last matching document library folder 1975 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 1976 * @throws SystemException if a system exception occurred 1977 */ 1978 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_M_P_H_Last( 1979 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 1980 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1981 throws com.liferay.portal.kernel.exception.SystemException, 1982 com.liferay.portlet.documentlibrary.NoSuchFolderException { 1983 return getPersistence() 1984 .findByG_M_P_H_Last(groupId, mountPoint, parentFolderId, 1985 hidden, orderByComparator); 1986 } 1987 1988 /** 1989 * Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 1990 * 1991 * @param groupId the group ID 1992 * @param mountPoint the mount point 1993 * @param parentFolderId the parent folder ID 1994 * @param hidden the hidden 1995 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1996 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 1997 * @throws SystemException if a system exception occurred 1998 */ 1999 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_M_P_H_Last( 2000 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2001 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2002 throws com.liferay.portal.kernel.exception.SystemException { 2003 return getPersistence() 2004 .fetchByG_M_P_H_Last(groupId, mountPoint, parentFolderId, 2005 hidden, orderByComparator); 2006 } 2007 2008 /** 2009 * Returns the document library folders before and after the current document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 2010 * 2011 * @param folderId the primary key of the current document library folder 2012 * @param groupId the group ID 2013 * @param mountPoint the mount point 2014 * @param parentFolderId the parent folder ID 2015 * @param hidden the hidden 2016 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2017 * @return the previous, current, and next document library folder 2018 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 2019 * @throws SystemException if a system exception occurred 2020 */ 2021 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_M_P_H_PrevAndNext( 2022 long folderId, long groupId, boolean mountPoint, long parentFolderId, 2023 boolean hidden, 2024 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2025 throws com.liferay.portal.kernel.exception.SystemException, 2026 com.liferay.portlet.documentlibrary.NoSuchFolderException { 2027 return getPersistence() 2028 .findByG_M_P_H_PrevAndNext(folderId, groupId, mountPoint, 2029 parentFolderId, hidden, orderByComparator); 2030 } 2031 2032 /** 2033 * Returns all the document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 2034 * 2035 * @param groupId the group ID 2036 * @param mountPoint the mount point 2037 * @param parentFolderId the parent folder ID 2038 * @param hidden the hidden 2039 * @return the matching document library folders that the user has permission to view 2040 * @throws SystemException if a system exception occurred 2041 */ 2042 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P_H( 2043 long groupId, boolean mountPoint, long parentFolderId, boolean hidden) 2044 throws com.liferay.portal.kernel.exception.SystemException { 2045 return getPersistence() 2046 .filterFindByG_M_P_H(groupId, mountPoint, parentFolderId, 2047 hidden); 2048 } 2049 2050 /** 2051 * Returns a range of all the document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 2052 * 2053 * <p> 2054 * 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. 2055 * </p> 2056 * 2057 * @param groupId the group ID 2058 * @param mountPoint the mount point 2059 * @param parentFolderId the parent folder ID 2060 * @param hidden the hidden 2061 * @param start the lower bound of the range of document library folders 2062 * @param end the upper bound of the range of document library folders (not inclusive) 2063 * @return the range of matching document library folders that the user has permission to view 2064 * @throws SystemException if a system exception occurred 2065 */ 2066 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P_H( 2067 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2068 int start, int end) 2069 throws com.liferay.portal.kernel.exception.SystemException { 2070 return getPersistence() 2071 .filterFindByG_M_P_H(groupId, mountPoint, parentFolderId, 2072 hidden, start, end); 2073 } 2074 2075 /** 2076 * Returns an ordered range of all the document library folders that the user has permissions to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 2077 * 2078 * <p> 2079 * 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. 2080 * </p> 2081 * 2082 * @param groupId the group ID 2083 * @param mountPoint the mount point 2084 * @param parentFolderId the parent folder ID 2085 * @param hidden the hidden 2086 * @param start the lower bound of the range of document library folders 2087 * @param end the upper bound of the range of document library folders (not inclusive) 2088 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2089 * @return the ordered range of matching document library folders that the user has permission to view 2090 * @throws SystemException if a system exception occurred 2091 */ 2092 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P_H( 2093 long groupId, boolean mountPoint, long parentFolderId, boolean hidden, 2094 int start, int end, 2095 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2096 throws com.liferay.portal.kernel.exception.SystemException { 2097 return getPersistence() 2098 .filterFindByG_M_P_H(groupId, mountPoint, parentFolderId, 2099 hidden, start, end, orderByComparator); 2100 } 2101 2102 /** 2103 * Returns the document library folders before and after the current document library folder in the ordered set of document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 2104 * 2105 * @param folderId the primary key of the current document library folder 2106 * @param groupId the group ID 2107 * @param mountPoint the mount point 2108 * @param parentFolderId the parent folder ID 2109 * @param hidden the hidden 2110 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2111 * @return the previous, current, and next document library folder 2112 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 2113 * @throws SystemException if a system exception occurred 2114 */ 2115 public static com.liferay.portlet.documentlibrary.model.DLFolder[] filterFindByG_M_P_H_PrevAndNext( 2116 long folderId, long groupId, boolean mountPoint, long parentFolderId, 2117 boolean hidden, 2118 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2119 throws com.liferay.portal.kernel.exception.SystemException, 2120 com.liferay.portlet.documentlibrary.NoSuchFolderException { 2121 return getPersistence() 2122 .filterFindByG_M_P_H_PrevAndNext(folderId, groupId, 2123 mountPoint, parentFolderId, hidden, orderByComparator); 2124 } 2125 2126 /** 2127 * Returns all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and status = ?. 2128 * 2129 * @param groupId the group ID 2130 * @param mountPoint the mount point 2131 * @param parentFolderId the parent folder ID 2132 * @param status the status 2133 * @return the matching document library folders 2134 * @throws SystemException if a system exception occurred 2135 */ 2136 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P_S( 2137 long groupId, boolean mountPoint, long parentFolderId, int status) 2138 throws com.liferay.portal.kernel.exception.SystemException { 2139 return getPersistence() 2140 .findByG_M_P_S(groupId, mountPoint, parentFolderId, status); 2141 } 2142 2143 /** 2144 * Returns a range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and status = ?. 2145 * 2146 * <p> 2147 * 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. 2148 * </p> 2149 * 2150 * @param groupId the group ID 2151 * @param mountPoint the mount point 2152 * @param parentFolderId the parent folder ID 2153 * @param status the status 2154 * @param start the lower bound of the range of document library folders 2155 * @param end the upper bound of the range of document library folders (not inclusive) 2156 * @return the range of matching document library folders 2157 * @throws SystemException if a system exception occurred 2158 */ 2159 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P_S( 2160 long groupId, boolean mountPoint, long parentFolderId, int status, 2161 int start, int end) 2162 throws com.liferay.portal.kernel.exception.SystemException { 2163 return getPersistence() 2164 .findByG_M_P_S(groupId, mountPoint, parentFolderId, status, 2165 start, end); 2166 } 2167 2168 /** 2169 * Returns an ordered range of all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and status = ?. 2170 * 2171 * <p> 2172 * 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. 2173 * </p> 2174 * 2175 * @param groupId the group ID 2176 * @param mountPoint the mount point 2177 * @param parentFolderId the parent folder ID 2178 * @param status the status 2179 * @param start the lower bound of the range of document library folders 2180 * @param end the upper bound of the range of document library folders (not inclusive) 2181 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2182 * @return the ordered range of matching document library folders 2183 * @throws SystemException if a system exception occurred 2184 */ 2185 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_M_P_S( 2186 long groupId, boolean mountPoint, long parentFolderId, int status, 2187 int start, int end, 2188 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2189 throws com.liferay.portal.kernel.exception.SystemException { 2190 return getPersistence() 2191 .findByG_M_P_S(groupId, mountPoint, parentFolderId, status, 2192 start, end, orderByComparator); 2193 } 2194 2195 /** 2196 * Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and status = ?. 2197 * 2198 * @param groupId the group ID 2199 * @param mountPoint the mount point 2200 * @param parentFolderId the parent folder ID 2201 * @param status the status 2202 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2203 * @return the first matching document library folder 2204 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 2205 * @throws SystemException if a system exception occurred 2206 */ 2207 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_M_P_S_First( 2208 long groupId, boolean mountPoint, long parentFolderId, int status, 2209 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2210 throws com.liferay.portal.kernel.exception.SystemException, 2211 com.liferay.portlet.documentlibrary.NoSuchFolderException { 2212 return getPersistence() 2213 .findByG_M_P_S_First(groupId, mountPoint, parentFolderId, 2214 status, orderByComparator); 2215 } 2216 2217 /** 2218 * Returns the first document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and status = ?. 2219 * 2220 * @param groupId the group ID 2221 * @param mountPoint the mount point 2222 * @param parentFolderId the parent folder ID 2223 * @param status the status 2224 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2225 * @return the first matching document library folder, or <code>null</code> if a matching document library folder could not be found 2226 * @throws SystemException if a system exception occurred 2227 */ 2228 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_M_P_S_First( 2229 long groupId, boolean mountPoint, long parentFolderId, int status, 2230 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2231 throws com.liferay.portal.kernel.exception.SystemException { 2232 return getPersistence() 2233 .fetchByG_M_P_S_First(groupId, mountPoint, parentFolderId, 2234 status, orderByComparator); 2235 } 2236 2237 /** 2238 * Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and status = ?. 2239 * 2240 * @param groupId the group ID 2241 * @param mountPoint the mount point 2242 * @param parentFolderId the parent folder ID 2243 * @param status the status 2244 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2245 * @return the last matching document library folder 2246 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a matching document library folder could not be found 2247 * @throws SystemException if a system exception occurred 2248 */ 2249 public static com.liferay.portlet.documentlibrary.model.DLFolder findByG_M_P_S_Last( 2250 long groupId, boolean mountPoint, long parentFolderId, int status, 2251 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2252 throws com.liferay.portal.kernel.exception.SystemException, 2253 com.liferay.portlet.documentlibrary.NoSuchFolderException { 2254 return getPersistence() 2255 .findByG_M_P_S_Last(groupId, mountPoint, parentFolderId, 2256 status, orderByComparator); 2257 } 2258 2259 /** 2260 * Returns the last document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and status = ?. 2261 * 2262 * @param groupId the group ID 2263 * @param mountPoint the mount point 2264 * @param parentFolderId the parent folder ID 2265 * @param status the status 2266 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2267 * @return the last matching document library folder, or <code>null</code> if a matching document library folder could not be found 2268 * @throws SystemException if a system exception occurred 2269 */ 2270 public static com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_M_P_S_Last( 2271 long groupId, boolean mountPoint, long parentFolderId, int status, 2272 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2273 throws com.liferay.portal.kernel.exception.SystemException { 2274 return getPersistence() 2275 .fetchByG_M_P_S_Last(groupId, mountPoint, parentFolderId, 2276 status, orderByComparator); 2277 } 2278 2279 /** 2280 * Returns the document library folders before and after the current document library folder in the ordered set where groupId = ? and mountPoint = ? and parentFolderId = ? and status = ?. 2281 * 2282 * @param folderId the primary key of the current document library folder 2283 * @param groupId the group ID 2284 * @param mountPoint the mount point 2285 * @param parentFolderId the parent folder ID 2286 * @param status the status 2287 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2288 * @return the previous, current, and next document library folder 2289 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 2290 * @throws SystemException if a system exception occurred 2291 */ 2292 public static com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_M_P_S_PrevAndNext( 2293 long folderId, long groupId, boolean mountPoint, long parentFolderId, 2294 int status, 2295 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2296 throws com.liferay.portal.kernel.exception.SystemException, 2297 com.liferay.portlet.documentlibrary.NoSuchFolderException { 2298 return getPersistence() 2299 .findByG_M_P_S_PrevAndNext(folderId, groupId, mountPoint, 2300 parentFolderId, status, orderByComparator); 2301 } 2302 2303 /** 2304 * Returns all the document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and status = ?. 2305 * 2306 * @param groupId the group ID 2307 * @param mountPoint the mount point 2308 * @param parentFolderId the parent folder ID 2309 * @param status the status 2310 * @return the matching document library folders that the user has permission to view 2311 * @throws SystemException if a system exception occurred 2312 */ 2313 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P_S( 2314 long groupId, boolean mountPoint, long parentFolderId, int status) 2315 throws com.liferay.portal.kernel.exception.SystemException { 2316 return getPersistence() 2317 .filterFindByG_M_P_S(groupId, mountPoint, parentFolderId, 2318 status); 2319 } 2320 2321 /** 2322 * Returns a range of all the document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and status = ?. 2323 * 2324 * <p> 2325 * 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. 2326 * </p> 2327 * 2328 * @param groupId the group ID 2329 * @param mountPoint the mount point 2330 * @param parentFolderId the parent folder ID 2331 * @param status the status 2332 * @param start the lower bound of the range of document library folders 2333 * @param end the upper bound of the range of document library folders (not inclusive) 2334 * @return the range of matching document library folders that the user has permission to view 2335 * @throws SystemException if a system exception occurred 2336 */ 2337 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P_S( 2338 long groupId, boolean mountPoint, long parentFolderId, int status, 2339 int start, int end) 2340 throws com.liferay.portal.kernel.exception.SystemException { 2341 return getPersistence() 2342 .filterFindByG_M_P_S(groupId, mountPoint, parentFolderId, 2343 status, start, end); 2344 } 2345 2346 /** 2347 * Returns an ordered range of all the document library folders that the user has permissions to view where groupId = ? and mountPoint = ? and parentFolderId = ? and status = ?. 2348 * 2349 * <p> 2350 * 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. 2351 * </p> 2352 * 2353 * @param groupId the group ID 2354 * @param mountPoint the mount point 2355 * @param parentFolderId the parent folder ID 2356 * @param status the status 2357 * @param start the lower bound of the range of document library folders 2358 * @param end the upper bound of the range of document library folders (not inclusive) 2359 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2360 * @return the ordered range of matching document library folders that the user has permission to view 2361 * @throws SystemException if a system exception occurred 2362 */ 2363 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_M_P_S( 2364 long groupId, boolean mountPoint, long parentFolderId, int status, 2365 int start, int end, 2366 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2367 throws com.liferay.portal.kernel.exception.SystemException { 2368 return getPersistence() 2369 .filterFindByG_M_P_S(groupId, mountPoint, parentFolderId, 2370 status, start, end, orderByComparator); 2371 } 2372 2373 /** 2374 * Returns the document library folders before and after the current document library folder in the ordered set of document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and status = ?. 2375 * 2376 * @param folderId the primary key of the current document library folder 2377 * @param groupId the group ID 2378 * @param mountPoint the mount point 2379 * @param parentFolderId the parent folder ID 2380 * @param status the status 2381 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2382 * @return the previous, current, and next document library folder 2383 * @throws com.liferay.portlet.documentlibrary.NoSuchFolderException if a document library folder with the primary key could not be found 2384 * @throws SystemException if a system exception occurred 2385 */ 2386 public static com.liferay.portlet.documentlibrary.model.DLFolder[] filterFindByG_M_P_S_PrevAndNext( 2387 long folderId, long groupId, boolean mountPoint, long parentFolderId, 2388 int status, 2389 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2390 throws com.liferay.portal.kernel.exception.SystemException, 2391 com.liferay.portlet.documentlibrary.NoSuchFolderException { 2392 return getPersistence() 2393 .filterFindByG_M_P_S_PrevAndNext(folderId, groupId, 2394 mountPoint, parentFolderId, status, orderByComparator); 2395 } 2396 2397 /** 2398 * Returns all the document library folders. 2399 * 2400 * @return the document library folders 2401 * @throws SystemException if a system exception occurred 2402 */ 2403 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll() 2404 throws com.liferay.portal.kernel.exception.SystemException { 2405 return getPersistence().findAll(); 2406 } 2407 2408 /** 2409 * Returns a range of all the document library folders. 2410 * 2411 * <p> 2412 * 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. 2413 * </p> 2414 * 2415 * @param start the lower bound of the range of document library folders 2416 * @param end the upper bound of the range of document library folders (not inclusive) 2417 * @return the range of document library folders 2418 * @throws SystemException if a system exception occurred 2419 */ 2420 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll( 2421 int start, int end) 2422 throws com.liferay.portal.kernel.exception.SystemException { 2423 return getPersistence().findAll(start, end); 2424 } 2425 2426 /** 2427 * Returns an ordered range of all the document library folders. 2428 * 2429 * <p> 2430 * 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. 2431 * </p> 2432 * 2433 * @param start the lower bound of the range of document library folders 2434 * @param end the upper bound of the range of document library folders (not inclusive) 2435 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2436 * @return the ordered range of document library folders 2437 * @throws SystemException if a system exception occurred 2438 */ 2439 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll( 2440 int start, int end, 2441 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2442 throws com.liferay.portal.kernel.exception.SystemException { 2443 return getPersistence().findAll(start, end, orderByComparator); 2444 } 2445 2446 /** 2447 * Removes all the document library folders where uuid = ? from the database. 2448 * 2449 * @param uuid the uuid 2450 * @throws SystemException if a system exception occurred 2451 */ 2452 public static void removeByUuid(java.lang.String uuid) 2453 throws com.liferay.portal.kernel.exception.SystemException { 2454 getPersistence().removeByUuid(uuid); 2455 } 2456 2457 /** 2458 * Removes the document library folder where uuid = ? and groupId = ? from the database. 2459 * 2460 * @param uuid the uuid 2461 * @param groupId the group ID 2462 * @return the document library folder that was removed 2463 * @throws SystemException if a system exception occurred 2464 */ 2465 public static com.liferay.portlet.documentlibrary.model.DLFolder removeByUUID_G( 2466 java.lang.String uuid, long groupId) 2467 throws com.liferay.portal.kernel.exception.SystemException, 2468 com.liferay.portlet.documentlibrary.NoSuchFolderException { 2469 return getPersistence().removeByUUID_G(uuid, groupId); 2470 } 2471 2472 /** 2473 * Removes all the document library folders where uuid = ? and companyId = ? from the database. 2474 * 2475 * @param uuid the uuid 2476 * @param companyId the company ID 2477 * @throws SystemException if a system exception occurred 2478 */ 2479 public static void removeByUuid_C(java.lang.String uuid, long companyId) 2480 throws com.liferay.portal.kernel.exception.SystemException { 2481 getPersistence().removeByUuid_C(uuid, companyId); 2482 } 2483 2484 /** 2485 * Removes all the document library folders where groupId = ? from the database. 2486 * 2487 * @param groupId the group ID 2488 * @throws SystemException if a system exception occurred 2489 */ 2490 public static void removeByGroupId(long groupId) 2491 throws com.liferay.portal.kernel.exception.SystemException { 2492 getPersistence().removeByGroupId(groupId); 2493 } 2494 2495 /** 2496 * Removes all the document library folders where companyId = ? from the database. 2497 * 2498 * @param companyId the company ID 2499 * @throws SystemException if a system exception occurred 2500 */ 2501 public static void removeByCompanyId(long companyId) 2502 throws com.liferay.portal.kernel.exception.SystemException { 2503 getPersistence().removeByCompanyId(companyId); 2504 } 2505 2506 /** 2507 * Removes the document library folder where repositoryId = ? from the database. 2508 * 2509 * @param repositoryId the repository ID 2510 * @return the document library folder that was removed 2511 * @throws SystemException if a system exception occurred 2512 */ 2513 public static com.liferay.portlet.documentlibrary.model.DLFolder removeByRepositoryId( 2514 long repositoryId) 2515 throws com.liferay.portal.kernel.exception.SystemException, 2516 com.liferay.portlet.documentlibrary.NoSuchFolderException { 2517 return getPersistence().removeByRepositoryId(repositoryId); 2518 } 2519 2520 /** 2521 * Removes all the document library folders where groupId = ? and parentFolderId = ? from the database. 2522 * 2523 * @param groupId the group ID 2524 * @param parentFolderId the parent folder ID 2525 * @throws SystemException if a system exception occurred 2526 */ 2527 public static void removeByG_P(long groupId, long parentFolderId) 2528 throws com.liferay.portal.kernel.exception.SystemException { 2529 getPersistence().removeByG_P(groupId, parentFolderId); 2530 } 2531 2532 /** 2533 * Removes all the document library folders where parentFolderId = ? and name = ? from the database. 2534 * 2535 * @param parentFolderId the parent folder ID 2536 * @param name the name 2537 * @throws SystemException if a system exception occurred 2538 */ 2539 public static void removeByP_N(long parentFolderId, java.lang.String name) 2540 throws com.liferay.portal.kernel.exception.SystemException { 2541 getPersistence().removeByP_N(parentFolderId, name); 2542 } 2543 2544 /** 2545 * Removes all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? from the database. 2546 * 2547 * @param groupId the group ID 2548 * @param mountPoint the mount point 2549 * @param parentFolderId the parent folder ID 2550 * @throws SystemException if a system exception occurred 2551 */ 2552 public static void removeByG_M_P(long groupId, boolean mountPoint, 2553 long parentFolderId) 2554 throws com.liferay.portal.kernel.exception.SystemException { 2555 getPersistence().removeByG_M_P(groupId, mountPoint, parentFolderId); 2556 } 2557 2558 /** 2559 * Removes the document library folder where groupId = ? and parentFolderId = ? and name = ? from the database. 2560 * 2561 * @param groupId the group ID 2562 * @param parentFolderId the parent folder ID 2563 * @param name the name 2564 * @return the document library folder that was removed 2565 * @throws SystemException if a system exception occurred 2566 */ 2567 public static com.liferay.portlet.documentlibrary.model.DLFolder removeByG_P_N( 2568 long groupId, long parentFolderId, java.lang.String name) 2569 throws com.liferay.portal.kernel.exception.SystemException, 2570 com.liferay.portlet.documentlibrary.NoSuchFolderException { 2571 return getPersistence().removeByG_P_N(groupId, parentFolderId, name); 2572 } 2573 2574 /** 2575 * Removes all the document library folders where groupId = ? and parentFolderId = ? and status = ? from the database. 2576 * 2577 * @param groupId the group ID 2578 * @param parentFolderId the parent folder ID 2579 * @param status the status 2580 * @throws SystemException if a system exception occurred 2581 */ 2582 public static void removeByG_P_S(long groupId, long parentFolderId, 2583 int status) throws com.liferay.portal.kernel.exception.SystemException { 2584 getPersistence().removeByG_P_S(groupId, parentFolderId, status); 2585 } 2586 2587 /** 2588 * Removes all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ? from the database. 2589 * 2590 * @param groupId the group ID 2591 * @param mountPoint the mount point 2592 * @param parentFolderId the parent folder ID 2593 * @param hidden the hidden 2594 * @throws SystemException if a system exception occurred 2595 */ 2596 public static void removeByG_M_P_H(long groupId, boolean mountPoint, 2597 long parentFolderId, boolean hidden) 2598 throws com.liferay.portal.kernel.exception.SystemException { 2599 getPersistence() 2600 .removeByG_M_P_H(groupId, mountPoint, parentFolderId, hidden); 2601 } 2602 2603 /** 2604 * Removes all the document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and status = ? from the database. 2605 * 2606 * @param groupId the group ID 2607 * @param mountPoint the mount point 2608 * @param parentFolderId the parent folder ID 2609 * @param status the status 2610 * @throws SystemException if a system exception occurred 2611 */ 2612 public static void removeByG_M_P_S(long groupId, boolean mountPoint, 2613 long parentFolderId, int status) 2614 throws com.liferay.portal.kernel.exception.SystemException { 2615 getPersistence() 2616 .removeByG_M_P_S(groupId, mountPoint, parentFolderId, status); 2617 } 2618 2619 /** 2620 * Removes all the document library folders from the database. 2621 * 2622 * @throws SystemException if a system exception occurred 2623 */ 2624 public static void removeAll() 2625 throws com.liferay.portal.kernel.exception.SystemException { 2626 getPersistence().removeAll(); 2627 } 2628 2629 /** 2630 * Returns the number of document library folders where uuid = ?. 2631 * 2632 * @param uuid the uuid 2633 * @return the number of matching document library folders 2634 * @throws SystemException if a system exception occurred 2635 */ 2636 public static int countByUuid(java.lang.String uuid) 2637 throws com.liferay.portal.kernel.exception.SystemException { 2638 return getPersistence().countByUuid(uuid); 2639 } 2640 2641 /** 2642 * Returns the number of document library folders where uuid = ? and groupId = ?. 2643 * 2644 * @param uuid the uuid 2645 * @param groupId the group ID 2646 * @return the number of matching document library folders 2647 * @throws SystemException if a system exception occurred 2648 */ 2649 public static int countByUUID_G(java.lang.String uuid, long groupId) 2650 throws com.liferay.portal.kernel.exception.SystemException { 2651 return getPersistence().countByUUID_G(uuid, groupId); 2652 } 2653 2654 /** 2655 * Returns the number of document library folders where uuid = ? and companyId = ?. 2656 * 2657 * @param uuid the uuid 2658 * @param companyId the company ID 2659 * @return the number of matching document library folders 2660 * @throws SystemException if a system exception occurred 2661 */ 2662 public static int countByUuid_C(java.lang.String uuid, long companyId) 2663 throws com.liferay.portal.kernel.exception.SystemException { 2664 return getPersistence().countByUuid_C(uuid, companyId); 2665 } 2666 2667 /** 2668 * Returns the number of document library folders where groupId = ?. 2669 * 2670 * @param groupId the group ID 2671 * @return the number of matching document library folders 2672 * @throws SystemException if a system exception occurred 2673 */ 2674 public static int countByGroupId(long groupId) 2675 throws com.liferay.portal.kernel.exception.SystemException { 2676 return getPersistence().countByGroupId(groupId); 2677 } 2678 2679 /** 2680 * Returns the number of document library folders that the user has permission to view where groupId = ?. 2681 * 2682 * @param groupId the group ID 2683 * @return the number of matching document library folders that the user has permission to view 2684 * @throws SystemException if a system exception occurred 2685 */ 2686 public static int filterCountByGroupId(long groupId) 2687 throws com.liferay.portal.kernel.exception.SystemException { 2688 return getPersistence().filterCountByGroupId(groupId); 2689 } 2690 2691 /** 2692 * Returns the number of document library folders where companyId = ?. 2693 * 2694 * @param companyId the company ID 2695 * @return the number of matching document library folders 2696 * @throws SystemException if a system exception occurred 2697 */ 2698 public static int countByCompanyId(long companyId) 2699 throws com.liferay.portal.kernel.exception.SystemException { 2700 return getPersistence().countByCompanyId(companyId); 2701 } 2702 2703 /** 2704 * Returns the number of document library folders where repositoryId = ?. 2705 * 2706 * @param repositoryId the repository ID 2707 * @return the number of matching document library folders 2708 * @throws SystemException if a system exception occurred 2709 */ 2710 public static int countByRepositoryId(long repositoryId) 2711 throws com.liferay.portal.kernel.exception.SystemException { 2712 return getPersistence().countByRepositoryId(repositoryId); 2713 } 2714 2715 /** 2716 * Returns the number of document library folders where groupId = ? and parentFolderId = ?. 2717 * 2718 * @param groupId the group ID 2719 * @param parentFolderId the parent folder ID 2720 * @return the number of matching document library folders 2721 * @throws SystemException if a system exception occurred 2722 */ 2723 public static int countByG_P(long groupId, long parentFolderId) 2724 throws com.liferay.portal.kernel.exception.SystemException { 2725 return getPersistence().countByG_P(groupId, parentFolderId); 2726 } 2727 2728 /** 2729 * Returns the number of document library folders that the user has permission to view where groupId = ? and parentFolderId = ?. 2730 * 2731 * @param groupId the group ID 2732 * @param parentFolderId the parent folder ID 2733 * @return the number of matching document library folders that the user has permission to view 2734 * @throws SystemException if a system exception occurred 2735 */ 2736 public static int filterCountByG_P(long groupId, long parentFolderId) 2737 throws com.liferay.portal.kernel.exception.SystemException { 2738 return getPersistence().filterCountByG_P(groupId, parentFolderId); 2739 } 2740 2741 /** 2742 * Returns the number of document library folders where parentFolderId = ? and name = ?. 2743 * 2744 * @param parentFolderId the parent folder ID 2745 * @param name the name 2746 * @return the number of matching document library folders 2747 * @throws SystemException if a system exception occurred 2748 */ 2749 public static int countByP_N(long parentFolderId, java.lang.String name) 2750 throws com.liferay.portal.kernel.exception.SystemException { 2751 return getPersistence().countByP_N(parentFolderId, name); 2752 } 2753 2754 /** 2755 * Returns the number of document library folders where groupId = ? and mountPoint = ? and parentFolderId = ?. 2756 * 2757 * @param groupId the group ID 2758 * @param mountPoint the mount point 2759 * @param parentFolderId the parent folder ID 2760 * @return the number of matching document library folders 2761 * @throws SystemException if a system exception occurred 2762 */ 2763 public static int countByG_M_P(long groupId, boolean mountPoint, 2764 long parentFolderId) 2765 throws com.liferay.portal.kernel.exception.SystemException { 2766 return getPersistence().countByG_M_P(groupId, mountPoint, parentFolderId); 2767 } 2768 2769 /** 2770 * Returns the number of document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ?. 2771 * 2772 * @param groupId the group ID 2773 * @param mountPoint the mount point 2774 * @param parentFolderId the parent folder ID 2775 * @return the number of matching document library folders that the user has permission to view 2776 * @throws SystemException if a system exception occurred 2777 */ 2778 public static int filterCountByG_M_P(long groupId, boolean mountPoint, 2779 long parentFolderId) 2780 throws com.liferay.portal.kernel.exception.SystemException { 2781 return getPersistence() 2782 .filterCountByG_M_P(groupId, mountPoint, parentFolderId); 2783 } 2784 2785 /** 2786 * Returns the number of document library folders where groupId = ? and parentFolderId = ? and name = ?. 2787 * 2788 * @param groupId the group ID 2789 * @param parentFolderId the parent folder ID 2790 * @param name the name 2791 * @return the number of matching document library folders 2792 * @throws SystemException if a system exception occurred 2793 */ 2794 public static int countByG_P_N(long groupId, long parentFolderId, 2795 java.lang.String name) 2796 throws com.liferay.portal.kernel.exception.SystemException { 2797 return getPersistence().countByG_P_N(groupId, parentFolderId, name); 2798 } 2799 2800 /** 2801 * Returns the number of document library folders where groupId = ? and parentFolderId = ? and status = ?. 2802 * 2803 * @param groupId the group ID 2804 * @param parentFolderId the parent folder ID 2805 * @param status the status 2806 * @return the number of matching document library folders 2807 * @throws SystemException if a system exception occurred 2808 */ 2809 public static int countByG_P_S(long groupId, long parentFolderId, int status) 2810 throws com.liferay.portal.kernel.exception.SystemException { 2811 return getPersistence().countByG_P_S(groupId, parentFolderId, status); 2812 } 2813 2814 /** 2815 * Returns the number of document library folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?. 2816 * 2817 * @param groupId the group ID 2818 * @param parentFolderId the parent folder ID 2819 * @param status the status 2820 * @return the number of matching document library folders that the user has permission to view 2821 * @throws SystemException if a system exception occurred 2822 */ 2823 public static int filterCountByG_P_S(long groupId, long parentFolderId, 2824 int status) throws com.liferay.portal.kernel.exception.SystemException { 2825 return getPersistence() 2826 .filterCountByG_P_S(groupId, parentFolderId, status); 2827 } 2828 2829 /** 2830 * Returns the number of document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 2831 * 2832 * @param groupId the group ID 2833 * @param mountPoint the mount point 2834 * @param parentFolderId the parent folder ID 2835 * @param hidden the hidden 2836 * @return the number of matching document library folders 2837 * @throws SystemException if a system exception occurred 2838 */ 2839 public static int countByG_M_P_H(long groupId, boolean mountPoint, 2840 long parentFolderId, boolean hidden) 2841 throws com.liferay.portal.kernel.exception.SystemException { 2842 return getPersistence() 2843 .countByG_M_P_H(groupId, mountPoint, parentFolderId, hidden); 2844 } 2845 2846 /** 2847 * Returns the number of document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and hidden = ?. 2848 * 2849 * @param groupId the group ID 2850 * @param mountPoint the mount point 2851 * @param parentFolderId the parent folder ID 2852 * @param hidden the hidden 2853 * @return the number of matching document library folders that the user has permission to view 2854 * @throws SystemException if a system exception occurred 2855 */ 2856 public static int filterCountByG_M_P_H(long groupId, boolean mountPoint, 2857 long parentFolderId, boolean hidden) 2858 throws com.liferay.portal.kernel.exception.SystemException { 2859 return getPersistence() 2860 .filterCountByG_M_P_H(groupId, mountPoint, parentFolderId, 2861 hidden); 2862 } 2863 2864 /** 2865 * Returns the number of document library folders where groupId = ? and mountPoint = ? and parentFolderId = ? and status = ?. 2866 * 2867 * @param groupId the group ID 2868 * @param mountPoint the mount point 2869 * @param parentFolderId the parent folder ID 2870 * @param status the status 2871 * @return the number of matching document library folders 2872 * @throws SystemException if a system exception occurred 2873 */ 2874 public static int countByG_M_P_S(long groupId, boolean mountPoint, 2875 long parentFolderId, int status) 2876 throws com.liferay.portal.kernel.exception.SystemException { 2877 return getPersistence() 2878 .countByG_M_P_S(groupId, mountPoint, parentFolderId, status); 2879 } 2880 2881 /** 2882 * Returns the number of document library folders that the user has permission to view where groupId = ? and mountPoint = ? and parentFolderId = ? and status = ?. 2883 * 2884 * @param groupId the group ID 2885 * @param mountPoint the mount point 2886 * @param parentFolderId the parent folder ID 2887 * @param status the status 2888 * @return the number of matching document library folders that the user has permission to view 2889 * @throws SystemException if a system exception occurred 2890 */ 2891 public static int filterCountByG_M_P_S(long groupId, boolean mountPoint, 2892 long parentFolderId, int status) 2893 throws com.liferay.portal.kernel.exception.SystemException { 2894 return getPersistence() 2895 .filterCountByG_M_P_S(groupId, mountPoint, parentFolderId, 2896 status); 2897 } 2898 2899 /** 2900 * Returns the number of document library folders. 2901 * 2902 * @return the number of document library folders 2903 * @throws SystemException if a system exception occurred 2904 */ 2905 public static int countAll() 2906 throws com.liferay.portal.kernel.exception.SystemException { 2907 return getPersistence().countAll(); 2908 } 2909 2910 /** 2911 * Returns all the document library file entry types associated with the document library folder. 2912 * 2913 * @param pk the primary key of the document library folder 2914 * @return the document library file entry types associated with the document library folder 2915 * @throws SystemException if a system exception occurred 2916 */ 2917 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes( 2918 long pk) throws com.liferay.portal.kernel.exception.SystemException { 2919 return getPersistence().getDLFileEntryTypes(pk); 2920 } 2921 2922 /** 2923 * Returns a range of all the document library file entry types associated with the document library folder. 2924 * 2925 * <p> 2926 * 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. 2927 * </p> 2928 * 2929 * @param pk the primary key of the document library folder 2930 * @param start the lower bound of the range of document library folders 2931 * @param end the upper bound of the range of document library folders (not inclusive) 2932 * @return the range of document library file entry types associated with the document library folder 2933 * @throws SystemException if a system exception occurred 2934 */ 2935 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes( 2936 long pk, int start, int end) 2937 throws com.liferay.portal.kernel.exception.SystemException { 2938 return getPersistence().getDLFileEntryTypes(pk, start, end); 2939 } 2940 2941 /** 2942 * Returns an ordered range of all the document library file entry types associated with the document library folder. 2943 * 2944 * <p> 2945 * 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. 2946 * </p> 2947 * 2948 * @param pk the primary key of the document library folder 2949 * @param start the lower bound of the range of document library folders 2950 * @param end the upper bound of the range of document library folders (not inclusive) 2951 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2952 * @return the ordered range of document library file entry types associated with the document library folder 2953 * @throws SystemException if a system exception occurred 2954 */ 2955 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes( 2956 long pk, int start, int end, 2957 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2958 throws com.liferay.portal.kernel.exception.SystemException { 2959 return getPersistence() 2960 .getDLFileEntryTypes(pk, start, end, orderByComparator); 2961 } 2962 2963 /** 2964 * Returns the number of document library file entry types associated with the document library folder. 2965 * 2966 * @param pk the primary key of the document library folder 2967 * @return the number of document library file entry types associated with the document library folder 2968 * @throws SystemException if a system exception occurred 2969 */ 2970 public static int getDLFileEntryTypesSize(long pk) 2971 throws com.liferay.portal.kernel.exception.SystemException { 2972 return getPersistence().getDLFileEntryTypesSize(pk); 2973 } 2974 2975 /** 2976 * Returns <code>true</code> if the document library file entry type is associated with the document library folder. 2977 * 2978 * @param pk the primary key of the document library folder 2979 * @param dlFileEntryTypePK the primary key of the document library file entry type 2980 * @return <code>true</code> if the document library file entry type is associated with the document library folder; <code>false</code> otherwise 2981 * @throws SystemException if a system exception occurred 2982 */ 2983 public static boolean containsDLFileEntryType(long pk, 2984 long dlFileEntryTypePK) 2985 throws com.liferay.portal.kernel.exception.SystemException { 2986 return getPersistence().containsDLFileEntryType(pk, dlFileEntryTypePK); 2987 } 2988 2989 /** 2990 * Returns <code>true</code> if the document library folder has any document library file entry types associated with it. 2991 * 2992 * @param pk the primary key of the document library folder to check for associations with document library file entry types 2993 * @return <code>true</code> if the document library folder has any document library file entry types associated with it; <code>false</code> otherwise 2994 * @throws SystemException if a system exception occurred 2995 */ 2996 public static boolean containsDLFileEntryTypes(long pk) 2997 throws com.liferay.portal.kernel.exception.SystemException { 2998 return getPersistence().containsDLFileEntryTypes(pk); 2999 } 3000 3001 /** 3002 * Adds an association between the document library folder and the document library file entry type. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3003 * 3004 * @param pk the primary key of the document library folder 3005 * @param dlFileEntryTypePK the primary key of the document library file entry type 3006 * @throws SystemException if a system exception occurred 3007 */ 3008 public static void addDLFileEntryType(long pk, long dlFileEntryTypePK) 3009 throws com.liferay.portal.kernel.exception.SystemException { 3010 getPersistence().addDLFileEntryType(pk, dlFileEntryTypePK); 3011 } 3012 3013 /** 3014 * Adds an association between the document library folder and the document library file entry type. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3015 * 3016 * @param pk the primary key of the document library folder 3017 * @param dlFileEntryType the document library file entry type 3018 * @throws SystemException if a system exception occurred 3019 */ 3020 public static void addDLFileEntryType(long pk, 3021 com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType) 3022 throws com.liferay.portal.kernel.exception.SystemException { 3023 getPersistence().addDLFileEntryType(pk, dlFileEntryType); 3024 } 3025 3026 /** 3027 * Adds an association between the document library folder and the document library file entry types. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3028 * 3029 * @param pk the primary key of the document library folder 3030 * @param dlFileEntryTypePKs the primary keys of the document library file entry types 3031 * @throws SystemException if a system exception occurred 3032 */ 3033 public static void addDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs) 3034 throws com.liferay.portal.kernel.exception.SystemException { 3035 getPersistence().addDLFileEntryTypes(pk, dlFileEntryTypePKs); 3036 } 3037 3038 /** 3039 * Adds an association between the document library folder and the document library file entry types. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3040 * 3041 * @param pk the primary key of the document library folder 3042 * @param dlFileEntryTypes the document library file entry types 3043 * @throws SystemException if a system exception occurred 3044 */ 3045 public static void addDLFileEntryTypes(long pk, 3046 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> dlFileEntryTypes) 3047 throws com.liferay.portal.kernel.exception.SystemException { 3048 getPersistence().addDLFileEntryTypes(pk, dlFileEntryTypes); 3049 } 3050 3051 /** 3052 * Clears all associations between the document library folder and its document library file entry types. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3053 * 3054 * @param pk the primary key of the document library folder to clear the associated document library file entry types from 3055 * @throws SystemException if a system exception occurred 3056 */ 3057 public static void clearDLFileEntryTypes(long pk) 3058 throws com.liferay.portal.kernel.exception.SystemException { 3059 getPersistence().clearDLFileEntryTypes(pk); 3060 } 3061 3062 /** 3063 * Removes the association between the document library folder and the document library file entry type. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3064 * 3065 * @param pk the primary key of the document library folder 3066 * @param dlFileEntryTypePK the primary key of the document library file entry type 3067 * @throws SystemException if a system exception occurred 3068 */ 3069 public static void removeDLFileEntryType(long pk, long dlFileEntryTypePK) 3070 throws com.liferay.portal.kernel.exception.SystemException { 3071 getPersistence().removeDLFileEntryType(pk, dlFileEntryTypePK); 3072 } 3073 3074 /** 3075 * Removes the association between the document library folder and the document library file entry type. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3076 * 3077 * @param pk the primary key of the document library folder 3078 * @param dlFileEntryType the document library file entry type 3079 * @throws SystemException if a system exception occurred 3080 */ 3081 public static void removeDLFileEntryType(long pk, 3082 com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType) 3083 throws com.liferay.portal.kernel.exception.SystemException { 3084 getPersistence().removeDLFileEntryType(pk, dlFileEntryType); 3085 } 3086 3087 /** 3088 * Removes the association between the document library folder and the document library file entry types. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3089 * 3090 * @param pk the primary key of the document library folder 3091 * @param dlFileEntryTypePKs the primary keys of the document library file entry types 3092 * @throws SystemException if a system exception occurred 3093 */ 3094 public static void removeDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs) 3095 throws com.liferay.portal.kernel.exception.SystemException { 3096 getPersistence().removeDLFileEntryTypes(pk, dlFileEntryTypePKs); 3097 } 3098 3099 /** 3100 * Removes the association between the document library folder and the document library file entry types. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3101 * 3102 * @param pk the primary key of the document library folder 3103 * @param dlFileEntryTypes the document library file entry types 3104 * @throws SystemException if a system exception occurred 3105 */ 3106 public static void removeDLFileEntryTypes(long pk, 3107 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> dlFileEntryTypes) 3108 throws com.liferay.portal.kernel.exception.SystemException { 3109 getPersistence().removeDLFileEntryTypes(pk, dlFileEntryTypes); 3110 } 3111 3112 /** 3113 * Sets the document library file entry types associated with the document library folder, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3114 * 3115 * @param pk the primary key of the document library folder 3116 * @param dlFileEntryTypePKs the primary keys of the document library file entry types to be associated with the document library folder 3117 * @throws SystemException if a system exception occurred 3118 */ 3119 public static void setDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs) 3120 throws com.liferay.portal.kernel.exception.SystemException { 3121 getPersistence().setDLFileEntryTypes(pk, dlFileEntryTypePKs); 3122 } 3123 3124 /** 3125 * Sets the document library file entry types associated with the document library folder, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache. 3126 * 3127 * @param pk the primary key of the document library folder 3128 * @param dlFileEntryTypes the document library file entry types to be associated with the document library folder 3129 * @throws SystemException if a system exception occurred 3130 */ 3131 public static void setDLFileEntryTypes(long pk, 3132 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> dlFileEntryTypes) 3133 throws com.liferay.portal.kernel.exception.SystemException { 3134 getPersistence().setDLFileEntryTypes(pk, dlFileEntryTypes); 3135 } 3136 3137 public static DLFolderPersistence getPersistence() { 3138 if (_persistence == null) { 3139 _persistence = (DLFolderPersistence)PortalBeanLocatorUtil.locate(DLFolderPersistence.class.getName()); 3140 3141 ReferenceRegistry.registerReference(DLFolderUtil.class, 3142 "_persistence"); 3143 } 3144 3145 return _persistence; 3146 } 3147 3148 /** 3149 * @deprecated 3150 */ 3151 public void setPersistence(DLFolderPersistence persistence) { 3152 } 3153 3154 private static DLFolderPersistence _persistence; 3155 }