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.service.persistence.BasePersistence; 018 019 import com.liferay.portlet.documentlibrary.model.DLFileShortcut; 020 021 /** 022 * The persistence interface for the d l file shortcut service. 023 * 024 * <p> 025 * Never modify this interface directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regnerate this interface. 026 * </p> 027 * 028 * @author Brian Wing Shun Chan 029 * @see DLFileShortcutPersistenceImpl 030 * @see DLFileShortcutUtil 031 * @generated 032 */ 033 public interface DLFileShortcutPersistence extends BasePersistence<DLFileShortcut> { 034 /** 035 * Caches the d l file shortcut in the entity cache if it is enabled. 036 * 037 * @param dlFileShortcut the d l file shortcut to cache 038 */ 039 public void cacheResult( 040 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut); 041 042 /** 043 * Caches the d l file shortcuts in the entity cache if it is enabled. 044 * 045 * @param dlFileShortcuts the d l file shortcuts to cache 046 */ 047 public void cacheResult( 048 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> dlFileShortcuts); 049 050 /** 051 * Creates a new d l file shortcut with the primary key. 052 * 053 * @param fileShortcutId the primary key for the new d l file shortcut 054 * @return the new d l file shortcut 055 */ 056 public com.liferay.portlet.documentlibrary.model.DLFileShortcut create( 057 long fileShortcutId); 058 059 /** 060 * Removes the d l file shortcut with the primary key from the database. Also notifies the appropriate model listeners. 061 * 062 * @param fileShortcutId the primary key of the d l file shortcut to remove 063 * @return the d l file shortcut that was removed 064 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a d l file shortcut with the primary key could not be found 065 * @throws SystemException if a system exception occurred 066 */ 067 public com.liferay.portlet.documentlibrary.model.DLFileShortcut remove( 068 long fileShortcutId) 069 throws com.liferay.portal.kernel.exception.SystemException, 070 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 071 072 public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateImpl( 073 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut, 074 boolean merge) 075 throws com.liferay.portal.kernel.exception.SystemException; 076 077 /** 078 * 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. 079 * 080 * @param fileShortcutId the primary key of the d l file shortcut to find 081 * @return the d l file shortcut 082 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a d l file shortcut with the primary key could not be found 083 * @throws SystemException if a system exception occurred 084 */ 085 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByPrimaryKey( 086 long fileShortcutId) 087 throws com.liferay.portal.kernel.exception.SystemException, 088 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 089 090 /** 091 * Finds the d l file shortcut with the primary key or returns <code>null</code> if it could not be found. 092 * 093 * @param fileShortcutId the primary key of the d l file shortcut to find 094 * @return the d l file shortcut, or <code>null</code> if a d l file shortcut with the primary key could not be found 095 * @throws SystemException if a system exception occurred 096 */ 097 public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByPrimaryKey( 098 long fileShortcutId) 099 throws com.liferay.portal.kernel.exception.SystemException; 100 101 /** 102 * Finds all the d l file shortcuts where uuid = ?. 103 * 104 * @param uuid the uuid to search with 105 * @return the matching d l file shortcuts 106 * @throws SystemException if a system exception occurred 107 */ 108 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid( 109 java.lang.String uuid) 110 throws com.liferay.portal.kernel.exception.SystemException; 111 112 /** 113 * Finds a range of all the d l file shortcuts where uuid = ?. 114 * 115 * <p> 116 * 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. 117 * </p> 118 * 119 * @param uuid the uuid to search with 120 * @param start the lower bound of the range of d l file shortcuts to return 121 * @param end the upper bound of the range of d l file shortcuts to return (not inclusive) 122 * @return the range of matching d l file shortcuts 123 * @throws SystemException if a system exception occurred 124 */ 125 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid( 126 java.lang.String uuid, int start, int end) 127 throws com.liferay.portal.kernel.exception.SystemException; 128 129 /** 130 * Finds an ordered range of all the d l file shortcuts where uuid = ?. 131 * 132 * <p> 133 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 134 * </p> 135 * 136 * @param uuid the uuid to search with 137 * @param start the lower bound of the range of d l file shortcuts to return 138 * @param end the upper bound of the range of d l file shortcuts to return (not inclusive) 139 * @param orderByComparator the comparator to order the results by 140 * @return the ordered range of matching d l file shortcuts 141 * @throws SystemException if a system exception occurred 142 */ 143 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid( 144 java.lang.String uuid, int start, int end, 145 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 146 throws com.liferay.portal.kernel.exception.SystemException; 147 148 /** 149 * Finds the first d l file shortcut in the ordered set where uuid = ?. 150 * 151 * <p> 152 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 153 * </p> 154 * 155 * @param uuid the uuid to search with 156 * @param orderByComparator the comparator to order the set by 157 * @return the first matching d l file shortcut 158 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching d l file shortcut could not be found 159 * @throws SystemException if a system exception occurred 160 */ 161 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_First( 162 java.lang.String uuid, 163 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 164 throws com.liferay.portal.kernel.exception.SystemException, 165 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 166 167 /** 168 * Finds the last d l file shortcut in the ordered set where uuid = ?. 169 * 170 * <p> 171 * 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. 172 * </p> 173 * 174 * @param uuid the uuid to search with 175 * @param orderByComparator the comparator to order the set by 176 * @return the last matching d l file shortcut 177 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching d l file shortcut could not be found 178 * @throws SystemException if a system exception occurred 179 */ 180 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_Last( 181 java.lang.String uuid, 182 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 183 throws com.liferay.portal.kernel.exception.SystemException, 184 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 185 186 /** 187 * Finds the d l file shortcuts before and after the current d l file shortcut in the ordered set where uuid = ?. 188 * 189 * <p> 190 * 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. 191 * </p> 192 * 193 * @param fileShortcutId the primary key of the current d l file shortcut 194 * @param uuid the uuid to search with 195 * @param orderByComparator the comparator to order the set by 196 * @return the previous, current, and next d l file shortcut 197 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a d l file shortcut with the primary key could not be found 198 * @throws SystemException if a system exception occurred 199 */ 200 public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByUuid_PrevAndNext( 201 long fileShortcutId, java.lang.String uuid, 202 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 203 throws com.liferay.portal.kernel.exception.SystemException, 204 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 205 206 /** 207 * 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. 208 * 209 * @param uuid the uuid to search with 210 * @param groupId the group id to search with 211 * @return the matching d l file shortcut 212 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching d l file shortcut could not be found 213 * @throws SystemException if a system exception occurred 214 */ 215 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUUID_G( 216 java.lang.String uuid, long groupId) 217 throws com.liferay.portal.kernel.exception.SystemException, 218 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 219 220 /** 221 * 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. 222 * 223 * @param uuid the uuid to search with 224 * @param groupId the group id to search with 225 * @return the matching d l file shortcut, or <code>null</code> if a matching d l file shortcut could not be found 226 * @throws SystemException if a system exception occurred 227 */ 228 public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUUID_G( 229 java.lang.String uuid, long groupId) 230 throws com.liferay.portal.kernel.exception.SystemException; 231 232 /** 233 * 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. 234 * 235 * @param uuid the uuid to search with 236 * @param groupId the group id to search with 237 * @return the matching d l file shortcut, or <code>null</code> if a matching d l file shortcut could not be found 238 * @throws SystemException if a system exception occurred 239 */ 240 public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUUID_G( 241 java.lang.String uuid, long groupId, boolean retrieveFromCache) 242 throws com.liferay.portal.kernel.exception.SystemException; 243 244 /** 245 * Finds all the d l file shortcuts where groupId = ? and folderId = ?. 246 * 247 * @param groupId the group id to search with 248 * @param folderId the folder id to search with 249 * @return the matching d l file shortcuts 250 * @throws SystemException if a system exception occurred 251 */ 252 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F( 253 long groupId, long folderId) 254 throws com.liferay.portal.kernel.exception.SystemException; 255 256 /** 257 * Finds a range of all the d l file shortcuts where groupId = ? and folderId = ?. 258 * 259 * <p> 260 * 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. 261 * </p> 262 * 263 * @param groupId the group id to search with 264 * @param folderId the folder id to search with 265 * @param start the lower bound of the range of d l file shortcuts to return 266 * @param end the upper bound of the range of d l file shortcuts to return (not inclusive) 267 * @return the range of matching d l file shortcuts 268 * @throws SystemException if a system exception occurred 269 */ 270 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F( 271 long groupId, long folderId, int start, int end) 272 throws com.liferay.portal.kernel.exception.SystemException; 273 274 /** 275 * Finds an ordered range of all the d l file shortcuts where groupId = ? and folderId = ?. 276 * 277 * <p> 278 * 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. 279 * </p> 280 * 281 * @param groupId the group id to search with 282 * @param folderId the folder id to search with 283 * @param start the lower bound of the range of d l file shortcuts to return 284 * @param end the upper bound of the range of d l file shortcuts to return (not inclusive) 285 * @param orderByComparator the comparator to order the results by 286 * @return the ordered range of matching d l file shortcuts 287 * @throws SystemException if a system exception occurred 288 */ 289 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F( 290 long groupId, long folderId, int start, int end, 291 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 292 throws com.liferay.portal.kernel.exception.SystemException; 293 294 /** 295 * Finds the first d l file shortcut in the ordered set where groupId = ? and folderId = ?. 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 groupId the group id to search with 302 * @param folderId the folder id to search with 303 * @param orderByComparator the comparator to order the set by 304 * @return the first matching d l file shortcut 305 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching d l file shortcut could not be found 306 * @throws SystemException if a system exception occurred 307 */ 308 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_First( 309 long groupId, long folderId, 310 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 311 throws com.liferay.portal.kernel.exception.SystemException, 312 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 313 314 /** 315 * Finds the last d l file shortcut in the ordered set where groupId = ? and folderId = ?. 316 * 317 * <p> 318 * 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. 319 * </p> 320 * 321 * @param groupId the group id to search with 322 * @param folderId the folder id to search with 323 * @param orderByComparator the comparator to order the set by 324 * @return the last matching d l file shortcut 325 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching d l file shortcut could not be found 326 * @throws SystemException if a system exception occurred 327 */ 328 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_Last( 329 long groupId, long folderId, 330 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 331 throws com.liferay.portal.kernel.exception.SystemException, 332 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 333 334 /** 335 * Finds the d l file shortcuts before and after the current d l file shortcut in the ordered set where groupId = ? and folderId = ?. 336 * 337 * <p> 338 * 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. 339 * </p> 340 * 341 * @param fileShortcutId the primary key of the current d l file shortcut 342 * @param groupId the group id to search with 343 * @param folderId the folder id to search with 344 * @param orderByComparator the comparator to order the set by 345 * @return the previous, current, and next d l file shortcut 346 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a d l file shortcut with the primary key could not be found 347 * @throws SystemException if a system exception occurred 348 */ 349 public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_PrevAndNext( 350 long fileShortcutId, long groupId, long folderId, 351 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 352 throws com.liferay.portal.kernel.exception.SystemException, 353 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 354 355 /** 356 * Filters by the user's permissions and finds all the d l file shortcuts where groupId = ? and folderId = ?. 357 * 358 * @param groupId the group id to search with 359 * @param folderId the folder id to search with 360 * @return the matching d l file shortcuts that the user has permission to view 361 * @throws SystemException if a system exception occurred 362 */ 363 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F( 364 long groupId, long folderId) 365 throws com.liferay.portal.kernel.exception.SystemException; 366 367 /** 368 * Filters by the user's permissions and finds a range of all the d l file shortcuts where groupId = ? and folderId = ?. 369 * 370 * <p> 371 * 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. 372 * </p> 373 * 374 * @param groupId the group id to search with 375 * @param folderId the folder id to search with 376 * @param start the lower bound of the range of d l file shortcuts to return 377 * @param end the upper bound of the range of d l file shortcuts to return (not inclusive) 378 * @return the range of matching d l file shortcuts that the user has permission to view 379 * @throws SystemException if a system exception occurred 380 */ 381 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F( 382 long groupId, long folderId, int start, int end) 383 throws com.liferay.portal.kernel.exception.SystemException; 384 385 /** 386 * Filters by the user's permissions and finds an ordered range of all the d l file shortcuts where groupId = ? and folderId = ?. 387 * 388 * <p> 389 * 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. 390 * </p> 391 * 392 * @param groupId the group id to search with 393 * @param folderId the folder id to search with 394 * @param start the lower bound of the range of d l file shortcuts to return 395 * @param end the upper bound of the range of d l file shortcuts to return (not inclusive) 396 * @param orderByComparator the comparator to order the results by 397 * @return the ordered range of matching d l file shortcuts that the user has permission to view 398 * @throws SystemException if a system exception occurred 399 */ 400 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F( 401 long groupId, long folderId, int start, int end, 402 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 403 throws com.liferay.portal.kernel.exception.SystemException; 404 405 /** 406 * Finds all the d l file shortcuts where groupId = ? and folderId = ? and status = ?. 407 * 408 * @param groupId the group id to search with 409 * @param folderId the folder id to search with 410 * @param status the status to search with 411 * @return the matching d l file shortcuts 412 * @throws SystemException if a system exception occurred 413 */ 414 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_S( 415 long groupId, long folderId, int status) 416 throws com.liferay.portal.kernel.exception.SystemException; 417 418 /** 419 * Finds a range of all the d l file shortcuts where groupId = ? and folderId = ? and status = ?. 420 * 421 * <p> 422 * 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. 423 * </p> 424 * 425 * @param groupId the group id to search with 426 * @param folderId the folder id to search with 427 * @param status the status to search with 428 * @param start the lower bound of the range of d l file shortcuts to return 429 * @param end the upper bound of the range of d l file shortcuts to return (not inclusive) 430 * @return the range of matching d l file shortcuts 431 * @throws SystemException if a system exception occurred 432 */ 433 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_S( 434 long groupId, long folderId, int status, int start, int end) 435 throws com.liferay.portal.kernel.exception.SystemException; 436 437 /** 438 * Finds an ordered range of all the d l file shortcuts where groupId = ? and folderId = ? and status = ?. 439 * 440 * <p> 441 * 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. 442 * </p> 443 * 444 * @param groupId the group id to search with 445 * @param folderId the folder id to search with 446 * @param status the status to search with 447 * @param start the lower bound of the range of d l file shortcuts to return 448 * @param end the upper bound of the range of d l file shortcuts to return (not inclusive) 449 * @param orderByComparator the comparator to order the results by 450 * @return the ordered range of matching d l file shortcuts 451 * @throws SystemException if a system exception occurred 452 */ 453 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_S( 454 long groupId, long folderId, int status, int start, int end, 455 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 456 throws com.liferay.portal.kernel.exception.SystemException; 457 458 /** 459 * Finds the first d l file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?. 460 * 461 * <p> 462 * 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. 463 * </p> 464 * 465 * @param groupId the group id to search with 466 * @param folderId the folder id to search with 467 * @param status the status to search with 468 * @param orderByComparator the comparator to order the set by 469 * @return the first matching d l file shortcut 470 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching d l file shortcut could not be found 471 * @throws SystemException if a system exception occurred 472 */ 473 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_S_First( 474 long groupId, long folderId, int status, 475 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 476 throws com.liferay.portal.kernel.exception.SystemException, 477 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 478 479 /** 480 * Finds the last d l file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?. 481 * 482 * <p> 483 * 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. 484 * </p> 485 * 486 * @param groupId the group id to search with 487 * @param folderId the folder id to search with 488 * @param status the status to search with 489 * @param orderByComparator the comparator to order the set by 490 * @return the last matching d l file shortcut 491 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching d l file shortcut could not be found 492 * @throws SystemException if a system exception occurred 493 */ 494 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_S_Last( 495 long groupId, long folderId, int status, 496 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 497 throws com.liferay.portal.kernel.exception.SystemException, 498 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 499 500 /** 501 * 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 = ?. 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 fileShortcutId the primary key of the current d l file shortcut 508 * @param groupId the group id to search with 509 * @param folderId the folder id to search with 510 * @param status the status to search with 511 * @param orderByComparator the comparator to order the set by 512 * @return the previous, current, and next d l file shortcut 513 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a d l file shortcut with the primary key could not be found 514 * @throws SystemException if a system exception occurred 515 */ 516 public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_S_PrevAndNext( 517 long fileShortcutId, long groupId, long folderId, int status, 518 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 519 throws com.liferay.portal.kernel.exception.SystemException, 520 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 521 522 /** 523 * Filters by the user's permissions and finds all the d l file shortcuts where groupId = ? and folderId = ? and status = ?. 524 * 525 * @param groupId the group id to search with 526 * @param folderId the folder id to search with 527 * @param status the status to search with 528 * @return the matching d l file shortcuts that the user has permission to view 529 * @throws SystemException if a system exception occurred 530 */ 531 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_S( 532 long groupId, long folderId, int status) 533 throws com.liferay.portal.kernel.exception.SystemException; 534 535 /** 536 * Filters by the user's permissions and finds a range of all the d l file shortcuts where groupId = ? and folderId = ? and status = ?. 537 * 538 * <p> 539 * 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. 540 * </p> 541 * 542 * @param groupId the group id to search with 543 * @param folderId the folder id to search with 544 * @param status the status to search with 545 * @param start the lower bound of the range of d l file shortcuts to return 546 * @param end the upper bound of the range of d l file shortcuts to return (not inclusive) 547 * @return the range of matching d l file shortcuts that the user has permission to view 548 * @throws SystemException if a system exception occurred 549 */ 550 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_S( 551 long groupId, long folderId, int status, int start, int end) 552 throws com.liferay.portal.kernel.exception.SystemException; 553 554 /** 555 * Filters by the user's permissions and finds an ordered range of all the d l file shortcuts where groupId = ? and folderId = ? and status = ?. 556 * 557 * <p> 558 * 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. 559 * </p> 560 * 561 * @param groupId the group id to search with 562 * @param folderId the folder id to search with 563 * @param status the status to search with 564 * @param start the lower bound of the range of d l file shortcuts to return 565 * @param end the upper bound of the range of d l file shortcuts to return (not inclusive) 566 * @param orderByComparator the comparator to order the results by 567 * @return the ordered range of matching d l file shortcuts that the user has permission to view 568 * @throws SystemException if a system exception occurred 569 */ 570 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_S( 571 long groupId, long folderId, int status, int start, int end, 572 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 573 throws com.liferay.portal.kernel.exception.SystemException; 574 575 /** 576 * Finds all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?. 577 * 578 * @param groupId the group id to search with 579 * @param toFolderId the to folder id to search with 580 * @param toName the to name to search with 581 * @return the matching d l file shortcuts 582 * @throws SystemException if a system exception occurred 583 */ 584 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN( 585 long groupId, long toFolderId, java.lang.String toName) 586 throws com.liferay.portal.kernel.exception.SystemException; 587 588 /** 589 * Finds a range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?. 590 * 591 * <p> 592 * 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. 593 * </p> 594 * 595 * @param groupId the group id to search with 596 * @param toFolderId the to folder id to search with 597 * @param toName the to name to search with 598 * @param start the lower bound of the range of d l file shortcuts to return 599 * @param end the upper bound of the range of d l file shortcuts to return (not inclusive) 600 * @return the range of matching d l file shortcuts 601 * @throws SystemException if a system exception occurred 602 */ 603 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN( 604 long groupId, long toFolderId, java.lang.String toName, int start, 605 int end) throws com.liferay.portal.kernel.exception.SystemException; 606 607 /** 608 * Finds an ordered range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?. 609 * 610 * <p> 611 * 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. 612 * </p> 613 * 614 * @param groupId the group id to search with 615 * @param toFolderId the to folder id to search with 616 * @param toName the to name to search with 617 * @param start the lower bound of the range of d l file shortcuts to return 618 * @param end the upper bound of the range of d l file shortcuts to return (not inclusive) 619 * @param orderByComparator the comparator to order the results by 620 * @return the ordered range of matching d l file shortcuts 621 * @throws SystemException if a system exception occurred 622 */ 623 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN( 624 long groupId, long toFolderId, java.lang.String toName, int start, 625 int end, 626 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 627 throws com.liferay.portal.kernel.exception.SystemException; 628 629 /** 630 * Finds the first d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ?. 631 * 632 * <p> 633 * 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. 634 * </p> 635 * 636 * @param groupId the group id to search with 637 * @param toFolderId the to folder id to search with 638 * @param toName the to name to search with 639 * @param orderByComparator the comparator to order the set by 640 * @return the first matching d l file shortcut 641 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching d l file shortcut could not be found 642 * @throws SystemException if a system exception occurred 643 */ 644 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_First( 645 long groupId, long toFolderId, java.lang.String toName, 646 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 647 throws com.liferay.portal.kernel.exception.SystemException, 648 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 649 650 /** 651 * Finds the last d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ?. 652 * 653 * <p> 654 * 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. 655 * </p> 656 * 657 * @param groupId the group id to search with 658 * @param toFolderId the to folder id to search with 659 * @param toName the to name to search with 660 * @param orderByComparator the comparator to order the set by 661 * @return the last matching d l file shortcut 662 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching d l file shortcut could not be found 663 * @throws SystemException if a system exception occurred 664 */ 665 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_Last( 666 long groupId, long toFolderId, java.lang.String toName, 667 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 668 throws com.liferay.portal.kernel.exception.SystemException, 669 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 670 671 /** 672 * 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 = ?. 673 * 674 * <p> 675 * 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. 676 * </p> 677 * 678 * @param fileShortcutId the primary key of the current d l file shortcut 679 * @param groupId the group id to search with 680 * @param toFolderId the to folder id to search with 681 * @param toName the to name to search with 682 * @param orderByComparator the comparator to order the set by 683 * @return the previous, current, and next d l file shortcut 684 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a d l file shortcut with the primary key could not be found 685 * @throws SystemException if a system exception occurred 686 */ 687 public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_TF_TN_PrevAndNext( 688 long fileShortcutId, long groupId, long toFolderId, 689 java.lang.String toName, 690 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 691 throws com.liferay.portal.kernel.exception.SystemException, 692 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 693 694 /** 695 * Filters by the user's permissions and finds all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?. 696 * 697 * @param groupId the group id to search with 698 * @param toFolderId the to folder id to search with 699 * @param toName the to name to search with 700 * @return the matching d l file shortcuts that the user has permission to view 701 * @throws SystemException if a system exception occurred 702 */ 703 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN( 704 long groupId, long toFolderId, java.lang.String toName) 705 throws com.liferay.portal.kernel.exception.SystemException; 706 707 /** 708 * Filters by the user's permissions and finds a range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?. 709 * 710 * <p> 711 * 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. 712 * </p> 713 * 714 * @param groupId the group id to search with 715 * @param toFolderId the to folder id to search with 716 * @param toName the to name to search with 717 * @param start the lower bound of the range of d l file shortcuts to return 718 * @param end the upper bound of the range of d l file shortcuts to return (not inclusive) 719 * @return the range of matching d l file shortcuts that the user has permission to view 720 * @throws SystemException if a system exception occurred 721 */ 722 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN( 723 long groupId, long toFolderId, java.lang.String toName, int start, 724 int end) throws com.liferay.portal.kernel.exception.SystemException; 725 726 /** 727 * Filters by the user's permissions and finds an ordered range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?. 728 * 729 * <p> 730 * 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. 731 * </p> 732 * 733 * @param groupId the group id to search with 734 * @param toFolderId the to folder id to search with 735 * @param toName the to name to search with 736 * @param start the lower bound of the range of d l file shortcuts to return 737 * @param end the upper bound of the range of d l file shortcuts to return (not inclusive) 738 * @param orderByComparator the comparator to order the results by 739 * @return the ordered range of matching d l file shortcuts that the user has permission to view 740 * @throws SystemException if a system exception occurred 741 */ 742 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN( 743 long groupId, long toFolderId, java.lang.String toName, int start, 744 int end, 745 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 746 throws com.liferay.portal.kernel.exception.SystemException; 747 748 /** 749 * Finds all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?. 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 * @param status the status to search with 755 * @return the matching d l file shortcuts 756 * @throws SystemException if a system exception occurred 757 */ 758 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN_S( 759 long groupId, long toFolderId, java.lang.String toName, int status) 760 throws com.liferay.portal.kernel.exception.SystemException; 761 762 /** 763 * Finds a range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?. 764 * 765 * <p> 766 * 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. 767 * </p> 768 * 769 * @param groupId the group id to search with 770 * @param toFolderId the to folder id to search with 771 * @param toName the to name to search with 772 * @param status the status 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 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN_S( 779 long groupId, long toFolderId, java.lang.String toName, int status, 780 int start, int end) 781 throws com.liferay.portal.kernel.exception.SystemException; 782 783 /** 784 * Finds an ordered range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?. 785 * 786 * <p> 787 * 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. 788 * </p> 789 * 790 * @param groupId the group id to search with 791 * @param toFolderId the to folder id to search with 792 * @param toName the to name to search with 793 * @param status the status to search with 794 * @param start the lower bound of the range of d l file shortcuts to return 795 * @param end the upper bound of the range of d l file shortcuts to return (not inclusive) 796 * @param orderByComparator the comparator to order the results by 797 * @return the ordered range of matching d l file shortcuts 798 * @throws SystemException if a system exception occurred 799 */ 800 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN_S( 801 long groupId, long toFolderId, java.lang.String toName, int status, 802 int start, int end, 803 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 804 throws com.liferay.portal.kernel.exception.SystemException; 805 806 /** 807 * Finds the first d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ? and status = ?. 808 * 809 * <p> 810 * 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. 811 * </p> 812 * 813 * @param groupId the group id to search with 814 * @param toFolderId the to folder id to search with 815 * @param toName the to name to search with 816 * @param status the status 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 com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_S_First( 823 long groupId, long toFolderId, java.lang.String toName, int status, 824 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 825 throws com.liferay.portal.kernel.exception.SystemException, 826 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 827 828 /** 829 * Finds the last d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ? and status = ?. 830 * 831 * <p> 832 * 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. 833 * </p> 834 * 835 * @param groupId the group id to search with 836 * @param toFolderId the to folder id to search with 837 * @param toName the to name to search with 838 * @param status the status to search with 839 * @param orderByComparator the comparator to order the set by 840 * @return the last matching d l file shortcut 841 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching d l file shortcut could not be found 842 * @throws SystemException if a system exception occurred 843 */ 844 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_S_Last( 845 long groupId, long toFolderId, java.lang.String toName, int status, 846 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 847 throws com.liferay.portal.kernel.exception.SystemException, 848 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 849 850 /** 851 * 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 = ?. 852 * 853 * <p> 854 * 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. 855 * </p> 856 * 857 * @param fileShortcutId the primary key of the current d l file shortcut 858 * @param groupId the group id to search with 859 * @param toFolderId the to folder id to search with 860 * @param toName the to name to search with 861 * @param status the status to search with 862 * @param orderByComparator the comparator to order the set by 863 * @return the previous, current, and next d l file shortcut 864 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a d l file shortcut with the primary key could not be found 865 * @throws SystemException if a system exception occurred 866 */ 867 public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_TF_TN_S_PrevAndNext( 868 long fileShortcutId, long groupId, long toFolderId, 869 java.lang.String toName, int status, 870 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 871 throws com.liferay.portal.kernel.exception.SystemException, 872 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 873 874 /** 875 * Filters by the user's permissions and finds all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?. 876 * 877 * @param groupId the group id to search with 878 * @param toFolderId the to folder id to search with 879 * @param toName the to name to search with 880 * @param status the status to search with 881 * @return the matching d l file shortcuts that the user has permission to view 882 * @throws SystemException if a system exception occurred 883 */ 884 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN_S( 885 long groupId, long toFolderId, java.lang.String toName, int status) 886 throws com.liferay.portal.kernel.exception.SystemException; 887 888 /** 889 * 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 = ?. 890 * 891 * <p> 892 * 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. 893 * </p> 894 * 895 * @param groupId the group id to search with 896 * @param toFolderId the to folder id to search with 897 * @param toName the to name to search with 898 * @param status the status to search with 899 * @param start the lower bound of the range of d l file shortcuts to return 900 * @param end the upper bound of the range of d l file shortcuts to return (not inclusive) 901 * @return the range of matching d l file shortcuts that the user has permission to view 902 * @throws SystemException if a system exception occurred 903 */ 904 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN_S( 905 long groupId, long toFolderId, java.lang.String toName, int status, 906 int start, int end) 907 throws com.liferay.portal.kernel.exception.SystemException; 908 909 /** 910 * 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 = ?. 911 * 912 * <p> 913 * 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. 914 * </p> 915 * 916 * @param groupId the group id to search with 917 * @param toFolderId the to folder id to search with 918 * @param toName the to name to search with 919 * @param status the status to search with 920 * @param start the lower bound of the range of d l file shortcuts to return 921 * @param end the upper bound of the range of d l file shortcuts to return (not inclusive) 922 * @param orderByComparator the comparator to order the results by 923 * @return the ordered range of matching d l file shortcuts that the user has permission to view 924 * @throws SystemException if a system exception occurred 925 */ 926 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN_S( 927 long groupId, long toFolderId, java.lang.String toName, int status, 928 int start, int end, 929 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 930 throws com.liferay.portal.kernel.exception.SystemException; 931 932 /** 933 * Finds all the d l file shortcuts. 934 * 935 * @return the d l file shortcuts 936 * @throws SystemException if a system exception occurred 937 */ 938 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll() 939 throws com.liferay.portal.kernel.exception.SystemException; 940 941 /** 942 * Finds a range of all the d l file shortcuts. 943 * 944 * <p> 945 * 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. 946 * </p> 947 * 948 * @param start the lower bound of the range of d l file shortcuts to return 949 * @param end the upper bound of the range of d l file shortcuts to return (not inclusive) 950 * @return the range of d l file shortcuts 951 * @throws SystemException if a system exception occurred 952 */ 953 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll( 954 int start, int end) 955 throws com.liferay.portal.kernel.exception.SystemException; 956 957 /** 958 * Finds an ordered range of all the d l file shortcuts. 959 * 960 * <p> 961 * 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. 962 * </p> 963 * 964 * @param start the lower bound of the range of d l file shortcuts to return 965 * @param end the upper bound of the range of d l file shortcuts to return (not inclusive) 966 * @param orderByComparator the comparator to order the results by 967 * @return the ordered range of d l file shortcuts 968 * @throws SystemException if a system exception occurred 969 */ 970 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll( 971 int start, int end, 972 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 973 throws com.liferay.portal.kernel.exception.SystemException; 974 975 /** 976 * Removes all the d l file shortcuts where uuid = ? from the database. 977 * 978 * @param uuid the uuid to search with 979 * @throws SystemException if a system exception occurred 980 */ 981 public void removeByUuid(java.lang.String uuid) 982 throws com.liferay.portal.kernel.exception.SystemException; 983 984 /** 985 * Removes the d l file shortcut where uuid = ? and groupId = ? from the database. 986 * 987 * @param uuid the uuid to search with 988 * @param groupId the group id to search with 989 * @throws SystemException if a system exception occurred 990 */ 991 public void removeByUUID_G(java.lang.String uuid, long groupId) 992 throws com.liferay.portal.kernel.exception.SystemException, 993 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 994 995 /** 996 * Removes all the d l file shortcuts where groupId = ? and folderId = ? from the database. 997 * 998 * @param groupId the group id to search with 999 * @param folderId the folder id to search with 1000 * @throws SystemException if a system exception occurred 1001 */ 1002 public void removeByG_F(long groupId, long folderId) 1003 throws com.liferay.portal.kernel.exception.SystemException; 1004 1005 /** 1006 * Removes all the d l file shortcuts where groupId = ? and folderId = ? and status = ? from the database. 1007 * 1008 * @param groupId the group id to search with 1009 * @param folderId the folder id to search with 1010 * @param status the status to search with 1011 * @throws SystemException if a system exception occurred 1012 */ 1013 public void removeByG_F_S(long groupId, long folderId, int status) 1014 throws com.liferay.portal.kernel.exception.SystemException; 1015 1016 /** 1017 * Removes all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? from the database. 1018 * 1019 * @param groupId the group id to search with 1020 * @param toFolderId the to folder id to search with 1021 * @param toName the to name to search with 1022 * @throws SystemException if a system exception occurred 1023 */ 1024 public void removeByG_TF_TN(long groupId, long toFolderId, 1025 java.lang.String toName) 1026 throws com.liferay.portal.kernel.exception.SystemException; 1027 1028 /** 1029 * Removes all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ? from the database. 1030 * 1031 * @param groupId the group id to search with 1032 * @param toFolderId the to folder id to search with 1033 * @param toName the to name to search with 1034 * @param status the status to search with 1035 * @throws SystemException if a system exception occurred 1036 */ 1037 public void removeByG_TF_TN_S(long groupId, long toFolderId, 1038 java.lang.String toName, int status) 1039 throws com.liferay.portal.kernel.exception.SystemException; 1040 1041 /** 1042 * Removes all the d l file shortcuts from the database. 1043 * 1044 * @throws SystemException if a system exception occurred 1045 */ 1046 public void removeAll() 1047 throws com.liferay.portal.kernel.exception.SystemException; 1048 1049 /** 1050 * Counts all the d l file shortcuts where uuid = ?. 1051 * 1052 * @param uuid the uuid to search with 1053 * @return the number of matching d l file shortcuts 1054 * @throws SystemException if a system exception occurred 1055 */ 1056 public int countByUuid(java.lang.String uuid) 1057 throws com.liferay.portal.kernel.exception.SystemException; 1058 1059 /** 1060 * Counts all the d l file shortcuts where uuid = ? and groupId = ?. 1061 * 1062 * @param uuid the uuid to search with 1063 * @param groupId the group id to search with 1064 * @return the number of matching d l file shortcuts 1065 * @throws SystemException if a system exception occurred 1066 */ 1067 public int countByUUID_G(java.lang.String uuid, long groupId) 1068 throws com.liferay.portal.kernel.exception.SystemException; 1069 1070 /** 1071 * Counts all the d l file shortcuts where groupId = ? and folderId = ?. 1072 * 1073 * @param groupId the group id to search with 1074 * @param folderId the folder id to search with 1075 * @return the number of matching d l file shortcuts 1076 * @throws SystemException if a system exception occurred 1077 */ 1078 public int countByG_F(long groupId, long folderId) 1079 throws com.liferay.portal.kernel.exception.SystemException; 1080 1081 /** 1082 * Filters by the user's permissions and counts all the d l file shortcuts where groupId = ? and folderId = ?. 1083 * 1084 * @param groupId the group id to search with 1085 * @param folderId the folder id to search with 1086 * @return the number of matching d l file shortcuts that the user has permission to view 1087 * @throws SystemException if a system exception occurred 1088 */ 1089 public int filterCountByG_F(long groupId, long folderId) 1090 throws com.liferay.portal.kernel.exception.SystemException; 1091 1092 /** 1093 * Counts all the d l file shortcuts where groupId = ? and folderId = ? and status = ?. 1094 * 1095 * @param groupId the group id to search with 1096 * @param folderId the folder id to search with 1097 * @param status the status to search with 1098 * @return the number of matching d l file shortcuts 1099 * @throws SystemException if a system exception occurred 1100 */ 1101 public int countByG_F_S(long groupId, long folderId, int status) 1102 throws com.liferay.portal.kernel.exception.SystemException; 1103 1104 /** 1105 * Filters by the user's permissions and counts all the d l file shortcuts where groupId = ? and folderId = ? and status = ?. 1106 * 1107 * @param groupId the group id to search with 1108 * @param folderId the folder id to search with 1109 * @param status the status to search with 1110 * @return the number of matching d l file shortcuts that the user has permission to view 1111 * @throws SystemException if a system exception occurred 1112 */ 1113 public int filterCountByG_F_S(long groupId, long folderId, int status) 1114 throws com.liferay.portal.kernel.exception.SystemException; 1115 1116 /** 1117 * Counts all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?. 1118 * 1119 * @param groupId the group id to search with 1120 * @param toFolderId the to folder id to search with 1121 * @param toName the to name to search with 1122 * @return the number of matching d l file shortcuts 1123 * @throws SystemException if a system exception occurred 1124 */ 1125 public int countByG_TF_TN(long groupId, long toFolderId, 1126 java.lang.String toName) 1127 throws com.liferay.portal.kernel.exception.SystemException; 1128 1129 /** 1130 * Filters by the user's permissions and counts all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?. 1131 * 1132 * @param groupId the group id to search with 1133 * @param toFolderId the to folder id to search with 1134 * @param toName the to name to search with 1135 * @return the number of matching d l file shortcuts that the user has permission to view 1136 * @throws SystemException if a system exception occurred 1137 */ 1138 public int filterCountByG_TF_TN(long groupId, long toFolderId, 1139 java.lang.String toName) 1140 throws com.liferay.portal.kernel.exception.SystemException; 1141 1142 /** 1143 * Counts all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?. 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 * @return the number of matching d l file shortcuts 1150 * @throws SystemException if a system exception occurred 1151 */ 1152 public int countByG_TF_TN_S(long groupId, long toFolderId, 1153 java.lang.String toName, int status) 1154 throws com.liferay.portal.kernel.exception.SystemException; 1155 1156 /** 1157 * Filters by the user's permissions and counts all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?. 1158 * 1159 * @param groupId the group id to search with 1160 * @param toFolderId the to folder id to search with 1161 * @param toName the to name to search with 1162 * @param status the status to search with 1163 * @return the number of matching d l file shortcuts that the user has permission to view 1164 * @throws SystemException if a system exception occurred 1165 */ 1166 public int filterCountByG_TF_TN_S(long groupId, long toFolderId, 1167 java.lang.String toName, int status) 1168 throws com.liferay.portal.kernel.exception.SystemException; 1169 1170 /** 1171 * Counts all the d l file shortcuts. 1172 * 1173 * @return the number of d l file shortcuts 1174 * @throws SystemException if a system exception occurred 1175 */ 1176 public int countAll() 1177 throws com.liferay.portal.kernel.exception.SystemException; 1178 }