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