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