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