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