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