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