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