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