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