001 /** 002 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.documentlibrary.service.persistence; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil; 020 import com.liferay.portal.kernel.dao.orm.DynamicQuery; 021 import com.liferay.portal.kernel.exception.SystemException; 022 import com.liferay.portal.kernel.util.OrderByComparator; 023 import com.liferay.portal.kernel.util.ReferenceRegistry; 024 import com.liferay.portal.service.ServiceContext; 025 026 import com.liferay.portlet.documentlibrary.model.DLFileShortcut; 027 028 import java.util.List; 029 030 /** 031 * The persistence utility for the document library file shortcut service. This utility wraps {@link DLFileShortcutPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. 032 * 033 * <p> 034 * Caching information and settings can be found in <code>portal.properties</code> 035 * </p> 036 * 037 * @author Brian Wing Shun Chan 038 * @see DLFileShortcutPersistence 039 * @see DLFileShortcutPersistenceImpl 040 * @generated 041 */ 042 @ProviderType 043 public class DLFileShortcutUtil { 044 /* 045 * NOTE FOR DEVELOPERS: 046 * 047 * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class. 048 */ 049 050 /** 051 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() 052 */ 053 public static void clearCache() { 054 getPersistence().clearCache(); 055 } 056 057 /** 058 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) 059 */ 060 public static void clearCache(DLFileShortcut dlFileShortcut) { 061 getPersistence().clearCache(dlFileShortcut); 062 } 063 064 /** 065 * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) 066 */ 067 public static long countWithDynamicQuery(DynamicQuery dynamicQuery) 068 throws SystemException { 069 return getPersistence().countWithDynamicQuery(dynamicQuery); 070 } 071 072 /** 073 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) 074 */ 075 public static List<DLFileShortcut> findWithDynamicQuery( 076 DynamicQuery dynamicQuery) throws SystemException { 077 return getPersistence().findWithDynamicQuery(dynamicQuery); 078 } 079 080 /** 081 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) 082 */ 083 public static List<DLFileShortcut> findWithDynamicQuery( 084 DynamicQuery dynamicQuery, int start, int end) 085 throws SystemException { 086 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); 087 } 088 089 /** 090 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) 091 */ 092 public static List<DLFileShortcut> findWithDynamicQuery( 093 DynamicQuery dynamicQuery, int start, int end, 094 OrderByComparator orderByComparator) throws SystemException { 095 return getPersistence() 096 .findWithDynamicQuery(dynamicQuery, start, end, 097 orderByComparator); 098 } 099 100 /** 101 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) 102 */ 103 public static DLFileShortcut update(DLFileShortcut dlFileShortcut) 104 throws SystemException { 105 return getPersistence().update(dlFileShortcut); 106 } 107 108 /** 109 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) 110 */ 111 public static DLFileShortcut update(DLFileShortcut dlFileShortcut, 112 ServiceContext serviceContext) throws SystemException { 113 return getPersistence().update(dlFileShortcut, serviceContext); 114 } 115 116 /** 117 * Returns all the document library file shortcuts where uuid = ?. 118 * 119 * @param uuid the uuid 120 * @return the matching document library file shortcuts 121 * @throws SystemException if a system exception occurred 122 */ 123 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid( 124 java.lang.String uuid) 125 throws com.liferay.portal.kernel.exception.SystemException { 126 return getPersistence().findByUuid(uuid); 127 } 128 129 /** 130 * Returns a range of all the document library file shortcuts where uuid = ?. 131 * 132 * <p> 133 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 134 * </p> 135 * 136 * @param uuid the uuid 137 * @param start the lower bound of the range of document library file shortcuts 138 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 139 * @return the range of matching document library file shortcuts 140 * @throws SystemException if a system exception occurred 141 */ 142 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid( 143 java.lang.String uuid, int start, int end) 144 throws com.liferay.portal.kernel.exception.SystemException { 145 return getPersistence().findByUuid(uuid, start, end); 146 } 147 148 /** 149 * Returns an ordered range of all the document library file shortcuts where uuid = ?. 150 * 151 * <p> 152 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 153 * </p> 154 * 155 * @param uuid the uuid 156 * @param start the lower bound of the range of document library file shortcuts 157 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 158 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 159 * @return the ordered range of matching document library file shortcuts 160 * @throws SystemException if a system exception occurred 161 */ 162 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid( 163 java.lang.String uuid, int start, int end, 164 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 165 throws com.liferay.portal.kernel.exception.SystemException { 166 return getPersistence().findByUuid(uuid, start, end, orderByComparator); 167 } 168 169 /** 170 * Returns the first document library file shortcut in the ordered set where uuid = ?. 171 * 172 * @param uuid the uuid 173 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 174 * @return the first matching document library file shortcut 175 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 176 * @throws SystemException if a system exception occurred 177 */ 178 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_First( 179 java.lang.String uuid, 180 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 181 throws com.liferay.portal.kernel.exception.SystemException, 182 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 183 return getPersistence().findByUuid_First(uuid, orderByComparator); 184 } 185 186 /** 187 * Returns the first document library file shortcut in the ordered set where uuid = ?. 188 * 189 * @param uuid the uuid 190 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 191 * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 192 * @throws SystemException if a system exception occurred 193 */ 194 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUuid_First( 195 java.lang.String uuid, 196 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 197 throws com.liferay.portal.kernel.exception.SystemException { 198 return getPersistence().fetchByUuid_First(uuid, orderByComparator); 199 } 200 201 /** 202 * Returns the last document library file shortcut in the ordered set where uuid = ?. 203 * 204 * @param uuid the uuid 205 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 206 * @return the last matching document library file shortcut 207 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 208 * @throws SystemException if a system exception occurred 209 */ 210 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_Last( 211 java.lang.String uuid, 212 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 213 throws com.liferay.portal.kernel.exception.SystemException, 214 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 215 return getPersistence().findByUuid_Last(uuid, orderByComparator); 216 } 217 218 /** 219 * Returns the last document library file shortcut in the ordered set where uuid = ?. 220 * 221 * @param uuid the uuid 222 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 223 * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 224 * @throws SystemException if a system exception occurred 225 */ 226 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUuid_Last( 227 java.lang.String uuid, 228 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 229 throws com.liferay.portal.kernel.exception.SystemException { 230 return getPersistence().fetchByUuid_Last(uuid, orderByComparator); 231 } 232 233 /** 234 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = ?. 235 * 236 * @param fileShortcutId the primary key of the current document library file shortcut 237 * @param uuid the uuid 238 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 239 * @return the previous, current, and next document library file shortcut 240 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 241 * @throws SystemException if a system exception occurred 242 */ 243 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByUuid_PrevAndNext( 244 long fileShortcutId, java.lang.String uuid, 245 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 246 throws com.liferay.portal.kernel.exception.SystemException, 247 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 248 return getPersistence() 249 .findByUuid_PrevAndNext(fileShortcutId, uuid, 250 orderByComparator); 251 } 252 253 /** 254 * Removes all the document library file shortcuts where uuid = ? from the database. 255 * 256 * @param uuid the uuid 257 * @throws SystemException if a system exception occurred 258 */ 259 public static void removeByUuid(java.lang.String uuid) 260 throws com.liferay.portal.kernel.exception.SystemException { 261 getPersistence().removeByUuid(uuid); 262 } 263 264 /** 265 * Returns the number of document library file shortcuts where uuid = ?. 266 * 267 * @param uuid the uuid 268 * @return the number of matching document library file shortcuts 269 * @throws SystemException if a system exception occurred 270 */ 271 public static int countByUuid(java.lang.String uuid) 272 throws com.liferay.portal.kernel.exception.SystemException { 273 return getPersistence().countByUuid(uuid); 274 } 275 276 /** 277 * Returns the document library file shortcut where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileShortcutException} if it could not be found. 278 * 279 * @param uuid the uuid 280 * @param groupId the group ID 281 * @return the matching document library file shortcut 282 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 283 * @throws SystemException if a system exception occurred 284 */ 285 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUUID_G( 286 java.lang.String uuid, long groupId) 287 throws com.liferay.portal.kernel.exception.SystemException, 288 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 289 return getPersistence().findByUUID_G(uuid, groupId); 290 } 291 292 /** 293 * 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. 294 * 295 * @param uuid the uuid 296 * @param groupId the group ID 297 * @return the matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 298 * @throws SystemException if a system exception occurred 299 */ 300 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUUID_G( 301 java.lang.String uuid, long groupId) 302 throws com.liferay.portal.kernel.exception.SystemException { 303 return getPersistence().fetchByUUID_G(uuid, groupId); 304 } 305 306 /** 307 * 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. 308 * 309 * @param uuid the uuid 310 * @param groupId the group ID 311 * @param retrieveFromCache whether to use the finder cache 312 * @return the matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 313 * @throws SystemException if a system exception occurred 314 */ 315 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUUID_G( 316 java.lang.String uuid, long groupId, boolean retrieveFromCache) 317 throws com.liferay.portal.kernel.exception.SystemException { 318 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); 319 } 320 321 /** 322 * Removes the document library file shortcut where uuid = ? and groupId = ? from the database. 323 * 324 * @param uuid the uuid 325 * @param groupId the group ID 326 * @return the document library file shortcut that was removed 327 * @throws SystemException if a system exception occurred 328 */ 329 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut removeByUUID_G( 330 java.lang.String uuid, long groupId) 331 throws com.liferay.portal.kernel.exception.SystemException, 332 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 333 return getPersistence().removeByUUID_G(uuid, groupId); 334 } 335 336 /** 337 * Returns the number of document library file shortcuts where uuid = ? and groupId = ?. 338 * 339 * @param uuid the uuid 340 * @param groupId the group ID 341 * @return the number of matching document library file shortcuts 342 * @throws SystemException if a system exception occurred 343 */ 344 public static int countByUUID_G(java.lang.String uuid, long groupId) 345 throws com.liferay.portal.kernel.exception.SystemException { 346 return getPersistence().countByUUID_G(uuid, groupId); 347 } 348 349 /** 350 * Returns all the document library file shortcuts where uuid = ? and companyId = ?. 351 * 352 * @param uuid the uuid 353 * @param companyId the company ID 354 * @return the matching document library file shortcuts 355 * @throws SystemException if a system exception occurred 356 */ 357 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid_C( 358 java.lang.String uuid, long companyId) 359 throws com.liferay.portal.kernel.exception.SystemException { 360 return getPersistence().findByUuid_C(uuid, companyId); 361 } 362 363 /** 364 * Returns a range of all the document library file shortcuts where uuid = ? and companyId = ?. 365 * 366 * <p> 367 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 368 * </p> 369 * 370 * @param uuid the uuid 371 * @param companyId the company ID 372 * @param start the lower bound of the range of document library file shortcuts 373 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 374 * @return the range of matching document library file shortcuts 375 * @throws SystemException if a system exception occurred 376 */ 377 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid_C( 378 java.lang.String uuid, long companyId, int start, int end) 379 throws com.liferay.portal.kernel.exception.SystemException { 380 return getPersistence().findByUuid_C(uuid, companyId, start, end); 381 } 382 383 /** 384 * Returns an ordered range of all the document library file shortcuts where uuid = ? and companyId = ?. 385 * 386 * <p> 387 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 388 * </p> 389 * 390 * @param uuid the uuid 391 * @param companyId the company ID 392 * @param start the lower bound of the range of document library file shortcuts 393 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 394 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 395 * @return the ordered range of matching document library file shortcuts 396 * @throws SystemException if a system exception occurred 397 */ 398 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid_C( 399 java.lang.String uuid, long companyId, int start, int end, 400 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 401 throws com.liferay.portal.kernel.exception.SystemException { 402 return getPersistence() 403 .findByUuid_C(uuid, companyId, start, end, orderByComparator); 404 } 405 406 /** 407 * Returns the first document library file shortcut in the ordered set where uuid = ? and companyId = ?. 408 * 409 * @param uuid the uuid 410 * @param companyId the company ID 411 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 412 * @return the first matching document library file shortcut 413 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 414 * @throws SystemException if a system exception occurred 415 */ 416 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_C_First( 417 java.lang.String uuid, long companyId, 418 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 419 throws com.liferay.portal.kernel.exception.SystemException, 420 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 421 return getPersistence() 422 .findByUuid_C_First(uuid, companyId, orderByComparator); 423 } 424 425 /** 426 * Returns the first document library file shortcut in the ordered set where uuid = ? and companyId = ?. 427 * 428 * @param uuid the uuid 429 * @param companyId the company ID 430 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 431 * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 432 * @throws SystemException if a system exception occurred 433 */ 434 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUuid_C_First( 435 java.lang.String uuid, long companyId, 436 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 437 throws com.liferay.portal.kernel.exception.SystemException { 438 return getPersistence() 439 .fetchByUuid_C_First(uuid, companyId, orderByComparator); 440 } 441 442 /** 443 * Returns the last document library file shortcut in the ordered set where uuid = ? and companyId = ?. 444 * 445 * @param uuid the uuid 446 * @param companyId the company ID 447 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 448 * @return the last matching document library file shortcut 449 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 450 * @throws SystemException if a system exception occurred 451 */ 452 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_C_Last( 453 java.lang.String uuid, long companyId, 454 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 455 throws com.liferay.portal.kernel.exception.SystemException, 456 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 457 return getPersistence() 458 .findByUuid_C_Last(uuid, companyId, orderByComparator); 459 } 460 461 /** 462 * Returns the last document library file shortcut in the ordered set where uuid = ? and companyId = ?. 463 * 464 * @param uuid the uuid 465 * @param companyId the company ID 466 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 467 * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 468 * @throws SystemException if a system exception occurred 469 */ 470 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUuid_C_Last( 471 java.lang.String uuid, long companyId, 472 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 473 throws com.liferay.portal.kernel.exception.SystemException { 474 return getPersistence() 475 .fetchByUuid_C_Last(uuid, companyId, orderByComparator); 476 } 477 478 /** 479 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = ? and companyId = ?. 480 * 481 * @param fileShortcutId the primary key of the current document library file shortcut 482 * @param uuid the uuid 483 * @param companyId the company ID 484 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 485 * @return the previous, current, and next document library file shortcut 486 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 487 * @throws SystemException if a system exception occurred 488 */ 489 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByUuid_C_PrevAndNext( 490 long fileShortcutId, java.lang.String uuid, long companyId, 491 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 492 throws com.liferay.portal.kernel.exception.SystemException, 493 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 494 return getPersistence() 495 .findByUuid_C_PrevAndNext(fileShortcutId, uuid, companyId, 496 orderByComparator); 497 } 498 499 /** 500 * Removes all the document library file shortcuts where uuid = ? and companyId = ? from the database. 501 * 502 * @param uuid the uuid 503 * @param companyId the company ID 504 * @throws SystemException if a system exception occurred 505 */ 506 public static void removeByUuid_C(java.lang.String uuid, long companyId) 507 throws com.liferay.portal.kernel.exception.SystemException { 508 getPersistence().removeByUuid_C(uuid, companyId); 509 } 510 511 /** 512 * Returns the number of document library file shortcuts where uuid = ? and companyId = ?. 513 * 514 * @param uuid the uuid 515 * @param companyId the company ID 516 * @return the number of matching document library file shortcuts 517 * @throws SystemException if a system exception occurred 518 */ 519 public static int countByUuid_C(java.lang.String uuid, long companyId) 520 throws com.liferay.portal.kernel.exception.SystemException { 521 return getPersistence().countByUuid_C(uuid, companyId); 522 } 523 524 /** 525 * Returns all the document library file shortcuts where companyId = ?. 526 * 527 * @param companyId the company ID 528 * @return the matching document library file shortcuts 529 * @throws SystemException if a system exception occurred 530 */ 531 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByCompanyId( 532 long companyId) 533 throws com.liferay.portal.kernel.exception.SystemException { 534 return getPersistence().findByCompanyId(companyId); 535 } 536 537 /** 538 * Returns a range of all the document library file shortcuts where companyId = ?. 539 * 540 * <p> 541 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 542 * </p> 543 * 544 * @param companyId the company ID 545 * @param start the lower bound of the range of document library file shortcuts 546 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 547 * @return the range of matching document library file shortcuts 548 * @throws SystemException if a system exception occurred 549 */ 550 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByCompanyId( 551 long companyId, int start, int end) 552 throws com.liferay.portal.kernel.exception.SystemException { 553 return getPersistence().findByCompanyId(companyId, start, end); 554 } 555 556 /** 557 * Returns an ordered range of all the document library file shortcuts where companyId = ?. 558 * 559 * <p> 560 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 561 * </p> 562 * 563 * @param companyId the company ID 564 * @param start the lower bound of the range of document library file shortcuts 565 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 566 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 567 * @return the ordered range of matching document library file shortcuts 568 * @throws SystemException if a system exception occurred 569 */ 570 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByCompanyId( 571 long companyId, int start, int end, 572 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 573 throws com.liferay.portal.kernel.exception.SystemException { 574 return getPersistence() 575 .findByCompanyId(companyId, start, end, orderByComparator); 576 } 577 578 /** 579 * Returns the first document library file shortcut in the ordered set where companyId = ?. 580 * 581 * @param companyId the company ID 582 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 583 * @return the first matching document library file shortcut 584 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 585 * @throws SystemException if a system exception occurred 586 */ 587 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByCompanyId_First( 588 long companyId, 589 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 590 throws com.liferay.portal.kernel.exception.SystemException, 591 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 592 return getPersistence() 593 .findByCompanyId_First(companyId, orderByComparator); 594 } 595 596 /** 597 * Returns the first document library file shortcut in the ordered set where companyId = ?. 598 * 599 * @param companyId the company ID 600 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 601 * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 602 * @throws SystemException if a system exception occurred 603 */ 604 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByCompanyId_First( 605 long companyId, 606 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 607 throws com.liferay.portal.kernel.exception.SystemException { 608 return getPersistence() 609 .fetchByCompanyId_First(companyId, orderByComparator); 610 } 611 612 /** 613 * Returns the last document library file shortcut in the ordered set where companyId = ?. 614 * 615 * @param companyId the company ID 616 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 617 * @return the last matching document library file shortcut 618 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 619 * @throws SystemException if a system exception occurred 620 */ 621 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByCompanyId_Last( 622 long companyId, 623 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 624 throws com.liferay.portal.kernel.exception.SystemException, 625 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 626 return getPersistence() 627 .findByCompanyId_Last(companyId, orderByComparator); 628 } 629 630 /** 631 * Returns the last document library file shortcut in the ordered set where companyId = ?. 632 * 633 * @param companyId the company ID 634 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 635 * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 636 * @throws SystemException if a system exception occurred 637 */ 638 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByCompanyId_Last( 639 long companyId, 640 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 641 throws com.liferay.portal.kernel.exception.SystemException { 642 return getPersistence() 643 .fetchByCompanyId_Last(companyId, orderByComparator); 644 } 645 646 /** 647 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where companyId = ?. 648 * 649 * @param fileShortcutId the primary key of the current document library file shortcut 650 * @param companyId the company ID 651 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 652 * @return the previous, current, and next document library file shortcut 653 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 654 * @throws SystemException if a system exception occurred 655 */ 656 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByCompanyId_PrevAndNext( 657 long fileShortcutId, long companyId, 658 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 659 throws com.liferay.portal.kernel.exception.SystemException, 660 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 661 return getPersistence() 662 .findByCompanyId_PrevAndNext(fileShortcutId, companyId, 663 orderByComparator); 664 } 665 666 /** 667 * Removes all the document library file shortcuts where companyId = ? from the database. 668 * 669 * @param companyId the company ID 670 * @throws SystemException if a system exception occurred 671 */ 672 public static void removeByCompanyId(long companyId) 673 throws com.liferay.portal.kernel.exception.SystemException { 674 getPersistence().removeByCompanyId(companyId); 675 } 676 677 /** 678 * Returns the number of document library file shortcuts where companyId = ?. 679 * 680 * @param companyId the company ID 681 * @return the number of matching document library file shortcuts 682 * @throws SystemException if a system exception occurred 683 */ 684 public static int countByCompanyId(long companyId) 685 throws com.liferay.portal.kernel.exception.SystemException { 686 return getPersistence().countByCompanyId(companyId); 687 } 688 689 /** 690 * Returns all the document library file shortcuts where toFileEntryId = ?. 691 * 692 * @param toFileEntryId the to file entry ID 693 * @return the matching document library file shortcuts 694 * @throws SystemException if a system exception occurred 695 */ 696 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByToFileEntryId( 697 long toFileEntryId) 698 throws com.liferay.portal.kernel.exception.SystemException { 699 return getPersistence().findByToFileEntryId(toFileEntryId); 700 } 701 702 /** 703 * Returns a range of all the document library file shortcuts where toFileEntryId = ?. 704 * 705 * <p> 706 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 707 * </p> 708 * 709 * @param toFileEntryId the to file entry ID 710 * @param start the lower bound of the range of document library file shortcuts 711 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 712 * @return the range of matching document library file shortcuts 713 * @throws SystemException if a system exception occurred 714 */ 715 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByToFileEntryId( 716 long toFileEntryId, int start, int end) 717 throws com.liferay.portal.kernel.exception.SystemException { 718 return getPersistence().findByToFileEntryId(toFileEntryId, start, end); 719 } 720 721 /** 722 * Returns an ordered range of all the document library file shortcuts where toFileEntryId = ?. 723 * 724 * <p> 725 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 726 * </p> 727 * 728 * @param toFileEntryId the to file entry ID 729 * @param start the lower bound of the range of document library file shortcuts 730 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 731 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 732 * @return the ordered range of matching document library file shortcuts 733 * @throws SystemException if a system exception occurred 734 */ 735 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByToFileEntryId( 736 long toFileEntryId, int start, int end, 737 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 738 throws com.liferay.portal.kernel.exception.SystemException { 739 return getPersistence() 740 .findByToFileEntryId(toFileEntryId, start, end, 741 orderByComparator); 742 } 743 744 /** 745 * Returns the first document library file shortcut in the ordered set where toFileEntryId = ?. 746 * 747 * @param toFileEntryId the to file entry ID 748 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 749 * @return the first matching document library file shortcut 750 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 751 * @throws SystemException if a system exception occurred 752 */ 753 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByToFileEntryId_First( 754 long toFileEntryId, 755 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 756 throws com.liferay.portal.kernel.exception.SystemException, 757 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 758 return getPersistence() 759 .findByToFileEntryId_First(toFileEntryId, orderByComparator); 760 } 761 762 /** 763 * Returns the first document library file shortcut in the ordered set where toFileEntryId = ?. 764 * 765 * @param toFileEntryId the to file entry ID 766 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 767 * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 768 * @throws SystemException if a system exception occurred 769 */ 770 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByToFileEntryId_First( 771 long toFileEntryId, 772 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 773 throws com.liferay.portal.kernel.exception.SystemException { 774 return getPersistence() 775 .fetchByToFileEntryId_First(toFileEntryId, orderByComparator); 776 } 777 778 /** 779 * Returns the last document library file shortcut in the ordered set where toFileEntryId = ?. 780 * 781 * @param toFileEntryId the to file entry ID 782 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 783 * @return the last matching document library file shortcut 784 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 785 * @throws SystemException if a system exception occurred 786 */ 787 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByToFileEntryId_Last( 788 long toFileEntryId, 789 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 790 throws com.liferay.portal.kernel.exception.SystemException, 791 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 792 return getPersistence() 793 .findByToFileEntryId_Last(toFileEntryId, orderByComparator); 794 } 795 796 /** 797 * Returns the last document library file shortcut in the ordered set where toFileEntryId = ?. 798 * 799 * @param toFileEntryId the to file entry ID 800 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 801 * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 802 * @throws SystemException if a system exception occurred 803 */ 804 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByToFileEntryId_Last( 805 long toFileEntryId, 806 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 807 throws com.liferay.portal.kernel.exception.SystemException { 808 return getPersistence() 809 .fetchByToFileEntryId_Last(toFileEntryId, orderByComparator); 810 } 811 812 /** 813 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where toFileEntryId = ?. 814 * 815 * @param fileShortcutId the primary key of the current document library file shortcut 816 * @param toFileEntryId the to file entry ID 817 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 818 * @return the previous, current, and next document library file shortcut 819 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 820 * @throws SystemException if a system exception occurred 821 */ 822 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByToFileEntryId_PrevAndNext( 823 long fileShortcutId, long toFileEntryId, 824 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 825 throws com.liferay.portal.kernel.exception.SystemException, 826 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 827 return getPersistence() 828 .findByToFileEntryId_PrevAndNext(fileShortcutId, 829 toFileEntryId, orderByComparator); 830 } 831 832 /** 833 * Removes all the document library file shortcuts where toFileEntryId = ? from the database. 834 * 835 * @param toFileEntryId the to file entry ID 836 * @throws SystemException if a system exception occurred 837 */ 838 public static void removeByToFileEntryId(long toFileEntryId) 839 throws com.liferay.portal.kernel.exception.SystemException { 840 getPersistence().removeByToFileEntryId(toFileEntryId); 841 } 842 843 /** 844 * Returns the number of document library file shortcuts where toFileEntryId = ?. 845 * 846 * @param toFileEntryId the to file entry ID 847 * @return the number of matching document library file shortcuts 848 * @throws SystemException if a system exception occurred 849 */ 850 public static int countByToFileEntryId(long toFileEntryId) 851 throws com.liferay.portal.kernel.exception.SystemException { 852 return getPersistence().countByToFileEntryId(toFileEntryId); 853 } 854 855 /** 856 * Returns all the document library file shortcuts where groupId = ? and folderId = ?. 857 * 858 * @param groupId the group ID 859 * @param folderId the folder ID 860 * @return the matching document library file shortcuts 861 * @throws SystemException if a system exception occurred 862 */ 863 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F( 864 long groupId, long folderId) 865 throws com.liferay.portal.kernel.exception.SystemException { 866 return getPersistence().findByG_F(groupId, folderId); 867 } 868 869 /** 870 * Returns a range of all the document library file shortcuts where groupId = ? and folderId = ?. 871 * 872 * <p> 873 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 874 * </p> 875 * 876 * @param groupId the group ID 877 * @param folderId the folder ID 878 * @param start the lower bound of the range of document library file shortcuts 879 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 880 * @return the range of matching document library file shortcuts 881 * @throws SystemException if a system exception occurred 882 */ 883 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F( 884 long groupId, long folderId, int start, int end) 885 throws com.liferay.portal.kernel.exception.SystemException { 886 return getPersistence().findByG_F(groupId, folderId, start, end); 887 } 888 889 /** 890 * Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ?. 891 * 892 * <p> 893 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 894 * </p> 895 * 896 * @param groupId the group ID 897 * @param folderId the folder ID 898 * @param start the lower bound of the range of document library file shortcuts 899 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 900 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 901 * @return the ordered range of matching document library file shortcuts 902 * @throws SystemException if a system exception occurred 903 */ 904 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F( 905 long groupId, long folderId, int start, int end, 906 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 907 throws com.liferay.portal.kernel.exception.SystemException { 908 return getPersistence() 909 .findByG_F(groupId, folderId, start, end, orderByComparator); 910 } 911 912 /** 913 * Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?. 914 * 915 * @param groupId the group ID 916 * @param folderId the folder ID 917 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 918 * @return the first matching document library file shortcut 919 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 920 * @throws SystemException if a system exception occurred 921 */ 922 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_First( 923 long groupId, long folderId, 924 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 925 throws com.liferay.portal.kernel.exception.SystemException, 926 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 927 return getPersistence() 928 .findByG_F_First(groupId, folderId, orderByComparator); 929 } 930 931 /** 932 * Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?. 933 * 934 * @param groupId the group ID 935 * @param folderId the folder ID 936 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 937 * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 938 * @throws SystemException if a system exception occurred 939 */ 940 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_First( 941 long groupId, long folderId, 942 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 943 throws com.liferay.portal.kernel.exception.SystemException { 944 return getPersistence() 945 .fetchByG_F_First(groupId, folderId, orderByComparator); 946 } 947 948 /** 949 * Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?. 950 * 951 * @param groupId the group ID 952 * @param folderId the folder ID 953 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 954 * @return the last matching document library file shortcut 955 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 956 * @throws SystemException if a system exception occurred 957 */ 958 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_Last( 959 long groupId, long folderId, 960 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 961 throws com.liferay.portal.kernel.exception.SystemException, 962 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 963 return getPersistence() 964 .findByG_F_Last(groupId, folderId, orderByComparator); 965 } 966 967 /** 968 * Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?. 969 * 970 * @param groupId the group ID 971 * @param folderId the folder ID 972 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 973 * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 974 * @throws SystemException if a system exception occurred 975 */ 976 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_Last( 977 long groupId, long folderId, 978 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 979 throws com.liferay.portal.kernel.exception.SystemException { 980 return getPersistence() 981 .fetchByG_F_Last(groupId, folderId, orderByComparator); 982 } 983 984 /** 985 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ?. 986 * 987 * @param fileShortcutId the primary key of the current document library file shortcut 988 * @param groupId the group ID 989 * @param folderId the folder ID 990 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 991 * @return the previous, current, and next document library file shortcut 992 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 993 * @throws SystemException if a system exception occurred 994 */ 995 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_PrevAndNext( 996 long fileShortcutId, long groupId, long folderId, 997 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 998 throws com.liferay.portal.kernel.exception.SystemException, 999 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 1000 return getPersistence() 1001 .findByG_F_PrevAndNext(fileShortcutId, groupId, folderId, 1002 orderByComparator); 1003 } 1004 1005 /** 1006 * Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?. 1007 * 1008 * @param groupId the group ID 1009 * @param folderId the folder ID 1010 * @return the matching document library file shortcuts that the user has permission to view 1011 * @throws SystemException if a system exception occurred 1012 */ 1013 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F( 1014 long groupId, long folderId) 1015 throws com.liferay.portal.kernel.exception.SystemException { 1016 return getPersistence().filterFindByG_F(groupId, folderId); 1017 } 1018 1019 /** 1020 * Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?. 1021 * 1022 * <p> 1023 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 1024 * </p> 1025 * 1026 * @param groupId the group ID 1027 * @param folderId the folder ID 1028 * @param start the lower bound of the range of document library file shortcuts 1029 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 1030 * @return the range of matching document library file shortcuts that the user has permission to view 1031 * @throws SystemException if a system exception occurred 1032 */ 1033 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F( 1034 long groupId, long folderId, int start, int end) 1035 throws com.liferay.portal.kernel.exception.SystemException { 1036 return getPersistence().filterFindByG_F(groupId, folderId, start, end); 1037 } 1038 1039 /** 1040 * Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ?. 1041 * 1042 * <p> 1043 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 1044 * </p> 1045 * 1046 * @param groupId the group ID 1047 * @param folderId the folder ID 1048 * @param start the lower bound of the range of document library file shortcuts 1049 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 1050 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1051 * @return the ordered range of matching document library file shortcuts that the user has permission to view 1052 * @throws SystemException if a system exception occurred 1053 */ 1054 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F( 1055 long groupId, long folderId, int start, int end, 1056 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1057 throws com.liferay.portal.kernel.exception.SystemException { 1058 return getPersistence() 1059 .filterFindByG_F(groupId, folderId, start, end, 1060 orderByComparator); 1061 } 1062 1063 /** 1064 * 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 = ?. 1065 * 1066 * @param fileShortcutId the primary key of the current document library file shortcut 1067 * @param groupId the group ID 1068 * @param folderId the folder ID 1069 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1070 * @return the previous, current, and next document library file shortcut 1071 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 1072 * @throws SystemException if a system exception occurred 1073 */ 1074 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut[] filterFindByG_F_PrevAndNext( 1075 long fileShortcutId, long groupId, long folderId, 1076 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1077 throws com.liferay.portal.kernel.exception.SystemException, 1078 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 1079 return getPersistence() 1080 .filterFindByG_F_PrevAndNext(fileShortcutId, groupId, 1081 folderId, orderByComparator); 1082 } 1083 1084 /** 1085 * Removes all the document library file shortcuts where groupId = ? and folderId = ? from the database. 1086 * 1087 * @param groupId the group ID 1088 * @param folderId the folder ID 1089 * @throws SystemException if a system exception occurred 1090 */ 1091 public static void removeByG_F(long groupId, long folderId) 1092 throws com.liferay.portal.kernel.exception.SystemException { 1093 getPersistence().removeByG_F(groupId, folderId); 1094 } 1095 1096 /** 1097 * Returns the number of document library file shortcuts where groupId = ? and folderId = ?. 1098 * 1099 * @param groupId the group ID 1100 * @param folderId the folder ID 1101 * @return the number of matching document library file shortcuts 1102 * @throws SystemException if a system exception occurred 1103 */ 1104 public static int countByG_F(long groupId, long folderId) 1105 throws com.liferay.portal.kernel.exception.SystemException { 1106 return getPersistence().countByG_F(groupId, folderId); 1107 } 1108 1109 /** 1110 * Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?. 1111 * 1112 * @param groupId the group ID 1113 * @param folderId the folder ID 1114 * @return the number of matching document library file shortcuts that the user has permission to view 1115 * @throws SystemException if a system exception occurred 1116 */ 1117 public static int filterCountByG_F(long groupId, long folderId) 1118 throws com.liferay.portal.kernel.exception.SystemException { 1119 return getPersistence().filterCountByG_F(groupId, folderId); 1120 } 1121 1122 /** 1123 * Returns all the document library file shortcuts where companyId = ? and status ≠ ?. 1124 * 1125 * @param companyId the company ID 1126 * @param status the status 1127 * @return the matching document library file shortcuts 1128 * @throws SystemException if a system exception occurred 1129 */ 1130 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByC_NotS( 1131 long companyId, int status) 1132 throws com.liferay.portal.kernel.exception.SystemException { 1133 return getPersistence().findByC_NotS(companyId, status); 1134 } 1135 1136 /** 1137 * Returns a range of all the document library file shortcuts where companyId = ? and status ≠ ?. 1138 * 1139 * <p> 1140 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 1141 * </p> 1142 * 1143 * @param companyId the company ID 1144 * @param status the status 1145 * @param start the lower bound of the range of document library file shortcuts 1146 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 1147 * @return the range of matching document library file shortcuts 1148 * @throws SystemException if a system exception occurred 1149 */ 1150 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByC_NotS( 1151 long companyId, int status, int start, int end) 1152 throws com.liferay.portal.kernel.exception.SystemException { 1153 return getPersistence().findByC_NotS(companyId, status, start, end); 1154 } 1155 1156 /** 1157 * Returns an ordered range of all the document library file shortcuts where companyId = ? and status ≠ ?. 1158 * 1159 * <p> 1160 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 1161 * </p> 1162 * 1163 * @param companyId the company ID 1164 * @param status the status 1165 * @param start the lower bound of the range of document library file shortcuts 1166 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 1167 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1168 * @return the ordered range of matching document library file shortcuts 1169 * @throws SystemException if a system exception occurred 1170 */ 1171 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByC_NotS( 1172 long companyId, int status, int start, int end, 1173 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1174 throws com.liferay.portal.kernel.exception.SystemException { 1175 return getPersistence() 1176 .findByC_NotS(companyId, status, start, end, 1177 orderByComparator); 1178 } 1179 1180 /** 1181 * Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?. 1182 * 1183 * @param companyId the company ID 1184 * @param status the status 1185 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1186 * @return the first matching document library file shortcut 1187 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 1188 * @throws SystemException if a system exception occurred 1189 */ 1190 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByC_NotS_First( 1191 long companyId, int status, 1192 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1193 throws com.liferay.portal.kernel.exception.SystemException, 1194 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 1195 return getPersistence() 1196 .findByC_NotS_First(companyId, status, orderByComparator); 1197 } 1198 1199 /** 1200 * Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?. 1201 * 1202 * @param companyId the company ID 1203 * @param status the status 1204 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1205 * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 1206 * @throws SystemException if a system exception occurred 1207 */ 1208 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByC_NotS_First( 1209 long companyId, int status, 1210 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1211 throws com.liferay.portal.kernel.exception.SystemException { 1212 return getPersistence() 1213 .fetchByC_NotS_First(companyId, status, orderByComparator); 1214 } 1215 1216 /** 1217 * Returns the last document library file shortcut in the ordered set where companyId = ? and status ≠ ?. 1218 * 1219 * @param companyId the company ID 1220 * @param status the status 1221 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1222 * @return the last matching document library file shortcut 1223 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 1224 * @throws SystemException if a system exception occurred 1225 */ 1226 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByC_NotS_Last( 1227 long companyId, int status, 1228 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1229 throws com.liferay.portal.kernel.exception.SystemException, 1230 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 1231 return getPersistence() 1232 .findByC_NotS_Last(companyId, status, orderByComparator); 1233 } 1234 1235 /** 1236 * Returns the last document library file shortcut in the ordered set where companyId = ? and status ≠ ?. 1237 * 1238 * @param companyId the company ID 1239 * @param status the status 1240 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1241 * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 1242 * @throws SystemException if a system exception occurred 1243 */ 1244 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByC_NotS_Last( 1245 long companyId, int status, 1246 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1247 throws com.liferay.portal.kernel.exception.SystemException { 1248 return getPersistence() 1249 .fetchByC_NotS_Last(companyId, status, orderByComparator); 1250 } 1251 1252 /** 1253 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where companyId = ? and status ≠ ?. 1254 * 1255 * @param fileShortcutId the primary key of the current document library file shortcut 1256 * @param companyId the company ID 1257 * @param status the status 1258 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1259 * @return the previous, current, and next document library file shortcut 1260 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 1261 * @throws SystemException if a system exception occurred 1262 */ 1263 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByC_NotS_PrevAndNext( 1264 long fileShortcutId, long companyId, int status, 1265 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1266 throws com.liferay.portal.kernel.exception.SystemException, 1267 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 1268 return getPersistence() 1269 .findByC_NotS_PrevAndNext(fileShortcutId, companyId, status, 1270 orderByComparator); 1271 } 1272 1273 /** 1274 * Removes all the document library file shortcuts where companyId = ? and status ≠ ? from the database. 1275 * 1276 * @param companyId the company ID 1277 * @param status the status 1278 * @throws SystemException if a system exception occurred 1279 */ 1280 public static void removeByC_NotS(long companyId, int status) 1281 throws com.liferay.portal.kernel.exception.SystemException { 1282 getPersistence().removeByC_NotS(companyId, status); 1283 } 1284 1285 /** 1286 * Returns the number of document library file shortcuts where companyId = ? and status ≠ ?. 1287 * 1288 * @param companyId the company ID 1289 * @param status the status 1290 * @return the number of matching document library file shortcuts 1291 * @throws SystemException if a system exception occurred 1292 */ 1293 public static int countByC_NotS(long companyId, int status) 1294 throws com.liferay.portal.kernel.exception.SystemException { 1295 return getPersistence().countByC_NotS(companyId, status); 1296 } 1297 1298 /** 1299 * Returns all the document library file shortcuts where groupId = ? and folderId = ? and active = ?. 1300 * 1301 * @param groupId the group ID 1302 * @param folderId the folder ID 1303 * @param active the active 1304 * @return the matching document library file shortcuts 1305 * @throws SystemException if a system exception occurred 1306 */ 1307 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A( 1308 long groupId, long folderId, boolean active) 1309 throws com.liferay.portal.kernel.exception.SystemException { 1310 return getPersistence().findByG_F_A(groupId, folderId, active); 1311 } 1312 1313 /** 1314 * Returns a range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ?. 1315 * 1316 * <p> 1317 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 1318 * </p> 1319 * 1320 * @param groupId the group ID 1321 * @param folderId the folder ID 1322 * @param active the active 1323 * @param start the lower bound of the range of document library file shortcuts 1324 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 1325 * @return the range of matching document library file shortcuts 1326 * @throws SystemException if a system exception occurred 1327 */ 1328 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A( 1329 long groupId, long folderId, boolean active, int start, int end) 1330 throws com.liferay.portal.kernel.exception.SystemException { 1331 return getPersistence() 1332 .findByG_F_A(groupId, folderId, active, start, end); 1333 } 1334 1335 /** 1336 * Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ?. 1337 * 1338 * <p> 1339 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 1340 * </p> 1341 * 1342 * @param groupId the group ID 1343 * @param folderId the folder ID 1344 * @param active the active 1345 * @param start the lower bound of the range of document library file shortcuts 1346 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 1347 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1348 * @return the ordered range of matching document library file shortcuts 1349 * @throws SystemException if a system exception occurred 1350 */ 1351 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A( 1352 long groupId, long folderId, boolean active, int start, int end, 1353 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1354 throws com.liferay.portal.kernel.exception.SystemException { 1355 return getPersistence() 1356 .findByG_F_A(groupId, folderId, active, start, end, 1357 orderByComparator); 1358 } 1359 1360 /** 1361 * Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?. 1362 * 1363 * @param groupId the group ID 1364 * @param folderId the folder ID 1365 * @param active the active 1366 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1367 * @return the first matching document library file shortcut 1368 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 1369 * @throws SystemException if a system exception occurred 1370 */ 1371 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_A_First( 1372 long groupId, long folderId, boolean active, 1373 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1374 throws com.liferay.portal.kernel.exception.SystemException, 1375 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 1376 return getPersistence() 1377 .findByG_F_A_First(groupId, folderId, active, 1378 orderByComparator); 1379 } 1380 1381 /** 1382 * Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?. 1383 * 1384 * @param groupId the group ID 1385 * @param folderId the folder ID 1386 * @param active the active 1387 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1388 * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 1389 * @throws SystemException if a system exception occurred 1390 */ 1391 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_A_First( 1392 long groupId, long folderId, boolean active, 1393 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1394 throws com.liferay.portal.kernel.exception.SystemException { 1395 return getPersistence() 1396 .fetchByG_F_A_First(groupId, folderId, active, 1397 orderByComparator); 1398 } 1399 1400 /** 1401 * Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?. 1402 * 1403 * @param groupId the group ID 1404 * @param folderId the folder ID 1405 * @param active the active 1406 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1407 * @return the last matching document library file shortcut 1408 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 1409 * @throws SystemException if a system exception occurred 1410 */ 1411 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_A_Last( 1412 long groupId, long folderId, boolean active, 1413 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1414 throws com.liferay.portal.kernel.exception.SystemException, 1415 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 1416 return getPersistence() 1417 .findByG_F_A_Last(groupId, folderId, active, 1418 orderByComparator); 1419 } 1420 1421 /** 1422 * Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?. 1423 * 1424 * @param groupId the group ID 1425 * @param folderId the folder ID 1426 * @param active the active 1427 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1428 * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 1429 * @throws SystemException if a system exception occurred 1430 */ 1431 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_A_Last( 1432 long groupId, long folderId, boolean active, 1433 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1434 throws com.liferay.portal.kernel.exception.SystemException { 1435 return getPersistence() 1436 .fetchByG_F_A_Last(groupId, folderId, active, 1437 orderByComparator); 1438 } 1439 1440 /** 1441 * 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 = ?. 1442 * 1443 * @param fileShortcutId the primary key of the current document library file shortcut 1444 * @param groupId the group ID 1445 * @param folderId the folder ID 1446 * @param active the active 1447 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1448 * @return the previous, current, and next document library file shortcut 1449 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 1450 * @throws SystemException if a system exception occurred 1451 */ 1452 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_A_PrevAndNext( 1453 long fileShortcutId, long groupId, long folderId, boolean active, 1454 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1455 throws com.liferay.portal.kernel.exception.SystemException, 1456 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 1457 return getPersistence() 1458 .findByG_F_A_PrevAndNext(fileShortcutId, groupId, folderId, 1459 active, orderByComparator); 1460 } 1461 1462 /** 1463 * Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?. 1464 * 1465 * @param groupId the group ID 1466 * @param folderId the folder ID 1467 * @param active the active 1468 * @return the matching document library file shortcuts that the user has permission to view 1469 * @throws SystemException if a system exception occurred 1470 */ 1471 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A( 1472 long groupId, long folderId, boolean active) 1473 throws com.liferay.portal.kernel.exception.SystemException { 1474 return getPersistence().filterFindByG_F_A(groupId, folderId, active); 1475 } 1476 1477 /** 1478 * Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?. 1479 * 1480 * <p> 1481 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 1482 * </p> 1483 * 1484 * @param groupId the group ID 1485 * @param folderId the folder ID 1486 * @param active the active 1487 * @param start the lower bound of the range of document library file shortcuts 1488 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 1489 * @return the range of matching document library file shortcuts that the user has permission to view 1490 * @throws SystemException if a system exception occurred 1491 */ 1492 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A( 1493 long groupId, long folderId, boolean active, int start, int end) 1494 throws com.liferay.portal.kernel.exception.SystemException { 1495 return getPersistence() 1496 .filterFindByG_F_A(groupId, folderId, active, start, end); 1497 } 1498 1499 /** 1500 * Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ? and active = ?. 1501 * 1502 * <p> 1503 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 1504 * </p> 1505 * 1506 * @param groupId the group ID 1507 * @param folderId the folder ID 1508 * @param active the active 1509 * @param start the lower bound of the range of document library file shortcuts 1510 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 1511 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1512 * @return the ordered range of matching document library file shortcuts that the user has permission to view 1513 * @throws SystemException if a system exception occurred 1514 */ 1515 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A( 1516 long groupId, long folderId, boolean active, int start, int end, 1517 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1518 throws com.liferay.portal.kernel.exception.SystemException { 1519 return getPersistence() 1520 .filterFindByG_F_A(groupId, folderId, active, start, end, 1521 orderByComparator); 1522 } 1523 1524 /** 1525 * 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 = ?. 1526 * 1527 * @param fileShortcutId the primary key of the current document library file shortcut 1528 * @param groupId the group ID 1529 * @param folderId the folder ID 1530 * @param active the active 1531 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1532 * @return the previous, current, and next document library file shortcut 1533 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 1534 * @throws SystemException if a system exception occurred 1535 */ 1536 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut[] filterFindByG_F_A_PrevAndNext( 1537 long fileShortcutId, long groupId, long folderId, boolean active, 1538 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1539 throws com.liferay.portal.kernel.exception.SystemException, 1540 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 1541 return getPersistence() 1542 .filterFindByG_F_A_PrevAndNext(fileShortcutId, groupId, 1543 folderId, active, orderByComparator); 1544 } 1545 1546 /** 1547 * Removes all the document library file shortcuts where groupId = ? and folderId = ? and active = ? from the database. 1548 * 1549 * @param groupId the group ID 1550 * @param folderId the folder ID 1551 * @param active the active 1552 * @throws SystemException if a system exception occurred 1553 */ 1554 public static void removeByG_F_A(long groupId, long folderId, boolean active) 1555 throws com.liferay.portal.kernel.exception.SystemException { 1556 getPersistence().removeByG_F_A(groupId, folderId, active); 1557 } 1558 1559 /** 1560 * Returns the number of document library file shortcuts where groupId = ? and folderId = ? and active = ?. 1561 * 1562 * @param groupId the group ID 1563 * @param folderId the folder ID 1564 * @param active the active 1565 * @return the number of matching document library file shortcuts 1566 * @throws SystemException if a system exception occurred 1567 */ 1568 public static int countByG_F_A(long groupId, long folderId, boolean active) 1569 throws com.liferay.portal.kernel.exception.SystemException { 1570 return getPersistence().countByG_F_A(groupId, folderId, active); 1571 } 1572 1573 /** 1574 * Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?. 1575 * 1576 * @param groupId the group ID 1577 * @param folderId the folder ID 1578 * @param active the active 1579 * @return the number of matching document library file shortcuts that the user has permission to view 1580 * @throws SystemException if a system exception occurred 1581 */ 1582 public static int filterCountByG_F_A(long groupId, long folderId, 1583 boolean active) 1584 throws com.liferay.portal.kernel.exception.SystemException { 1585 return getPersistence().filterCountByG_F_A(groupId, folderId, active); 1586 } 1587 1588 /** 1589 * Returns all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?. 1590 * 1591 * @param groupId the group ID 1592 * @param folderId the folder ID 1593 * @param active the active 1594 * @param status the status 1595 * @return the matching document library file shortcuts 1596 * @throws SystemException if a system exception occurred 1597 */ 1598 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A_S( 1599 long groupId, long folderId, boolean active, int status) 1600 throws com.liferay.portal.kernel.exception.SystemException { 1601 return getPersistence().findByG_F_A_S(groupId, folderId, active, status); 1602 } 1603 1604 /** 1605 * Returns a range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?. 1606 * 1607 * <p> 1608 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 1609 * </p> 1610 * 1611 * @param groupId the group ID 1612 * @param folderId the folder ID 1613 * @param active the active 1614 * @param status the status 1615 * @param start the lower bound of the range of document library file shortcuts 1616 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 1617 * @return the range of matching document library file shortcuts 1618 * @throws SystemException if a system exception occurred 1619 */ 1620 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A_S( 1621 long groupId, long folderId, boolean active, int status, int start, 1622 int end) throws com.liferay.portal.kernel.exception.SystemException { 1623 return getPersistence() 1624 .findByG_F_A_S(groupId, folderId, active, status, start, end); 1625 } 1626 1627 /** 1628 * Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?. 1629 * 1630 * <p> 1631 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 1632 * </p> 1633 * 1634 * @param groupId the group ID 1635 * @param folderId the folder ID 1636 * @param active the active 1637 * @param status the status 1638 * @param start the lower bound of the range of document library file shortcuts 1639 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 1640 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1641 * @return the ordered range of matching document library file shortcuts 1642 * @throws SystemException if a system exception occurred 1643 */ 1644 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A_S( 1645 long groupId, long folderId, boolean active, int status, int start, 1646 int end, 1647 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1648 throws com.liferay.portal.kernel.exception.SystemException { 1649 return getPersistence() 1650 .findByG_F_A_S(groupId, folderId, active, status, start, 1651 end, orderByComparator); 1652 } 1653 1654 /** 1655 * Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?. 1656 * 1657 * @param groupId the group ID 1658 * @param folderId the folder ID 1659 * @param active the active 1660 * @param status the status 1661 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1662 * @return the first matching document library file shortcut 1663 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 1664 * @throws SystemException if a system exception occurred 1665 */ 1666 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_A_S_First( 1667 long groupId, long folderId, boolean active, int status, 1668 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1669 throws com.liferay.portal.kernel.exception.SystemException, 1670 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 1671 return getPersistence() 1672 .findByG_F_A_S_First(groupId, folderId, active, status, 1673 orderByComparator); 1674 } 1675 1676 /** 1677 * Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?. 1678 * 1679 * @param groupId the group ID 1680 * @param folderId the folder ID 1681 * @param active the active 1682 * @param status the status 1683 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1684 * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 1685 * @throws SystemException if a system exception occurred 1686 */ 1687 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_A_S_First( 1688 long groupId, long folderId, boolean active, int status, 1689 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1690 throws com.liferay.portal.kernel.exception.SystemException { 1691 return getPersistence() 1692 .fetchByG_F_A_S_First(groupId, folderId, active, status, 1693 orderByComparator); 1694 } 1695 1696 /** 1697 * Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?. 1698 * 1699 * @param groupId the group ID 1700 * @param folderId the folder ID 1701 * @param active the active 1702 * @param status the status 1703 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1704 * @return the last matching document library file shortcut 1705 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 1706 * @throws SystemException if a system exception occurred 1707 */ 1708 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_A_S_Last( 1709 long groupId, long folderId, boolean active, int status, 1710 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1711 throws com.liferay.portal.kernel.exception.SystemException, 1712 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 1713 return getPersistence() 1714 .findByG_F_A_S_Last(groupId, folderId, active, status, 1715 orderByComparator); 1716 } 1717 1718 /** 1719 * Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?. 1720 * 1721 * @param groupId the group ID 1722 * @param folderId the folder ID 1723 * @param active the active 1724 * @param status the status 1725 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1726 * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 1727 * @throws SystemException if a system exception occurred 1728 */ 1729 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_A_S_Last( 1730 long groupId, long folderId, boolean active, int status, 1731 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1732 throws com.liferay.portal.kernel.exception.SystemException { 1733 return getPersistence() 1734 .fetchByG_F_A_S_Last(groupId, folderId, active, status, 1735 orderByComparator); 1736 } 1737 1738 /** 1739 * 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 = ?. 1740 * 1741 * @param fileShortcutId the primary key of the current document library file shortcut 1742 * @param groupId the group ID 1743 * @param folderId the folder ID 1744 * @param active the active 1745 * @param status the status 1746 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1747 * @return the previous, current, and next document library file shortcut 1748 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 1749 * @throws SystemException if a system exception occurred 1750 */ 1751 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_A_S_PrevAndNext( 1752 long fileShortcutId, long groupId, long folderId, boolean active, 1753 int status, 1754 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1755 throws com.liferay.portal.kernel.exception.SystemException, 1756 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 1757 return getPersistence() 1758 .findByG_F_A_S_PrevAndNext(fileShortcutId, groupId, 1759 folderId, active, status, orderByComparator); 1760 } 1761 1762 /** 1763 * Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?. 1764 * 1765 * @param groupId the group ID 1766 * @param folderId the folder ID 1767 * @param active the active 1768 * @param status the status 1769 * @return the matching document library file shortcuts that the user has permission to view 1770 * @throws SystemException if a system exception occurred 1771 */ 1772 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A_S( 1773 long groupId, long folderId, boolean active, int status) 1774 throws com.liferay.portal.kernel.exception.SystemException { 1775 return getPersistence() 1776 .filterFindByG_F_A_S(groupId, folderId, active, status); 1777 } 1778 1779 /** 1780 * 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 = ?. 1781 * 1782 * <p> 1783 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 1784 * </p> 1785 * 1786 * @param groupId the group ID 1787 * @param folderId the folder ID 1788 * @param active the active 1789 * @param status the status 1790 * @param start the lower bound of the range of document library file shortcuts 1791 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 1792 * @return the range of matching document library file shortcuts that the user has permission to view 1793 * @throws SystemException if a system exception occurred 1794 */ 1795 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A_S( 1796 long groupId, long folderId, boolean active, int status, int start, 1797 int end) throws com.liferay.portal.kernel.exception.SystemException { 1798 return getPersistence() 1799 .filterFindByG_F_A_S(groupId, folderId, active, status, 1800 start, end); 1801 } 1802 1803 /** 1804 * 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 = ?. 1805 * 1806 * <p> 1807 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 1808 * </p> 1809 * 1810 * @param groupId the group ID 1811 * @param folderId the folder ID 1812 * @param active the active 1813 * @param status the status 1814 * @param start the lower bound of the range of document library file shortcuts 1815 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 1816 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1817 * @return the ordered range of matching document library file shortcuts that the user has permission to view 1818 * @throws SystemException if a system exception occurred 1819 */ 1820 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A_S( 1821 long groupId, long folderId, boolean active, int status, int start, 1822 int end, 1823 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1824 throws com.liferay.portal.kernel.exception.SystemException { 1825 return getPersistence() 1826 .filterFindByG_F_A_S(groupId, folderId, active, status, 1827 start, end, orderByComparator); 1828 } 1829 1830 /** 1831 * 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 = ?. 1832 * 1833 * @param fileShortcutId the primary key of the current document library file shortcut 1834 * @param groupId the group ID 1835 * @param folderId the folder ID 1836 * @param active the active 1837 * @param status the status 1838 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1839 * @return the previous, current, and next document library file shortcut 1840 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 1841 * @throws SystemException if a system exception occurred 1842 */ 1843 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut[] filterFindByG_F_A_S_PrevAndNext( 1844 long fileShortcutId, long groupId, long folderId, boolean active, 1845 int status, 1846 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1847 throws com.liferay.portal.kernel.exception.SystemException, 1848 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 1849 return getPersistence() 1850 .filterFindByG_F_A_S_PrevAndNext(fileShortcutId, groupId, 1851 folderId, active, status, orderByComparator); 1852 } 1853 1854 /** 1855 * Removes all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ? from the database. 1856 * 1857 * @param groupId the group ID 1858 * @param folderId the folder ID 1859 * @param active the active 1860 * @param status the status 1861 * @throws SystemException if a system exception occurred 1862 */ 1863 public static void removeByG_F_A_S(long groupId, long folderId, 1864 boolean active, int status) 1865 throws com.liferay.portal.kernel.exception.SystemException { 1866 getPersistence().removeByG_F_A_S(groupId, folderId, active, status); 1867 } 1868 1869 /** 1870 * Returns the number of document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?. 1871 * 1872 * @param groupId the group ID 1873 * @param folderId the folder ID 1874 * @param active the active 1875 * @param status the status 1876 * @return the number of matching document library file shortcuts 1877 * @throws SystemException if a system exception occurred 1878 */ 1879 public static int countByG_F_A_S(long groupId, long folderId, 1880 boolean active, int status) 1881 throws com.liferay.portal.kernel.exception.SystemException { 1882 return getPersistence().countByG_F_A_S(groupId, folderId, active, status); 1883 } 1884 1885 /** 1886 * Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?. 1887 * 1888 * @param groupId the group ID 1889 * @param folderId the folder ID 1890 * @param active the active 1891 * @param status the status 1892 * @return the number of matching document library file shortcuts that the user has permission to view 1893 * @throws SystemException if a system exception occurred 1894 */ 1895 public static int filterCountByG_F_A_S(long groupId, long folderId, 1896 boolean active, int status) 1897 throws com.liferay.portal.kernel.exception.SystemException { 1898 return getPersistence() 1899 .filterCountByG_F_A_S(groupId, folderId, active, status); 1900 } 1901 1902 /** 1903 * Caches the document library file shortcut in the entity cache if it is enabled. 1904 * 1905 * @param dlFileShortcut the document library file shortcut 1906 */ 1907 public static void cacheResult( 1908 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut) { 1909 getPersistence().cacheResult(dlFileShortcut); 1910 } 1911 1912 /** 1913 * Caches the document library file shortcuts in the entity cache if it is enabled. 1914 * 1915 * @param dlFileShortcuts the document library file shortcuts 1916 */ 1917 public static void cacheResult( 1918 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> dlFileShortcuts) { 1919 getPersistence().cacheResult(dlFileShortcuts); 1920 } 1921 1922 /** 1923 * Creates a new document library file shortcut with the primary key. Does not add the document library file shortcut to the database. 1924 * 1925 * @param fileShortcutId the primary key for the new document library file shortcut 1926 * @return the new document library file shortcut 1927 */ 1928 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut create( 1929 long fileShortcutId) { 1930 return getPersistence().create(fileShortcutId); 1931 } 1932 1933 /** 1934 * Removes the document library file shortcut with the primary key from the database. Also notifies the appropriate model listeners. 1935 * 1936 * @param fileShortcutId the primary key of the document library file shortcut 1937 * @return the document library file shortcut that was removed 1938 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 1939 * @throws SystemException if a system exception occurred 1940 */ 1941 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut remove( 1942 long fileShortcutId) 1943 throws com.liferay.portal.kernel.exception.SystemException, 1944 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 1945 return getPersistence().remove(fileShortcutId); 1946 } 1947 1948 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut updateImpl( 1949 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut) 1950 throws com.liferay.portal.kernel.exception.SystemException { 1951 return getPersistence().updateImpl(dlFileShortcut); 1952 } 1953 1954 /** 1955 * Returns the document library file shortcut with the primary key or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileShortcutException} if it could not be found. 1956 * 1957 * @param fileShortcutId the primary key of the document library file shortcut 1958 * @return the document library file shortcut 1959 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 1960 * @throws SystemException if a system exception occurred 1961 */ 1962 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByPrimaryKey( 1963 long fileShortcutId) 1964 throws com.liferay.portal.kernel.exception.SystemException, 1965 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException { 1966 return getPersistence().findByPrimaryKey(fileShortcutId); 1967 } 1968 1969 /** 1970 * Returns the document library file shortcut with the primary key or returns <code>null</code> if it could not be found. 1971 * 1972 * @param fileShortcutId the primary key of the document library file shortcut 1973 * @return the document library file shortcut, or <code>null</code> if a document library file shortcut with the primary key could not be found 1974 * @throws SystemException if a system exception occurred 1975 */ 1976 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByPrimaryKey( 1977 long fileShortcutId) 1978 throws com.liferay.portal.kernel.exception.SystemException { 1979 return getPersistence().fetchByPrimaryKey(fileShortcutId); 1980 } 1981 1982 /** 1983 * Returns all the document library file shortcuts. 1984 * 1985 * @return the document library file shortcuts 1986 * @throws SystemException if a system exception occurred 1987 */ 1988 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll() 1989 throws com.liferay.portal.kernel.exception.SystemException { 1990 return getPersistence().findAll(); 1991 } 1992 1993 /** 1994 * Returns a range of all the document library file shortcuts. 1995 * 1996 * <p> 1997 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 1998 * </p> 1999 * 2000 * @param start the lower bound of the range of document library file shortcuts 2001 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 2002 * @return the range of document library file shortcuts 2003 * @throws SystemException if a system exception occurred 2004 */ 2005 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll( 2006 int start, int end) 2007 throws com.liferay.portal.kernel.exception.SystemException { 2008 return getPersistence().findAll(start, end); 2009 } 2010 2011 /** 2012 * Returns an ordered range of all the document library file shortcuts. 2013 * 2014 * <p> 2015 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.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. 2016 * </p> 2017 * 2018 * @param start the lower bound of the range of document library file shortcuts 2019 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 2020 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2021 * @return the ordered range of document library file shortcuts 2022 * @throws SystemException if a system exception occurred 2023 */ 2024 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll( 2025 int start, int end, 2026 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2027 throws com.liferay.portal.kernel.exception.SystemException { 2028 return getPersistence().findAll(start, end, orderByComparator); 2029 } 2030 2031 /** 2032 * Removes all the document library file shortcuts from the database. 2033 * 2034 * @throws SystemException if a system exception occurred 2035 */ 2036 public static void removeAll() 2037 throws com.liferay.portal.kernel.exception.SystemException { 2038 getPersistence().removeAll(); 2039 } 2040 2041 /** 2042 * Returns the number of document library file shortcuts. 2043 * 2044 * @return the number of document library file shortcuts 2045 * @throws SystemException if a system exception occurred 2046 */ 2047 public static int countAll() 2048 throws com.liferay.portal.kernel.exception.SystemException { 2049 return getPersistence().countAll(); 2050 } 2051 2052 public static DLFileShortcutPersistence getPersistence() { 2053 if (_persistence == null) { 2054 _persistence = (DLFileShortcutPersistence)PortalBeanLocatorUtil.locate(DLFileShortcutPersistence.class.getName()); 2055 2056 ReferenceRegistry.registerReference(DLFileShortcutUtil.class, 2057 "_persistence"); 2058 } 2059 2060 return _persistence; 2061 } 2062 2063 /** 2064 * @deprecated As of 6.2.0 2065 */ 2066 public void setPersistence(DLFileShortcutPersistence persistence) { 2067 } 2068 2069 private static DLFileShortcutPersistence _persistence; 2070 }