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 toFileEntryId = &#63;.
391            *
392            * @param toFileEntryId the to file entry 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> findByToFileEntryId(
397                    long toFileEntryId)
398                    throws com.liferay.portal.kernel.exception.SystemException;
399    
400            /**
401            * Returns a range of all the document library file shortcuts where toFileEntryId = &#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 toFileEntryId the to file entry 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> findByToFileEntryId(
414                    long toFileEntryId, 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 toFileEntryId = &#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 toFileEntryId the to file entry 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> findByToFileEntryId(
432                    long toFileEntryId, 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 toFileEntryId = &#63;.
438            *
439            * @param toFileEntryId the to file entry 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 findByToFileEntryId_First(
446                    long toFileEntryId,
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 toFileEntryId = &#63;.
453            *
454            * @param toFileEntryId the to file entry 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 fetchByToFileEntryId_First(
460                    long toFileEntryId,
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 toFileEntryId = &#63;.
466            *
467            * @param toFileEntryId the to file entry 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 findByToFileEntryId_Last(
474                    long toFileEntryId,
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 toFileEntryId = &#63;.
481            *
482            * @param toFileEntryId the to file entry 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 fetchByToFileEntryId_Last(
488                    long toFileEntryId,
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 toFileEntryId = &#63;.
494            *
495            * @param fileShortcutId the primary key of the current document library file shortcut
496            * @param toFileEntryId the to file entry 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[] findByToFileEntryId_PrevAndNext(
503                    long fileShortcutId, long toFileEntryId,
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 toFileEntryId = &#63; from the database.
510            *
511            * @param toFileEntryId the to file entry ID
512            * @throws SystemException if a system exception occurred
513            */
514            public void removeByToFileEntryId(long toFileEntryId)
515                    throws com.liferay.portal.kernel.exception.SystemException;
516    
517            /**
518            * Returns the number of document library file shortcuts where toFileEntryId = &#63;.
519            *
520            * @param toFileEntryId the to file entry ID
521            * @return the number of matching document library file shortcuts
522            * @throws SystemException if a system exception occurred
523            */
524            public int countByToFileEntryId(long toFileEntryId)
525                    throws com.liferay.portal.kernel.exception.SystemException;
526    
527            /**
528            * Returns all the document library file shortcuts where groupId = &#63; and folderId = &#63;.
529            *
530            * @param groupId the group ID
531            * @param folderId the folder ID
532            * @return the matching document library file shortcuts
533            * @throws SystemException if a system exception occurred
534            */
535            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F(
536                    long groupId, long folderId)
537                    throws com.liferay.portal.kernel.exception.SystemException;
538    
539            /**
540            * Returns a range of all the document library file shortcuts where groupId = &#63; and folderId = &#63;.
541            *
542            * <p>
543            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 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.
544            * </p>
545            *
546            * @param groupId the group ID
547            * @param folderId the folder ID
548            * @param start the lower bound of the range of document library file shortcuts
549            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
550            * @return the range of matching document library file shortcuts
551            * @throws SystemException if a system exception occurred
552            */
553            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F(
554                    long groupId, long folderId, int start, int end)
555                    throws com.liferay.portal.kernel.exception.SystemException;
556    
557            /**
558            * Returns an ordered range of all the document library file shortcuts where groupId = &#63; and folderId = &#63;.
559            *
560            * <p>
561            * 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.
562            * </p>
563            *
564            * @param groupId the group ID
565            * @param folderId the folder ID
566            * @param start the lower bound of the range of document library file shortcuts
567            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
568            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
569            * @return the ordered range of matching document library file shortcuts
570            * @throws SystemException if a system exception occurred
571            */
572            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F(
573                    long groupId, long folderId, int start, int end,
574                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
575                    throws com.liferay.portal.kernel.exception.SystemException;
576    
577            /**
578            * Returns the first document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63;.
579            *
580            * @param groupId the group ID
581            * @param folderId the folder ID
582            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
583            * @return the first matching document library file shortcut
584            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
585            * @throws SystemException if a system exception occurred
586            */
587            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_First(
588                    long groupId, long folderId,
589                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
590                    throws com.liferay.portal.kernel.exception.SystemException,
591                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
592    
593            /**
594            * Returns the first document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63;.
595            *
596            * @param groupId the group ID
597            * @param folderId the folder ID
598            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
599            * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
600            * @throws SystemException if a system exception occurred
601            */
602            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_First(
603                    long groupId, long folderId,
604                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
605                    throws com.liferay.portal.kernel.exception.SystemException;
606    
607            /**
608            * Returns the last document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63;.
609            *
610            * @param groupId the group ID
611            * @param folderId the folder ID
612            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
613            * @return the last matching document library file shortcut
614            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
615            * @throws SystemException if a system exception occurred
616            */
617            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_Last(
618                    long groupId, long folderId,
619                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
620                    throws com.liferay.portal.kernel.exception.SystemException,
621                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
622    
623            /**
624            * Returns the last document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63;.
625            *
626            * @param groupId the group ID
627            * @param folderId the folder ID
628            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
629            * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
630            * @throws SystemException if a system exception occurred
631            */
632            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_Last(
633                    long groupId, long folderId,
634                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
635                    throws com.liferay.portal.kernel.exception.SystemException;
636    
637            /**
638            * 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;.
639            *
640            * @param fileShortcutId the primary key of the current document library file shortcut
641            * @param groupId the group ID
642            * @param folderId the folder ID
643            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
644            * @return the previous, current, and next document library file shortcut
645            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
646            * @throws SystemException if a system exception occurred
647            */
648            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_PrevAndNext(
649                    long fileShortcutId, long groupId, long folderId,
650                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
651                    throws com.liferay.portal.kernel.exception.SystemException,
652                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
653    
654            /**
655            * Returns all the document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63;.
656            *
657            * @param groupId the group ID
658            * @param folderId the folder ID
659            * @return the matching document library file shortcuts that the user has permission to view
660            * @throws SystemException if a system exception occurred
661            */
662            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F(
663                    long groupId, long folderId)
664                    throws com.liferay.portal.kernel.exception.SystemException;
665    
666            /**
667            * Returns a range of all the document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63;.
668            *
669            * <p>
670            * 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.
671            * </p>
672            *
673            * @param groupId the group ID
674            * @param folderId the folder ID
675            * @param start the lower bound of the range of document library file shortcuts
676            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
677            * @return the range of matching document library file shortcuts that the user has permission to view
678            * @throws SystemException if a system exception occurred
679            */
680            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F(
681                    long groupId, long folderId, int start, int end)
682                    throws com.liferay.portal.kernel.exception.SystemException;
683    
684            /**
685            * Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = &#63; and folderId = &#63;.
686            *
687            * <p>
688            * 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.
689            * </p>
690            *
691            * @param groupId the group ID
692            * @param folderId the folder ID
693            * @param start the lower bound of the range of document library file shortcuts
694            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
695            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
696            * @return the ordered range of matching document library file shortcuts that the user has permission to view
697            * @throws SystemException if a system exception occurred
698            */
699            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F(
700                    long groupId, long folderId, int start, int end,
701                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
702                    throws com.liferay.portal.kernel.exception.SystemException;
703    
704            /**
705            * 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;.
706            *
707            * @param fileShortcutId the primary key of the current document library file shortcut
708            * @param groupId the group ID
709            * @param folderId the folder ID
710            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
711            * @return the previous, current, and next document library file shortcut
712            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
713            * @throws SystemException if a system exception occurred
714            */
715            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] filterFindByG_F_PrevAndNext(
716                    long fileShortcutId, long groupId, long folderId,
717                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
718                    throws com.liferay.portal.kernel.exception.SystemException,
719                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
720    
721            /**
722            * Removes all the document library file shortcuts where groupId = &#63; and folderId = &#63; from the database.
723            *
724            * @param groupId the group ID
725            * @param folderId the folder ID
726            * @throws SystemException if a system exception occurred
727            */
728            public void removeByG_F(long groupId, long folderId)
729                    throws com.liferay.portal.kernel.exception.SystemException;
730    
731            /**
732            * Returns the number of document library file shortcuts where groupId = &#63; and folderId = &#63;.
733            *
734            * @param groupId the group ID
735            * @param folderId the folder ID
736            * @return the number of matching document library file shortcuts
737            * @throws SystemException if a system exception occurred
738            */
739            public int countByG_F(long groupId, long folderId)
740                    throws com.liferay.portal.kernel.exception.SystemException;
741    
742            /**
743            * Returns the number of document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63;.
744            *
745            * @param groupId the group ID
746            * @param folderId the folder ID
747            * @return the number of matching document library file shortcuts that the user has permission to view
748            * @throws SystemException if a system exception occurred
749            */
750            public int filterCountByG_F(long groupId, long folderId)
751                    throws com.liferay.portal.kernel.exception.SystemException;
752    
753            /**
754            * Returns all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63;.
755            *
756            * @param groupId the group ID
757            * @param folderId the folder ID
758            * @param active the active
759            * @return the matching document library file shortcuts
760            * @throws SystemException if a system exception occurred
761            */
762            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A(
763                    long groupId, long folderId, boolean active)
764                    throws com.liferay.portal.kernel.exception.SystemException;
765    
766            /**
767            * Returns a range of all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63;.
768            *
769            * <p>
770            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 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.
771            * </p>
772            *
773            * @param groupId the group ID
774            * @param folderId the folder ID
775            * @param active the active
776            * @param start the lower bound of the range of document library file shortcuts
777            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
778            * @return the range of matching document library file shortcuts
779            * @throws SystemException if a system exception occurred
780            */
781            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A(
782                    long groupId, long folderId, boolean active, int start, int end)
783                    throws com.liferay.portal.kernel.exception.SystemException;
784    
785            /**
786            * Returns an ordered range of all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63;.
787            *
788            * <p>
789            * 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.
790            * </p>
791            *
792            * @param groupId the group ID
793            * @param folderId the folder ID
794            * @param active the active
795            * @param start the lower bound of the range of document library file shortcuts
796            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
797            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
798            * @return the ordered range of matching document library file shortcuts
799            * @throws SystemException if a system exception occurred
800            */
801            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A(
802                    long groupId, long folderId, boolean active, int start, int end,
803                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
804                    throws com.liferay.portal.kernel.exception.SystemException;
805    
806            /**
807            * Returns the first document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63;.
808            *
809            * @param groupId the group ID
810            * @param folderId the folder ID
811            * @param active the active
812            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
813            * @return the first matching document library file shortcut
814            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
815            * @throws SystemException if a system exception occurred
816            */
817            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_A_First(
818                    long groupId, long folderId, boolean active,
819                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
820                    throws com.liferay.portal.kernel.exception.SystemException,
821                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
822    
823            /**
824            * Returns the first document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63;.
825            *
826            * @param groupId the group ID
827            * @param folderId the folder ID
828            * @param active the active
829            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
830            * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
831            * @throws SystemException if a system exception occurred
832            */
833            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_A_First(
834                    long groupId, long folderId, boolean active,
835                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
836                    throws com.liferay.portal.kernel.exception.SystemException;
837    
838            /**
839            * Returns the last document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63;.
840            *
841            * @param groupId the group ID
842            * @param folderId the folder ID
843            * @param active the active
844            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
845            * @return the last matching document library file shortcut
846            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
847            * @throws SystemException if a system exception occurred
848            */
849            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_A_Last(
850                    long groupId, long folderId, boolean active,
851                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
852                    throws com.liferay.portal.kernel.exception.SystemException,
853                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
854    
855            /**
856            * Returns the last document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63;.
857            *
858            * @param groupId the group ID
859            * @param folderId the folder ID
860            * @param active the active
861            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
862            * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
863            * @throws SystemException if a system exception occurred
864            */
865            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_A_Last(
866                    long groupId, long folderId, boolean active,
867                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
868                    throws com.liferay.portal.kernel.exception.SystemException;
869    
870            /**
871            * 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;.
872            *
873            * @param fileShortcutId the primary key of the current document library file shortcut
874            * @param groupId the group ID
875            * @param folderId the folder ID
876            * @param active the active
877            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
878            * @return the previous, current, and next document library file shortcut
879            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
880            * @throws SystemException if a system exception occurred
881            */
882            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_A_PrevAndNext(
883                    long fileShortcutId, long groupId, long folderId, boolean active,
884                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
885                    throws com.liferay.portal.kernel.exception.SystemException,
886                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
887    
888            /**
889            * Returns all the document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63; and active = &#63;.
890            *
891            * @param groupId the group ID
892            * @param folderId the folder ID
893            * @param active the active
894            * @return the matching document library file shortcuts that the user has permission to view
895            * @throws SystemException if a system exception occurred
896            */
897            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A(
898                    long groupId, long folderId, boolean active)
899                    throws com.liferay.portal.kernel.exception.SystemException;
900    
901            /**
902            * 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;.
903            *
904            * <p>
905            * 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.
906            * </p>
907            *
908            * @param groupId the group ID
909            * @param folderId the folder ID
910            * @param active the active
911            * @param start the lower bound of the range of document library file shortcuts
912            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
913            * @return the range of matching document library file shortcuts that the user has permission to view
914            * @throws SystemException if a system exception occurred
915            */
916            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A(
917                    long groupId, long folderId, boolean active, int start, int end)
918                    throws com.liferay.portal.kernel.exception.SystemException;
919    
920            /**
921            * 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;.
922            *
923            * <p>
924            * 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.
925            * </p>
926            *
927            * @param groupId the group ID
928            * @param folderId the folder ID
929            * @param active the active
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 that the user has permission to view
934            * @throws SystemException if a system exception occurred
935            */
936            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A(
937                    long groupId, long folderId, boolean active, 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 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;.
943            *
944            * @param fileShortcutId the primary key of the current document library file shortcut
945            * @param groupId the group ID
946            * @param folderId the folder ID
947            * @param active the active
948            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
949            * @return the previous, current, and next document library file shortcut
950            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
951            * @throws SystemException if a system exception occurred
952            */
953            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] filterFindByG_F_A_PrevAndNext(
954                    long fileShortcutId, long groupId, long folderId, boolean active,
955                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
956                    throws com.liferay.portal.kernel.exception.SystemException,
957                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
958    
959            /**
960            * Removes all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63; from the database.
961            *
962            * @param groupId the group ID
963            * @param folderId the folder ID
964            * @param active the active
965            * @throws SystemException if a system exception occurred
966            */
967            public void removeByG_F_A(long groupId, long folderId, boolean active)
968                    throws com.liferay.portal.kernel.exception.SystemException;
969    
970            /**
971            * Returns the number of document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63;.
972            *
973            * @param groupId the group ID
974            * @param folderId the folder ID
975            * @param active the active
976            * @return the number of matching document library file shortcuts
977            * @throws SystemException if a system exception occurred
978            */
979            public int countByG_F_A(long groupId, long folderId, boolean active)
980                    throws com.liferay.portal.kernel.exception.SystemException;
981    
982            /**
983            * Returns the number of document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63; and active = &#63;.
984            *
985            * @param groupId the group ID
986            * @param folderId the folder ID
987            * @param active the active
988            * @return the number of matching document library file shortcuts that the user has permission to view
989            * @throws SystemException if a system exception occurred
990            */
991            public int filterCountByG_F_A(long groupId, long folderId, boolean active)
992                    throws com.liferay.portal.kernel.exception.SystemException;
993    
994            /**
995            * Returns all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
996            *
997            * @param groupId the group ID
998            * @param folderId the folder ID
999            * @param active the active
1000            * @param status the status
1001            * @return the matching document library file shortcuts
1002            * @throws SystemException if a system exception occurred
1003            */
1004            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A_S(
1005                    long groupId, long folderId, boolean active, int status)
1006                    throws com.liferay.portal.kernel.exception.SystemException;
1007    
1008            /**
1009            * Returns a range of all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1010            *
1011            * <p>
1012            * 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.
1013            * </p>
1014            *
1015            * @param groupId the group ID
1016            * @param folderId the folder ID
1017            * @param active the active
1018            * @param status the status
1019            * @param start the lower bound of the range of document library file shortcuts
1020            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
1021            * @return the range of matching document library file shortcuts
1022            * @throws SystemException if a system exception occurred
1023            */
1024            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A_S(
1025                    long groupId, long folderId, boolean active, int status, int start,
1026                    int end) throws com.liferay.portal.kernel.exception.SystemException;
1027    
1028            /**
1029            * Returns an ordered range of all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1030            *
1031            * <p>
1032            * 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.
1033            * </p>
1034            *
1035            * @param groupId the group ID
1036            * @param folderId the folder ID
1037            * @param active the active
1038            * @param status the status
1039            * @param start the lower bound of the range of document library file shortcuts
1040            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
1041            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1042            * @return the ordered range of matching document library file shortcuts
1043            * @throws SystemException if a system exception occurred
1044            */
1045            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A_S(
1046                    long groupId, long folderId, boolean active, int status, int start,
1047                    int end,
1048                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1049                    throws com.liferay.portal.kernel.exception.SystemException;
1050    
1051            /**
1052            * Returns the first document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1053            *
1054            * @param groupId the group ID
1055            * @param folderId the folder ID
1056            * @param active the active
1057            * @param status the status
1058            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1059            * @return the first matching document library file shortcut
1060            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
1061            * @throws SystemException if a system exception occurred
1062            */
1063            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_A_S_First(
1064                    long groupId, long folderId, boolean active, int status,
1065                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1066                    throws com.liferay.portal.kernel.exception.SystemException,
1067                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
1068    
1069            /**
1070            * Returns the first document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1071            *
1072            * @param groupId the group ID
1073            * @param folderId the folder ID
1074            * @param active the active
1075            * @param status the status
1076            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1077            * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
1078            * @throws SystemException if a system exception occurred
1079            */
1080            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_A_S_First(
1081                    long groupId, long folderId, boolean active, int status,
1082                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1083                    throws com.liferay.portal.kernel.exception.SystemException;
1084    
1085            /**
1086            * Returns the last document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1087            *
1088            * @param groupId the group ID
1089            * @param folderId the folder ID
1090            * @param active the active
1091            * @param status the status
1092            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1093            * @return the last matching document library file shortcut
1094            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
1095            * @throws SystemException if a system exception occurred
1096            */
1097            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_A_S_Last(
1098                    long groupId, long folderId, boolean active, int status,
1099                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1100                    throws com.liferay.portal.kernel.exception.SystemException,
1101                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
1102    
1103            /**
1104            * Returns the last document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1105            *
1106            * @param groupId the group ID
1107            * @param folderId the folder ID
1108            * @param active the active
1109            * @param status the status
1110            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1111            * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
1112            * @throws SystemException if a system exception occurred
1113            */
1114            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_A_S_Last(
1115                    long groupId, long folderId, boolean active, int status,
1116                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1117                    throws com.liferay.portal.kernel.exception.SystemException;
1118    
1119            /**
1120            * 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;.
1121            *
1122            * @param fileShortcutId the primary key of the current document library file shortcut
1123            * @param groupId the group ID
1124            * @param folderId the folder ID
1125            * @param active the active
1126            * @param status the status
1127            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1128            * @return the previous, current, and next document library file shortcut
1129            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
1130            * @throws SystemException if a system exception occurred
1131            */
1132            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_A_S_PrevAndNext(
1133                    long fileShortcutId, long groupId, long folderId, boolean active,
1134                    int status,
1135                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1136                    throws com.liferay.portal.kernel.exception.SystemException,
1137                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
1138    
1139            /**
1140            * 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;.
1141            *
1142            * @param groupId the group ID
1143            * @param folderId the folder ID
1144            * @param active the active
1145            * @param status the status
1146            * @return the matching document library file shortcuts that the user has permission to view
1147            * @throws SystemException if a system exception occurred
1148            */
1149            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A_S(
1150                    long groupId, long folderId, boolean active, int status)
1151                    throws com.liferay.portal.kernel.exception.SystemException;
1152    
1153            /**
1154            * 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;.
1155            *
1156            * <p>
1157            * 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.
1158            * </p>
1159            *
1160            * @param groupId the group ID
1161            * @param folderId the folder ID
1162            * @param active the active
1163            * @param status the status
1164            * @param start the lower bound of the range of document library file shortcuts
1165            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
1166            * @return the range of matching document library file shortcuts that the user has permission to view
1167            * @throws SystemException if a system exception occurred
1168            */
1169            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A_S(
1170                    long groupId, long folderId, boolean active, int status, int start,
1171                    int end) throws com.liferay.portal.kernel.exception.SystemException;
1172    
1173            /**
1174            * 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;.
1175            *
1176            * <p>
1177            * 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.
1178            * </p>
1179            *
1180            * @param groupId the group ID
1181            * @param folderId the folder ID
1182            * @param active the active
1183            * @param status the status
1184            * @param start the lower bound of the range of document library file shortcuts
1185            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
1186            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1187            * @return the ordered range of matching document library file shortcuts that the user has permission to view
1188            * @throws SystemException if a system exception occurred
1189            */
1190            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A_S(
1191                    long groupId, long folderId, boolean active, int status, int start,
1192                    int end,
1193                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1194                    throws com.liferay.portal.kernel.exception.SystemException;
1195    
1196            /**
1197            * 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;.
1198            *
1199            * @param fileShortcutId the primary key of the current document library file shortcut
1200            * @param groupId the group ID
1201            * @param folderId the folder ID
1202            * @param active the active
1203            * @param status the status
1204            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1205            * @return the previous, current, and next document library file shortcut
1206            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
1207            * @throws SystemException if a system exception occurred
1208            */
1209            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] filterFindByG_F_A_S_PrevAndNext(
1210                    long fileShortcutId, long groupId, long folderId, boolean active,
1211                    int status,
1212                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1213                    throws com.liferay.portal.kernel.exception.SystemException,
1214                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
1215    
1216            /**
1217            * Removes all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63; from the database.
1218            *
1219            * @param groupId the group ID
1220            * @param folderId the folder ID
1221            * @param active the active
1222            * @param status the status
1223            * @throws SystemException if a system exception occurred
1224            */
1225            public void removeByG_F_A_S(long groupId, long folderId, boolean active,
1226                    int status) throws com.liferay.portal.kernel.exception.SystemException;
1227    
1228            /**
1229            * Returns the number of document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1230            *
1231            * @param groupId the group ID
1232            * @param folderId the folder ID
1233            * @param active the active
1234            * @param status the status
1235            * @return the number of matching document library file shortcuts
1236            * @throws SystemException if a system exception occurred
1237            */
1238            public int countByG_F_A_S(long groupId, long folderId, boolean active,
1239                    int status) throws com.liferay.portal.kernel.exception.SystemException;
1240    
1241            /**
1242            * 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;.
1243            *
1244            * @param groupId the group ID
1245            * @param folderId the folder ID
1246            * @param active the active
1247            * @param status the status
1248            * @return the number of matching document library file shortcuts that the user has permission to view
1249            * @throws SystemException if a system exception occurred
1250            */
1251            public int filterCountByG_F_A_S(long groupId, long folderId,
1252                    boolean active, int status)
1253                    throws com.liferay.portal.kernel.exception.SystemException;
1254    
1255            /**
1256            * Caches the document library file shortcut in the entity cache if it is enabled.
1257            *
1258            * @param dlFileShortcut the document library file shortcut
1259            */
1260            public void cacheResult(
1261                    com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut);
1262    
1263            /**
1264            * Caches the document library file shortcuts in the entity cache if it is enabled.
1265            *
1266            * @param dlFileShortcuts the document library file shortcuts
1267            */
1268            public void cacheResult(
1269                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> dlFileShortcuts);
1270    
1271            /**
1272            * Creates a new document library file shortcut with the primary key. Does not add the document library file shortcut to the database.
1273            *
1274            * @param fileShortcutId the primary key for the new document library file shortcut
1275            * @return the new document library file shortcut
1276            */
1277            public com.liferay.portlet.documentlibrary.model.DLFileShortcut create(
1278                    long fileShortcutId);
1279    
1280            /**
1281            * Removes the document library file shortcut with the primary key from the database. Also notifies the appropriate model listeners.
1282            *
1283            * @param fileShortcutId the primary key of the document library file shortcut
1284            * @return the document library file shortcut that was removed
1285            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
1286            * @throws SystemException if a system exception occurred
1287            */
1288            public com.liferay.portlet.documentlibrary.model.DLFileShortcut remove(
1289                    long fileShortcutId)
1290                    throws com.liferay.portal.kernel.exception.SystemException,
1291                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
1292    
1293            public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateImpl(
1294                    com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
1295                    throws com.liferay.portal.kernel.exception.SystemException;
1296    
1297            /**
1298            * 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.
1299            *
1300            * @param fileShortcutId the primary key of the document library file shortcut
1301            * @return the document library file shortcut
1302            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
1303            * @throws SystemException if a system exception occurred
1304            */
1305            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByPrimaryKey(
1306                    long fileShortcutId)
1307                    throws com.liferay.portal.kernel.exception.SystemException,
1308                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
1309    
1310            /**
1311            * Returns the document library file shortcut with the primary key or returns <code>null</code> if it could not be found.
1312            *
1313            * @param fileShortcutId the primary key of the document library file shortcut
1314            * @return the document library file shortcut, or <code>null</code> if a document library file shortcut with the primary key could not be found
1315            * @throws SystemException if a system exception occurred
1316            */
1317            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByPrimaryKey(
1318                    long fileShortcutId)
1319                    throws com.liferay.portal.kernel.exception.SystemException;
1320    
1321            /**
1322            * Returns all the document library file shortcuts.
1323            *
1324            * @return the document library file shortcuts
1325            * @throws SystemException if a system exception occurred
1326            */
1327            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll()
1328                    throws com.liferay.portal.kernel.exception.SystemException;
1329    
1330            /**
1331            * Returns a range of all the document library file shortcuts.
1332            *
1333            * <p>
1334            * 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.
1335            * </p>
1336            *
1337            * @param start the lower bound of the range of document library file shortcuts
1338            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
1339            * @return the range of document library file shortcuts
1340            * @throws SystemException if a system exception occurred
1341            */
1342            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll(
1343                    int start, int end)
1344                    throws com.liferay.portal.kernel.exception.SystemException;
1345    
1346            /**
1347            * Returns an ordered range of all the document library file shortcuts.
1348            *
1349            * <p>
1350            * 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.
1351            * </p>
1352            *
1353            * @param start the lower bound of the range of document library file shortcuts
1354            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
1355            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1356            * @return the ordered range of document library file shortcuts
1357            * @throws SystemException if a system exception occurred
1358            */
1359            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll(
1360                    int start, int end,
1361                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1362                    throws com.liferay.portal.kernel.exception.SystemException;
1363    
1364            /**
1365            * Removes all the document library file shortcuts from the database.
1366            *
1367            * @throws SystemException if a system exception occurred
1368            */
1369            public void removeAll()
1370                    throws com.liferay.portal.kernel.exception.SystemException;
1371    
1372            /**
1373            * Returns the number of document library file shortcuts.
1374            *
1375            * @return the number of document library file shortcuts
1376            * @throws SystemException if a system exception occurred
1377            */
1378            public int countAll()
1379                    throws com.liferay.portal.kernel.exception.SystemException;
1380    }