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