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.DLFileShortcut; 022 023 /** 024 * The persistence interface for the document library file shortcut 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 com.liferay.portlet.documentlibrary.service.persistence.impl.DLFileShortcutPersistenceImpl 032 * @see DLFileShortcutUtil 033 * @generated 034 */ 035 @ProviderType 036 public interface DLFileShortcutPersistence extends BasePersistence<DLFileShortcut> { 037 /* 038 * NOTE FOR DEVELOPERS: 039 * 040 * Never modify or reference this interface directly. Always use {@link DLFileShortcutUtil} to access the document library file shortcut persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 041 */ 042 043 /** 044 * Returns all the document library file shortcuts where uuid = ?. 045 * 046 * @param uuid the uuid 047 * @return the matching document library file shortcuts 048 */ 049 public java.util.List<DLFileShortcut> findByUuid(java.lang.String uuid); 050 051 /** 052 * Returns a range of all the document library file shortcuts where uuid = ?. 053 * 054 * <p> 055 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 056 * </p> 057 * 058 * @param uuid the uuid 059 * @param start the lower bound of the range of document library file shortcuts 060 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 061 * @return the range of matching document library file shortcuts 062 */ 063 public java.util.List<DLFileShortcut> findByUuid(java.lang.String uuid, 064 int start, int end); 065 066 /** 067 * Returns an ordered range of all the document library file shortcuts where uuid = ?. 068 * 069 * <p> 070 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. 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. 071 * </p> 072 * 073 * @param uuid the uuid 074 * @param start the lower bound of the range of document library file shortcuts 075 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 076 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 077 * @return the ordered range of matching document library file shortcuts 078 */ 079 public java.util.List<DLFileShortcut> findByUuid(java.lang.String uuid, 080 int start, int end, 081 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 082 083 /** 084 * Returns the first document library file shortcut in the ordered set where uuid = ?. 085 * 086 * @param uuid the uuid 087 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 088 * @return the first matching document library file shortcut 089 * @throws NoSuchFileShortcutException if a matching document library file shortcut could not be found 090 */ 091 public DLFileShortcut findByUuid_First(java.lang.String uuid, 092 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 093 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 094 095 /** 096 * Returns the first document library file shortcut in the ordered set where uuid = ?. 097 * 098 * @param uuid the uuid 099 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 100 * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 101 */ 102 public DLFileShortcut fetchByUuid_First(java.lang.String uuid, 103 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 104 105 /** 106 * Returns the last document library file shortcut in the ordered set where uuid = ?. 107 * 108 * @param uuid the uuid 109 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 110 * @return the last matching document library file shortcut 111 * @throws NoSuchFileShortcutException if a matching document library file shortcut could not be found 112 */ 113 public DLFileShortcut findByUuid_Last(java.lang.String uuid, 114 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 115 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 116 117 /** 118 * Returns the last document library file shortcut in the ordered set where uuid = ?. 119 * 120 * @param uuid the uuid 121 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 122 * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 123 */ 124 public DLFileShortcut fetchByUuid_Last(java.lang.String uuid, 125 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 126 127 /** 128 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = ?. 129 * 130 * @param fileShortcutId the primary key of the current document library file shortcut 131 * @param uuid the uuid 132 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 133 * @return the previous, current, and next document library file shortcut 134 * @throws NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 135 */ 136 public DLFileShortcut[] findByUuid_PrevAndNext(long fileShortcutId, 137 java.lang.String uuid, 138 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 139 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 140 141 /** 142 * Removes all the document library file shortcuts where uuid = ? from the database. 143 * 144 * @param uuid the uuid 145 */ 146 public void removeByUuid(java.lang.String uuid); 147 148 /** 149 * Returns the number of document library file shortcuts where uuid = ?. 150 * 151 * @param uuid the uuid 152 * @return the number of matching document library file shortcuts 153 */ 154 public int countByUuid(java.lang.String uuid); 155 156 /** 157 * Returns the document library file shortcut where uuid = ? and groupId = ? or throws a {@link NoSuchFileShortcutException} if it could not be found. 158 * 159 * @param uuid the uuid 160 * @param groupId the group ID 161 * @return the matching document library file shortcut 162 * @throws NoSuchFileShortcutException if a matching document library file shortcut could not be found 163 */ 164 public DLFileShortcut findByUUID_G(java.lang.String uuid, long groupId) 165 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 166 167 /** 168 * Returns the document library file shortcut where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 169 * 170 * @param uuid the uuid 171 * @param groupId the group ID 172 * @return the matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 173 */ 174 public DLFileShortcut fetchByUUID_G(java.lang.String uuid, long groupId); 175 176 /** 177 * Returns the document library file shortcut where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 178 * 179 * @param uuid the uuid 180 * @param groupId the group ID 181 * @param retrieveFromCache whether to use the finder cache 182 * @return the matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 183 */ 184 public DLFileShortcut fetchByUUID_G(java.lang.String uuid, long groupId, 185 boolean retrieveFromCache); 186 187 /** 188 * Removes the document library file shortcut where uuid = ? and groupId = ? from the database. 189 * 190 * @param uuid the uuid 191 * @param groupId the group ID 192 * @return the document library file shortcut that was removed 193 */ 194 public DLFileShortcut removeByUUID_G(java.lang.String uuid, long groupId) 195 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 196 197 /** 198 * Returns the number of document library file shortcuts where uuid = ? and groupId = ?. 199 * 200 * @param uuid the uuid 201 * @param groupId the group ID 202 * @return the number of matching document library file shortcuts 203 */ 204 public int countByUUID_G(java.lang.String uuid, long groupId); 205 206 /** 207 * Returns all the document library file shortcuts where uuid = ? and companyId = ?. 208 * 209 * @param uuid the uuid 210 * @param companyId the company ID 211 * @return the matching document library file shortcuts 212 */ 213 public java.util.List<DLFileShortcut> findByUuid_C(java.lang.String uuid, 214 long companyId); 215 216 /** 217 * Returns a range of all the document library file shortcuts where uuid = ? and companyId = ?. 218 * 219 * <p> 220 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. 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. 221 * </p> 222 * 223 * @param uuid the uuid 224 * @param companyId the company ID 225 * @param start the lower bound of the range of document library file shortcuts 226 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 227 * @return the range of matching document library file shortcuts 228 */ 229 public java.util.List<DLFileShortcut> findByUuid_C(java.lang.String uuid, 230 long companyId, int start, int end); 231 232 /** 233 * Returns an ordered range of all the document library file shortcuts where uuid = ? and companyId = ?. 234 * 235 * <p> 236 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. 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. 237 * </p> 238 * 239 * @param uuid the uuid 240 * @param companyId the company ID 241 * @param start the lower bound of the range of document library file shortcuts 242 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 243 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 244 * @return the ordered range of matching document library file shortcuts 245 */ 246 public java.util.List<DLFileShortcut> findByUuid_C(java.lang.String uuid, 247 long companyId, int start, int end, 248 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 249 250 /** 251 * Returns the first document library file shortcut in the ordered set where uuid = ? and companyId = ?. 252 * 253 * @param uuid the uuid 254 * @param companyId the company ID 255 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 256 * @return the first matching document library file shortcut 257 * @throws NoSuchFileShortcutException if a matching document library file shortcut could not be found 258 */ 259 public DLFileShortcut findByUuid_C_First(java.lang.String uuid, 260 long companyId, 261 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 262 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 263 264 /** 265 * Returns the first document library file shortcut in the ordered set where uuid = ? and companyId = ?. 266 * 267 * @param uuid the uuid 268 * @param companyId the company ID 269 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 270 * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 271 */ 272 public DLFileShortcut fetchByUuid_C_First(java.lang.String uuid, 273 long companyId, 274 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 275 276 /** 277 * Returns the last document library file shortcut in the ordered set where uuid = ? and companyId = ?. 278 * 279 * @param uuid the uuid 280 * @param companyId the company ID 281 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 282 * @return the last matching document library file shortcut 283 * @throws NoSuchFileShortcutException if a matching document library file shortcut could not be found 284 */ 285 public DLFileShortcut findByUuid_C_Last(java.lang.String uuid, 286 long companyId, 287 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 288 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 289 290 /** 291 * Returns the last document library file shortcut in the ordered set where uuid = ? and companyId = ?. 292 * 293 * @param uuid the uuid 294 * @param companyId the company ID 295 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 296 * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 297 */ 298 public DLFileShortcut fetchByUuid_C_Last(java.lang.String uuid, 299 long companyId, 300 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 301 302 /** 303 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = ? and companyId = ?. 304 * 305 * @param fileShortcutId the primary key of the current document library file shortcut 306 * @param uuid the uuid 307 * @param companyId the company ID 308 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 309 * @return the previous, current, and next document library file shortcut 310 * @throws NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 311 */ 312 public DLFileShortcut[] findByUuid_C_PrevAndNext(long fileShortcutId, 313 java.lang.String uuid, long companyId, 314 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 315 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 316 317 /** 318 * Removes all the document library file shortcuts where uuid = ? and companyId = ? from the database. 319 * 320 * @param uuid the uuid 321 * @param companyId the company ID 322 */ 323 public void removeByUuid_C(java.lang.String uuid, long companyId); 324 325 /** 326 * Returns the number of document library file shortcuts where uuid = ? and companyId = ?. 327 * 328 * @param uuid the uuid 329 * @param companyId the company ID 330 * @return the number of matching document library file shortcuts 331 */ 332 public int countByUuid_C(java.lang.String uuid, long companyId); 333 334 /** 335 * Returns all the document library file shortcuts where companyId = ?. 336 * 337 * @param companyId the company ID 338 * @return the matching document library file shortcuts 339 */ 340 public java.util.List<DLFileShortcut> findByCompanyId(long companyId); 341 342 /** 343 * Returns a range of all the document library file shortcuts where companyId = ?. 344 * 345 * <p> 346 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. 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. 347 * </p> 348 * 349 * @param companyId the company ID 350 * @param start the lower bound of the range of document library file shortcuts 351 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 352 * @return the range of matching document library file shortcuts 353 */ 354 public java.util.List<DLFileShortcut> findByCompanyId(long companyId, 355 int start, int end); 356 357 /** 358 * Returns an ordered range of all the document library file shortcuts where companyId = ?. 359 * 360 * <p> 361 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. 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. 362 * </p> 363 * 364 * @param companyId the company ID 365 * @param start the lower bound of the range of document library file shortcuts 366 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 367 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 368 * @return the ordered range of matching document library file shortcuts 369 */ 370 public java.util.List<DLFileShortcut> findByCompanyId(long companyId, 371 int start, int end, 372 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 373 374 /** 375 * Returns the first document library file shortcut in the ordered set where companyId = ?. 376 * 377 * @param companyId the company ID 378 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 379 * @return the first matching document library file shortcut 380 * @throws NoSuchFileShortcutException if a matching document library file shortcut could not be found 381 */ 382 public DLFileShortcut findByCompanyId_First(long companyId, 383 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 384 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 385 386 /** 387 * Returns the first document library file shortcut in the ordered set where companyId = ?. 388 * 389 * @param companyId the company ID 390 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 391 * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 392 */ 393 public DLFileShortcut fetchByCompanyId_First(long companyId, 394 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 395 396 /** 397 * Returns the last document library file shortcut in the ordered set where companyId = ?. 398 * 399 * @param companyId the company ID 400 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 401 * @return the last matching document library file shortcut 402 * @throws NoSuchFileShortcutException if a matching document library file shortcut could not be found 403 */ 404 public DLFileShortcut findByCompanyId_Last(long companyId, 405 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 406 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 407 408 /** 409 * Returns the last document library file shortcut in the ordered set where companyId = ?. 410 * 411 * @param companyId the company ID 412 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 413 * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 414 */ 415 public DLFileShortcut fetchByCompanyId_Last(long companyId, 416 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 417 418 /** 419 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where companyId = ?. 420 * 421 * @param fileShortcutId the primary key of the current document library file shortcut 422 * @param companyId the company ID 423 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 424 * @return the previous, current, and next document library file shortcut 425 * @throws NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 426 */ 427 public DLFileShortcut[] findByCompanyId_PrevAndNext(long fileShortcutId, 428 long companyId, 429 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 430 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 431 432 /** 433 * Removes all the document library file shortcuts where companyId = ? from the database. 434 * 435 * @param companyId the company ID 436 */ 437 public void removeByCompanyId(long companyId); 438 439 /** 440 * Returns the number of document library file shortcuts where companyId = ?. 441 * 442 * @param companyId the company ID 443 * @return the number of matching document library file shortcuts 444 */ 445 public int countByCompanyId(long companyId); 446 447 /** 448 * Returns all the document library file shortcuts where toFileEntryId = ?. 449 * 450 * @param toFileEntryId the to file entry ID 451 * @return the matching document library file shortcuts 452 */ 453 public java.util.List<DLFileShortcut> findByToFileEntryId( 454 long toFileEntryId); 455 456 /** 457 * Returns a range of all the document library file shortcuts where toFileEntryId = ?. 458 * 459 * <p> 460 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. 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. 461 * </p> 462 * 463 * @param toFileEntryId the to file entry ID 464 * @param start the lower bound of the range of document library file shortcuts 465 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 466 * @return the range of matching document library file shortcuts 467 */ 468 public java.util.List<DLFileShortcut> findByToFileEntryId( 469 long toFileEntryId, int start, int end); 470 471 /** 472 * Returns an ordered range of all the document library file shortcuts where toFileEntryId = ?. 473 * 474 * <p> 475 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. 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. 476 * </p> 477 * 478 * @param toFileEntryId the to file entry ID 479 * @param start the lower bound of the range of document library file shortcuts 480 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 481 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 482 * @return the ordered range of matching document library file shortcuts 483 */ 484 public java.util.List<DLFileShortcut> findByToFileEntryId( 485 long toFileEntryId, int start, int end, 486 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 487 488 /** 489 * Returns the first document library file shortcut in the ordered set where toFileEntryId = ?. 490 * 491 * @param toFileEntryId the to file entry ID 492 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 493 * @return the first matching document library file shortcut 494 * @throws NoSuchFileShortcutException if a matching document library file shortcut could not be found 495 */ 496 public DLFileShortcut findByToFileEntryId_First(long toFileEntryId, 497 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 498 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 499 500 /** 501 * Returns the first document library file shortcut in the ordered set where toFileEntryId = ?. 502 * 503 * @param toFileEntryId the to file entry ID 504 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 505 * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 506 */ 507 public DLFileShortcut fetchByToFileEntryId_First(long toFileEntryId, 508 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 509 510 /** 511 * Returns the last document library file shortcut in the ordered set where toFileEntryId = ?. 512 * 513 * @param toFileEntryId the to file entry ID 514 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 515 * @return the last matching document library file shortcut 516 * @throws NoSuchFileShortcutException if a matching document library file shortcut could not be found 517 */ 518 public DLFileShortcut findByToFileEntryId_Last(long toFileEntryId, 519 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 520 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 521 522 /** 523 * Returns the last document library file shortcut in the ordered set where toFileEntryId = ?. 524 * 525 * @param toFileEntryId the to file entry ID 526 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 527 * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 528 */ 529 public DLFileShortcut fetchByToFileEntryId_Last(long toFileEntryId, 530 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 531 532 /** 533 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where toFileEntryId = ?. 534 * 535 * @param fileShortcutId the primary key of the current document library file shortcut 536 * @param toFileEntryId the to file entry ID 537 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 538 * @return the previous, current, and next document library file shortcut 539 * @throws NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 540 */ 541 public DLFileShortcut[] findByToFileEntryId_PrevAndNext( 542 long fileShortcutId, long toFileEntryId, 543 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 544 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 545 546 /** 547 * Removes all the document library file shortcuts where toFileEntryId = ? from the database. 548 * 549 * @param toFileEntryId the to file entry ID 550 */ 551 public void removeByToFileEntryId(long toFileEntryId); 552 553 /** 554 * Returns the number of document library file shortcuts where toFileEntryId = ?. 555 * 556 * @param toFileEntryId the to file entry ID 557 * @return the number of matching document library file shortcuts 558 */ 559 public int countByToFileEntryId(long toFileEntryId); 560 561 /** 562 * Returns all the document library file shortcuts where groupId = ? and folderId = ?. 563 * 564 * @param groupId the group ID 565 * @param folderId the folder ID 566 * @return the matching document library file shortcuts 567 */ 568 public java.util.List<DLFileShortcut> findByG_F(long groupId, long folderId); 569 570 /** 571 * Returns a range of all the document library file shortcuts where groupId = ? and folderId = ?. 572 * 573 * <p> 574 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. 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. 575 * </p> 576 * 577 * @param groupId the group ID 578 * @param folderId the folder ID 579 * @param start the lower bound of the range of document library file shortcuts 580 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 581 * @return the range of matching document library file shortcuts 582 */ 583 public java.util.List<DLFileShortcut> findByG_F(long groupId, 584 long folderId, int start, int end); 585 586 /** 587 * Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ?. 588 * 589 * <p> 590 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. 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. 591 * </p> 592 * 593 * @param groupId the group ID 594 * @param folderId the folder ID 595 * @param start the lower bound of the range of document library file shortcuts 596 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 597 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 598 * @return the ordered range of matching document library file shortcuts 599 */ 600 public java.util.List<DLFileShortcut> findByG_F(long groupId, 601 long folderId, int start, int end, 602 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 603 604 /** 605 * Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?. 606 * 607 * @param groupId the group ID 608 * @param folderId the folder ID 609 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 610 * @return the first matching document library file shortcut 611 * @throws NoSuchFileShortcutException if a matching document library file shortcut could not be found 612 */ 613 public DLFileShortcut findByG_F_First(long groupId, long folderId, 614 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 615 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 616 617 /** 618 * Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?. 619 * 620 * @param groupId the group ID 621 * @param folderId the folder ID 622 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 623 * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 624 */ 625 public DLFileShortcut fetchByG_F_First(long groupId, long folderId, 626 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 627 628 /** 629 * Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?. 630 * 631 * @param groupId the group ID 632 * @param folderId the folder ID 633 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 634 * @return the last matching document library file shortcut 635 * @throws NoSuchFileShortcutException if a matching document library file shortcut could not be found 636 */ 637 public DLFileShortcut findByG_F_Last(long groupId, long folderId, 638 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 639 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 640 641 /** 642 * Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?. 643 * 644 * @param groupId the group ID 645 * @param folderId the folder ID 646 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 647 * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 648 */ 649 public DLFileShortcut fetchByG_F_Last(long groupId, long folderId, 650 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 651 652 /** 653 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ?. 654 * 655 * @param fileShortcutId the primary key of the current document library file shortcut 656 * @param groupId the group ID 657 * @param folderId the folder ID 658 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 659 * @return the previous, current, and next document library file shortcut 660 * @throws NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 661 */ 662 public DLFileShortcut[] findByG_F_PrevAndNext(long fileShortcutId, 663 long groupId, long folderId, 664 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 665 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 666 667 /** 668 * Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?. 669 * 670 * @param groupId the group ID 671 * @param folderId the folder ID 672 * @return the matching document library file shortcuts that the user has permission to view 673 */ 674 public java.util.List<DLFileShortcut> filterFindByG_F(long groupId, 675 long folderId); 676 677 /** 678 * Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?. 679 * 680 * <p> 681 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. 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. 682 * </p> 683 * 684 * @param groupId the group ID 685 * @param folderId the folder ID 686 * @param start the lower bound of the range of document library file shortcuts 687 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 688 * @return the range of matching document library file shortcuts that the user has permission to view 689 */ 690 public java.util.List<DLFileShortcut> filterFindByG_F(long groupId, 691 long folderId, int start, int end); 692 693 /** 694 * Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ?. 695 * 696 * <p> 697 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. 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. 698 * </p> 699 * 700 * @param groupId the group ID 701 * @param folderId the folder ID 702 * @param start the lower bound of the range of document library file shortcuts 703 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 704 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 705 * @return the ordered range of matching document library file shortcuts that the user has permission to view 706 */ 707 public java.util.List<DLFileShortcut> filterFindByG_F(long groupId, 708 long folderId, int start, int end, 709 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 710 711 /** 712 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?. 713 * 714 * @param fileShortcutId the primary key of the current document library file shortcut 715 * @param groupId the group ID 716 * @param folderId the folder ID 717 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 718 * @return the previous, current, and next document library file shortcut 719 * @throws NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 720 */ 721 public DLFileShortcut[] filterFindByG_F_PrevAndNext(long fileShortcutId, 722 long groupId, long folderId, 723 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 724 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 725 726 /** 727 * Removes all the document library file shortcuts where groupId = ? and folderId = ? from the database. 728 * 729 * @param groupId the group ID 730 * @param folderId the folder ID 731 */ 732 public void removeByG_F(long groupId, long folderId); 733 734 /** 735 * Returns the number of document library file shortcuts where groupId = ? and folderId = ?. 736 * 737 * @param groupId the group ID 738 * @param folderId the folder ID 739 * @return the number of matching document library file shortcuts 740 */ 741 public int countByG_F(long groupId, long folderId); 742 743 /** 744 * Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?. 745 * 746 * @param groupId the group ID 747 * @param folderId the folder ID 748 * @return the number of matching document library file shortcuts that the user has permission to view 749 */ 750 public int filterCountByG_F(long groupId, long folderId); 751 752 /** 753 * Returns all the document library file shortcuts where companyId = ? and status ≠ ?. 754 * 755 * @param companyId the company ID 756 * @param status the status 757 * @return the matching document library file shortcuts 758 */ 759 public java.util.List<DLFileShortcut> findByC_NotS(long companyId, 760 int status); 761 762 /** 763 * Returns a range of all the document library file shortcuts where companyId = ? and status ≠ ?. 764 * 765 * <p> 766 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. 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. 767 * </p> 768 * 769 * @param companyId the company ID 770 * @param status the status 771 * @param start the lower bound of the range of document library file shortcuts 772 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 773 * @return the range of matching document library file shortcuts 774 */ 775 public java.util.List<DLFileShortcut> findByC_NotS(long companyId, 776 int status, int start, int end); 777 778 /** 779 * Returns an ordered range of all the document library file shortcuts where companyId = ? and status ≠ ?. 780 * 781 * <p> 782 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. 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. 783 * </p> 784 * 785 * @param companyId the company ID 786 * @param status the status 787 * @param start the lower bound of the range of document library file shortcuts 788 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 789 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 790 * @return the ordered range of matching document library file shortcuts 791 */ 792 public java.util.List<DLFileShortcut> findByC_NotS(long companyId, 793 int status, int start, int end, 794 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 795 796 /** 797 * Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?. 798 * 799 * @param companyId the company ID 800 * @param status the status 801 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 802 * @return the first matching document library file shortcut 803 * @throws NoSuchFileShortcutException if a matching document library file shortcut could not be found 804 */ 805 public DLFileShortcut findByC_NotS_First(long companyId, int status, 806 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 807 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 808 809 /** 810 * Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?. 811 * 812 * @param companyId the company ID 813 * @param status the status 814 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 815 * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 816 */ 817 public DLFileShortcut fetchByC_NotS_First(long companyId, int status, 818 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 819 820 /** 821 * Returns the last document library file shortcut in the ordered set where companyId = ? and status ≠ ?. 822 * 823 * @param companyId the company ID 824 * @param status the status 825 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 826 * @return the last matching document library file shortcut 827 * @throws NoSuchFileShortcutException if a matching document library file shortcut could not be found 828 */ 829 public DLFileShortcut findByC_NotS_Last(long companyId, int status, 830 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 831 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 832 833 /** 834 * Returns the last document library file shortcut in the ordered set where companyId = ? and status ≠ ?. 835 * 836 * @param companyId the company ID 837 * @param status the status 838 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 839 * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 840 */ 841 public DLFileShortcut fetchByC_NotS_Last(long companyId, int status, 842 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 843 844 /** 845 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where companyId = ? and status ≠ ?. 846 * 847 * @param fileShortcutId the primary key of the current document library file shortcut 848 * @param companyId the company ID 849 * @param status the status 850 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 851 * @return the previous, current, and next document library file shortcut 852 * @throws NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 853 */ 854 public DLFileShortcut[] findByC_NotS_PrevAndNext(long fileShortcutId, 855 long companyId, int status, 856 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 857 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 858 859 /** 860 * Removes all the document library file shortcuts where companyId = ? and status ≠ ? from the database. 861 * 862 * @param companyId the company ID 863 * @param status the status 864 */ 865 public void removeByC_NotS(long companyId, int status); 866 867 /** 868 * Returns the number of document library file shortcuts where companyId = ? and status ≠ ?. 869 * 870 * @param companyId the company ID 871 * @param status the status 872 * @return the number of matching document library file shortcuts 873 */ 874 public int countByC_NotS(long companyId, int status); 875 876 /** 877 * Returns all the document library file shortcuts where groupId = ? and folderId = ? and active = ?. 878 * 879 * @param groupId the group ID 880 * @param folderId the folder ID 881 * @param active the active 882 * @return the matching document library file shortcuts 883 */ 884 public java.util.List<DLFileShortcut> findByG_F_A(long groupId, 885 long folderId, boolean active); 886 887 /** 888 * Returns a range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ?. 889 * 890 * <p> 891 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 892 * </p> 893 * 894 * @param groupId the group ID 895 * @param folderId the folder ID 896 * @param active the active 897 * @param start the lower bound of the range of document library file shortcuts 898 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 899 * @return the range of matching document library file shortcuts 900 */ 901 public java.util.List<DLFileShortcut> findByG_F_A(long groupId, 902 long folderId, boolean active, int start, int end); 903 904 /** 905 * Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ?. 906 * 907 * <p> 908 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 909 * </p> 910 * 911 * @param groupId the group ID 912 * @param folderId the folder ID 913 * @param active the active 914 * @param start the lower bound of the range of document library file shortcuts 915 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 916 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 917 * @return the ordered range of matching document library file shortcuts 918 */ 919 public java.util.List<DLFileShortcut> findByG_F_A(long groupId, 920 long folderId, boolean active, int start, int end, 921 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 922 923 /** 924 * Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?. 925 * 926 * @param groupId the group ID 927 * @param folderId the folder ID 928 * @param active the active 929 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 930 * @return the first matching document library file shortcut 931 * @throws NoSuchFileShortcutException if a matching document library file shortcut could not be found 932 */ 933 public DLFileShortcut findByG_F_A_First(long groupId, long folderId, 934 boolean active, 935 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 936 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 937 938 /** 939 * Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?. 940 * 941 * @param groupId the group ID 942 * @param folderId the folder ID 943 * @param active the active 944 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 945 * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 946 */ 947 public DLFileShortcut fetchByG_F_A_First(long groupId, long folderId, 948 boolean active, 949 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 950 951 /** 952 * Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?. 953 * 954 * @param groupId the group ID 955 * @param folderId the folder ID 956 * @param active the active 957 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 958 * @return the last matching document library file shortcut 959 * @throws NoSuchFileShortcutException if a matching document library file shortcut could not be found 960 */ 961 public DLFileShortcut findByG_F_A_Last(long groupId, long folderId, 962 boolean active, 963 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 964 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 965 966 /** 967 * Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?. 968 * 969 * @param groupId the group ID 970 * @param folderId the folder ID 971 * @param active the active 972 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 973 * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 974 */ 975 public DLFileShortcut fetchByG_F_A_Last(long groupId, long folderId, 976 boolean active, 977 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 978 979 /** 980 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?. 981 * 982 * @param fileShortcutId the primary key of the current document library file shortcut 983 * @param groupId the group ID 984 * @param folderId the folder ID 985 * @param active the active 986 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 987 * @return the previous, current, and next document library file shortcut 988 * @throws NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 989 */ 990 public DLFileShortcut[] findByG_F_A_PrevAndNext(long fileShortcutId, 991 long groupId, long folderId, boolean active, 992 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 993 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 994 995 /** 996 * Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?. 997 * 998 * @param groupId the group ID 999 * @param folderId the folder ID 1000 * @param active the active 1001 * @return the matching document library file shortcuts that the user has permission to view 1002 */ 1003 public java.util.List<DLFileShortcut> filterFindByG_F_A(long groupId, 1004 long folderId, boolean active); 1005 1006 /** 1007 * Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?. 1008 * 1009 * <p> 1010 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. 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. 1011 * </p> 1012 * 1013 * @param groupId the group ID 1014 * @param folderId the folder ID 1015 * @param active the active 1016 * @param start the lower bound of the range of document library file shortcuts 1017 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 1018 * @return the range of matching document library file shortcuts that the user has permission to view 1019 */ 1020 public java.util.List<DLFileShortcut> filterFindByG_F_A(long groupId, 1021 long folderId, boolean active, int start, int end); 1022 1023 /** 1024 * Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ? and active = ?. 1025 * 1026 * <p> 1027 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. 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. 1028 * </p> 1029 * 1030 * @param groupId the group ID 1031 * @param folderId the folder ID 1032 * @param active the active 1033 * @param start the lower bound of the range of document library file shortcuts 1034 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 1035 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1036 * @return the ordered range of matching document library file shortcuts that the user has permission to view 1037 */ 1038 public java.util.List<DLFileShortcut> filterFindByG_F_A(long groupId, 1039 long folderId, boolean active, int start, int end, 1040 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 1041 1042 /** 1043 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?. 1044 * 1045 * @param fileShortcutId the primary key of the current document library file shortcut 1046 * @param groupId the group ID 1047 * @param folderId the folder ID 1048 * @param active the active 1049 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1050 * @return the previous, current, and next document library file shortcut 1051 * @throws NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 1052 */ 1053 public DLFileShortcut[] filterFindByG_F_A_PrevAndNext(long fileShortcutId, 1054 long groupId, long folderId, boolean active, 1055 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 1056 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 1057 1058 /** 1059 * Removes all the document library file shortcuts where groupId = ? and folderId = ? and active = ? from the database. 1060 * 1061 * @param groupId the group ID 1062 * @param folderId the folder ID 1063 * @param active the active 1064 */ 1065 public void removeByG_F_A(long groupId, long folderId, boolean active); 1066 1067 /** 1068 * Returns the number of document library file shortcuts where groupId = ? and folderId = ? and active = ?. 1069 * 1070 * @param groupId the group ID 1071 * @param folderId the folder ID 1072 * @param active the active 1073 * @return the number of matching document library file shortcuts 1074 */ 1075 public int countByG_F_A(long groupId, long folderId, boolean active); 1076 1077 /** 1078 * Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?. 1079 * 1080 * @param groupId the group ID 1081 * @param folderId the folder ID 1082 * @param active the active 1083 * @return the number of matching document library file shortcuts that the user has permission to view 1084 */ 1085 public int filterCountByG_F_A(long groupId, long folderId, boolean active); 1086 1087 /** 1088 * Returns all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?. 1089 * 1090 * @param groupId the group ID 1091 * @param folderId the folder ID 1092 * @param active the active 1093 * @param status the status 1094 * @return the matching document library file shortcuts 1095 */ 1096 public java.util.List<DLFileShortcut> findByG_F_A_S(long groupId, 1097 long folderId, boolean active, int status); 1098 1099 /** 1100 * Returns a range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?. 1101 * 1102 * <p> 1103 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. 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. 1104 * </p> 1105 * 1106 * @param groupId the group ID 1107 * @param folderId the folder ID 1108 * @param active the active 1109 * @param status the status 1110 * @param start the lower bound of the range of document library file shortcuts 1111 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 1112 * @return the range of matching document library file shortcuts 1113 */ 1114 public java.util.List<DLFileShortcut> findByG_F_A_S(long groupId, 1115 long folderId, boolean active, int status, int start, int end); 1116 1117 /** 1118 * Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?. 1119 * 1120 * <p> 1121 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. 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. 1122 * </p> 1123 * 1124 * @param groupId the group ID 1125 * @param folderId the folder ID 1126 * @param active the active 1127 * @param status the status 1128 * @param start the lower bound of the range of document library file shortcuts 1129 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 1130 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1131 * @return the ordered range of matching document library file shortcuts 1132 */ 1133 public java.util.List<DLFileShortcut> findByG_F_A_S(long groupId, 1134 long folderId, boolean active, int status, int start, int end, 1135 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 1136 1137 /** 1138 * Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?. 1139 * 1140 * @param groupId the group ID 1141 * @param folderId the folder ID 1142 * @param active the active 1143 * @param status the status 1144 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1145 * @return the first matching document library file shortcut 1146 * @throws NoSuchFileShortcutException if a matching document library file shortcut could not be found 1147 */ 1148 public DLFileShortcut findByG_F_A_S_First(long groupId, long folderId, 1149 boolean active, int status, 1150 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 1151 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 1152 1153 /** 1154 * Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?. 1155 * 1156 * @param groupId the group ID 1157 * @param folderId the folder ID 1158 * @param active the active 1159 * @param status the status 1160 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1161 * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 1162 */ 1163 public DLFileShortcut fetchByG_F_A_S_First(long groupId, long folderId, 1164 boolean active, int status, 1165 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 1166 1167 /** 1168 * Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?. 1169 * 1170 * @param groupId the group ID 1171 * @param folderId the folder ID 1172 * @param active the active 1173 * @param status the status 1174 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1175 * @return the last matching document library file shortcut 1176 * @throws NoSuchFileShortcutException if a matching document library file shortcut could not be found 1177 */ 1178 public DLFileShortcut findByG_F_A_S_Last(long groupId, long folderId, 1179 boolean active, int status, 1180 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 1181 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 1182 1183 /** 1184 * Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?. 1185 * 1186 * @param groupId the group ID 1187 * @param folderId the folder ID 1188 * @param active the active 1189 * @param status the status 1190 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1191 * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 1192 */ 1193 public DLFileShortcut fetchByG_F_A_S_Last(long groupId, long folderId, 1194 boolean active, int status, 1195 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 1196 1197 /** 1198 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?. 1199 * 1200 * @param fileShortcutId the primary key of the current document library file shortcut 1201 * @param groupId the group ID 1202 * @param folderId the folder ID 1203 * @param active the active 1204 * @param status the status 1205 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1206 * @return the previous, current, and next document library file shortcut 1207 * @throws NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 1208 */ 1209 public DLFileShortcut[] findByG_F_A_S_PrevAndNext(long fileShortcutId, 1210 long groupId, long folderId, boolean active, int status, 1211 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 1212 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 1213 1214 /** 1215 * Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?. 1216 * 1217 * @param groupId the group ID 1218 * @param folderId the folder ID 1219 * @param active the active 1220 * @param status the status 1221 * @return the matching document library file shortcuts that the user has permission to view 1222 */ 1223 public java.util.List<DLFileShortcut> filterFindByG_F_A_S(long groupId, 1224 long folderId, boolean active, int status); 1225 1226 /** 1227 * Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?. 1228 * 1229 * <p> 1230 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. 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. 1231 * </p> 1232 * 1233 * @param groupId the group ID 1234 * @param folderId the folder ID 1235 * @param active the active 1236 * @param status the status 1237 * @param start the lower bound of the range of document library file shortcuts 1238 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 1239 * @return the range of matching document library file shortcuts that the user has permission to view 1240 */ 1241 public java.util.List<DLFileShortcut> filterFindByG_F_A_S(long groupId, 1242 long folderId, boolean active, int status, int start, int end); 1243 1244 /** 1245 * Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ? and active = ? and status = ?. 1246 * 1247 * <p> 1248 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. 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. 1249 * </p> 1250 * 1251 * @param groupId the group ID 1252 * @param folderId the folder ID 1253 * @param active the active 1254 * @param status the status 1255 * @param start the lower bound of the range of document library file shortcuts 1256 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 1257 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1258 * @return the ordered range of matching document library file shortcuts that the user has permission to view 1259 */ 1260 public java.util.List<DLFileShortcut> filterFindByG_F_A_S(long groupId, 1261 long folderId, boolean active, int status, int start, int end, 1262 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 1263 1264 /** 1265 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?. 1266 * 1267 * @param fileShortcutId the primary key of the current document library file shortcut 1268 * @param groupId the group ID 1269 * @param folderId the folder ID 1270 * @param active the active 1271 * @param status the status 1272 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1273 * @return the previous, current, and next document library file shortcut 1274 * @throws NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 1275 */ 1276 public DLFileShortcut[] filterFindByG_F_A_S_PrevAndNext( 1277 long fileShortcutId, long groupId, long folderId, boolean active, 1278 int status, 1279 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator) 1280 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 1281 1282 /** 1283 * Removes all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ? from the database. 1284 * 1285 * @param groupId the group ID 1286 * @param folderId the folder ID 1287 * @param active the active 1288 * @param status the status 1289 */ 1290 public void removeByG_F_A_S(long groupId, long folderId, boolean active, 1291 int status); 1292 1293 /** 1294 * Returns the number of document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?. 1295 * 1296 * @param groupId the group ID 1297 * @param folderId the folder ID 1298 * @param active the active 1299 * @param status the status 1300 * @return the number of matching document library file shortcuts 1301 */ 1302 public int countByG_F_A_S(long groupId, long folderId, boolean active, 1303 int status); 1304 1305 /** 1306 * Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?. 1307 * 1308 * @param groupId the group ID 1309 * @param folderId the folder ID 1310 * @param active the active 1311 * @param status the status 1312 * @return the number of matching document library file shortcuts that the user has permission to view 1313 */ 1314 public int filterCountByG_F_A_S(long groupId, long folderId, 1315 boolean active, int status); 1316 1317 /** 1318 * Caches the document library file shortcut in the entity cache if it is enabled. 1319 * 1320 * @param dlFileShortcut the document library file shortcut 1321 */ 1322 public void cacheResult(DLFileShortcut dlFileShortcut); 1323 1324 /** 1325 * Caches the document library file shortcuts in the entity cache if it is enabled. 1326 * 1327 * @param dlFileShortcuts the document library file shortcuts 1328 */ 1329 public void cacheResult(java.util.List<DLFileShortcut> dlFileShortcuts); 1330 1331 /** 1332 * Creates a new document library file shortcut with the primary key. Does not add the document library file shortcut to the database. 1333 * 1334 * @param fileShortcutId the primary key for the new document library file shortcut 1335 * @return the new document library file shortcut 1336 */ 1337 public DLFileShortcut create(long fileShortcutId); 1338 1339 /** 1340 * Removes the document library file shortcut with the primary key from the database. Also notifies the appropriate model listeners. 1341 * 1342 * @param fileShortcutId the primary key of the document library file shortcut 1343 * @return the document library file shortcut that was removed 1344 * @throws NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 1345 */ 1346 public DLFileShortcut remove(long fileShortcutId) 1347 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 1348 1349 public DLFileShortcut updateImpl(DLFileShortcut dlFileShortcut); 1350 1351 /** 1352 * Returns the document library file shortcut with the primary key or throws a {@link NoSuchFileShortcutException} if it could not be found. 1353 * 1354 * @param fileShortcutId the primary key of the document library file shortcut 1355 * @return the document library file shortcut 1356 * @throws NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 1357 */ 1358 public DLFileShortcut findByPrimaryKey(long fileShortcutId) 1359 throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 1360 1361 /** 1362 * Returns the document library file shortcut with the primary key or returns <code>null</code> if it could not be found. 1363 * 1364 * @param fileShortcutId the primary key of the document library file shortcut 1365 * @return the document library file shortcut, or <code>null</code> if a document library file shortcut with the primary key could not be found 1366 */ 1367 public DLFileShortcut fetchByPrimaryKey(long fileShortcutId); 1368 1369 @Override 1370 public java.util.Map<java.io.Serializable, DLFileShortcut> fetchByPrimaryKeys( 1371 java.util.Set<java.io.Serializable> primaryKeys); 1372 1373 /** 1374 * Returns all the document library file shortcuts. 1375 * 1376 * @return the document library file shortcuts 1377 */ 1378 public java.util.List<DLFileShortcut> findAll(); 1379 1380 /** 1381 * Returns a range of all the document library file shortcuts. 1382 * 1383 * <p> 1384 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. 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. 1385 * </p> 1386 * 1387 * @param start the lower bound of the range of document library file shortcuts 1388 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 1389 * @return the range of document library file shortcuts 1390 */ 1391 public java.util.List<DLFileShortcut> findAll(int start, int end); 1392 1393 /** 1394 * Returns an ordered range of all the document library file shortcuts. 1395 * 1396 * <p> 1397 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileShortcutModelImpl}. 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. 1398 * </p> 1399 * 1400 * @param start the lower bound of the range of document library file shortcuts 1401 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 1402 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1403 * @return the ordered range of document library file shortcuts 1404 */ 1405 public java.util.List<DLFileShortcut> findAll(int start, int end, 1406 com.liferay.portal.kernel.util.OrderByComparator<DLFileShortcut> orderByComparator); 1407 1408 /** 1409 * Removes all the document library file shortcuts from the database. 1410 */ 1411 public void removeAll(); 1412 1413 /** 1414 * Returns the number of document library file shortcuts. 1415 * 1416 * @return the number of document library file shortcuts 1417 */ 1418 public int countAll(); 1419 }