001 /** 002 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.documentlibrary.service.persistence; 016 017 import com.liferay.portal.service.persistence.BasePersistence; 018 019 import com.liferay.portlet.documentlibrary.model.DLFileShortcut; 020 021 /** 022 * The persistence interface for the document library file shortcut service. 023 * 024 * <p> 025 * Caching information and settings can be found in <code>portal.properties</code> 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 * NOTE FOR DEVELOPERS: 036 * 037 * Never modify or reference this interface directly. Always use {@link DLFileShortcutUtil} to access the document library file shortcut persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 038 */ 039 040 /** 041 * Caches the document library file shortcut in the entity cache if it is enabled. 042 * 043 * @param dlFileShortcut the document library file shortcut 044 */ 045 public void cacheResult( 046 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut); 047 048 /** 049 * Caches the document library file shortcuts in the entity cache if it is enabled. 050 * 051 * @param dlFileShortcuts the document library file shortcuts 052 */ 053 public void cacheResult( 054 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> dlFileShortcuts); 055 056 /** 057 * Creates a new document library file shortcut with the primary key. Does not add the document library file shortcut to the database. 058 * 059 * @param fileShortcutId the primary key for the new document library file shortcut 060 * @return the new document library file shortcut 061 */ 062 public com.liferay.portlet.documentlibrary.model.DLFileShortcut create( 063 long fileShortcutId); 064 065 /** 066 * Removes the document library file shortcut with the primary key from the database. Also notifies the appropriate model listeners. 067 * 068 * @param fileShortcutId the primary key of the document library file shortcut 069 * @return the document library file shortcut that was removed 070 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 071 * @throws SystemException if a system exception occurred 072 */ 073 public com.liferay.portlet.documentlibrary.model.DLFileShortcut remove( 074 long fileShortcutId) 075 throws com.liferay.portal.kernel.exception.SystemException, 076 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 077 078 public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateImpl( 079 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut, 080 boolean merge) 081 throws com.liferay.portal.kernel.exception.SystemException; 082 083 /** 084 * Returns the document library file shortcut with the primary key or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileShortcutException} if it could not be found. 085 * 086 * @param fileShortcutId the primary key of the document library file shortcut 087 * @return the document library file shortcut 088 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 089 * @throws SystemException if a system exception occurred 090 */ 091 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByPrimaryKey( 092 long fileShortcutId) 093 throws com.liferay.portal.kernel.exception.SystemException, 094 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 095 096 /** 097 * Returns the document library file shortcut with the primary key or returns <code>null</code> if it could not be found. 098 * 099 * @param fileShortcutId the primary key of the document library file shortcut 100 * @return the document library file shortcut, or <code>null</code> if a document library file shortcut with the primary key could not be found 101 * @throws SystemException if a system exception occurred 102 */ 103 public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByPrimaryKey( 104 long fileShortcutId) 105 throws com.liferay.portal.kernel.exception.SystemException; 106 107 /** 108 * Returns all the document library file shortcuts where uuid = ?. 109 * 110 * @param uuid the uuid 111 * @return the matching document library file shortcuts 112 * @throws SystemException if a system exception occurred 113 */ 114 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid( 115 java.lang.String uuid) 116 throws com.liferay.portal.kernel.exception.SystemException; 117 118 /** 119 * Returns a range of all the document library file shortcuts where uuid = ?. 120 * 121 * <p> 122 * 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. 123 * </p> 124 * 125 * @param uuid the uuid 126 * @param start the lower bound of the range of document library file shortcuts 127 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 128 * @return the range of matching document library file shortcuts 129 * @throws SystemException if a system exception occurred 130 */ 131 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid( 132 java.lang.String uuid, int start, int end) 133 throws com.liferay.portal.kernel.exception.SystemException; 134 135 /** 136 * Returns an ordered range of all the document library file shortcuts where uuid = ?. 137 * 138 * <p> 139 * 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. 140 * </p> 141 * 142 * @param uuid the uuid 143 * @param start the lower bound of the range of document library file shortcuts 144 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 145 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 146 * @return the ordered range of matching document library file shortcuts 147 * @throws SystemException if a system exception occurred 148 */ 149 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid( 150 java.lang.String uuid, int start, int end, 151 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 152 throws com.liferay.portal.kernel.exception.SystemException; 153 154 /** 155 * Returns the first document library file shortcut in the ordered set where uuid = ?. 156 * 157 * @param uuid the uuid 158 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 159 * @return the first matching document library file shortcut 160 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 161 * @throws SystemException if a system exception occurred 162 */ 163 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_First( 164 java.lang.String uuid, 165 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 166 throws com.liferay.portal.kernel.exception.SystemException, 167 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 168 169 /** 170 * Returns the first document library file shortcut in the ordered set where uuid = ?. 171 * 172 * @param uuid the uuid 173 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 174 * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 175 * @throws SystemException if a system exception occurred 176 */ 177 public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUuid_First( 178 java.lang.String uuid, 179 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 180 throws com.liferay.portal.kernel.exception.SystemException; 181 182 /** 183 * Returns the last document library file shortcut in the ordered set where uuid = ?. 184 * 185 * @param uuid the uuid 186 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 187 * @return the last matching document library file shortcut 188 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 189 * @throws SystemException if a system exception occurred 190 */ 191 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_Last( 192 java.lang.String uuid, 193 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 194 throws com.liferay.portal.kernel.exception.SystemException, 195 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 196 197 /** 198 * Returns the last document library file shortcut in the ordered set where uuid = ?. 199 * 200 * @param uuid the uuid 201 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 202 * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 203 * @throws SystemException if a system exception occurred 204 */ 205 public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUuid_Last( 206 java.lang.String uuid, 207 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 208 throws com.liferay.portal.kernel.exception.SystemException; 209 210 /** 211 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = ?. 212 * 213 * @param fileShortcutId the primary key of the current document library file shortcut 214 * @param uuid the uuid 215 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 216 * @return the previous, current, and next document library file shortcut 217 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 218 * @throws SystemException if a system exception occurred 219 */ 220 public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByUuid_PrevAndNext( 221 long fileShortcutId, java.lang.String uuid, 222 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 223 throws com.liferay.portal.kernel.exception.SystemException, 224 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 225 226 /** 227 * Returns the document library file shortcut where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileShortcutException} if it could not be found. 228 * 229 * @param uuid the uuid 230 * @param groupId the group ID 231 * @return the matching document library file shortcut 232 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 233 * @throws SystemException if a system exception occurred 234 */ 235 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUUID_G( 236 java.lang.String uuid, long groupId) 237 throws com.liferay.portal.kernel.exception.SystemException, 238 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 239 240 /** 241 * Returns the document library file shortcut where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 242 * 243 * @param uuid the uuid 244 * @param groupId the group ID 245 * @return the matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 246 * @throws SystemException if a system exception occurred 247 */ 248 public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUUID_G( 249 java.lang.String uuid, long groupId) 250 throws com.liferay.portal.kernel.exception.SystemException; 251 252 /** 253 * Returns the document library file shortcut where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 254 * 255 * @param uuid the uuid 256 * @param groupId the group ID 257 * @param retrieveFromCache whether to use the finder cache 258 * @return the matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 259 * @throws SystemException if a system exception occurred 260 */ 261 public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUUID_G( 262 java.lang.String uuid, long groupId, boolean retrieveFromCache) 263 throws com.liferay.portal.kernel.exception.SystemException; 264 265 /** 266 * Returns all the document library file shortcuts where toFileEntryId = ?. 267 * 268 * @param toFileEntryId the to file entry ID 269 * @return the matching document library file shortcuts 270 * @throws SystemException if a system exception occurred 271 */ 272 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByToFileEntryId( 273 long toFileEntryId) 274 throws com.liferay.portal.kernel.exception.SystemException; 275 276 /** 277 * Returns a range of all the document library file shortcuts where toFileEntryId = ?. 278 * 279 * <p> 280 * 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. 281 * </p> 282 * 283 * @param toFileEntryId the to file entry ID 284 * @param start the lower bound of the range of document library file shortcuts 285 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 286 * @return the range of matching document library file shortcuts 287 * @throws SystemException if a system exception occurred 288 */ 289 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByToFileEntryId( 290 long toFileEntryId, int start, int end) 291 throws com.liferay.portal.kernel.exception.SystemException; 292 293 /** 294 * Returns an ordered range of all the document library file shortcuts where toFileEntryId = ?. 295 * 296 * <p> 297 * 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. 298 * </p> 299 * 300 * @param toFileEntryId the to file entry ID 301 * @param start the lower bound of the range of document library file shortcuts 302 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 303 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 304 * @return the ordered range of matching document library file shortcuts 305 * @throws SystemException if a system exception occurred 306 */ 307 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByToFileEntryId( 308 long toFileEntryId, int start, int end, 309 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 310 throws com.liferay.portal.kernel.exception.SystemException; 311 312 /** 313 * Returns the first document library file shortcut in the ordered set where toFileEntryId = ?. 314 * 315 * @param toFileEntryId the to file entry ID 316 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 317 * @return the first matching document library file shortcut 318 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 319 * @throws SystemException if a system exception occurred 320 */ 321 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByToFileEntryId_First( 322 long toFileEntryId, 323 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 324 throws com.liferay.portal.kernel.exception.SystemException, 325 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 326 327 /** 328 * Returns the first document library file shortcut in the ordered set where toFileEntryId = ?. 329 * 330 * @param toFileEntryId the to file entry ID 331 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 332 * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 333 * @throws SystemException if a system exception occurred 334 */ 335 public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByToFileEntryId_First( 336 long toFileEntryId, 337 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 338 throws com.liferay.portal.kernel.exception.SystemException; 339 340 /** 341 * Returns the last document library file shortcut in the ordered set where toFileEntryId = ?. 342 * 343 * @param toFileEntryId the to file entry ID 344 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 345 * @return the last matching document library file shortcut 346 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 347 * @throws SystemException if a system exception occurred 348 */ 349 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByToFileEntryId_Last( 350 long toFileEntryId, 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 * Returns the last document library file shortcut in the ordered set where toFileEntryId = ?. 357 * 358 * @param toFileEntryId the to file entry ID 359 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 360 * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 361 * @throws SystemException if a system exception occurred 362 */ 363 public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByToFileEntryId_Last( 364 long toFileEntryId, 365 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 366 throws com.liferay.portal.kernel.exception.SystemException; 367 368 /** 369 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where toFileEntryId = ?. 370 * 371 * @param fileShortcutId the primary key of the current document library file shortcut 372 * @param toFileEntryId the to file entry ID 373 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 374 * @return the previous, current, and next document library file shortcut 375 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 376 * @throws SystemException if a system exception occurred 377 */ 378 public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByToFileEntryId_PrevAndNext( 379 long fileShortcutId, long toFileEntryId, 380 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 381 throws com.liferay.portal.kernel.exception.SystemException, 382 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 383 384 /** 385 * Returns all the document library file shortcuts where groupId = ? and folderId = ?. 386 * 387 * @param groupId the group ID 388 * @param folderId the folder ID 389 * @return the matching document library file shortcuts 390 * @throws SystemException if a system exception occurred 391 */ 392 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F( 393 long groupId, long folderId) 394 throws com.liferay.portal.kernel.exception.SystemException; 395 396 /** 397 * Returns a range of all the document library 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 404 * @param folderId the folder ID 405 * @param start the lower bound of the range of document library file shortcuts 406 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 407 * @return the range of matching document library file shortcuts 408 * @throws SystemException if a system exception occurred 409 */ 410 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F( 411 long groupId, long folderId, int start, int end) 412 throws com.liferay.portal.kernel.exception.SystemException; 413 414 /** 415 * Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ?. 416 * 417 * <p> 418 * 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. 419 * </p> 420 * 421 * @param groupId the group ID 422 * @param folderId the folder ID 423 * @param start the lower bound of the range of document library file shortcuts 424 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 425 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 426 * @return the ordered range of matching document library file shortcuts 427 * @throws SystemException if a system exception occurred 428 */ 429 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F( 430 long groupId, long folderId, int start, int end, 431 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 432 throws com.liferay.portal.kernel.exception.SystemException; 433 434 /** 435 * Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?. 436 * 437 * @param groupId the group ID 438 * @param folderId the folder ID 439 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 440 * @return the first matching document library file shortcut 441 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 442 * @throws SystemException if a system exception occurred 443 */ 444 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_First( 445 long groupId, long folderId, 446 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 447 throws com.liferay.portal.kernel.exception.SystemException, 448 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 449 450 /** 451 * Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?. 452 * 453 * @param groupId the group ID 454 * @param folderId the folder ID 455 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 456 * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 457 * @throws SystemException if a system exception occurred 458 */ 459 public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_First( 460 long groupId, long folderId, 461 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 462 throws com.liferay.portal.kernel.exception.SystemException; 463 464 /** 465 * Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?. 466 * 467 * @param groupId the group ID 468 * @param folderId the folder ID 469 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 470 * @return the last matching document library file shortcut 471 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 472 * @throws SystemException if a system exception occurred 473 */ 474 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_Last( 475 long groupId, long folderId, 476 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 477 throws com.liferay.portal.kernel.exception.SystemException, 478 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 479 480 /** 481 * Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?. 482 * 483 * @param groupId the group ID 484 * @param folderId the folder ID 485 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 486 * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 487 * @throws SystemException if a system exception occurred 488 */ 489 public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_Last( 490 long groupId, long folderId, 491 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 492 throws com.liferay.portal.kernel.exception.SystemException; 493 494 /** 495 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ?. 496 * 497 * @param fileShortcutId the primary key of the current document library file shortcut 498 * @param groupId the group ID 499 * @param folderId the folder ID 500 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 501 * @return the previous, current, and next document library file shortcut 502 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 503 * @throws SystemException if a system exception occurred 504 */ 505 public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_PrevAndNext( 506 long fileShortcutId, long groupId, long folderId, 507 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 508 throws com.liferay.portal.kernel.exception.SystemException, 509 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 510 511 /** 512 * Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?. 513 * 514 * @param groupId the group ID 515 * @param folderId the folder ID 516 * @return the matching document library file shortcuts that the user has permission to view 517 * @throws SystemException if a system exception occurred 518 */ 519 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F( 520 long groupId, long folderId) 521 throws com.liferay.portal.kernel.exception.SystemException; 522 523 /** 524 * Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?. 525 * 526 * <p> 527 * 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. 528 * </p> 529 * 530 * @param groupId the group ID 531 * @param folderId the folder ID 532 * @param start the lower bound of the range of document library file shortcuts 533 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 534 * @return the range of matching document library file shortcuts that the user has permission to view 535 * @throws SystemException if a system exception occurred 536 */ 537 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F( 538 long groupId, long folderId, int start, int end) 539 throws com.liferay.portal.kernel.exception.SystemException; 540 541 /** 542 * Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ?. 543 * 544 * <p> 545 * 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. 546 * </p> 547 * 548 * @param groupId the group ID 549 * @param folderId the folder ID 550 * @param start the lower bound of the range of document library file shortcuts 551 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 552 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 553 * @return the ordered range of matching document library file shortcuts that the user has permission to view 554 * @throws SystemException if a system exception occurred 555 */ 556 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F( 557 long groupId, long folderId, int start, int end, 558 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 559 throws com.liferay.portal.kernel.exception.SystemException; 560 561 /** 562 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?. 563 * 564 * @param fileShortcutId the primary key of the current document library file shortcut 565 * @param groupId the group ID 566 * @param folderId the folder ID 567 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 568 * @return the previous, current, and next document library file shortcut 569 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 570 * @throws SystemException if a system exception occurred 571 */ 572 public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] filterFindByG_F_PrevAndNext( 573 long fileShortcutId, long groupId, long folderId, 574 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 575 throws com.liferay.portal.kernel.exception.SystemException, 576 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 577 578 /** 579 * Returns all the document library file shortcuts where groupId = ? and folderId = ? and status = ?. 580 * 581 * @param groupId the group ID 582 * @param folderId the folder ID 583 * @param status the status 584 * @return the matching document library file shortcuts 585 * @throws SystemException if a system exception occurred 586 */ 587 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_S( 588 long groupId, long folderId, int status) 589 throws com.liferay.portal.kernel.exception.SystemException; 590 591 /** 592 * Returns a range of all the document library file shortcuts where groupId = ? and folderId = ? and status = ?. 593 * 594 * <p> 595 * 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. 596 * </p> 597 * 598 * @param groupId the group ID 599 * @param folderId the folder ID 600 * @param status the status 601 * @param start the lower bound of the range of document library file shortcuts 602 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 603 * @return the range of matching document library file shortcuts 604 * @throws SystemException if a system exception occurred 605 */ 606 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_S( 607 long groupId, long folderId, int status, int start, int end) 608 throws com.liferay.portal.kernel.exception.SystemException; 609 610 /** 611 * Returns an ordered range of all the document library file shortcuts 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 618 * @param folderId the folder ID 619 * @param status the status 620 * @param start the lower bound of the range of document library file shortcuts 621 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 622 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 623 * @return the ordered range of matching document library file shortcuts 624 * @throws SystemException if a system exception occurred 625 */ 626 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_S( 627 long groupId, long folderId, int status, int start, int end, 628 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 629 throws com.liferay.portal.kernel.exception.SystemException; 630 631 /** 632 * Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?. 633 * 634 * @param groupId the group ID 635 * @param folderId the folder ID 636 * @param status the status 637 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 638 * @return the first matching document library file shortcut 639 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 640 * @throws SystemException if a system exception occurred 641 */ 642 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_S_First( 643 long groupId, long folderId, int status, 644 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 645 throws com.liferay.portal.kernel.exception.SystemException, 646 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 647 648 /** 649 * Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?. 650 * 651 * @param groupId the group ID 652 * @param folderId the folder ID 653 * @param status the status 654 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 655 * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 656 * @throws SystemException if a system exception occurred 657 */ 658 public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_S_First( 659 long groupId, long folderId, int status, 660 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 661 throws com.liferay.portal.kernel.exception.SystemException; 662 663 /** 664 * Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?. 665 * 666 * @param groupId the group ID 667 * @param folderId the folder ID 668 * @param status the status 669 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 670 * @return the last matching document library file shortcut 671 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found 672 * @throws SystemException if a system exception occurred 673 */ 674 public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_S_Last( 675 long groupId, long folderId, int status, 676 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 677 throws com.liferay.portal.kernel.exception.SystemException, 678 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 679 680 /** 681 * Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?. 682 * 683 * @param groupId the group ID 684 * @param folderId the folder ID 685 * @param status the status 686 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 687 * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found 688 * @throws SystemException if a system exception occurred 689 */ 690 public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_S_Last( 691 long groupId, long folderId, int status, 692 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 693 throws com.liferay.portal.kernel.exception.SystemException; 694 695 /** 696 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?. 697 * 698 * @param fileShortcutId the primary key of the current document library file shortcut 699 * @param groupId the group ID 700 * @param folderId the folder ID 701 * @param status the status 702 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 703 * @return the previous, current, and next document library file shortcut 704 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 705 * @throws SystemException if a system exception occurred 706 */ 707 public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_S_PrevAndNext( 708 long fileShortcutId, long groupId, long folderId, int status, 709 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 710 throws com.liferay.portal.kernel.exception.SystemException, 711 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 712 713 /** 714 * Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and status = ?. 715 * 716 * @param groupId the group ID 717 * @param folderId the folder ID 718 * @param status the status 719 * @return the matching document library 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_F_S( 723 long groupId, long folderId, int status) 724 throws com.liferay.portal.kernel.exception.SystemException; 725 726 /** 727 * Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and status = ?. 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 734 * @param folderId the folder ID 735 * @param status the status 736 * @param start the lower bound of the range of document library file shortcuts 737 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 738 * @return the range of matching document library file shortcuts that the user has permission to view 739 * @throws SystemException if a system exception occurred 740 */ 741 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_S( 742 long groupId, long folderId, int status, int start, int end) 743 throws com.liferay.portal.kernel.exception.SystemException; 744 745 /** 746 * Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ? and status = ?. 747 * 748 * <p> 749 * 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. 750 * </p> 751 * 752 * @param groupId the group ID 753 * @param folderId the folder ID 754 * @param status the status 755 * @param start the lower bound of the range of document library file shortcuts 756 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 757 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 758 * @return the ordered range of matching document library file shortcuts that the user has permission to view 759 * @throws SystemException if a system exception occurred 760 */ 761 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_S( 762 long groupId, long folderId, int status, int start, int end, 763 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 764 throws com.liferay.portal.kernel.exception.SystemException; 765 766 /** 767 * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and status = ?. 768 * 769 * @param fileShortcutId the primary key of the current document library file shortcut 770 * @param groupId the group ID 771 * @param folderId the folder ID 772 * @param status the status 773 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 774 * @return the previous, current, and next document library file shortcut 775 * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found 776 * @throws SystemException if a system exception occurred 777 */ 778 public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] filterFindByG_F_S_PrevAndNext( 779 long fileShortcutId, long groupId, long folderId, int status, 780 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 781 throws com.liferay.portal.kernel.exception.SystemException, 782 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 783 784 /** 785 * Returns all the document library file shortcuts. 786 * 787 * @return the document library file shortcuts 788 * @throws SystemException if a system exception occurred 789 */ 790 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll() 791 throws com.liferay.portal.kernel.exception.SystemException; 792 793 /** 794 * Returns a range of all the document library file shortcuts. 795 * 796 * <p> 797 * 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. 798 * </p> 799 * 800 * @param start the lower bound of the range of document library file shortcuts 801 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 802 * @return the range of document library file shortcuts 803 * @throws SystemException if a system exception occurred 804 */ 805 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll( 806 int start, int end) 807 throws com.liferay.portal.kernel.exception.SystemException; 808 809 /** 810 * Returns an ordered range of all the document library file shortcuts. 811 * 812 * <p> 813 * 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. 814 * </p> 815 * 816 * @param start the lower bound of the range of document library file shortcuts 817 * @param end the upper bound of the range of document library file shortcuts (not inclusive) 818 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 819 * @return the ordered range of document library file shortcuts 820 * @throws SystemException if a system exception occurred 821 */ 822 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll( 823 int start, int end, 824 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 825 throws com.liferay.portal.kernel.exception.SystemException; 826 827 /** 828 * Removes all the document library file shortcuts where uuid = ? from the database. 829 * 830 * @param uuid the uuid 831 * @throws SystemException if a system exception occurred 832 */ 833 public void removeByUuid(java.lang.String uuid) 834 throws com.liferay.portal.kernel.exception.SystemException; 835 836 /** 837 * Removes the document library file shortcut where uuid = ? and groupId = ? from the database. 838 * 839 * @param uuid the uuid 840 * @param groupId the group ID 841 * @return the document library file shortcut that was removed 842 * @throws SystemException if a system exception occurred 843 */ 844 public com.liferay.portlet.documentlibrary.model.DLFileShortcut removeByUUID_G( 845 java.lang.String uuid, long groupId) 846 throws com.liferay.portal.kernel.exception.SystemException, 847 com.liferay.portlet.documentlibrary.NoSuchFileShortcutException; 848 849 /** 850 * Removes all the document library file shortcuts where toFileEntryId = ? from the database. 851 * 852 * @param toFileEntryId the to file entry ID 853 * @throws SystemException if a system exception occurred 854 */ 855 public void removeByToFileEntryId(long toFileEntryId) 856 throws com.liferay.portal.kernel.exception.SystemException; 857 858 /** 859 * Removes all the document library file shortcuts where groupId = ? and folderId = ? from the database. 860 * 861 * @param groupId the group ID 862 * @param folderId the folder ID 863 * @throws SystemException if a system exception occurred 864 */ 865 public void removeByG_F(long groupId, long folderId) 866 throws com.liferay.portal.kernel.exception.SystemException; 867 868 /** 869 * Removes all the document library file shortcuts where groupId = ? and folderId = ? and status = ? from the database. 870 * 871 * @param groupId the group ID 872 * @param folderId the folder ID 873 * @param status the status 874 * @throws SystemException if a system exception occurred 875 */ 876 public void removeByG_F_S(long groupId, long folderId, int status) 877 throws com.liferay.portal.kernel.exception.SystemException; 878 879 /** 880 * Removes all the document library file shortcuts from the database. 881 * 882 * @throws SystemException if a system exception occurred 883 */ 884 public void removeAll() 885 throws com.liferay.portal.kernel.exception.SystemException; 886 887 /** 888 * Returns the number of document library file shortcuts where uuid = ?. 889 * 890 * @param uuid the uuid 891 * @return the number of matching document library file shortcuts 892 * @throws SystemException if a system exception occurred 893 */ 894 public int countByUuid(java.lang.String uuid) 895 throws com.liferay.portal.kernel.exception.SystemException; 896 897 /** 898 * Returns the number of document library file shortcuts where uuid = ? and groupId = ?. 899 * 900 * @param uuid the uuid 901 * @param groupId the group ID 902 * @return the number of matching document library file shortcuts 903 * @throws SystemException if a system exception occurred 904 */ 905 public int countByUUID_G(java.lang.String uuid, long groupId) 906 throws com.liferay.portal.kernel.exception.SystemException; 907 908 /** 909 * Returns the number of document library file shortcuts where toFileEntryId = ?. 910 * 911 * @param toFileEntryId the to file entry ID 912 * @return the number of matching document library file shortcuts 913 * @throws SystemException if a system exception occurred 914 */ 915 public int countByToFileEntryId(long toFileEntryId) 916 throws com.liferay.portal.kernel.exception.SystemException; 917 918 /** 919 * Returns the number of document library file shortcuts where groupId = ? and folderId = ?. 920 * 921 * @param groupId the group ID 922 * @param folderId the folder ID 923 * @return the number of matching document library file shortcuts 924 * @throws SystemException if a system exception occurred 925 */ 926 public int countByG_F(long groupId, long folderId) 927 throws com.liferay.portal.kernel.exception.SystemException; 928 929 /** 930 * Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?. 931 * 932 * @param groupId the group ID 933 * @param folderId the folder ID 934 * @return the number of matching document library file shortcuts that the user has permission to view 935 * @throws SystemException if a system exception occurred 936 */ 937 public int filterCountByG_F(long groupId, long folderId) 938 throws com.liferay.portal.kernel.exception.SystemException; 939 940 /** 941 * Returns the number of document library file shortcuts where groupId = ? and folderId = ? and status = ?. 942 * 943 * @param groupId the group ID 944 * @param folderId the folder ID 945 * @param status the status 946 * @return the number of matching document library file shortcuts 947 * @throws SystemException if a system exception occurred 948 */ 949 public int countByG_F_S(long groupId, long folderId, int status) 950 throws com.liferay.portal.kernel.exception.SystemException; 951 952 /** 953 * Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and status = ?. 954 * 955 * @param groupId the group ID 956 * @param folderId the folder ID 957 * @param status the status 958 * @return the number of matching document library file shortcuts that the user has permission to view 959 * @throws SystemException if a system exception occurred 960 */ 961 public int filterCountByG_F_S(long groupId, long folderId, int status) 962 throws com.liferay.portal.kernel.exception.SystemException; 963 964 /** 965 * Returns the number of document library file shortcuts. 966 * 967 * @return the number of document library file shortcuts 968 * @throws SystemException if a system exception occurred 969 */ 970 public int countAll() 971 throws com.liferay.portal.kernel.exception.SystemException; 972 }