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