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