001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.documentlibrary.service.persistence;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.persistence.BasePersistence;
020    
021    import com.liferay.portlet.documentlibrary.model.DLFileShortcut;
022    
023    /**
024     * The persistence interface for the document library file shortcut service.
025     *
026     * <p>
027     * Caching information and settings can be found in <code>portal.properties</code>
028     * </p>
029     *
030     * @author Brian Wing Shun Chan
031     * @see DLFileShortcutPersistenceImpl
032     * @see DLFileShortcutUtil
033     * @generated
034     */
035    @ProviderType
036    public interface DLFileShortcutPersistence extends BasePersistence<DLFileShortcut> {
037            /*
038             * NOTE FOR DEVELOPERS:
039             *
040             * Never modify or reference this interface directly. Always use {@link DLFileShortcutUtil} to access the document library file shortcut persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
041             */
042    
043            /**
044            * Returns all the document library file shortcuts where uuid = &#63;.
045            *
046            * @param uuid the uuid
047            * @return the matching document library file shortcuts
048            * @throws SystemException if a system exception occurred
049            */
050            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid(
051                    java.lang.String uuid)
052                    throws com.liferay.portal.kernel.exception.SystemException;
053    
054            /**
055            * Returns a range of all the document library file shortcuts where uuid = &#63;.
056            *
057            * <p>
058            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
059            * </p>
060            *
061            * @param uuid the uuid
062            * @param start the lower bound of the range of document library file shortcuts
063            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
064            * @return the range of matching document library file shortcuts
065            * @throws SystemException if a system exception occurred
066            */
067            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid(
068                    java.lang.String uuid, int start, int end)
069                    throws com.liferay.portal.kernel.exception.SystemException;
070    
071            /**
072            * Returns an ordered range of all the document library file shortcuts where uuid = &#63;.
073            *
074            * <p>
075            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
076            * </p>
077            *
078            * @param uuid the uuid
079            * @param start the lower bound of the range of document library file shortcuts
080            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
081            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
082            * @return the ordered range of matching document library file shortcuts
083            * @throws SystemException if a system exception occurred
084            */
085            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid(
086                    java.lang.String uuid, int start, int end,
087                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
088                    throws com.liferay.portal.kernel.exception.SystemException;
089    
090            /**
091            * Returns the first document library file shortcut in the ordered set where uuid = &#63;.
092            *
093            * @param uuid the uuid
094            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
095            * @return the first matching document library file shortcut
096            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
097            * @throws SystemException if a system exception occurred
098            */
099            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_First(
100                    java.lang.String uuid,
101                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
102                    throws com.liferay.portal.kernel.exception.SystemException,
103                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
104    
105            /**
106            * Returns the first document library file shortcut in the ordered set where uuid = &#63;.
107            *
108            * @param uuid the uuid
109            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
110            * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
111            * @throws SystemException if a system exception occurred
112            */
113            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUuid_First(
114                    java.lang.String uuid,
115                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
116                    throws com.liferay.portal.kernel.exception.SystemException;
117    
118            /**
119            * Returns the last document library file shortcut in the ordered set where uuid = &#63;.
120            *
121            * @param uuid the uuid
122            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
123            * @return the last matching document library file shortcut
124            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
125            * @throws SystemException if a system exception occurred
126            */
127            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_Last(
128                    java.lang.String uuid,
129                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
130                    throws com.liferay.portal.kernel.exception.SystemException,
131                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
132    
133            /**
134            * Returns the last document library file shortcut in the ordered set where uuid = &#63;.
135            *
136            * @param uuid the uuid
137            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
138            * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
139            * @throws SystemException if a system exception occurred
140            */
141            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUuid_Last(
142                    java.lang.String uuid,
143                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144                    throws com.liferay.portal.kernel.exception.SystemException;
145    
146            /**
147            * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = &#63;.
148            *
149            * @param fileShortcutId the primary key of the current document library file shortcut
150            * @param uuid the uuid
151            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
152            * @return the previous, current, and next document library file shortcut
153            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
154            * @throws SystemException if a system exception occurred
155            */
156            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByUuid_PrevAndNext(
157                    long fileShortcutId, java.lang.String uuid,
158                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
159                    throws com.liferay.portal.kernel.exception.SystemException,
160                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
161    
162            /**
163            * Removes all the document library file shortcuts where uuid = &#63; from the database.
164            *
165            * @param uuid the uuid
166            * @throws SystemException if a system exception occurred
167            */
168            public void removeByUuid(java.lang.String uuid)
169                    throws com.liferay.portal.kernel.exception.SystemException;
170    
171            /**
172            * Returns the number of document library file shortcuts where uuid = &#63;.
173            *
174            * @param uuid the uuid
175            * @return the number of matching document library file shortcuts
176            * @throws SystemException if a system exception occurred
177            */
178            public int countByUuid(java.lang.String uuid)
179                    throws com.liferay.portal.kernel.exception.SystemException;
180    
181            /**
182            * Returns the document library file shortcut where uuid = &#63; and groupId = &#63; or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileShortcutException} if it could not be found.
183            *
184            * @param uuid the uuid
185            * @param groupId the group ID
186            * @return the matching document library file shortcut
187            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
188            * @throws SystemException if a system exception occurred
189            */
190            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUUID_G(
191                    java.lang.String uuid, long groupId)
192                    throws com.liferay.portal.kernel.exception.SystemException,
193                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
194    
195            /**
196            * Returns the document library file shortcut where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
197            *
198            * @param uuid the uuid
199            * @param groupId the group ID
200            * @return the matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
201            * @throws SystemException if a system exception occurred
202            */
203            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUUID_G(
204                    java.lang.String uuid, long groupId)
205                    throws com.liferay.portal.kernel.exception.SystemException;
206    
207            /**
208            * Returns the document library file shortcut where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
209            *
210            * @param uuid the uuid
211            * @param groupId the group ID
212            * @param retrieveFromCache whether to use the finder cache
213            * @return the matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
214            * @throws SystemException if a system exception occurred
215            */
216            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUUID_G(
217                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
218                    throws com.liferay.portal.kernel.exception.SystemException;
219    
220            /**
221            * Removes the document library file shortcut where uuid = &#63; and groupId = &#63; from the database.
222            *
223            * @param uuid the uuid
224            * @param groupId the group ID
225            * @return the document library file shortcut that was removed
226            * @throws SystemException if a system exception occurred
227            */
228            public com.liferay.portlet.documentlibrary.model.DLFileShortcut removeByUUID_G(
229                    java.lang.String uuid, long groupId)
230                    throws com.liferay.portal.kernel.exception.SystemException,
231                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
232    
233            /**
234            * Returns the number of document library file shortcuts where uuid = &#63; and groupId = &#63;.
235            *
236            * @param uuid the uuid
237            * @param groupId the group ID
238            * @return the number of matching document library file shortcuts
239            * @throws SystemException if a system exception occurred
240            */
241            public int countByUUID_G(java.lang.String uuid, long groupId)
242                    throws com.liferay.portal.kernel.exception.SystemException;
243    
244            /**
245            * Returns all the document library file shortcuts where uuid = &#63; and companyId = &#63;.
246            *
247            * @param uuid the uuid
248            * @param companyId the company ID
249            * @return the matching document library file shortcuts
250            * @throws SystemException if a system exception occurred
251            */
252            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid_C(
253                    java.lang.String uuid, long companyId)
254                    throws com.liferay.portal.kernel.exception.SystemException;
255    
256            /**
257            * Returns a range of all the document library file shortcuts where uuid = &#63; and companyId = &#63;.
258            *
259            * <p>
260            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
261            * </p>
262            *
263            * @param uuid the uuid
264            * @param companyId the company ID
265            * @param start the lower bound of the range of document library file shortcuts
266            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
267            * @return the range of matching document library file shortcuts
268            * @throws SystemException if a system exception occurred
269            */
270            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid_C(
271                    java.lang.String uuid, long companyId, int start, int end)
272                    throws com.liferay.portal.kernel.exception.SystemException;
273    
274            /**
275            * Returns an ordered range of all the document library file shortcuts where uuid = &#63; and companyId = &#63;.
276            *
277            * <p>
278            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
279            * </p>
280            *
281            * @param uuid the uuid
282            * @param companyId the company ID
283            * @param start the lower bound of the range of document library file shortcuts
284            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
285            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
286            * @return the ordered range of matching document library file shortcuts
287            * @throws SystemException if a system exception occurred
288            */
289            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid_C(
290                    java.lang.String uuid, long companyId, int start, int end,
291                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
292                    throws com.liferay.portal.kernel.exception.SystemException;
293    
294            /**
295            * Returns the first document library file shortcut in the ordered set where uuid = &#63; and companyId = &#63;.
296            *
297            * @param uuid the uuid
298            * @param companyId the company ID
299            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
300            * @return the first matching document library file shortcut
301            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
302            * @throws SystemException if a system exception occurred
303            */
304            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_C_First(
305                    java.lang.String uuid, long companyId,
306                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
307                    throws com.liferay.portal.kernel.exception.SystemException,
308                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
309    
310            /**
311            * Returns the first document library file shortcut in the ordered set where uuid = &#63; and companyId = &#63;.
312            *
313            * @param uuid the uuid
314            * @param companyId the company ID
315            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
316            * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
317            * @throws SystemException if a system exception occurred
318            */
319            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUuid_C_First(
320                    java.lang.String uuid, long companyId,
321                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
322                    throws com.liferay.portal.kernel.exception.SystemException;
323    
324            /**
325            * Returns the last document library file shortcut in the ordered set where uuid = &#63; and companyId = &#63;.
326            *
327            * @param uuid the uuid
328            * @param companyId the company ID
329            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
330            * @return the last matching document library file shortcut
331            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
332            * @throws SystemException if a system exception occurred
333            */
334            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_C_Last(
335                    java.lang.String uuid, long companyId,
336                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
337                    throws com.liferay.portal.kernel.exception.SystemException,
338                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
339    
340            /**
341            * Returns the last document library file shortcut in the ordered set where uuid = &#63; and companyId = &#63;.
342            *
343            * @param uuid the uuid
344            * @param companyId the company ID
345            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
346            * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
347            * @throws SystemException if a system exception occurred
348            */
349            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUuid_C_Last(
350                    java.lang.String uuid, long companyId,
351                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
352                    throws com.liferay.portal.kernel.exception.SystemException;
353    
354            /**
355            * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = &#63; and companyId = &#63;.
356            *
357            * @param fileShortcutId the primary key of the current document library file shortcut
358            * @param uuid the uuid
359            * @param companyId the company ID
360            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
361            * @return the previous, current, and next document library file shortcut
362            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
363            * @throws SystemException if a system exception occurred
364            */
365            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByUuid_C_PrevAndNext(
366                    long fileShortcutId, java.lang.String uuid, long companyId,
367                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
368                    throws com.liferay.portal.kernel.exception.SystemException,
369                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
370    
371            /**
372            * Removes all the document library file shortcuts where uuid = &#63; and companyId = &#63; from the database.
373            *
374            * @param uuid the uuid
375            * @param companyId the company ID
376            * @throws SystemException if a system exception occurred
377            */
378            public void removeByUuid_C(java.lang.String uuid, long companyId)
379                    throws com.liferay.portal.kernel.exception.SystemException;
380    
381            /**
382            * Returns the number of document library file shortcuts where uuid = &#63; and companyId = &#63;.
383            *
384            * @param uuid the uuid
385            * @param companyId the company ID
386            * @return the number of matching document library file shortcuts
387            * @throws SystemException if a system exception occurred
388            */
389            public int countByUuid_C(java.lang.String uuid, long companyId)
390                    throws com.liferay.portal.kernel.exception.SystemException;
391    
392            /**
393            * Returns all the document library file shortcuts where companyId = &#63;.
394            *
395            * @param companyId the company ID
396            * @return the matching document library file shortcuts
397            * @throws SystemException if a system exception occurred
398            */
399            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByCompanyId(
400                    long companyId)
401                    throws com.liferay.portal.kernel.exception.SystemException;
402    
403            /**
404            * Returns a range of all the document library file shortcuts where companyId = &#63;.
405            *
406            * <p>
407            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
408            * </p>
409            *
410            * @param companyId the company ID
411            * @param start the lower bound of the range of document library file shortcuts
412            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
413            * @return the range of matching document library file shortcuts
414            * @throws SystemException if a system exception occurred
415            */
416            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByCompanyId(
417                    long companyId, int start, int end)
418                    throws com.liferay.portal.kernel.exception.SystemException;
419    
420            /**
421            * Returns an ordered range of all the document library file shortcuts where companyId = &#63;.
422            *
423            * <p>
424            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
425            * </p>
426            *
427            * @param companyId the company ID
428            * @param start the lower bound of the range of document library file shortcuts
429            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
430            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
431            * @return the ordered range of matching document library file shortcuts
432            * @throws SystemException if a system exception occurred
433            */
434            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByCompanyId(
435                    long companyId, int start, int end,
436                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
437                    throws com.liferay.portal.kernel.exception.SystemException;
438    
439            /**
440            * Returns the first document library file shortcut in the ordered set where companyId = &#63;.
441            *
442            * @param companyId the company ID
443            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
444            * @return the first matching document library file shortcut
445            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
446            * @throws SystemException if a system exception occurred
447            */
448            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByCompanyId_First(
449                    long companyId,
450                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
451                    throws com.liferay.portal.kernel.exception.SystemException,
452                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
453    
454            /**
455            * Returns the first document library file shortcut in the ordered set where companyId = &#63;.
456            *
457            * @param companyId the company ID
458            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
459            * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
460            * @throws SystemException if a system exception occurred
461            */
462            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByCompanyId_First(
463                    long companyId,
464                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
465                    throws com.liferay.portal.kernel.exception.SystemException;
466    
467            /**
468            * Returns the last document library file shortcut in the ordered set where companyId = &#63;.
469            *
470            * @param companyId the company ID
471            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
472            * @return the last matching document library file shortcut
473            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
474            * @throws SystemException if a system exception occurred
475            */
476            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByCompanyId_Last(
477                    long companyId,
478                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
479                    throws com.liferay.portal.kernel.exception.SystemException,
480                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
481    
482            /**
483            * Returns the last document library file shortcut in the ordered set where companyId = &#63;.
484            *
485            * @param companyId the company ID
486            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
487            * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
488            * @throws SystemException if a system exception occurred
489            */
490            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByCompanyId_Last(
491                    long companyId,
492                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
493                    throws com.liferay.portal.kernel.exception.SystemException;
494    
495            /**
496            * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where companyId = &#63;.
497            *
498            * @param fileShortcutId the primary key of the current document library file shortcut
499            * @param companyId the company ID
500            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
501            * @return the previous, current, and next document library file shortcut
502            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
503            * @throws SystemException if a system exception occurred
504            */
505            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByCompanyId_PrevAndNext(
506                    long fileShortcutId, long companyId,
507                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
508                    throws com.liferay.portal.kernel.exception.SystemException,
509                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
510    
511            /**
512            * Removes all the document library file shortcuts where companyId = &#63; from the database.
513            *
514            * @param companyId the company ID
515            * @throws SystemException if a system exception occurred
516            */
517            public void removeByCompanyId(long companyId)
518                    throws com.liferay.portal.kernel.exception.SystemException;
519    
520            /**
521            * Returns the number of document library file shortcuts where companyId = &#63;.
522            *
523            * @param companyId the company ID
524            * @return the number of matching document library file shortcuts
525            * @throws SystemException if a system exception occurred
526            */
527            public int countByCompanyId(long companyId)
528                    throws com.liferay.portal.kernel.exception.SystemException;
529    
530            /**
531            * Returns all the document library file shortcuts where toFileEntryId = &#63;.
532            *
533            * @param toFileEntryId the to file entry ID
534            * @return the matching document library file shortcuts
535            * @throws SystemException if a system exception occurred
536            */
537            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByToFileEntryId(
538                    long toFileEntryId)
539                    throws com.liferay.portal.kernel.exception.SystemException;
540    
541            /**
542            * Returns a range of all the document library file shortcuts where toFileEntryId = &#63;.
543            *
544            * <p>
545            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
546            * </p>
547            *
548            * @param toFileEntryId the to file entry ID
549            * @param start the lower bound of the range of document library file shortcuts
550            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
551            * @return the range of matching document library file shortcuts
552            * @throws SystemException if a system exception occurred
553            */
554            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByToFileEntryId(
555                    long toFileEntryId, int start, int end)
556                    throws com.liferay.portal.kernel.exception.SystemException;
557    
558            /**
559            * Returns an ordered range of all the document library file shortcuts where toFileEntryId = &#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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
563            * </p>
564            *
565            * @param toFileEntryId the to file entry ID
566            * @param start the lower bound of the range of document library file shortcuts
567            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
568            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
569            * @return the ordered range of matching document library file shortcuts
570            * @throws SystemException if a system exception occurred
571            */
572            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByToFileEntryId(
573                    long toFileEntryId, int start, int end,
574                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
575                    throws com.liferay.portal.kernel.exception.SystemException;
576    
577            /**
578            * Returns the first document library file shortcut in the ordered set where toFileEntryId = &#63;.
579            *
580            * @param toFileEntryId the to file entry ID
581            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
582            * @return the first matching document library file shortcut
583            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
584            * @throws SystemException if a system exception occurred
585            */
586            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByToFileEntryId_First(
587                    long toFileEntryId,
588                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
589                    throws com.liferay.portal.kernel.exception.SystemException,
590                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
591    
592            /**
593            * Returns the first document library file shortcut in the ordered set where toFileEntryId = &#63;.
594            *
595            * @param toFileEntryId the to file entry ID
596            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
597            * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
598            * @throws SystemException if a system exception occurred
599            */
600            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByToFileEntryId_First(
601                    long toFileEntryId,
602                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
603                    throws com.liferay.portal.kernel.exception.SystemException;
604    
605            /**
606            * Returns the last document library file shortcut in the ordered set where toFileEntryId = &#63;.
607            *
608            * @param toFileEntryId the to file entry ID
609            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
610            * @return the last matching document library file shortcut
611            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
612            * @throws SystemException if a system exception occurred
613            */
614            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByToFileEntryId_Last(
615                    long toFileEntryId,
616                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
617                    throws com.liferay.portal.kernel.exception.SystemException,
618                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
619    
620            /**
621            * Returns the last document library file shortcut in the ordered set where toFileEntryId = &#63;.
622            *
623            * @param toFileEntryId the to file entry ID
624            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
625            * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
626            * @throws SystemException if a system exception occurred
627            */
628            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByToFileEntryId_Last(
629                    long toFileEntryId,
630                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
631                    throws com.liferay.portal.kernel.exception.SystemException;
632    
633            /**
634            * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where toFileEntryId = &#63;.
635            *
636            * @param fileShortcutId the primary key of the current document library file shortcut
637            * @param toFileEntryId the to file entry ID
638            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
639            * @return the previous, current, and next document library file shortcut
640            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
641            * @throws SystemException if a system exception occurred
642            */
643            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByToFileEntryId_PrevAndNext(
644                    long fileShortcutId, long toFileEntryId,
645                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
646                    throws com.liferay.portal.kernel.exception.SystemException,
647                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
648    
649            /**
650            * Removes all the document library file shortcuts where toFileEntryId = &#63; from the database.
651            *
652            * @param toFileEntryId the to file entry ID
653            * @throws SystemException if a system exception occurred
654            */
655            public void removeByToFileEntryId(long toFileEntryId)
656                    throws com.liferay.portal.kernel.exception.SystemException;
657    
658            /**
659            * Returns the number of document library file shortcuts where toFileEntryId = &#63;.
660            *
661            * @param toFileEntryId the to file entry ID
662            * @return the number of matching document library file shortcuts
663            * @throws SystemException if a system exception occurred
664            */
665            public int countByToFileEntryId(long toFileEntryId)
666                    throws com.liferay.portal.kernel.exception.SystemException;
667    
668            /**
669            * Returns all the document library file shortcuts where groupId = &#63; and folderId = &#63;.
670            *
671            * @param groupId the group ID
672            * @param folderId the folder ID
673            * @return the matching document library file shortcuts
674            * @throws SystemException if a system exception occurred
675            */
676            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F(
677                    long groupId, long folderId)
678                    throws com.liferay.portal.kernel.exception.SystemException;
679    
680            /**
681            * Returns a range of all the document library file shortcuts where groupId = &#63; and folderId = &#63;.
682            *
683            * <p>
684            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
685            * </p>
686            *
687            * @param groupId the group ID
688            * @param folderId the folder ID
689            * @param start the lower bound of the range of document library file shortcuts
690            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
691            * @return the range of matching document library file shortcuts
692            * @throws SystemException if a system exception occurred
693            */
694            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F(
695                    long groupId, long folderId, int start, int end)
696                    throws com.liferay.portal.kernel.exception.SystemException;
697    
698            /**
699            * Returns an ordered range of all the document library file shortcuts where groupId = &#63; and folderId = &#63;.
700            *
701            * <p>
702            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
703            * </p>
704            *
705            * @param groupId the group ID
706            * @param folderId the folder ID
707            * @param start the lower bound of the range of document library file shortcuts
708            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
709            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
710            * @return the ordered range of matching document library file shortcuts
711            * @throws SystemException if a system exception occurred
712            */
713            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F(
714                    long groupId, long folderId, int start, int end,
715                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
716                    throws com.liferay.portal.kernel.exception.SystemException;
717    
718            /**
719            * Returns the first document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63;.
720            *
721            * @param groupId the group ID
722            * @param folderId the folder ID
723            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
724            * @return the first matching document library file shortcut
725            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
726            * @throws SystemException if a system exception occurred
727            */
728            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_First(
729                    long groupId, long folderId,
730                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
731                    throws com.liferay.portal.kernel.exception.SystemException,
732                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
733    
734            /**
735            * Returns the first document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63;.
736            *
737            * @param groupId the group ID
738            * @param folderId the folder ID
739            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
740            * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
741            * @throws SystemException if a system exception occurred
742            */
743            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_First(
744                    long groupId, long folderId,
745                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
746                    throws com.liferay.portal.kernel.exception.SystemException;
747    
748            /**
749            * Returns the last document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63;.
750            *
751            * @param groupId the group ID
752            * @param folderId the folder ID
753            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
754            * @return the last matching document library file shortcut
755            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
756            * @throws SystemException if a system exception occurred
757            */
758            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_Last(
759                    long groupId, long folderId,
760                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
761                    throws com.liferay.portal.kernel.exception.SystemException,
762                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
763    
764            /**
765            * Returns the last document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63;.
766            *
767            * @param groupId the group ID
768            * @param folderId the folder ID
769            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
770            * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
771            * @throws SystemException if a system exception occurred
772            */
773            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_Last(
774                    long groupId, long folderId,
775                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
776                    throws com.liferay.portal.kernel.exception.SystemException;
777    
778            /**
779            * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63;.
780            *
781            * @param fileShortcutId the primary key of the current document library file shortcut
782            * @param groupId the group ID
783            * @param folderId the folder ID
784            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
785            * @return the previous, current, and next document library file shortcut
786            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
787            * @throws SystemException if a system exception occurred
788            */
789            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_PrevAndNext(
790                    long fileShortcutId, long groupId, long folderId,
791                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
792                    throws com.liferay.portal.kernel.exception.SystemException,
793                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
794    
795            /**
796            * Returns all the document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63;.
797            *
798            * @param groupId the group ID
799            * @param folderId the folder ID
800            * @return the matching document library file shortcuts that the user has permission to view
801            * @throws SystemException if a system exception occurred
802            */
803            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F(
804                    long groupId, long folderId)
805                    throws com.liferay.portal.kernel.exception.SystemException;
806    
807            /**
808            * Returns a range of all the document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63;.
809            *
810            * <p>
811            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
812            * </p>
813            *
814            * @param groupId the group ID
815            * @param folderId the folder ID
816            * @param start the lower bound of the range of document library file shortcuts
817            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
818            * @return the range of matching document library file shortcuts that the user has permission to view
819            * @throws SystemException if a system exception occurred
820            */
821            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F(
822                    long groupId, long folderId, int start, int end)
823                    throws com.liferay.portal.kernel.exception.SystemException;
824    
825            /**
826            * Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = &#63; and folderId = &#63;.
827            *
828            * <p>
829            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
830            * </p>
831            *
832            * @param groupId the group ID
833            * @param folderId the folder ID
834            * @param start the lower bound of the range of document library file shortcuts
835            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
836            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
837            * @return the ordered range of matching document library file shortcuts that the user has permission to view
838            * @throws SystemException if a system exception occurred
839            */
840            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F(
841                    long groupId, long folderId, int start, int end,
842                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
843                    throws com.liferay.portal.kernel.exception.SystemException;
844    
845            /**
846            * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63;.
847            *
848            * @param fileShortcutId the primary key of the current document library file shortcut
849            * @param groupId the group ID
850            * @param folderId the folder ID
851            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
852            * @return the previous, current, and next document library file shortcut
853            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
854            * @throws SystemException if a system exception occurred
855            */
856            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] filterFindByG_F_PrevAndNext(
857                    long fileShortcutId, long groupId, long folderId,
858                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
859                    throws com.liferay.portal.kernel.exception.SystemException,
860                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
861    
862            /**
863            * Removes all the document library file shortcuts where groupId = &#63; and folderId = &#63; from the database.
864            *
865            * @param groupId the group ID
866            * @param folderId the folder ID
867            * @throws SystemException if a system exception occurred
868            */
869            public void removeByG_F(long groupId, long folderId)
870                    throws com.liferay.portal.kernel.exception.SystemException;
871    
872            /**
873            * Returns the number of document library file shortcuts where groupId = &#63; and folderId = &#63;.
874            *
875            * @param groupId the group ID
876            * @param folderId the folder ID
877            * @return the number of matching document library file shortcuts
878            * @throws SystemException if a system exception occurred
879            */
880            public int countByG_F(long groupId, long folderId)
881                    throws com.liferay.portal.kernel.exception.SystemException;
882    
883            /**
884            * Returns the number of document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63;.
885            *
886            * @param groupId the group ID
887            * @param folderId the folder ID
888            * @return the number of matching document library file shortcuts that the user has permission to view
889            * @throws SystemException if a system exception occurred
890            */
891            public int filterCountByG_F(long groupId, long folderId)
892                    throws com.liferay.portal.kernel.exception.SystemException;
893    
894            /**
895            * Returns all the document library file shortcuts where companyId = &#63; and status &ne; &#63;.
896            *
897            * @param companyId the company ID
898            * @param status the status
899            * @return the matching document library file shortcuts
900            * @throws SystemException if a system exception occurred
901            */
902            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByC_NotS(
903                    long companyId, int status)
904                    throws com.liferay.portal.kernel.exception.SystemException;
905    
906            /**
907            * Returns a range of all the document library file shortcuts where companyId = &#63; and status &ne; &#63;.
908            *
909            * <p>
910            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
911            * </p>
912            *
913            * @param companyId the company ID
914            * @param status the status
915            * @param start the lower bound of the range of document library file shortcuts
916            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
917            * @return the range of matching document library file shortcuts
918            * @throws SystemException if a system exception occurred
919            */
920            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByC_NotS(
921                    long companyId, int status, int start, int end)
922                    throws com.liferay.portal.kernel.exception.SystemException;
923    
924            /**
925            * Returns an ordered range of all the document library file shortcuts where companyId = &#63; and status &ne; &#63;.
926            *
927            * <p>
928            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
929            * </p>
930            *
931            * @param companyId the company ID
932            * @param status the status
933            * @param start the lower bound of the range of document library file shortcuts
934            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
935            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
936            * @return the ordered range of matching document library file shortcuts
937            * @throws SystemException if a system exception occurred
938            */
939            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByC_NotS(
940                    long companyId, int status, int start, int end,
941                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
942                    throws com.liferay.portal.kernel.exception.SystemException;
943    
944            /**
945            * Returns the first document library file shortcut in the ordered set where companyId = &#63; and status &ne; &#63;.
946            *
947            * @param companyId the company ID
948            * @param status the status
949            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
950            * @return the first matching document library file shortcut
951            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
952            * @throws SystemException if a system exception occurred
953            */
954            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByC_NotS_First(
955                    long companyId, int status,
956                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
957                    throws com.liferay.portal.kernel.exception.SystemException,
958                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
959    
960            /**
961            * Returns the first document library file shortcut in the ordered set where companyId = &#63; and status &ne; &#63;.
962            *
963            * @param companyId the company ID
964            * @param status the status
965            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
966            * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
967            * @throws SystemException if a system exception occurred
968            */
969            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByC_NotS_First(
970                    long companyId, int status,
971                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
972                    throws com.liferay.portal.kernel.exception.SystemException;
973    
974            /**
975            * Returns the last document library file shortcut in the ordered set where companyId = &#63; and status &ne; &#63;.
976            *
977            * @param companyId the company ID
978            * @param status the status
979            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
980            * @return the last matching document library file shortcut
981            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
982            * @throws SystemException if a system exception occurred
983            */
984            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByC_NotS_Last(
985                    long companyId, int status,
986                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
987                    throws com.liferay.portal.kernel.exception.SystemException,
988                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
989    
990            /**
991            * Returns the last document library file shortcut in the ordered set where companyId = &#63; and status &ne; &#63;.
992            *
993            * @param companyId the company ID
994            * @param status the status
995            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
996            * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
997            * @throws SystemException if a system exception occurred
998            */
999            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByC_NotS_Last(
1000                    long companyId, int status,
1001                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1002                    throws com.liferay.portal.kernel.exception.SystemException;
1003    
1004            /**
1005            * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where companyId = &#63; and status &ne; &#63;.
1006            *
1007            * @param fileShortcutId the primary key of the current document library file shortcut
1008            * @param companyId the company ID
1009            * @param status the status
1010            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1011            * @return the previous, current, and next document library file shortcut
1012            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
1013            * @throws SystemException if a system exception occurred
1014            */
1015            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByC_NotS_PrevAndNext(
1016                    long fileShortcutId, long companyId, int status,
1017                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1018                    throws com.liferay.portal.kernel.exception.SystemException,
1019                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
1020    
1021            /**
1022            * Removes all the document library file shortcuts where companyId = &#63; and status &ne; &#63; from the database.
1023            *
1024            * @param companyId the company ID
1025            * @param status the status
1026            * @throws SystemException if a system exception occurred
1027            */
1028            public void removeByC_NotS(long companyId, int status)
1029                    throws com.liferay.portal.kernel.exception.SystemException;
1030    
1031            /**
1032            * Returns the number of document library file shortcuts where companyId = &#63; and status &ne; &#63;.
1033            *
1034            * @param companyId the company ID
1035            * @param status the status
1036            * @return the number of matching document library file shortcuts
1037            * @throws SystemException if a system exception occurred
1038            */
1039            public int countByC_NotS(long companyId, int status)
1040                    throws com.liferay.portal.kernel.exception.SystemException;
1041    
1042            /**
1043            * Returns all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63;.
1044            *
1045            * @param groupId the group ID
1046            * @param folderId the folder ID
1047            * @param active the active
1048            * @return the matching document library file shortcuts
1049            * @throws SystemException if a system exception occurred
1050            */
1051            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A(
1052                    long groupId, long folderId, boolean active)
1053                    throws com.liferay.portal.kernel.exception.SystemException;
1054    
1055            /**
1056            * Returns a range of all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63;.
1057            *
1058            * <p>
1059            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1060            * </p>
1061            *
1062            * @param groupId the group ID
1063            * @param folderId the folder ID
1064            * @param active the active
1065            * @param start the lower bound of the range of document library file shortcuts
1066            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
1067            * @return the range of matching document library file shortcuts
1068            * @throws SystemException if a system exception occurred
1069            */
1070            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A(
1071                    long groupId, long folderId, boolean active, int start, int end)
1072                    throws com.liferay.portal.kernel.exception.SystemException;
1073    
1074            /**
1075            * Returns an ordered range of all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63;.
1076            *
1077            * <p>
1078            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1079            * </p>
1080            *
1081            * @param groupId the group ID
1082            * @param folderId the folder ID
1083            * @param active the active
1084            * @param start the lower bound of the range of document library file shortcuts
1085            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
1086            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1087            * @return the ordered range of matching document library file shortcuts
1088            * @throws SystemException if a system exception occurred
1089            */
1090            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A(
1091                    long groupId, long folderId, boolean active, int start, int end,
1092                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1093                    throws com.liferay.portal.kernel.exception.SystemException;
1094    
1095            /**
1096            * Returns the first document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63;.
1097            *
1098            * @param groupId the group ID
1099            * @param folderId the folder ID
1100            * @param active the active
1101            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1102            * @return the first matching document library file shortcut
1103            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
1104            * @throws SystemException if a system exception occurred
1105            */
1106            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_A_First(
1107                    long groupId, long folderId, boolean active,
1108                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1109                    throws com.liferay.portal.kernel.exception.SystemException,
1110                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
1111    
1112            /**
1113            * Returns the first document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63;.
1114            *
1115            * @param groupId the group ID
1116            * @param folderId the folder ID
1117            * @param active the active
1118            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1119            * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
1120            * @throws SystemException if a system exception occurred
1121            */
1122            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_A_First(
1123                    long groupId, long folderId, boolean active,
1124                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1125                    throws com.liferay.portal.kernel.exception.SystemException;
1126    
1127            /**
1128            * Returns the last document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63;.
1129            *
1130            * @param groupId the group ID
1131            * @param folderId the folder ID
1132            * @param active the active
1133            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1134            * @return the last matching document library file shortcut
1135            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
1136            * @throws SystemException if a system exception occurred
1137            */
1138            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_A_Last(
1139                    long groupId, long folderId, boolean active,
1140                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1141                    throws com.liferay.portal.kernel.exception.SystemException,
1142                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
1143    
1144            /**
1145            * Returns the last document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63;.
1146            *
1147            * @param groupId the group ID
1148            * @param folderId the folder ID
1149            * @param active the active
1150            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1151            * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
1152            * @throws SystemException if a system exception occurred
1153            */
1154            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_A_Last(
1155                    long groupId, long folderId, boolean active,
1156                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1157                    throws com.liferay.portal.kernel.exception.SystemException;
1158    
1159            /**
1160            * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63;.
1161            *
1162            * @param fileShortcutId the primary key of the current document library file shortcut
1163            * @param groupId the group ID
1164            * @param folderId the folder ID
1165            * @param active the active
1166            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1167            * @return the previous, current, and next document library file shortcut
1168            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
1169            * @throws SystemException if a system exception occurred
1170            */
1171            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_A_PrevAndNext(
1172                    long fileShortcutId, long groupId, long folderId, boolean active,
1173                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1174                    throws com.liferay.portal.kernel.exception.SystemException,
1175                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
1176    
1177            /**
1178            * Returns all the document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63; and active = &#63;.
1179            *
1180            * @param groupId the group ID
1181            * @param folderId the folder ID
1182            * @param active the active
1183            * @return the matching document library file shortcuts that the user has permission to view
1184            * @throws SystemException if a system exception occurred
1185            */
1186            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A(
1187                    long groupId, long folderId, boolean active)
1188                    throws com.liferay.portal.kernel.exception.SystemException;
1189    
1190            /**
1191            * Returns a range of all the document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63; and active = &#63;.
1192            *
1193            * <p>
1194            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1195            * </p>
1196            *
1197            * @param groupId the group ID
1198            * @param folderId the folder ID
1199            * @param active the active
1200            * @param start the lower bound of the range of document library file shortcuts
1201            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
1202            * @return the range of matching document library file shortcuts that the user has permission to view
1203            * @throws SystemException if a system exception occurred
1204            */
1205            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A(
1206                    long groupId, long folderId, boolean active, int start, int end)
1207                    throws com.liferay.portal.kernel.exception.SystemException;
1208    
1209            /**
1210            * Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = &#63; and folderId = &#63; and active = &#63;.
1211            *
1212            * <p>
1213            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1214            * </p>
1215            *
1216            * @param groupId the group ID
1217            * @param folderId the folder ID
1218            * @param active the active
1219            * @param start the lower bound of the range of document library file shortcuts
1220            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
1221            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1222            * @return the ordered range of matching document library file shortcuts that the user has permission to view
1223            * @throws SystemException if a system exception occurred
1224            */
1225            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A(
1226                    long groupId, long folderId, boolean active, int start, int end,
1227                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1228                    throws com.liferay.portal.kernel.exception.SystemException;
1229    
1230            /**
1231            * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63; and active = &#63;.
1232            *
1233            * @param fileShortcutId the primary key of the current document library file shortcut
1234            * @param groupId the group ID
1235            * @param folderId the folder ID
1236            * @param active the active
1237            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1238            * @return the previous, current, and next document library file shortcut
1239            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
1240            * @throws SystemException if a system exception occurred
1241            */
1242            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] filterFindByG_F_A_PrevAndNext(
1243                    long fileShortcutId, long groupId, long folderId, boolean active,
1244                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1245                    throws com.liferay.portal.kernel.exception.SystemException,
1246                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
1247    
1248            /**
1249            * Removes all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63; from the database.
1250            *
1251            * @param groupId the group ID
1252            * @param folderId the folder ID
1253            * @param active the active
1254            * @throws SystemException if a system exception occurred
1255            */
1256            public void removeByG_F_A(long groupId, long folderId, boolean active)
1257                    throws com.liferay.portal.kernel.exception.SystemException;
1258    
1259            /**
1260            * Returns the number of document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63;.
1261            *
1262            * @param groupId the group ID
1263            * @param folderId the folder ID
1264            * @param active the active
1265            * @return the number of matching document library file shortcuts
1266            * @throws SystemException if a system exception occurred
1267            */
1268            public int countByG_F_A(long groupId, long folderId, boolean active)
1269                    throws com.liferay.portal.kernel.exception.SystemException;
1270    
1271            /**
1272            * Returns the number of document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63; and active = &#63;.
1273            *
1274            * @param groupId the group ID
1275            * @param folderId the folder ID
1276            * @param active the active
1277            * @return the number of matching document library file shortcuts that the user has permission to view
1278            * @throws SystemException if a system exception occurred
1279            */
1280            public int filterCountByG_F_A(long groupId, long folderId, boolean active)
1281                    throws com.liferay.portal.kernel.exception.SystemException;
1282    
1283            /**
1284            * Returns all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1285            *
1286            * @param groupId the group ID
1287            * @param folderId the folder ID
1288            * @param active the active
1289            * @param status the status
1290            * @return the matching document library file shortcuts
1291            * @throws SystemException if a system exception occurred
1292            */
1293            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A_S(
1294                    long groupId, long folderId, boolean active, int status)
1295                    throws com.liferay.portal.kernel.exception.SystemException;
1296    
1297            /**
1298            * Returns a range of all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1299            *
1300            * <p>
1301            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1302            * </p>
1303            *
1304            * @param groupId the group ID
1305            * @param folderId the folder ID
1306            * @param active the active
1307            * @param status the status
1308            * @param start the lower bound of the range of document library file shortcuts
1309            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
1310            * @return the range of matching document library file shortcuts
1311            * @throws SystemException if a system exception occurred
1312            */
1313            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A_S(
1314                    long groupId, long folderId, boolean active, int status, int start,
1315                    int end) throws com.liferay.portal.kernel.exception.SystemException;
1316    
1317            /**
1318            * Returns an ordered range of all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1319            *
1320            * <p>
1321            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1322            * </p>
1323            *
1324            * @param groupId the group ID
1325            * @param folderId the folder ID
1326            * @param active the active
1327            * @param status the status
1328            * @param start the lower bound of the range of document library file shortcuts
1329            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
1330            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1331            * @return the ordered range of matching document library file shortcuts
1332            * @throws SystemException if a system exception occurred
1333            */
1334            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A_S(
1335                    long groupId, long folderId, boolean active, int status, int start,
1336                    int end,
1337                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1338                    throws com.liferay.portal.kernel.exception.SystemException;
1339    
1340            /**
1341            * Returns the first document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1342            *
1343            * @param groupId the group ID
1344            * @param folderId the folder ID
1345            * @param active the active
1346            * @param status the status
1347            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1348            * @return the first matching document library file shortcut
1349            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
1350            * @throws SystemException if a system exception occurred
1351            */
1352            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_A_S_First(
1353                    long groupId, long folderId, boolean active, int status,
1354                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1355                    throws com.liferay.portal.kernel.exception.SystemException,
1356                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
1357    
1358            /**
1359            * Returns the first document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1360            *
1361            * @param groupId the group ID
1362            * @param folderId the folder ID
1363            * @param active the active
1364            * @param status the status
1365            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1366            * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
1367            * @throws SystemException if a system exception occurred
1368            */
1369            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_A_S_First(
1370                    long groupId, long folderId, boolean active, int status,
1371                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1372                    throws com.liferay.portal.kernel.exception.SystemException;
1373    
1374            /**
1375            * Returns the last document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1376            *
1377            * @param groupId the group ID
1378            * @param folderId the folder ID
1379            * @param active the active
1380            * @param status the status
1381            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1382            * @return the last matching document library file shortcut
1383            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
1384            * @throws SystemException if a system exception occurred
1385            */
1386            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_A_S_Last(
1387                    long groupId, long folderId, boolean active, int status,
1388                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1389                    throws com.liferay.portal.kernel.exception.SystemException,
1390                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
1391    
1392            /**
1393            * Returns the last document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1394            *
1395            * @param groupId the group ID
1396            * @param folderId the folder ID
1397            * @param active the active
1398            * @param status the status
1399            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1400            * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
1401            * @throws SystemException if a system exception occurred
1402            */
1403            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_A_S_Last(
1404                    long groupId, long folderId, boolean active, int status,
1405                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1406                    throws com.liferay.portal.kernel.exception.SystemException;
1407    
1408            /**
1409            * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1410            *
1411            * @param fileShortcutId the primary key of the current document library file shortcut
1412            * @param groupId the group ID
1413            * @param folderId the folder ID
1414            * @param active the active
1415            * @param status the status
1416            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1417            * @return the previous, current, and next document library file shortcut
1418            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
1419            * @throws SystemException if a system exception occurred
1420            */
1421            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_A_S_PrevAndNext(
1422                    long fileShortcutId, long groupId, long folderId, boolean active,
1423                    int status,
1424                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1425                    throws com.liferay.portal.kernel.exception.SystemException,
1426                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
1427    
1428            /**
1429            * Returns all the document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1430            *
1431            * @param groupId the group ID
1432            * @param folderId the folder ID
1433            * @param active the active
1434            * @param status the status
1435            * @return the matching document library file shortcuts that the user has permission to view
1436            * @throws SystemException if a system exception occurred
1437            */
1438            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A_S(
1439                    long groupId, long folderId, boolean active, int status)
1440                    throws com.liferay.portal.kernel.exception.SystemException;
1441    
1442            /**
1443            * Returns a range of all the document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1444            *
1445            * <p>
1446            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1447            * </p>
1448            *
1449            * @param groupId the group ID
1450            * @param folderId the folder ID
1451            * @param active the active
1452            * @param status the status
1453            * @param start the lower bound of the range of document library file shortcuts
1454            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
1455            * @return the range of matching document library file shortcuts that the user has permission to view
1456            * @throws SystemException if a system exception occurred
1457            */
1458            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A_S(
1459                    long groupId, long folderId, boolean active, int status, int start,
1460                    int end) throws com.liferay.portal.kernel.exception.SystemException;
1461    
1462            /**
1463            * Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1464            *
1465            * <p>
1466            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1467            * </p>
1468            *
1469            * @param groupId the group ID
1470            * @param folderId the folder ID
1471            * @param active the active
1472            * @param status the status
1473            * @param start the lower bound of the range of document library file shortcuts
1474            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
1475            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1476            * @return the ordered range of matching document library file shortcuts that the user has permission to view
1477            * @throws SystemException if a system exception occurred
1478            */
1479            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A_S(
1480                    long groupId, long folderId, boolean active, int status, int start,
1481                    int end,
1482                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1483                    throws com.liferay.portal.kernel.exception.SystemException;
1484    
1485            /**
1486            * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1487            *
1488            * @param fileShortcutId the primary key of the current document library file shortcut
1489            * @param groupId the group ID
1490            * @param folderId the folder ID
1491            * @param active the active
1492            * @param status the status
1493            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1494            * @return the previous, current, and next document library file shortcut
1495            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
1496            * @throws SystemException if a system exception occurred
1497            */
1498            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] filterFindByG_F_A_S_PrevAndNext(
1499                    long fileShortcutId, long groupId, long folderId, boolean active,
1500                    int status,
1501                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1502                    throws com.liferay.portal.kernel.exception.SystemException,
1503                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
1504    
1505            /**
1506            * Removes all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63; from the database.
1507            *
1508            * @param groupId the group ID
1509            * @param folderId the folder ID
1510            * @param active the active
1511            * @param status the status
1512            * @throws SystemException if a system exception occurred
1513            */
1514            public void removeByG_F_A_S(long groupId, long folderId, boolean active,
1515                    int status) throws com.liferay.portal.kernel.exception.SystemException;
1516    
1517            /**
1518            * Returns the number of document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1519            *
1520            * @param groupId the group ID
1521            * @param folderId the folder ID
1522            * @param active the active
1523            * @param status the status
1524            * @return the number of matching document library file shortcuts
1525            * @throws SystemException if a system exception occurred
1526            */
1527            public int countByG_F_A_S(long groupId, long folderId, boolean active,
1528                    int status) throws com.liferay.portal.kernel.exception.SystemException;
1529    
1530            /**
1531            * Returns the number of document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1532            *
1533            * @param groupId the group ID
1534            * @param folderId the folder ID
1535            * @param active the active
1536            * @param status the status
1537            * @return the number of matching document library file shortcuts that the user has permission to view
1538            * @throws SystemException if a system exception occurred
1539            */
1540            public int filterCountByG_F_A_S(long groupId, long folderId,
1541                    boolean active, int status)
1542                    throws com.liferay.portal.kernel.exception.SystemException;
1543    
1544            /**
1545            * Caches the document library file shortcut in the entity cache if it is enabled.
1546            *
1547            * @param dlFileShortcut the document library file shortcut
1548            */
1549            public void cacheResult(
1550                    com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut);
1551    
1552            /**
1553            * Caches the document library file shortcuts in the entity cache if it is enabled.
1554            *
1555            * @param dlFileShortcuts the document library file shortcuts
1556            */
1557            public void cacheResult(
1558                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> dlFileShortcuts);
1559    
1560            /**
1561            * Creates a new document library file shortcut with the primary key. Does not add the document library file shortcut to the database.
1562            *
1563            * @param fileShortcutId the primary key for the new document library file shortcut
1564            * @return the new document library file shortcut
1565            */
1566            public com.liferay.portlet.documentlibrary.model.DLFileShortcut create(
1567                    long fileShortcutId);
1568    
1569            /**
1570            * Removes the document library file shortcut with the primary key from the database. Also notifies the appropriate model listeners.
1571            *
1572            * @param fileShortcutId the primary key of the document library file shortcut
1573            * @return the document library file shortcut that was removed
1574            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
1575            * @throws SystemException if a system exception occurred
1576            */
1577            public com.liferay.portlet.documentlibrary.model.DLFileShortcut remove(
1578                    long fileShortcutId)
1579                    throws com.liferay.portal.kernel.exception.SystemException,
1580                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
1581    
1582            public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateImpl(
1583                    com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
1584                    throws com.liferay.portal.kernel.exception.SystemException;
1585    
1586            /**
1587            * Returns the document library file shortcut with the primary key or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileShortcutException} if it could not be found.
1588            *
1589            * @param fileShortcutId the primary key of the document library file shortcut
1590            * @return the document library file shortcut
1591            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
1592            * @throws SystemException if a system exception occurred
1593            */
1594            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByPrimaryKey(
1595                    long fileShortcutId)
1596                    throws com.liferay.portal.kernel.exception.SystemException,
1597                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
1598    
1599            /**
1600            * Returns the document library file shortcut with the primary key or returns <code>null</code> if it could not be found.
1601            *
1602            * @param fileShortcutId the primary key of the document library file shortcut
1603            * @return the document library file shortcut, or <code>null</code> if a document library file shortcut with the primary key could not be found
1604            * @throws SystemException if a system exception occurred
1605            */
1606            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByPrimaryKey(
1607                    long fileShortcutId)
1608                    throws com.liferay.portal.kernel.exception.SystemException;
1609    
1610            /**
1611            * Returns all the document library file shortcuts.
1612            *
1613            * @return the document library file shortcuts
1614            * @throws SystemException if a system exception occurred
1615            */
1616            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll()
1617                    throws com.liferay.portal.kernel.exception.SystemException;
1618    
1619            /**
1620            * Returns a range of all the document library file shortcuts.
1621            *
1622            * <p>
1623            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1624            * </p>
1625            *
1626            * @param start the lower bound of the range of document library file shortcuts
1627            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
1628            * @return the range of document library file shortcuts
1629            * @throws SystemException if a system exception occurred
1630            */
1631            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll(
1632                    int start, int end)
1633                    throws com.liferay.portal.kernel.exception.SystemException;
1634    
1635            /**
1636            * Returns an ordered range of all the document library file shortcuts.
1637            *
1638            * <p>
1639            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1640            * </p>
1641            *
1642            * @param start the lower bound of the range of document library file shortcuts
1643            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
1644            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1645            * @return the ordered range of document library file shortcuts
1646            * @throws SystemException if a system exception occurred
1647            */
1648            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll(
1649                    int start, int end,
1650                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1651                    throws com.liferay.portal.kernel.exception.SystemException;
1652    
1653            /**
1654            * Removes all the document library file shortcuts from the database.
1655            *
1656            * @throws SystemException if a system exception occurred
1657            */
1658            public void removeAll()
1659                    throws com.liferay.portal.kernel.exception.SystemException;
1660    
1661            /**
1662            * Returns the number of document library file shortcuts.
1663            *
1664            * @return the number of document library file shortcuts
1665            * @throws SystemException if a system exception occurred
1666            */
1667            public int countAll()
1668                    throws com.liferay.portal.kernel.exception.SystemException;
1669    }