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