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