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