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