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