001 /** 002 * Copyright (c) 2000-2010 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 d l file entry service. 023 * 024 * <p> 025 * Never modify or reference this interface directly. Always use {@link DLFileEntryUtil} to access the d l file entry persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 026 * </p> 027 * 028 * <p> 029 * Caching information and settings can be found in <code>portal.properties</code> 030 * </p> 031 * 032 * @author Brian Wing Shun Chan 033 * @see DLFileEntryPersistenceImpl 034 * @see DLFileEntryUtil 035 * @generated 036 */ 037 public interface DLFileEntryPersistence extends BasePersistence<DLFileEntry> { 038 /** 039 * Caches the d l file entry in the entity cache if it is enabled. 040 * 041 * @param dlFileEntry the d l file entry to cache 042 */ 043 public void cacheResult( 044 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry); 045 046 /** 047 * Caches the d l file entries in the entity cache if it is enabled. 048 * 049 * @param dlFileEntries the d l file entries to cache 050 */ 051 public void cacheResult( 052 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> dlFileEntries); 053 054 /** 055 * Creates a new d l file entry with the primary key. Does not add the d l file entry to the database. 056 * 057 * @param fileEntryId the primary key for the new d l file entry 058 * @return the new d l file entry 059 */ 060 public com.liferay.portlet.documentlibrary.model.DLFileEntry create( 061 long fileEntryId); 062 063 /** 064 * Removes the d l file entry with the primary key from the database. Also notifies the appropriate model listeners. 065 * 066 * @param fileEntryId the primary key of the d l file entry to remove 067 * @return the d l file entry that was removed 068 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a d l file entry with the primary key could not be found 069 * @throws SystemException if a system exception occurred 070 */ 071 public com.liferay.portlet.documentlibrary.model.DLFileEntry remove( 072 long fileEntryId) 073 throws com.liferay.portal.kernel.exception.SystemException, 074 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 075 076 public com.liferay.portlet.documentlibrary.model.DLFileEntry updateImpl( 077 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry, 078 boolean merge) 079 throws com.liferay.portal.kernel.exception.SystemException; 080 081 /** 082 * Finds the d l file entry with the primary key or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileEntryException} if it could not be found. 083 * 084 * @param fileEntryId the primary key of the d l file entry to find 085 * @return the d l file entry 086 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a d l file entry with the primary key could not be found 087 * @throws SystemException if a system exception occurred 088 */ 089 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByPrimaryKey( 090 long fileEntryId) 091 throws com.liferay.portal.kernel.exception.SystemException, 092 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 093 094 /** 095 * Finds the d l file entry with the primary key or returns <code>null</code> if it could not be found. 096 * 097 * @param fileEntryId the primary key of the d l file entry to find 098 * @return the d l file entry, or <code>null</code> if a d l file entry with the primary key could not be found 099 * @throws SystemException if a system exception occurred 100 */ 101 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByPrimaryKey( 102 long fileEntryId) 103 throws com.liferay.portal.kernel.exception.SystemException; 104 105 /** 106 * Finds all the d l file entries where uuid = ?. 107 * 108 * @param uuid the uuid to search with 109 * @return the matching d l file entries 110 * @throws SystemException if a system exception occurred 111 */ 112 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid( 113 java.lang.String uuid) 114 throws com.liferay.portal.kernel.exception.SystemException; 115 116 /** 117 * Finds a range of all the d l file entries where uuid = ?. 118 * 119 * <p> 120 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 121 * </p> 122 * 123 * @param uuid the uuid to search with 124 * @param start the lower bound of the range of d l file entries to return 125 * @param end the upper bound of the range of d l file entries to return (not inclusive) 126 * @return the range of matching d l file entries 127 * @throws SystemException if a system exception occurred 128 */ 129 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid( 130 java.lang.String uuid, int start, int end) 131 throws com.liferay.portal.kernel.exception.SystemException; 132 133 /** 134 * Finds an ordered range of all the d l file entries where uuid = ?. 135 * 136 * <p> 137 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 138 * </p> 139 * 140 * @param uuid the uuid to search with 141 * @param start the lower bound of the range of d l file entries to return 142 * @param end the upper bound of the range of d l file entries to return (not inclusive) 143 * @param orderByComparator the comparator to order the results by 144 * @return the ordered range of matching d l file entries 145 * @throws SystemException if a system exception occurred 146 */ 147 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid( 148 java.lang.String uuid, int start, int end, 149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 150 throws com.liferay.portal.kernel.exception.SystemException; 151 152 /** 153 * Finds the first d l file entry in the ordered set where uuid = ?. 154 * 155 * <p> 156 * 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. 157 * </p> 158 * 159 * @param uuid the uuid to search with 160 * @param orderByComparator the comparator to order the set by 161 * @return the first matching d l file entry 162 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found 163 * @throws SystemException if a system exception occurred 164 */ 165 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_First( 166 java.lang.String uuid, 167 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 168 throws com.liferay.portal.kernel.exception.SystemException, 169 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 170 171 /** 172 * Finds the last d l file entry in the ordered set where uuid = ?. 173 * 174 * <p> 175 * 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. 176 * </p> 177 * 178 * @param uuid the uuid to search with 179 * @param orderByComparator the comparator to order the set by 180 * @return the last matching d l file entry 181 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found 182 * @throws SystemException if a system exception occurred 183 */ 184 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_Last( 185 java.lang.String uuid, 186 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 187 throws com.liferay.portal.kernel.exception.SystemException, 188 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 189 190 /** 191 * Finds the d l file entries before and after the current d l file entry in the ordered set where uuid = ?. 192 * 193 * <p> 194 * 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. 195 * </p> 196 * 197 * @param fileEntryId the primary key of the current d l file entry 198 * @param uuid the uuid to search with 199 * @param orderByComparator the comparator to order the set by 200 * @return the previous, current, and next d l file entry 201 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a d l file entry with the primary key could not be found 202 * @throws SystemException if a system exception occurred 203 */ 204 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByUuid_PrevAndNext( 205 long fileEntryId, java.lang.String uuid, 206 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 207 throws com.liferay.portal.kernel.exception.SystemException, 208 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 209 210 /** 211 * Finds the d l file entry where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileEntryException} if it could not be found. 212 * 213 * @param uuid the uuid to search with 214 * @param groupId the group id to search with 215 * @return the matching d l file entry 216 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found 217 * @throws SystemException if a system exception occurred 218 */ 219 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByUUID_G( 220 java.lang.String uuid, long groupId) 221 throws com.liferay.portal.kernel.exception.SystemException, 222 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 223 224 /** 225 * Finds the d l file entry where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 226 * 227 * @param uuid the uuid to search with 228 * @param groupId the group id to search with 229 * @return the matching d l file entry, or <code>null</code> if a matching d l file entry could not be found 230 * @throws SystemException if a system exception occurred 231 */ 232 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByUUID_G( 233 java.lang.String uuid, long groupId) 234 throws com.liferay.portal.kernel.exception.SystemException; 235 236 /** 237 * Finds the d l file entry where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 238 * 239 * @param uuid the uuid to search with 240 * @param groupId the group id to search with 241 * @return the matching d l file entry, or <code>null</code> if a matching d l file entry could not be found 242 * @throws SystemException if a system exception occurred 243 */ 244 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByUUID_G( 245 java.lang.String uuid, long groupId, boolean retrieveFromCache) 246 throws com.liferay.portal.kernel.exception.SystemException; 247 248 /** 249 * Finds all the d l file entries where groupId = ?. 250 * 251 * @param groupId the group id to search with 252 * @return the matching d l file entries 253 * @throws SystemException if a system exception occurred 254 */ 255 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByGroupId( 256 long groupId) 257 throws com.liferay.portal.kernel.exception.SystemException; 258 259 /** 260 * Finds a range of all the d l file entries where groupId = ?. 261 * 262 * <p> 263 * 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. 264 * </p> 265 * 266 * @param groupId the group id to search with 267 * @param start the lower bound of the range of d l file entries to return 268 * @param end the upper bound of the range of d l file entries to return (not inclusive) 269 * @return the range of matching d l 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, int start, int end) 274 throws com.liferay.portal.kernel.exception.SystemException; 275 276 /** 277 * Finds an ordered range of all the d l 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 to search with 284 * @param start the lower bound of the range of d l file entries to return 285 * @param end the upper bound of the range of d l file entries to return (not inclusive) 286 * @param orderByComparator the comparator to order the results by 287 * @return the ordered range of matching d l file entries 288 * @throws SystemException if a system exception occurred 289 */ 290 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByGroupId( 291 long groupId, int start, int end, 292 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 293 throws com.liferay.portal.kernel.exception.SystemException; 294 295 /** 296 * Finds the first d l file entry in the ordered set where groupId = ?. 297 * 298 * <p> 299 * 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. 300 * </p> 301 * 302 * @param groupId the group id to search with 303 * @param orderByComparator the comparator to order the set by 304 * @return the first matching d l file entry 305 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found 306 * @throws SystemException if a system exception occurred 307 */ 308 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByGroupId_First( 309 long groupId, 310 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 311 throws com.liferay.portal.kernel.exception.SystemException, 312 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 313 314 /** 315 * Finds the last d l file entry in the ordered set where groupId = ?. 316 * 317 * <p> 318 * 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. 319 * </p> 320 * 321 * @param groupId the group id to search with 322 * @param orderByComparator the comparator to order the set by 323 * @return the last matching d l file entry 324 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found 325 * @throws SystemException if a system exception occurred 326 */ 327 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByGroupId_Last( 328 long groupId, 329 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 330 throws com.liferay.portal.kernel.exception.SystemException, 331 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 332 333 /** 334 * Finds the d l file entries before and after the current d l file entry in the ordered set where groupId = ?. 335 * 336 * <p> 337 * 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. 338 * </p> 339 * 340 * @param fileEntryId the primary key of the current d l file entry 341 * @param groupId the group id to search with 342 * @param orderByComparator the comparator to order the set by 343 * @return the previous, current, and next d l file entry 344 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a d l file entry with the primary key could not be found 345 * @throws SystemException if a system exception occurred 346 */ 347 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByGroupId_PrevAndNext( 348 long fileEntryId, long groupId, 349 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 350 throws com.liferay.portal.kernel.exception.SystemException, 351 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 352 353 /** 354 * Filters by the user's permissions and finds all the d l file entries where groupId = ?. 355 * 356 * @param groupId the group id to search with 357 * @return the matching d l file entries that the user has permission to view 358 * @throws SystemException if a system exception occurred 359 */ 360 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByGroupId( 361 long groupId) 362 throws com.liferay.portal.kernel.exception.SystemException; 363 364 /** 365 * Filters by the user's permissions and finds a range of all the d l file entries where groupId = ?. 366 * 367 * <p> 368 * 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. 369 * </p> 370 * 371 * @param groupId the group id to search with 372 * @param start the lower bound of the range of d l file entries to return 373 * @param end the upper bound of the range of d l file entries to return (not inclusive) 374 * @return the range of matching d l file entries that the user has permission to view 375 * @throws SystemException if a system exception occurred 376 */ 377 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByGroupId( 378 long groupId, int start, int end) 379 throws com.liferay.portal.kernel.exception.SystemException; 380 381 /** 382 * Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = ?. 383 * 384 * <p> 385 * 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. 386 * </p> 387 * 388 * @param groupId the group id to search with 389 * @param start the lower bound of the range of d l file entries to return 390 * @param end the upper bound of the range of d l file entries to return (not inclusive) 391 * @param orderByComparator the comparator to order the results by 392 * @return the ordered range of matching d l file entries that the user has permission to view 393 * @throws SystemException if a system exception occurred 394 */ 395 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByGroupId( 396 long groupId, int start, int end, 397 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 398 throws com.liferay.portal.kernel.exception.SystemException; 399 400 /** 401 * Finds all the d l file entries where companyId = ?. 402 * 403 * @param companyId the company id to search with 404 * @return the matching d l file entries 405 * @throws SystemException if a system exception occurred 406 */ 407 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId( 408 long companyId) 409 throws com.liferay.portal.kernel.exception.SystemException; 410 411 /** 412 * Finds a range of all the d l file entries where companyId = ?. 413 * 414 * <p> 415 * 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. 416 * </p> 417 * 418 * @param companyId the company id to search with 419 * @param start the lower bound of the range of d l file entries to return 420 * @param end the upper bound of the range of d l file entries to return (not inclusive) 421 * @return the range of matching d l file entries 422 * @throws SystemException if a system exception occurred 423 */ 424 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId( 425 long companyId, int start, int end) 426 throws com.liferay.portal.kernel.exception.SystemException; 427 428 /** 429 * Finds an ordered range of all the d l file entries where companyId = ?. 430 * 431 * <p> 432 * 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. 433 * </p> 434 * 435 * @param companyId the company id to search with 436 * @param start the lower bound of the range of d l file entries to return 437 * @param end the upper bound of the range of d l file entries to return (not inclusive) 438 * @param orderByComparator the comparator to order the results by 439 * @return the ordered range of matching d l file entries 440 * @throws SystemException if a system exception occurred 441 */ 442 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId( 443 long companyId, int start, int end, 444 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 445 throws com.liferay.portal.kernel.exception.SystemException; 446 447 /** 448 * Finds the first d l file entry in the ordered set where companyId = ?. 449 * 450 * <p> 451 * 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. 452 * </p> 453 * 454 * @param companyId the company id to search with 455 * @param orderByComparator the comparator to order the set by 456 * @return the first matching d l file entry 457 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found 458 * @throws SystemException if a system exception occurred 459 */ 460 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_First( 461 long companyId, 462 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 463 throws com.liferay.portal.kernel.exception.SystemException, 464 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 465 466 /** 467 * Finds the last d l file entry in the ordered set where companyId = ?. 468 * 469 * <p> 470 * 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. 471 * </p> 472 * 473 * @param companyId the company id to search with 474 * @param orderByComparator the comparator to order the set by 475 * @return the last matching d l file entry 476 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found 477 * @throws SystemException if a system exception occurred 478 */ 479 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_Last( 480 long companyId, 481 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 482 throws com.liferay.portal.kernel.exception.SystemException, 483 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 484 485 /** 486 * Finds the d l file entries before and after the current d l file entry in the ordered set where companyId = ?. 487 * 488 * <p> 489 * 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. 490 * </p> 491 * 492 * @param fileEntryId the primary key of the current d l file entry 493 * @param companyId the company id to search with 494 * @param orderByComparator the comparator to order the set by 495 * @return the previous, current, and next d l file entry 496 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a d l file entry with the primary key could not be found 497 * @throws SystemException if a system exception occurred 498 */ 499 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByCompanyId_PrevAndNext( 500 long fileEntryId, long companyId, 501 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 502 throws com.liferay.portal.kernel.exception.SystemException, 503 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 504 505 /** 506 * Finds all the d l file entries where groupId = ? and userId = ?. 507 * 508 * @param groupId the group id to search with 509 * @param userId the user id to search with 510 * @return the matching d l file entries 511 * @throws SystemException if a system exception occurred 512 */ 513 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U( 514 long groupId, long userId) 515 throws com.liferay.portal.kernel.exception.SystemException; 516 517 /** 518 * Finds a range of all the d l file entries where groupId = ? and userId = ?. 519 * 520 * <p> 521 * 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. 522 * </p> 523 * 524 * @param groupId the group id to search with 525 * @param userId the user id to search with 526 * @param start the lower bound of the range of d l file entries to return 527 * @param end the upper bound of the range of d l file entries to return (not inclusive) 528 * @return the range of matching d l file entries 529 * @throws SystemException if a system exception occurred 530 */ 531 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U( 532 long groupId, long userId, int start, int end) 533 throws com.liferay.portal.kernel.exception.SystemException; 534 535 /** 536 * Finds an ordered range of all the d l file entries where groupId = ? and userId = ?. 537 * 538 * <p> 539 * 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. 540 * </p> 541 * 542 * @param groupId the group id to search with 543 * @param userId the user id to search with 544 * @param start the lower bound of the range of d l file entries to return 545 * @param end the upper bound of the range of d l file entries to return (not inclusive) 546 * @param orderByComparator the comparator to order the results by 547 * @return the ordered range of matching d l file entries 548 * @throws SystemException if a system exception occurred 549 */ 550 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U( 551 long groupId, long userId, int start, int end, 552 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 553 throws com.liferay.portal.kernel.exception.SystemException; 554 555 /** 556 * Finds the first d l file entry in the ordered set where groupId = ? and userId = ?. 557 * 558 * <p> 559 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 560 * </p> 561 * 562 * @param groupId the group id to search with 563 * @param userId the user id to search with 564 * @param orderByComparator the comparator to order the set by 565 * @return the first matching d l file entry 566 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found 567 * @throws SystemException if a system exception occurred 568 */ 569 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_First( 570 long groupId, long userId, 571 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 572 throws com.liferay.portal.kernel.exception.SystemException, 573 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 574 575 /** 576 * Finds the last d l file entry in the ordered set where groupId = ? and userId = ?. 577 * 578 * <p> 579 * 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. 580 * </p> 581 * 582 * @param groupId the group id to search with 583 * @param userId the user id to search with 584 * @param orderByComparator the comparator to order the set by 585 * @return the last matching d l file entry 586 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found 587 * @throws SystemException if a system exception occurred 588 */ 589 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_Last( 590 long groupId, long userId, 591 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 592 throws com.liferay.portal.kernel.exception.SystemException, 593 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 594 595 /** 596 * Finds the d l file entries before and after the current d l file entry in the ordered set where groupId = ? and userId = ?. 597 * 598 * <p> 599 * 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. 600 * </p> 601 * 602 * @param fileEntryId the primary key of the current d l file entry 603 * @param groupId the group id to search with 604 * @param userId the user id to search with 605 * @param orderByComparator the comparator to order the set by 606 * @return the previous, current, and next d l file entry 607 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a d l file entry with the primary key could not be found 608 * @throws SystemException if a system exception occurred 609 */ 610 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_U_PrevAndNext( 611 long fileEntryId, long groupId, long userId, 612 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 613 throws com.liferay.portal.kernel.exception.SystemException, 614 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 615 616 /** 617 * Filters by the user's permissions and finds all the d l file entries where groupId = ? and userId = ?. 618 * 619 * @param groupId the group id to search with 620 * @param userId the user id to search with 621 * @return the matching d l file entries that the user has permission to view 622 * @throws SystemException if a system exception occurred 623 */ 624 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U( 625 long groupId, long userId) 626 throws com.liferay.portal.kernel.exception.SystemException; 627 628 /** 629 * Filters by the user's permissions and finds a range of all the d l file entries where groupId = ? and userId = ?. 630 * 631 * <p> 632 * 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. 633 * </p> 634 * 635 * @param groupId the group id to search with 636 * @param userId the user id to search with 637 * @param start the lower bound of the range of d l file entries to return 638 * @param end the upper bound of the range of d l file entries to return (not inclusive) 639 * @return the range of matching d l file entries that the user has permission to view 640 * @throws SystemException if a system exception occurred 641 */ 642 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U( 643 long groupId, long userId, int start, int end) 644 throws com.liferay.portal.kernel.exception.SystemException; 645 646 /** 647 * Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = ? and userId = ?. 648 * 649 * <p> 650 * 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. 651 * </p> 652 * 653 * @param groupId the group id to search with 654 * @param userId the user id to search with 655 * @param start the lower bound of the range of d l file entries to return 656 * @param end the upper bound of the range of d l file entries to return (not inclusive) 657 * @param orderByComparator the comparator to order the results by 658 * @return the ordered range of matching d l file entries that the user has permission to view 659 * @throws SystemException if a system exception occurred 660 */ 661 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U( 662 long groupId, long userId, int start, int end, 663 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 664 throws com.liferay.portal.kernel.exception.SystemException; 665 666 /** 667 * Finds all the d l file entries where groupId = ? and folderId = ?. 668 * 669 * @param groupId the group id to search with 670 * @param folderId the folder id to search with 671 * @return the matching d l file entries 672 * @throws SystemException if a system exception occurred 673 */ 674 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F( 675 long groupId, long folderId) 676 throws com.liferay.portal.kernel.exception.SystemException; 677 678 /** 679 * Finds a range of all the d l file entries where groupId = ? and folderId = ?. 680 * 681 * <p> 682 * 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. 683 * </p> 684 * 685 * @param groupId the group id to search with 686 * @param folderId the folder id to search with 687 * @param start the lower bound of the range of d l file entries to return 688 * @param end the upper bound of the range of d l file entries to return (not inclusive) 689 * @return the range of matching d l file entries 690 * @throws SystemException if a system exception occurred 691 */ 692 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F( 693 long groupId, long folderId, int start, int end) 694 throws com.liferay.portal.kernel.exception.SystemException; 695 696 /** 697 * Finds an ordered range of all the d l file entries where groupId = ? and folderId = ?. 698 * 699 * <p> 700 * 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. 701 * </p> 702 * 703 * @param groupId the group id to search with 704 * @param folderId the folder id to search with 705 * @param start the lower bound of the range of d l file entries to return 706 * @param end the upper bound of the range of d l file entries to return (not inclusive) 707 * @param orderByComparator the comparator to order the results by 708 * @return the ordered range of matching d l file entries 709 * @throws SystemException if a system exception occurred 710 */ 711 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F( 712 long groupId, long folderId, int start, int end, 713 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 714 throws com.liferay.portal.kernel.exception.SystemException; 715 716 /** 717 * Finds the first d l file entry in the ordered set where groupId = ? and folderId = ?. 718 * 719 * <p> 720 * 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. 721 * </p> 722 * 723 * @param groupId the group id to search with 724 * @param folderId the folder id to search with 725 * @param orderByComparator the comparator to order the set by 726 * @return the first matching d l file entry 727 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found 728 * @throws SystemException if a system exception occurred 729 */ 730 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_First( 731 long groupId, long folderId, 732 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 733 throws com.liferay.portal.kernel.exception.SystemException, 734 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 735 736 /** 737 * Finds the last d l file entry in the ordered set where groupId = ? and folderId = ?. 738 * 739 * <p> 740 * 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. 741 * </p> 742 * 743 * @param groupId the group id to search with 744 * @param folderId the folder id to search with 745 * @param orderByComparator the comparator to order the set by 746 * @return the last matching d l file entry 747 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found 748 * @throws SystemException if a system exception occurred 749 */ 750 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_Last( 751 long groupId, long folderId, 752 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 753 throws com.liferay.portal.kernel.exception.SystemException, 754 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 755 756 /** 757 * Finds the d l file entries before and after the current d l file entry in the ordered set where groupId = ? and folderId = ?. 758 * 759 * <p> 760 * 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. 761 * </p> 762 * 763 * @param fileEntryId the primary key of the current d l file entry 764 * @param groupId the group id to search with 765 * @param folderId the folder id to search with 766 * @param orderByComparator the comparator to order the set by 767 * @return the previous, current, and next d l file entry 768 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a d l file entry with the primary key could not be found 769 * @throws SystemException if a system exception occurred 770 */ 771 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_F_PrevAndNext( 772 long fileEntryId, long groupId, long folderId, 773 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 774 throws com.liferay.portal.kernel.exception.SystemException, 775 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 776 777 /** 778 * Finds all the d l file entries where groupId = ? and folderId = any ?. 779 * 780 * <p> 781 * 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. 782 * </p> 783 * 784 * @param groupId the group id to search with 785 * @param folderIds the folder ids to search with 786 * @return the matching d l file entries 787 * @throws SystemException if a system exception occurred 788 */ 789 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F( 790 long groupId, long[] folderIds) 791 throws com.liferay.portal.kernel.exception.SystemException; 792 793 /** 794 * Finds a range of all the d l file entries where groupId = ? and folderId = any ?. 795 * 796 * <p> 797 * 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. 798 * </p> 799 * 800 * @param groupId the group id to search with 801 * @param folderIds the folder ids to search with 802 * @param start the lower bound of the range of d l file entries to return 803 * @param end the upper bound of the range of d l file entries to return (not inclusive) 804 * @return the range of matching d l file entries 805 * @throws SystemException if a system exception occurred 806 */ 807 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F( 808 long groupId, long[] folderIds, int start, int end) 809 throws com.liferay.portal.kernel.exception.SystemException; 810 811 /** 812 * Finds an ordered range of all the d l file entries where groupId = ? and folderId = any ?. 813 * 814 * <p> 815 * 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. 816 * </p> 817 * 818 * @param groupId the group id to search with 819 * @param folderIds the folder ids to search with 820 * @param start the lower bound of the range of d l file entries to return 821 * @param end the upper bound of the range of d l file entries to return (not inclusive) 822 * @param orderByComparator the comparator to order the results by 823 * @return the ordered range of matching d l file entries 824 * @throws SystemException if a system exception occurred 825 */ 826 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F( 827 long groupId, long[] folderIds, int start, int end, 828 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 829 throws com.liferay.portal.kernel.exception.SystemException; 830 831 /** 832 * Filters by the user's permissions and finds all the d l file entries where groupId = ? and folderId = ?. 833 * 834 * @param groupId the group id to search with 835 * @param folderId the folder id to search with 836 * @return the matching d l file entries that the user has permission to view 837 * @throws SystemException if a system exception occurred 838 */ 839 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F( 840 long groupId, long folderId) 841 throws com.liferay.portal.kernel.exception.SystemException; 842 843 /** 844 * Filters by the user's permissions and finds a range of all the d l file entries where groupId = ? and folderId = ?. 845 * 846 * <p> 847 * 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. 848 * </p> 849 * 850 * @param groupId the group id to search with 851 * @param folderId the folder id to search with 852 * @param start the lower bound of the range of d l file entries to return 853 * @param end the upper bound of the range of d l file entries to return (not inclusive) 854 * @return the range of matching d l file entries that the user has permission to view 855 * @throws SystemException if a system exception occurred 856 */ 857 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F( 858 long groupId, long folderId, int start, int end) 859 throws com.liferay.portal.kernel.exception.SystemException; 860 861 /** 862 * Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = ? and folderId = ?. 863 * 864 * <p> 865 * 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. 866 * </p> 867 * 868 * @param groupId the group id to search with 869 * @param folderId the folder id to search with 870 * @param start the lower bound of the range of d l file entries to return 871 * @param end the upper bound of the range of d l file entries to return (not inclusive) 872 * @param orderByComparator the comparator to order the results by 873 * @return the ordered range of matching d l file entries that the user has permission to view 874 * @throws SystemException if a system exception occurred 875 */ 876 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F( 877 long groupId, long folderId, int start, int end, 878 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 879 throws com.liferay.portal.kernel.exception.SystemException; 880 881 /** 882 * Filters by the user's permissions and finds all the d l file entries where groupId = ? and folderId = any ?. 883 * 884 * <p> 885 * 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. 886 * </p> 887 * 888 * @param groupId the group id to search with 889 * @param folderIds the folder ids to search with 890 * @return the matching d l file entries that the user has permission to view 891 * @throws SystemException if a system exception occurred 892 */ 893 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F( 894 long groupId, long[] folderIds) 895 throws com.liferay.portal.kernel.exception.SystemException; 896 897 /** 898 * Filters by the user's permissions and finds a range of all the d l file entries where groupId = ? and folderId = any ?. 899 * 900 * <p> 901 * 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. 902 * </p> 903 * 904 * @param groupId the group id to search with 905 * @param folderIds the folder ids to search with 906 * @param start the lower bound of the range of d l file entries to return 907 * @param end the upper bound of the range of d l file entries to return (not inclusive) 908 * @return the range of matching d l file entries that the user has permission to view 909 * @throws SystemException if a system exception occurred 910 */ 911 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F( 912 long groupId, long[] folderIds, int start, int end) 913 throws com.liferay.portal.kernel.exception.SystemException; 914 915 /** 916 * Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = ? and folderId = any ?. 917 * 918 * <p> 919 * 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. 920 * </p> 921 * 922 * @param groupId the group id to search with 923 * @param folderIds the folder ids to search with 924 * @param start the lower bound of the range of d l file entries to return 925 * @param end the upper bound of the range of d l file entries to return (not inclusive) 926 * @param orderByComparator the comparator to order the results by 927 * @return the ordered range of matching d l file entries that the user has permission to view 928 * @throws SystemException if a system exception occurred 929 */ 930 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F( 931 long groupId, long[] folderIds, int start, int end, 932 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 933 throws com.liferay.portal.kernel.exception.SystemException; 934 935 /** 936 * Finds all the d l file entries where groupId = ? and userId = ? and folderId = ?. 937 * 938 * @param groupId the group id to search with 939 * @param userId the user id to search with 940 * @param folderId the folder id to search with 941 * @return the matching d l file entries 942 * @throws SystemException if a system exception occurred 943 */ 944 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F( 945 long groupId, long userId, long folderId) 946 throws com.liferay.portal.kernel.exception.SystemException; 947 948 /** 949 * Finds a range of all the d l file entries where groupId = ? and userId = ? and folderId = ?. 950 * 951 * <p> 952 * 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. 953 * </p> 954 * 955 * @param groupId the group id to search with 956 * @param userId the user id to search with 957 * @param folderId the folder id to search with 958 * @param start the lower bound of the range of d l file entries to return 959 * @param end the upper bound of the range of d l file entries to return (not inclusive) 960 * @return the range of matching d l file entries 961 * @throws SystemException if a system exception occurred 962 */ 963 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F( 964 long groupId, long userId, long folderId, int start, int end) 965 throws com.liferay.portal.kernel.exception.SystemException; 966 967 /** 968 * Finds an ordered range of all the d l file entries where groupId = ? and userId = ? and folderId = ?. 969 * 970 * <p> 971 * 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. 972 * </p> 973 * 974 * @param groupId the group id to search with 975 * @param userId the user id to search with 976 * @param folderId the folder id to search with 977 * @param start the lower bound of the range of d l file entries to return 978 * @param end the upper bound of the range of d l file entries to return (not inclusive) 979 * @param orderByComparator the comparator to order the results by 980 * @return the ordered range of matching d l file entries 981 * @throws SystemException if a system exception occurred 982 */ 983 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F( 984 long groupId, long userId, long folderId, int start, int end, 985 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 986 throws com.liferay.portal.kernel.exception.SystemException; 987 988 /** 989 * Finds the first d l file entry in the ordered set where groupId = ? and userId = ? and folderId = ?. 990 * 991 * <p> 992 * 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. 993 * </p> 994 * 995 * @param groupId the group id to search with 996 * @param userId the user id to search with 997 * @param folderId the folder id to search with 998 * @param orderByComparator the comparator to order the set by 999 * @return the first matching d l file entry 1000 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found 1001 * @throws SystemException if a system exception occurred 1002 */ 1003 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_F_First( 1004 long groupId, long userId, long folderId, 1005 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1006 throws com.liferay.portal.kernel.exception.SystemException, 1007 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 1008 1009 /** 1010 * Finds the last d l file entry in the ordered set where groupId = ? and userId = ? and folderId = ?. 1011 * 1012 * <p> 1013 * 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. 1014 * </p> 1015 * 1016 * @param groupId the group id to search with 1017 * @param userId the user id to search with 1018 * @param folderId the folder id to search with 1019 * @param orderByComparator the comparator to order the set by 1020 * @return the last matching d l file entry 1021 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found 1022 * @throws SystemException if a system exception occurred 1023 */ 1024 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_U_F_Last( 1025 long groupId, long userId, long folderId, 1026 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1027 throws com.liferay.portal.kernel.exception.SystemException, 1028 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 1029 1030 /** 1031 * Finds the d l file entries before and after the current d l file entry in the ordered set where groupId = ? and userId = ? and folderId = ?. 1032 * 1033 * <p> 1034 * 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. 1035 * </p> 1036 * 1037 * @param fileEntryId the primary key of the current d l file entry 1038 * @param groupId the group id to search with 1039 * @param userId the user id to search with 1040 * @param folderId the folder id to search with 1041 * @param orderByComparator the comparator to order the set by 1042 * @return the previous, current, and next d l file entry 1043 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a d l file entry with the primary key could not be found 1044 * @throws SystemException if a system exception occurred 1045 */ 1046 public com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByG_U_F_PrevAndNext( 1047 long fileEntryId, long groupId, long userId, long folderId, 1048 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1049 throws com.liferay.portal.kernel.exception.SystemException, 1050 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 1051 1052 /** 1053 * Finds all the d l file entries where groupId = ? and userId = ? and folderId = any ?. 1054 * 1055 * <p> 1056 * 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. 1057 * </p> 1058 * 1059 * @param groupId the group id to search with 1060 * @param userId the user id to search with 1061 * @param folderIds the folder ids to search with 1062 * @return the matching d l file entries 1063 * @throws SystemException if a system exception occurred 1064 */ 1065 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F( 1066 long groupId, long userId, long[] folderIds) 1067 throws com.liferay.portal.kernel.exception.SystemException; 1068 1069 /** 1070 * Finds a range of all the d l file entries where groupId = ? and userId = ? and folderId = any ?. 1071 * 1072 * <p> 1073 * 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. 1074 * </p> 1075 * 1076 * @param groupId the group id to search with 1077 * @param userId the user id to search with 1078 * @param folderIds the folder ids to search with 1079 * @param start the lower bound of the range of d l file entries to return 1080 * @param end the upper bound of the range of d l file entries to return (not inclusive) 1081 * @return the range of matching d l file entries 1082 * @throws SystemException if a system exception occurred 1083 */ 1084 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F( 1085 long groupId, long userId, long[] folderIds, int start, int end) 1086 throws com.liferay.portal.kernel.exception.SystemException; 1087 1088 /** 1089 * Finds an ordered range of all the d l file entries where groupId = ? and userId = ? and folderId = any ?. 1090 * 1091 * <p> 1092 * 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. 1093 * </p> 1094 * 1095 * @param groupId the group id to search with 1096 * @param userId the user id to search with 1097 * @param folderIds the folder ids to search with 1098 * @param start the lower bound of the range of d l file entries to return 1099 * @param end the upper bound of the range of d l file entries to return (not inclusive) 1100 * @param orderByComparator the comparator to order the results by 1101 * @return the ordered range of matching d l file entries 1102 * @throws SystemException if a system exception occurred 1103 */ 1104 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F( 1105 long groupId, long userId, long[] folderIds, int start, int end, 1106 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1107 throws com.liferay.portal.kernel.exception.SystemException; 1108 1109 /** 1110 * Filters by the user's permissions and finds all the d l file entries where groupId = ? and userId = ? and folderId = ?. 1111 * 1112 * @param groupId the group id to search with 1113 * @param userId the user id to search with 1114 * @param folderId the folder id to search with 1115 * @return the matching d l file entries that the user has permission to view 1116 * @throws SystemException if a system exception occurred 1117 */ 1118 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F( 1119 long groupId, long userId, long folderId) 1120 throws com.liferay.portal.kernel.exception.SystemException; 1121 1122 /** 1123 * Filters by the user's permissions and finds a range of all the d l file entries where groupId = ? and userId = ? and folderId = ?. 1124 * 1125 * <p> 1126 * 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. 1127 * </p> 1128 * 1129 * @param groupId the group id to search with 1130 * @param userId the user id to search with 1131 * @param folderId the folder id to search with 1132 * @param start the lower bound of the range of d l file entries to return 1133 * @param end the upper bound of the range of d l file entries to return (not inclusive) 1134 * @return the range of matching d l file entries that the user has permission to view 1135 * @throws SystemException if a system exception occurred 1136 */ 1137 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F( 1138 long groupId, long userId, long folderId, int start, int end) 1139 throws com.liferay.portal.kernel.exception.SystemException; 1140 1141 /** 1142 * Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = ? and userId = ? and folderId = ?. 1143 * 1144 * <p> 1145 * 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. 1146 * </p> 1147 * 1148 * @param groupId the group id to search with 1149 * @param userId the user id to search with 1150 * @param folderId the folder id to search with 1151 * @param start the lower bound of the range of d l file entries to return 1152 * @param end the upper bound of the range of d l file entries to return (not inclusive) 1153 * @param orderByComparator the comparator to order the results by 1154 * @return the ordered range of matching d l file entries that the user has permission to view 1155 * @throws SystemException if a system exception occurred 1156 */ 1157 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F( 1158 long groupId, long userId, long folderId, int start, int end, 1159 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1160 throws com.liferay.portal.kernel.exception.SystemException; 1161 1162 /** 1163 * Filters by the user's permissions and finds all the d l file entries where groupId = ? and userId = ? and folderId = any ?. 1164 * 1165 * <p> 1166 * 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. 1167 * </p> 1168 * 1169 * @param groupId the group id to search with 1170 * @param userId the user id to search with 1171 * @param folderIds the folder ids to search with 1172 * @return the matching d l file entries that the user has permission to view 1173 * @throws SystemException if a system exception occurred 1174 */ 1175 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F( 1176 long groupId, long userId, long[] folderIds) 1177 throws com.liferay.portal.kernel.exception.SystemException; 1178 1179 /** 1180 * Filters by the user's permissions and finds a range of all the d l file entries where groupId = ? and userId = ? and folderId = any ?. 1181 * 1182 * <p> 1183 * 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. 1184 * </p> 1185 * 1186 * @param groupId the group id to search with 1187 * @param userId the user id to search with 1188 * @param folderIds the folder ids to search with 1189 * @param start the lower bound of the range of d l file entries to return 1190 * @param end the upper bound of the range of d l file entries to return (not inclusive) 1191 * @return the range of matching d l file entries that the user has permission to view 1192 * @throws SystemException if a system exception occurred 1193 */ 1194 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F( 1195 long groupId, long userId, long[] folderIds, int start, int end) 1196 throws com.liferay.portal.kernel.exception.SystemException; 1197 1198 /** 1199 * Filters by the user's permissions and finds an ordered range of all the d l file entries where groupId = ? and userId = ? and folderId = any ?. 1200 * 1201 * <p> 1202 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1203 * </p> 1204 * 1205 * @param groupId the group id to search with 1206 * @param userId the user id to search with 1207 * @param folderIds the folder ids to search with 1208 * @param start the lower bound of the range of d l file entries to return 1209 * @param end the upper bound of the range of d l file entries to return (not inclusive) 1210 * @param orderByComparator the comparator to order the results by 1211 * @return the ordered range of matching d l file entries that the user has permission to view 1212 * @throws SystemException if a system exception occurred 1213 */ 1214 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F( 1215 long groupId, long userId, long[] folderIds, int start, int end, 1216 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1217 throws com.liferay.portal.kernel.exception.SystemException; 1218 1219 /** 1220 * Finds the d l file entry where groupId = ? and folderId = ? and name = ? or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileEntryException} if it could not be found. 1221 * 1222 * @param groupId the group id to search with 1223 * @param folderId the folder id to search with 1224 * @param name the name to search with 1225 * @return the matching d l file entry 1226 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found 1227 * @throws SystemException if a system exception occurred 1228 */ 1229 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_N( 1230 long groupId, long folderId, java.lang.String name) 1231 throws com.liferay.portal.kernel.exception.SystemException, 1232 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 1233 1234 /** 1235 * Finds the d l file entry where groupId = ? and folderId = ? and name = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 1236 * 1237 * @param groupId the group id to search with 1238 * @param folderId the folder id to search with 1239 * @param name the name to search with 1240 * @return the matching d l file entry, or <code>null</code> if a matching d l file entry could not be found 1241 * @throws SystemException if a system exception occurred 1242 */ 1243 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_N( 1244 long groupId, long folderId, java.lang.String name) 1245 throws com.liferay.portal.kernel.exception.SystemException; 1246 1247 /** 1248 * Finds the d l file entry where groupId = ? and folderId = ? and name = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 1249 * 1250 * @param groupId the group id to search with 1251 * @param folderId the folder id to search with 1252 * @param name the name to search with 1253 * @return the matching d l file entry, or <code>null</code> if a matching d l file entry could not be found 1254 * @throws SystemException if a system exception occurred 1255 */ 1256 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_N( 1257 long groupId, long folderId, java.lang.String name, 1258 boolean retrieveFromCache) 1259 throws com.liferay.portal.kernel.exception.SystemException; 1260 1261 /** 1262 * Finds the d l file entry where groupId = ? and folderId = ? and title = ? or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileEntryException} if it could not be found. 1263 * 1264 * @param groupId the group id to search with 1265 * @param folderId the folder id to search with 1266 * @param title the title to search with 1267 * @return the matching d l file entry 1268 * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryException if a matching d l file entry could not be found 1269 * @throws SystemException if a system exception occurred 1270 */ 1271 public com.liferay.portlet.documentlibrary.model.DLFileEntry findByG_F_T( 1272 long groupId, long folderId, java.lang.String title) 1273 throws com.liferay.portal.kernel.exception.SystemException, 1274 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 1275 1276 /** 1277 * Finds the d l file entry where groupId = ? and folderId = ? and title = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 1278 * 1279 * @param groupId the group id to search with 1280 * @param folderId the folder id to search with 1281 * @param title the title to search with 1282 * @return the matching d l file entry, or <code>null</code> if a matching d l file entry could not be found 1283 * @throws SystemException if a system exception occurred 1284 */ 1285 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_T( 1286 long groupId, long folderId, java.lang.String title) 1287 throws com.liferay.portal.kernel.exception.SystemException; 1288 1289 /** 1290 * Finds the d l file entry where groupId = ? and folderId = ? and title = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 1291 * 1292 * @param groupId the group id to search with 1293 * @param folderId the folder id to search with 1294 * @param title the title to search with 1295 * @return the matching d l file entry, or <code>null</code> if a matching d l file entry could not be found 1296 * @throws SystemException if a system exception occurred 1297 */ 1298 public com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByG_F_T( 1299 long groupId, long folderId, java.lang.String title, 1300 boolean retrieveFromCache) 1301 throws com.liferay.portal.kernel.exception.SystemException; 1302 1303 /** 1304 * Finds all the d l file entries. 1305 * 1306 * @return the d l file entries 1307 * @throws SystemException if a system exception occurred 1308 */ 1309 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll() 1310 throws com.liferay.portal.kernel.exception.SystemException; 1311 1312 /** 1313 * Finds a range of all the d l file entries. 1314 * 1315 * <p> 1316 * 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. 1317 * </p> 1318 * 1319 * @param start the lower bound of the range of d l file entries to return 1320 * @param end the upper bound of the range of d l file entries to return (not inclusive) 1321 * @return the range of d l file entries 1322 * @throws SystemException if a system exception occurred 1323 */ 1324 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll( 1325 int start, int end) 1326 throws com.liferay.portal.kernel.exception.SystemException; 1327 1328 /** 1329 * Finds an ordered range of all the d l file entries. 1330 * 1331 * <p> 1332 * 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. 1333 * </p> 1334 * 1335 * @param start the lower bound of the range of d l file entries to return 1336 * @param end the upper bound of the range of d l file entries to return (not inclusive) 1337 * @param orderByComparator the comparator to order the results by 1338 * @return the ordered range of d l file entries 1339 * @throws SystemException if a system exception occurred 1340 */ 1341 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll( 1342 int start, int end, 1343 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1344 throws com.liferay.portal.kernel.exception.SystemException; 1345 1346 /** 1347 * Removes all the d l file entries where uuid = ? from the database. 1348 * 1349 * @param uuid the uuid to search with 1350 * @throws SystemException if a system exception occurred 1351 */ 1352 public void removeByUuid(java.lang.String uuid) 1353 throws com.liferay.portal.kernel.exception.SystemException; 1354 1355 /** 1356 * Removes the d l file entry where uuid = ? and groupId = ? from the database. 1357 * 1358 * @param uuid the uuid to search with 1359 * @param groupId the group id to search with 1360 * @throws SystemException if a system exception occurred 1361 */ 1362 public void removeByUUID_G(java.lang.String uuid, long groupId) 1363 throws com.liferay.portal.kernel.exception.SystemException, 1364 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 1365 1366 /** 1367 * Removes all the d l file entries where groupId = ? from the database. 1368 * 1369 * @param groupId the group id to search with 1370 * @throws SystemException if a system exception occurred 1371 */ 1372 public void removeByGroupId(long groupId) 1373 throws com.liferay.portal.kernel.exception.SystemException; 1374 1375 /** 1376 * Removes all the d l file entries where companyId = ? from the database. 1377 * 1378 * @param companyId the company id to search with 1379 * @throws SystemException if a system exception occurred 1380 */ 1381 public void removeByCompanyId(long companyId) 1382 throws com.liferay.portal.kernel.exception.SystemException; 1383 1384 /** 1385 * Removes all the d l file entries where groupId = ? and userId = ? from the database. 1386 * 1387 * @param groupId the group id to search with 1388 * @param userId the user id to search with 1389 * @throws SystemException if a system exception occurred 1390 */ 1391 public void removeByG_U(long groupId, long userId) 1392 throws com.liferay.portal.kernel.exception.SystemException; 1393 1394 /** 1395 * Removes all the d l file entries where groupId = ? and folderId = ? from the database. 1396 * 1397 * @param groupId the group id to search with 1398 * @param folderId the folder id to search with 1399 * @throws SystemException if a system exception occurred 1400 */ 1401 public void removeByG_F(long groupId, long folderId) 1402 throws com.liferay.portal.kernel.exception.SystemException; 1403 1404 /** 1405 * Removes all the d l file entries where groupId = ? and userId = ? and folderId = ? from the database. 1406 * 1407 * @param groupId the group id to search with 1408 * @param userId the user id to search with 1409 * @param folderId the folder id to search with 1410 * @throws SystemException if a system exception occurred 1411 */ 1412 public void removeByG_U_F(long groupId, long userId, long folderId) 1413 throws com.liferay.portal.kernel.exception.SystemException; 1414 1415 /** 1416 * Removes the d l file entry where groupId = ? and folderId = ? and name = ? from the database. 1417 * 1418 * @param groupId the group id to search with 1419 * @param folderId the folder id to search with 1420 * @param name the name to search with 1421 * @throws SystemException if a system exception occurred 1422 */ 1423 public void removeByG_F_N(long groupId, long folderId, java.lang.String name) 1424 throws com.liferay.portal.kernel.exception.SystemException, 1425 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 1426 1427 /** 1428 * Removes the d l file entry where groupId = ? and folderId = ? and title = ? from the database. 1429 * 1430 * @param groupId the group id to search with 1431 * @param folderId the folder id to search with 1432 * @param title the title to search with 1433 * @throws SystemException if a system exception occurred 1434 */ 1435 public void removeByG_F_T(long groupId, long folderId, 1436 java.lang.String title) 1437 throws com.liferay.portal.kernel.exception.SystemException, 1438 com.liferay.portlet.documentlibrary.NoSuchFileEntryException; 1439 1440 /** 1441 * Removes all the d l file entries from the database. 1442 * 1443 * @throws SystemException if a system exception occurred 1444 */ 1445 public void removeAll() 1446 throws com.liferay.portal.kernel.exception.SystemException; 1447 1448 /** 1449 * Counts all the d l file entries where uuid = ?. 1450 * 1451 * @param uuid the uuid to search with 1452 * @return the number of matching d l file entries 1453 * @throws SystemException if a system exception occurred 1454 */ 1455 public int countByUuid(java.lang.String uuid) 1456 throws com.liferay.portal.kernel.exception.SystemException; 1457 1458 /** 1459 * Counts all the d l file entries where uuid = ? and groupId = ?. 1460 * 1461 * @param uuid the uuid to search with 1462 * @param groupId the group id to search with 1463 * @return the number of matching d l file entries 1464 * @throws SystemException if a system exception occurred 1465 */ 1466 public int countByUUID_G(java.lang.String uuid, long groupId) 1467 throws com.liferay.portal.kernel.exception.SystemException; 1468 1469 /** 1470 * Counts all the d l file entries where groupId = ?. 1471 * 1472 * @param groupId the group id to search with 1473 * @return the number of matching d l file entries 1474 * @throws SystemException if a system exception occurred 1475 */ 1476 public int countByGroupId(long groupId) 1477 throws com.liferay.portal.kernel.exception.SystemException; 1478 1479 /** 1480 * Filters by the user's permissions and counts all the d l file entries where groupId = ?. 1481 * 1482 * @param groupId the group id to search with 1483 * @return the number of matching d l file entries that the user has permission to view 1484 * @throws SystemException if a system exception occurred 1485 */ 1486 public int filterCountByGroupId(long groupId) 1487 throws com.liferay.portal.kernel.exception.SystemException; 1488 1489 /** 1490 * Counts all the d l file entries where companyId = ?. 1491 * 1492 * @param companyId the company id to search with 1493 * @return the number of matching d l file entries 1494 * @throws SystemException if a system exception occurred 1495 */ 1496 public int countByCompanyId(long companyId) 1497 throws com.liferay.portal.kernel.exception.SystemException; 1498 1499 /** 1500 * Counts all the d l file entries where groupId = ? and userId = ?. 1501 * 1502 * @param groupId the group id to search with 1503 * @param userId the user id to search with 1504 * @return the number of matching d l file entries 1505 * @throws SystemException if a system exception occurred 1506 */ 1507 public int countByG_U(long groupId, long userId) 1508 throws com.liferay.portal.kernel.exception.SystemException; 1509 1510 /** 1511 * Filters by the user's permissions and counts all the d l file entries where groupId = ? and userId = ?. 1512 * 1513 * @param groupId the group id to search with 1514 * @param userId the user id to search with 1515 * @return the number of matching d l file entries that the user has permission to view 1516 * @throws SystemException if a system exception occurred 1517 */ 1518 public int filterCountByG_U(long groupId, long userId) 1519 throws com.liferay.portal.kernel.exception.SystemException; 1520 1521 /** 1522 * Counts all the d l file entries where groupId = ? and folderId = ?. 1523 * 1524 * @param groupId the group id to search with 1525 * @param folderId the folder id to search with 1526 * @return the number of matching d l file entries 1527 * @throws SystemException if a system exception occurred 1528 */ 1529 public int countByG_F(long groupId, long folderId) 1530 throws com.liferay.portal.kernel.exception.SystemException; 1531 1532 /** 1533 * Counts all the d l file entries where groupId = ? and folderId = any ?. 1534 * 1535 * @param groupId the group id to search with 1536 * @param folderIds the folder ids to search with 1537 * @return the number of matching d l file entries 1538 * @throws SystemException if a system exception occurred 1539 */ 1540 public int countByG_F(long groupId, long[] folderIds) 1541 throws com.liferay.portal.kernel.exception.SystemException; 1542 1543 /** 1544 * Filters by the user's permissions and counts all the d l file entries where groupId = ? and folderId = ?. 1545 * 1546 * @param groupId the group id to search with 1547 * @param folderId the folder id to search with 1548 * @return the number of matching d l file entries that the user has permission to view 1549 * @throws SystemException if a system exception occurred 1550 */ 1551 public int filterCountByG_F(long groupId, long folderId) 1552 throws com.liferay.portal.kernel.exception.SystemException; 1553 1554 /** 1555 * Filters by the user's permissions and counts all the d l file entries where groupId = ? and folderId = any ?. 1556 * 1557 * @param groupId the group id to search with 1558 * @param folderIds the folder ids to search with 1559 * @return the number of matching d l file entries that the user has permission to view 1560 * @throws SystemException if a system exception occurred 1561 */ 1562 public int filterCountByG_F(long groupId, long[] folderIds) 1563 throws com.liferay.portal.kernel.exception.SystemException; 1564 1565 /** 1566 * Counts all the d l file entries where groupId = ? and userId = ? and folderId = ?. 1567 * 1568 * @param groupId the group id to search with 1569 * @param userId the user id to search with 1570 * @param folderId the folder id to search with 1571 * @return the number of matching d l file entries 1572 * @throws SystemException if a system exception occurred 1573 */ 1574 public int countByG_U_F(long groupId, long userId, long folderId) 1575 throws com.liferay.portal.kernel.exception.SystemException; 1576 1577 /** 1578 * Counts all the d l file entries where groupId = ? and userId = ? and folderId = any ?. 1579 * 1580 * @param groupId the group id to search with 1581 * @param userId the user id to search with 1582 * @param folderIds the folder ids to search with 1583 * @return the number of matching d l file entries 1584 * @throws SystemException if a system exception occurred 1585 */ 1586 public int countByG_U_F(long groupId, long userId, long[] folderIds) 1587 throws com.liferay.portal.kernel.exception.SystemException; 1588 1589 /** 1590 * Filters by the user's permissions and counts all the d l file entries where groupId = ? and userId = ? and folderId = ?. 1591 * 1592 * @param groupId the group id to search with 1593 * @param userId the user id to search with 1594 * @param folderId the folder id to search with 1595 * @return the number of matching d l file entries that the user has permission to view 1596 * @throws SystemException if a system exception occurred 1597 */ 1598 public int filterCountByG_U_F(long groupId, long userId, long folderId) 1599 throws com.liferay.portal.kernel.exception.SystemException; 1600 1601 /** 1602 * Filters by the user's permissions and counts all the d l file entries where groupId = ? and userId = ? and folderId = any ?. 1603 * 1604 * @param groupId the group id to search with 1605 * @param userId the user id to search with 1606 * @param folderIds the folder ids to search with 1607 * @return the number of matching d l file entries that the user has permission to view 1608 * @throws SystemException if a system exception occurred 1609 */ 1610 public int filterCountByG_U_F(long groupId, long userId, long[] folderIds) 1611 throws com.liferay.portal.kernel.exception.SystemException; 1612 1613 /** 1614 * Counts all the d l file entries where groupId = ? and folderId = ? and name = ?. 1615 * 1616 * @param groupId the group id to search with 1617 * @param folderId the folder id to search with 1618 * @param name the name to search with 1619 * @return the number of matching d l file entries 1620 * @throws SystemException if a system exception occurred 1621 */ 1622 public int countByG_F_N(long groupId, long folderId, java.lang.String name) 1623 throws com.liferay.portal.kernel.exception.SystemException; 1624 1625 /** 1626 * Filters by the user's permissions and counts all the d l file entries where groupId = ? and folderId = ? and name = ?. 1627 * 1628 * @param groupId the group id to search with 1629 * @param folderId the folder id to search with 1630 * @param name the name to search with 1631 * @return the number of matching d l file entries that the user has permission to view 1632 * @throws SystemException if a system exception occurred 1633 */ 1634 public int filterCountByG_F_N(long groupId, long folderId, 1635 java.lang.String name) 1636 throws com.liferay.portal.kernel.exception.SystemException; 1637 1638 /** 1639 * Counts all the d l file entries where groupId = ? and folderId = ? and title = ?. 1640 * 1641 * @param groupId the group id to search with 1642 * @param folderId the folder id to search with 1643 * @param title the title to search with 1644 * @return the number of matching d l file entries 1645 * @throws SystemException if a system exception occurred 1646 */ 1647 public int countByG_F_T(long groupId, long folderId, java.lang.String title) 1648 throws com.liferay.portal.kernel.exception.SystemException; 1649 1650 /** 1651 * Filters by the user's permissions and counts all the d l file entries where groupId = ? and folderId = ? and title = ?. 1652 * 1653 * @param groupId the group id to search with 1654 * @param folderId the folder id to search with 1655 * @param title the title to search with 1656 * @return the number of matching d l file entries that the user has permission to view 1657 * @throws SystemException if a system exception occurred 1658 */ 1659 public int filterCountByG_F_T(long groupId, long folderId, 1660 java.lang.String title) 1661 throws com.liferay.portal.kernel.exception.SystemException; 1662 1663 /** 1664 * Counts all the d l file entries. 1665 * 1666 * @return the number of d l file entries 1667 * @throws SystemException if a system exception occurred 1668 */ 1669 public int countAll() 1670 throws com.liferay.portal.kernel.exception.SystemException; 1671 }