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