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