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