001    /**
002     * Copyright (c) 2000-2012 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            * Caches the document library file shortcut in the entity cache if it is enabled.
042            *
043            * @param dlFileShortcut the document library file shortcut
044            */
045            public void cacheResult(
046                    com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut);
047    
048            /**
049            * Caches the document library file shortcuts in the entity cache if it is enabled.
050            *
051            * @param dlFileShortcuts the document library file shortcuts
052            */
053            public void cacheResult(
054                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> dlFileShortcuts);
055    
056            /**
057            * Creates a new document library file shortcut with the primary key. Does not add the document library file shortcut to the database.
058            *
059            * @param fileShortcutId the primary key for the new document library file shortcut
060            * @return the new document library file shortcut
061            */
062            public com.liferay.portlet.documentlibrary.model.DLFileShortcut create(
063                    long fileShortcutId);
064    
065            /**
066            * Removes the document library file shortcut with the primary key from the database. Also notifies the appropriate model listeners.
067            *
068            * @param fileShortcutId the primary key of the document library file shortcut
069            * @return the document library file shortcut that was removed
070            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
071            * @throws SystemException if a system exception occurred
072            */
073            public com.liferay.portlet.documentlibrary.model.DLFileShortcut remove(
074                    long fileShortcutId)
075                    throws com.liferay.portal.kernel.exception.SystemException,
076                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
077    
078            public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateImpl(
079                    com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
080                    throws com.liferay.portal.kernel.exception.SystemException;
081    
082            /**
083            * 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.
084            *
085            * @param fileShortcutId the primary key of the document library file shortcut
086            * @return the document library file shortcut
087            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
088            * @throws SystemException if a system exception occurred
089            */
090            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByPrimaryKey(
091                    long fileShortcutId)
092                    throws com.liferay.portal.kernel.exception.SystemException,
093                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
094    
095            /**
096            * Returns the document library file shortcut with the primary key or returns <code>null</code> if it could not be found.
097            *
098            * @param fileShortcutId the primary key of the document library file shortcut
099            * @return the document library file shortcut, or <code>null</code> if a document library file shortcut with the primary key could not be found
100            * @throws SystemException if a system exception occurred
101            */
102            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByPrimaryKey(
103                    long fileShortcutId)
104                    throws com.liferay.portal.kernel.exception.SystemException;
105    
106            /**
107            * Returns all the document library file shortcuts where uuid = &#63;.
108            *
109            * @param uuid the uuid
110            * @return the matching document library file shortcuts
111            * @throws SystemException if a system exception occurred
112            */
113            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid(
114                    java.lang.String uuid)
115                    throws com.liferay.portal.kernel.exception.SystemException;
116    
117            /**
118            * Returns a range of all the document library file shortcuts where uuid = &#63;.
119            *
120            * <p>
121            * 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.
122            * </p>
123            *
124            * @param uuid the uuid
125            * @param start the lower bound of the range of document library file shortcuts
126            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
127            * @return the range of matching document library file shortcuts
128            * @throws SystemException if a system exception occurred
129            */
130            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid(
131                    java.lang.String uuid, int start, int end)
132                    throws com.liferay.portal.kernel.exception.SystemException;
133    
134            /**
135            * Returns an ordered range of all the document library file shortcuts where uuid = &#63;.
136            *
137            * <p>
138            * 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.
139            * </p>
140            *
141            * @param uuid the uuid
142            * @param start the lower bound of the range of document library file shortcuts
143            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
144            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
145            * @return the ordered range of matching document library file shortcuts
146            * @throws SystemException if a system exception occurred
147            */
148            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid(
149                    java.lang.String uuid, int start, int end,
150                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
151                    throws com.liferay.portal.kernel.exception.SystemException;
152    
153            /**
154            * Returns the first document library file shortcut in the ordered set where uuid = &#63;.
155            *
156            * @param uuid the uuid
157            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
158            * @return the first matching document library file shortcut
159            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
160            * @throws SystemException if a system exception occurred
161            */
162            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_First(
163                    java.lang.String uuid,
164                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
165                    throws com.liferay.portal.kernel.exception.SystemException,
166                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
167    
168            /**
169            * Returns the first document library file shortcut in the ordered set where uuid = &#63;.
170            *
171            * @param uuid the uuid
172            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
173            * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
174            * @throws SystemException if a system exception occurred
175            */
176            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUuid_First(
177                    java.lang.String uuid,
178                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
179                    throws com.liferay.portal.kernel.exception.SystemException;
180    
181            /**
182            * Returns the last document library file shortcut in the ordered set where uuid = &#63;.
183            *
184            * @param uuid the uuid
185            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
186            * @return the last matching document library file shortcut
187            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
188            * @throws SystemException if a system exception occurred
189            */
190            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_Last(
191                    java.lang.String uuid,
192                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
193                    throws com.liferay.portal.kernel.exception.SystemException,
194                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
195    
196            /**
197            * Returns the last document library file shortcut in the ordered set where uuid = &#63;.
198            *
199            * @param uuid the uuid
200            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
201            * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
202            * @throws SystemException if a system exception occurred
203            */
204            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUuid_Last(
205                    java.lang.String uuid,
206                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
207                    throws com.liferay.portal.kernel.exception.SystemException;
208    
209            /**
210            * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = &#63;.
211            *
212            * @param fileShortcutId the primary key of the current document library file shortcut
213            * @param uuid the uuid
214            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
215            * @return the previous, current, and next document library file shortcut
216            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
217            * @throws SystemException if a system exception occurred
218            */
219            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByUuid_PrevAndNext(
220                    long fileShortcutId, java.lang.String uuid,
221                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
222                    throws com.liferay.portal.kernel.exception.SystemException,
223                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
224    
225            /**
226            * 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.
227            *
228            * @param uuid the uuid
229            * @param groupId the group ID
230            * @return the matching document library file shortcut
231            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
232            * @throws SystemException if a system exception occurred
233            */
234            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUUID_G(
235                    java.lang.String uuid, long groupId)
236                    throws com.liferay.portal.kernel.exception.SystemException,
237                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
238    
239            /**
240            * 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.
241            *
242            * @param uuid the uuid
243            * @param groupId the group ID
244            * @return the matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
245            * @throws SystemException if a system exception occurred
246            */
247            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUUID_G(
248                    java.lang.String uuid, long groupId)
249                    throws com.liferay.portal.kernel.exception.SystemException;
250    
251            /**
252            * 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.
253            *
254            * @param uuid the uuid
255            * @param groupId the group ID
256            * @param retrieveFromCache whether to use the finder cache
257            * @return the matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
258            * @throws SystemException if a system exception occurred
259            */
260            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUUID_G(
261                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
262                    throws com.liferay.portal.kernel.exception.SystemException;
263    
264            /**
265            * Returns all the document library file shortcuts where uuid = &#63; and companyId = &#63;.
266            *
267            * @param uuid the uuid
268            * @param companyId the company ID
269            * @return the matching document library file shortcuts
270            * @throws SystemException if a system exception occurred
271            */
272            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid_C(
273                    java.lang.String uuid, long companyId)
274                    throws com.liferay.portal.kernel.exception.SystemException;
275    
276            /**
277            * Returns a range of all the document library file shortcuts where uuid = &#63; and companyId = &#63;.
278            *
279            * <p>
280            * 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.
281            * </p>
282            *
283            * @param uuid the uuid
284            * @param companyId the company ID
285            * @param start the lower bound of the range of document library file shortcuts
286            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
287            * @return the range of matching document library file shortcuts
288            * @throws SystemException if a system exception occurred
289            */
290            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid_C(
291                    java.lang.String uuid, long companyId, int start, int end)
292                    throws com.liferay.portal.kernel.exception.SystemException;
293    
294            /**
295            * Returns an ordered range of all the document library file shortcuts where uuid = &#63; and companyId = &#63;.
296            *
297            * <p>
298            * 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.
299            * </p>
300            *
301            * @param uuid the uuid
302            * @param companyId the company ID
303            * @param start the lower bound of the range of document library file shortcuts
304            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
305            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
306            * @return the ordered range of matching document library file shortcuts
307            * @throws SystemException if a system exception occurred
308            */
309            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid_C(
310                    java.lang.String uuid, long companyId, int start, int end,
311                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
312                    throws com.liferay.portal.kernel.exception.SystemException;
313    
314            /**
315            * Returns the first document library file shortcut in the ordered set where uuid = &#63; and companyId = &#63;.
316            *
317            * @param uuid the uuid
318            * @param companyId the company ID
319            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
320            * @return the first matching document library file shortcut
321            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
322            * @throws SystemException if a system exception occurred
323            */
324            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_C_First(
325                    java.lang.String uuid, long companyId,
326                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
327                    throws com.liferay.portal.kernel.exception.SystemException,
328                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
329    
330            /**
331            * Returns the first document library file shortcut in the ordered set where uuid = &#63; and companyId = &#63;.
332            *
333            * @param uuid the uuid
334            * @param companyId the company ID
335            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
336            * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
337            * @throws SystemException if a system exception occurred
338            */
339            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUuid_C_First(
340                    java.lang.String uuid, long companyId,
341                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
342                    throws com.liferay.portal.kernel.exception.SystemException;
343    
344            /**
345            * Returns the last document library file shortcut in the ordered set where uuid = &#63; and companyId = &#63;.
346            *
347            * @param uuid the uuid
348            * @param companyId the company ID
349            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
350            * @return the last matching document library file shortcut
351            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
352            * @throws SystemException if a system exception occurred
353            */
354            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_C_Last(
355                    java.lang.String uuid, long companyId,
356                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
357                    throws com.liferay.portal.kernel.exception.SystemException,
358                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
359    
360            /**
361            * Returns the last document library file shortcut in the ordered set where uuid = &#63; and companyId = &#63;.
362            *
363            * @param uuid the uuid
364            * @param companyId the company ID
365            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
366            * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
367            * @throws SystemException if a system exception occurred
368            */
369            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUuid_C_Last(
370                    java.lang.String uuid, long companyId,
371                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
372                    throws com.liferay.portal.kernel.exception.SystemException;
373    
374            /**
375            * 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;.
376            *
377            * @param fileShortcutId the primary key of the current document library file shortcut
378            * @param uuid the uuid
379            * @param companyId the company ID
380            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
381            * @return the previous, current, and next document library file shortcut
382            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
383            * @throws SystemException if a system exception occurred
384            */
385            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByUuid_C_PrevAndNext(
386                    long fileShortcutId, java.lang.String uuid, long companyId,
387                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
388                    throws com.liferay.portal.kernel.exception.SystemException,
389                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
390    
391            /**
392            * Returns all the document library file shortcuts where toFileEntryId = &#63;.
393            *
394            * @param toFileEntryId the to file entry ID
395            * @return the matching document library file shortcuts
396            * @throws SystemException if a system exception occurred
397            */
398            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByToFileEntryId(
399                    long toFileEntryId)
400                    throws com.liferay.portal.kernel.exception.SystemException;
401    
402            /**
403            * Returns a range of all the document library file shortcuts where toFileEntryId = &#63;.
404            *
405            * <p>
406            * 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.
407            * </p>
408            *
409            * @param toFileEntryId the to file entry ID
410            * @param start the lower bound of the range of document library file shortcuts
411            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
412            * @return the range of matching document library file shortcuts
413            * @throws SystemException if a system exception occurred
414            */
415            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByToFileEntryId(
416                    long toFileEntryId, int start, int end)
417                    throws com.liferay.portal.kernel.exception.SystemException;
418    
419            /**
420            * Returns an ordered range of all the document library file shortcuts where toFileEntryId = &#63;.
421            *
422            * <p>
423            * 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.
424            * </p>
425            *
426            * @param toFileEntryId the to file entry ID
427            * @param start the lower bound of the range of document library file shortcuts
428            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
429            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
430            * @return the ordered range of matching document library file shortcuts
431            * @throws SystemException if a system exception occurred
432            */
433            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByToFileEntryId(
434                    long toFileEntryId, int start, int end,
435                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
436                    throws com.liferay.portal.kernel.exception.SystemException;
437    
438            /**
439            * Returns the first document library file shortcut in the ordered set where toFileEntryId = &#63;.
440            *
441            * @param toFileEntryId the to file entry ID
442            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
443            * @return the first matching document library file shortcut
444            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
445            * @throws SystemException if a system exception occurred
446            */
447            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByToFileEntryId_First(
448                    long toFileEntryId,
449                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
450                    throws com.liferay.portal.kernel.exception.SystemException,
451                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
452    
453            /**
454            * Returns the first document library file shortcut in the ordered set where toFileEntryId = &#63;.
455            *
456            * @param toFileEntryId the to file entry ID
457            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
458            * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
459            * @throws SystemException if a system exception occurred
460            */
461            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByToFileEntryId_First(
462                    long toFileEntryId,
463                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
464                    throws com.liferay.portal.kernel.exception.SystemException;
465    
466            /**
467            * Returns the last document library file shortcut in the ordered set where toFileEntryId = &#63;.
468            *
469            * @param toFileEntryId the to file entry ID
470            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
471            * @return the last matching document library file shortcut
472            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
473            * @throws SystemException if a system exception occurred
474            */
475            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByToFileEntryId_Last(
476                    long toFileEntryId,
477                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
478                    throws com.liferay.portal.kernel.exception.SystemException,
479                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
480    
481            /**
482            * Returns the last document library file shortcut in the ordered set where toFileEntryId = &#63;.
483            *
484            * @param toFileEntryId the to file entry ID
485            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
486            * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
487            * @throws SystemException if a system exception occurred
488            */
489            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByToFileEntryId_Last(
490                    long toFileEntryId,
491                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
492                    throws com.liferay.portal.kernel.exception.SystemException;
493    
494            /**
495            * Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where toFileEntryId = &#63;.
496            *
497            * @param fileShortcutId the primary key of the current document library file shortcut
498            * @param toFileEntryId the to file entry ID
499            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
500            * @return the previous, current, and next document library file shortcut
501            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
502            * @throws SystemException if a system exception occurred
503            */
504            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByToFileEntryId_PrevAndNext(
505                    long fileShortcutId, long toFileEntryId,
506                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
507                    throws com.liferay.portal.kernel.exception.SystemException,
508                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
509    
510            /**
511            * Returns all the document library file shortcuts where groupId = &#63; and folderId = &#63;.
512            *
513            * @param groupId the group ID
514            * @param folderId the folder ID
515            * @return the matching document library file shortcuts
516            * @throws SystemException if a system exception occurred
517            */
518            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F(
519                    long groupId, long folderId)
520                    throws com.liferay.portal.kernel.exception.SystemException;
521    
522            /**
523            * Returns a range of all the document library file shortcuts where groupId = &#63; and folderId = &#63;.
524            *
525            * <p>
526            * 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.
527            * </p>
528            *
529            * @param groupId the group ID
530            * @param folderId the folder ID
531            * @param start the lower bound of the range of document library file shortcuts
532            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
533            * @return the range of matching document library file shortcuts
534            * @throws SystemException if a system exception occurred
535            */
536            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F(
537                    long groupId, long folderId, int start, int end)
538                    throws com.liferay.portal.kernel.exception.SystemException;
539    
540            /**
541            * Returns an ordered range of all the document library file shortcuts where groupId = &#63; and folderId = &#63;.
542            *
543            * <p>
544            * 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.
545            * </p>
546            *
547            * @param groupId the group ID
548            * @param folderId the folder ID
549            * @param start the lower bound of the range of document library file shortcuts
550            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
551            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
552            * @return the ordered range of matching document library file shortcuts
553            * @throws SystemException if a system exception occurred
554            */
555            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F(
556                    long groupId, long folderId, int start, int end,
557                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
558                    throws com.liferay.portal.kernel.exception.SystemException;
559    
560            /**
561            * Returns the first document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63;.
562            *
563            * @param groupId the group ID
564            * @param folderId the folder ID
565            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
566            * @return the first matching document library file shortcut
567            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
568            * @throws SystemException if a system exception occurred
569            */
570            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_First(
571                    long groupId, long folderId,
572                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
573                    throws com.liferay.portal.kernel.exception.SystemException,
574                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
575    
576            /**
577            * Returns the first document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63;.
578            *
579            * @param groupId the group ID
580            * @param folderId the folder ID
581            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
582            * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
583            * @throws SystemException if a system exception occurred
584            */
585            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_First(
586                    long groupId, long folderId,
587                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
588                    throws com.liferay.portal.kernel.exception.SystemException;
589    
590            /**
591            * Returns the last document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63;.
592            *
593            * @param groupId the group ID
594            * @param folderId the folder ID
595            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
596            * @return the last matching document library file shortcut
597            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
598            * @throws SystemException if a system exception occurred
599            */
600            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_Last(
601                    long groupId, long folderId,
602                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
603                    throws com.liferay.portal.kernel.exception.SystemException,
604                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
605    
606            /**
607            * Returns the last document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63;.
608            *
609            * @param groupId the group ID
610            * @param folderId the folder ID
611            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
612            * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
613            * @throws SystemException if a system exception occurred
614            */
615            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_Last(
616                    long groupId, long folderId,
617                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
618                    throws com.liferay.portal.kernel.exception.SystemException;
619    
620            /**
621            * 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;.
622            *
623            * @param fileShortcutId the primary key of the current document library file shortcut
624            * @param groupId the group ID
625            * @param folderId the folder ID
626            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
627            * @return the previous, current, and next document library file shortcut
628            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
629            * @throws SystemException if a system exception occurred
630            */
631            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_PrevAndNext(
632                    long fileShortcutId, long groupId, long folderId,
633                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
634                    throws com.liferay.portal.kernel.exception.SystemException,
635                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
636    
637            /**
638            * Returns all the document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63;.
639            *
640            * @param groupId the group ID
641            * @param folderId the folder ID
642            * @return the matching document library file shortcuts that the user has permission to view
643            * @throws SystemException if a system exception occurred
644            */
645            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F(
646                    long groupId, long folderId)
647                    throws com.liferay.portal.kernel.exception.SystemException;
648    
649            /**
650            * Returns a range of all the document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63;.
651            *
652            * <p>
653            * 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.
654            * </p>
655            *
656            * @param groupId the group ID
657            * @param folderId the folder ID
658            * @param start the lower bound of the range of document library file shortcuts
659            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
660            * @return the range of matching document library file shortcuts that the user has permission to view
661            * @throws SystemException if a system exception occurred
662            */
663            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F(
664                    long groupId, long folderId, int start, int end)
665                    throws com.liferay.portal.kernel.exception.SystemException;
666    
667            /**
668            * Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = &#63; and folderId = &#63;.
669            *
670            * <p>
671            * 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.
672            * </p>
673            *
674            * @param groupId the group ID
675            * @param folderId the folder ID
676            * @param start the lower bound of the range of document library file shortcuts
677            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
678            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
679            * @return the ordered range of matching document library file shortcuts that the user has permission to view
680            * @throws SystemException if a system exception occurred
681            */
682            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F(
683                    long groupId, long folderId, int start, int end,
684                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
685                    throws com.liferay.portal.kernel.exception.SystemException;
686    
687            /**
688            * 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;.
689            *
690            * @param fileShortcutId the primary key of the current document library file shortcut
691            * @param groupId the group ID
692            * @param folderId the folder ID
693            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
694            * @return the previous, current, and next document library file shortcut
695            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
696            * @throws SystemException if a system exception occurred
697            */
698            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] filterFindByG_F_PrevAndNext(
699                    long fileShortcutId, long groupId, long folderId,
700                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
701                    throws com.liferay.portal.kernel.exception.SystemException,
702                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
703    
704            /**
705            * Returns all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63;.
706            *
707            * @param groupId the group ID
708            * @param folderId the folder ID
709            * @param active the active
710            * @return the matching document library file shortcuts
711            * @throws SystemException if a system exception occurred
712            */
713            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A(
714                    long groupId, long folderId, boolean active)
715                    throws com.liferay.portal.kernel.exception.SystemException;
716    
717            /**
718            * Returns a range of all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63;.
719            *
720            * <p>
721            * 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.
722            * </p>
723            *
724            * @param groupId the group ID
725            * @param folderId the folder ID
726            * @param active the active
727            * @param start the lower bound of the range of document library file shortcuts
728            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
729            * @return the range of matching document library file shortcuts
730            * @throws SystemException if a system exception occurred
731            */
732            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A(
733                    long groupId, long folderId, boolean active, int start, int end)
734                    throws com.liferay.portal.kernel.exception.SystemException;
735    
736            /**
737            * Returns an ordered range of all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63;.
738            *
739            * <p>
740            * 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.
741            * </p>
742            *
743            * @param groupId the group ID
744            * @param folderId the folder ID
745            * @param active the active
746            * @param start the lower bound of the range of document library file shortcuts
747            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
748            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
749            * @return the ordered range of matching document library file shortcuts
750            * @throws SystemException if a system exception occurred
751            */
752            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A(
753                    long groupId, long folderId, boolean active, int start, int end,
754                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
755                    throws com.liferay.portal.kernel.exception.SystemException;
756    
757            /**
758            * Returns the first document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63;.
759            *
760            * @param groupId the group ID
761            * @param folderId the folder ID
762            * @param active the active
763            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
764            * @return the first matching document library file shortcut
765            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
766            * @throws SystemException if a system exception occurred
767            */
768            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_A_First(
769                    long groupId, long folderId, boolean active,
770                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
771                    throws com.liferay.portal.kernel.exception.SystemException,
772                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
773    
774            /**
775            * Returns the first document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63;.
776            *
777            * @param groupId the group ID
778            * @param folderId the folder ID
779            * @param active the active
780            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
781            * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
782            * @throws SystemException if a system exception occurred
783            */
784            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_A_First(
785                    long groupId, long folderId, boolean active,
786                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
787                    throws com.liferay.portal.kernel.exception.SystemException;
788    
789            /**
790            * Returns the last document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63;.
791            *
792            * @param groupId the group ID
793            * @param folderId the folder ID
794            * @param active the active
795            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
796            * @return the last matching document library file shortcut
797            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
798            * @throws SystemException if a system exception occurred
799            */
800            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_A_Last(
801                    long groupId, long folderId, boolean active,
802                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
803                    throws com.liferay.portal.kernel.exception.SystemException,
804                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
805    
806            /**
807            * Returns the last 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 last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
814            * @throws SystemException if a system exception occurred
815            */
816            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_A_Last(
817                    long groupId, long folderId, boolean active,
818                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
819                    throws com.liferay.portal.kernel.exception.SystemException;
820    
821            /**
822            * 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;.
823            *
824            * @param fileShortcutId the primary key of the current document library file shortcut
825            * @param groupId the group ID
826            * @param folderId the folder ID
827            * @param active the active
828            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
829            * @return the previous, current, and next document library file shortcut
830            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
831            * @throws SystemException if a system exception occurred
832            */
833            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_A_PrevAndNext(
834                    long fileShortcutId, long groupId, long folderId, boolean active,
835                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
836                    throws com.liferay.portal.kernel.exception.SystemException,
837                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
838    
839            /**
840            * Returns all the document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63; and active = &#63;.
841            *
842            * @param groupId the group ID
843            * @param folderId the folder ID
844            * @param active the active
845            * @return the matching document library file shortcuts that the user has permission to view
846            * @throws SystemException if a system exception occurred
847            */
848            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A(
849                    long groupId, long folderId, boolean active)
850                    throws com.liferay.portal.kernel.exception.SystemException;
851    
852            /**
853            * 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;.
854            *
855            * <p>
856            * 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.
857            * </p>
858            *
859            * @param groupId the group ID
860            * @param folderId the folder ID
861            * @param active the active
862            * @param start the lower bound of the range of document library file shortcuts
863            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
864            * @return the range of matching document library file shortcuts that the user has permission to view
865            * @throws SystemException if a system exception occurred
866            */
867            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A(
868                    long groupId, long folderId, boolean active, int start, int end)
869                    throws com.liferay.portal.kernel.exception.SystemException;
870    
871            /**
872            * 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;.
873            *
874            * <p>
875            * 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.
876            * </p>
877            *
878            * @param groupId the group ID
879            * @param folderId the folder ID
880            * @param active the active
881            * @param start the lower bound of the range of document library file shortcuts
882            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
883            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
884            * @return the ordered range of matching document library file shortcuts that the user has permission to view
885            * @throws SystemException if a system exception occurred
886            */
887            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A(
888                    long groupId, long folderId, boolean active, int start, int end,
889                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
890                    throws com.liferay.portal.kernel.exception.SystemException;
891    
892            /**
893            * 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;.
894            *
895            * @param fileShortcutId the primary key of the current document library file shortcut
896            * @param groupId the group ID
897            * @param folderId the folder ID
898            * @param active the active
899            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
900            * @return the previous, current, and next document library file shortcut
901            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
902            * @throws SystemException if a system exception occurred
903            */
904            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] filterFindByG_F_A_PrevAndNext(
905                    long fileShortcutId, long groupId, long folderId, boolean active,
906                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
907                    throws com.liferay.portal.kernel.exception.SystemException,
908                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
909    
910            /**
911            * Returns all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
912            *
913            * @param groupId the group ID
914            * @param folderId the folder ID
915            * @param active the active
916            * @param status the status
917            * @return the matching document library file shortcuts
918            * @throws SystemException if a system exception occurred
919            */
920            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A_S(
921                    long groupId, long folderId, boolean active, int status)
922                    throws com.liferay.portal.kernel.exception.SystemException;
923    
924            /**
925            * Returns a range of all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
926            *
927            * <p>
928            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
929            * </p>
930            *
931            * @param groupId the group ID
932            * @param folderId the folder ID
933            * @param active the active
934            * @param status the status
935            * @param start the lower bound of the range of document library file shortcuts
936            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
937            * @return the range of matching document library file shortcuts
938            * @throws SystemException if a system exception occurred
939            */
940            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A_S(
941                    long groupId, long folderId, boolean active, int status, int start,
942                    int end) throws com.liferay.portal.kernel.exception.SystemException;
943    
944            /**
945            * Returns an ordered range of all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
946            *
947            * <p>
948            * 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.
949            * </p>
950            *
951            * @param groupId the group ID
952            * @param folderId the folder ID
953            * @param active the active
954            * @param status the status
955            * @param start the lower bound of the range of document library file shortcuts
956            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
957            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
958            * @return the ordered range of matching document library file shortcuts
959            * @throws SystemException if a system exception occurred
960            */
961            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_A_S(
962                    long groupId, long folderId, boolean active, int status, int start,
963                    int end,
964                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
965                    throws com.liferay.portal.kernel.exception.SystemException;
966    
967            /**
968            * Returns the first document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
969            *
970            * @param groupId the group ID
971            * @param folderId the folder ID
972            * @param active the active
973            * @param status the status
974            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
975            * @return the first matching document library file shortcut
976            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
977            * @throws SystemException if a system exception occurred
978            */
979            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_A_S_First(
980                    long groupId, long folderId, boolean active, int status,
981                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
982                    throws com.liferay.portal.kernel.exception.SystemException,
983                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
984    
985            /**
986            * Returns the first document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
987            *
988            * @param groupId the group ID
989            * @param folderId the folder ID
990            * @param active the active
991            * @param status the status
992            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
993            * @return the first matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
994            * @throws SystemException if a system exception occurred
995            */
996            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_A_S_First(
997                    long groupId, long folderId, boolean active, int status,
998                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
999                    throws com.liferay.portal.kernel.exception.SystemException;
1000    
1001            /**
1002            * Returns the last document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1003            *
1004            * @param groupId the group ID
1005            * @param folderId the folder ID
1006            * @param active the active
1007            * @param status the status
1008            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1009            * @return the last matching document library file shortcut
1010            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a matching document library file shortcut could not be found
1011            * @throws SystemException if a system exception occurred
1012            */
1013            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_A_S_Last(
1014                    long groupId, long folderId, boolean active, int status,
1015                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1016                    throws com.liferay.portal.kernel.exception.SystemException,
1017                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
1018    
1019            /**
1020            * Returns the last document library file shortcut in the ordered set where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1021            *
1022            * @param groupId the group ID
1023            * @param folderId the folder ID
1024            * @param active the active
1025            * @param status the status
1026            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1027            * @return the last matching document library file shortcut, or <code>null</code> if a matching document library file shortcut could not be found
1028            * @throws SystemException if a system exception occurred
1029            */
1030            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByG_F_A_S_Last(
1031                    long groupId, long folderId, boolean active, int status,
1032                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1033                    throws com.liferay.portal.kernel.exception.SystemException;
1034    
1035            /**
1036            * 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;.
1037            *
1038            * @param fileShortcutId the primary key of the current document library file shortcut
1039            * @param groupId the group ID
1040            * @param folderId the folder ID
1041            * @param active the active
1042            * @param status the status
1043            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1044            * @return the previous, current, and next document library file shortcut
1045            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
1046            * @throws SystemException if a system exception occurred
1047            */
1048            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_A_S_PrevAndNext(
1049                    long fileShortcutId, long groupId, long folderId, boolean active,
1050                    int status,
1051                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1052                    throws com.liferay.portal.kernel.exception.SystemException,
1053                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
1054    
1055            /**
1056            * 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;.
1057            *
1058            * @param groupId the group ID
1059            * @param folderId the folder ID
1060            * @param active the active
1061            * @param status the status
1062            * @return the matching document library file shortcuts that the user has permission to view
1063            * @throws SystemException if a system exception occurred
1064            */
1065            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A_S(
1066                    long groupId, long folderId, boolean active, int status)
1067                    throws com.liferay.portal.kernel.exception.SystemException;
1068    
1069            /**
1070            * 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;.
1071            *
1072            * <p>
1073            * 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.
1074            * </p>
1075            *
1076            * @param groupId the group ID
1077            * @param folderId the folder ID
1078            * @param active the active
1079            * @param status the status
1080            * @param start the lower bound of the range of document library file shortcuts
1081            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
1082            * @return the range of matching document library file shortcuts that the user has permission to view
1083            * @throws SystemException if a system exception occurred
1084            */
1085            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A_S(
1086                    long groupId, long folderId, boolean active, int status, int start,
1087                    int end) throws com.liferay.portal.kernel.exception.SystemException;
1088    
1089            /**
1090            * 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;.
1091            *
1092            * <p>
1093            * 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.
1094            * </p>
1095            *
1096            * @param groupId the group ID
1097            * @param folderId the folder ID
1098            * @param active the active
1099            * @param status the status
1100            * @param start the lower bound of the range of document library file shortcuts
1101            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
1102            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1103            * @return the ordered range of matching document library file shortcuts that the user has permission to view
1104            * @throws SystemException if a system exception occurred
1105            */
1106            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_A_S(
1107                    long groupId, long folderId, boolean active, int status, int start,
1108                    int end,
1109                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1110                    throws com.liferay.portal.kernel.exception.SystemException;
1111    
1112            /**
1113            * 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;.
1114            *
1115            * @param fileShortcutId the primary key of the current document library file shortcut
1116            * @param groupId the group ID
1117            * @param folderId the folder ID
1118            * @param active the active
1119            * @param status the status
1120            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1121            * @return the previous, current, and next document library file shortcut
1122            * @throws com.liferay.portlet.documentlibrary.NoSuchFileShortcutException if a document library file shortcut with the primary key could not be found
1123            * @throws SystemException if a system exception occurred
1124            */
1125            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] filterFindByG_F_A_S_PrevAndNext(
1126                    long fileShortcutId, long groupId, long folderId, boolean active,
1127                    int status,
1128                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1129                    throws com.liferay.portal.kernel.exception.SystemException,
1130                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
1131    
1132            /**
1133            * Returns all the document library file shortcuts.
1134            *
1135            * @return the document library file shortcuts
1136            * @throws SystemException if a system exception occurred
1137            */
1138            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll()
1139                    throws com.liferay.portal.kernel.exception.SystemException;
1140    
1141            /**
1142            * Returns a range of all the document library file shortcuts.
1143            *
1144            * <p>
1145            * 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.
1146            * </p>
1147            *
1148            * @param start the lower bound of the range of document library file shortcuts
1149            * @param end the upper bound of the range of document library file shortcuts (not inclusive)
1150            * @return the range of document library file shortcuts
1151            * @throws SystemException if a system exception occurred
1152            */
1153            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll(
1154                    int start, int end)
1155                    throws com.liferay.portal.kernel.exception.SystemException;
1156    
1157            /**
1158            * Returns an ordered range of all the document library file shortcuts.
1159            *
1160            * <p>
1161            * 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.
1162            * </p>
1163            *
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            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1167            * @return the ordered range of document library file shortcuts
1168            * @throws SystemException if a system exception occurred
1169            */
1170            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll(
1171                    int start, int end,
1172                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1173                    throws com.liferay.portal.kernel.exception.SystemException;
1174    
1175            /**
1176            * Removes all the document library file shortcuts where uuid = &#63; from the database.
1177            *
1178            * @param uuid the uuid
1179            * @throws SystemException if a system exception occurred
1180            */
1181            public void removeByUuid(java.lang.String uuid)
1182                    throws com.liferay.portal.kernel.exception.SystemException;
1183    
1184            /**
1185            * Removes the document library file shortcut where uuid = &#63; and groupId = &#63; from the database.
1186            *
1187            * @param uuid the uuid
1188            * @param groupId the group ID
1189            * @return the document library file shortcut that was removed
1190            * @throws SystemException if a system exception occurred
1191            */
1192            public com.liferay.portlet.documentlibrary.model.DLFileShortcut removeByUUID_G(
1193                    java.lang.String uuid, long groupId)
1194                    throws com.liferay.portal.kernel.exception.SystemException,
1195                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
1196    
1197            /**
1198            * Removes all the document library file shortcuts where uuid = &#63; and companyId = &#63; from the database.
1199            *
1200            * @param uuid the uuid
1201            * @param companyId the company ID
1202            * @throws SystemException if a system exception occurred
1203            */
1204            public void removeByUuid_C(java.lang.String uuid, long companyId)
1205                    throws com.liferay.portal.kernel.exception.SystemException;
1206    
1207            /**
1208            * Removes all the document library file shortcuts where toFileEntryId = &#63; from the database.
1209            *
1210            * @param toFileEntryId the to file entry ID
1211            * @throws SystemException if a system exception occurred
1212            */
1213            public void removeByToFileEntryId(long toFileEntryId)
1214                    throws com.liferay.portal.kernel.exception.SystemException;
1215    
1216            /**
1217            * Removes all the document library file shortcuts where groupId = &#63; and folderId = &#63; from the database.
1218            *
1219            * @param groupId the group ID
1220            * @param folderId the folder ID
1221            * @throws SystemException if a system exception occurred
1222            */
1223            public void removeByG_F(long groupId, long folderId)
1224                    throws com.liferay.portal.kernel.exception.SystemException;
1225    
1226            /**
1227            * Removes all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63; from the database.
1228            *
1229            * @param groupId the group ID
1230            * @param folderId the folder ID
1231            * @param active the active
1232            * @throws SystemException if a system exception occurred
1233            */
1234            public void removeByG_F_A(long groupId, long folderId, boolean active)
1235                    throws com.liferay.portal.kernel.exception.SystemException;
1236    
1237            /**
1238            * Removes all the document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63; from the database.
1239            *
1240            * @param groupId the group ID
1241            * @param folderId the folder ID
1242            * @param active the active
1243            * @param status the status
1244            * @throws SystemException if a system exception occurred
1245            */
1246            public void removeByG_F_A_S(long groupId, long folderId, boolean active,
1247                    int status) throws com.liferay.portal.kernel.exception.SystemException;
1248    
1249            /**
1250            * Removes all the document library file shortcuts from the database.
1251            *
1252            * @throws SystemException if a system exception occurred
1253            */
1254            public void removeAll()
1255                    throws com.liferay.portal.kernel.exception.SystemException;
1256    
1257            /**
1258            * Returns the number of document library file shortcuts where uuid = &#63;.
1259            *
1260            * @param uuid the uuid
1261            * @return the number of matching document library file shortcuts
1262            * @throws SystemException if a system exception occurred
1263            */
1264            public int countByUuid(java.lang.String uuid)
1265                    throws com.liferay.portal.kernel.exception.SystemException;
1266    
1267            /**
1268            * Returns the number of document library file shortcuts where uuid = &#63; and groupId = &#63;.
1269            *
1270            * @param uuid the uuid
1271            * @param groupId the group ID
1272            * @return the number of matching document library file shortcuts
1273            * @throws SystemException if a system exception occurred
1274            */
1275            public int countByUUID_G(java.lang.String uuid, long groupId)
1276                    throws com.liferay.portal.kernel.exception.SystemException;
1277    
1278            /**
1279            * Returns the number of document library file shortcuts where uuid = &#63; and companyId = &#63;.
1280            *
1281            * @param uuid the uuid
1282            * @param companyId the company ID
1283            * @return the number of matching document library file shortcuts
1284            * @throws SystemException if a system exception occurred
1285            */
1286            public int countByUuid_C(java.lang.String uuid, long companyId)
1287                    throws com.liferay.portal.kernel.exception.SystemException;
1288    
1289            /**
1290            * Returns the number of document library file shortcuts where toFileEntryId = &#63;.
1291            *
1292            * @param toFileEntryId the to file entry ID
1293            * @return the number of matching document library file shortcuts
1294            * @throws SystemException if a system exception occurred
1295            */
1296            public int countByToFileEntryId(long toFileEntryId)
1297                    throws com.liferay.portal.kernel.exception.SystemException;
1298    
1299            /**
1300            * Returns the number of document library file shortcuts where groupId = &#63; and folderId = &#63;.
1301            *
1302            * @param groupId the group ID
1303            * @param folderId the folder ID
1304            * @return the number of matching document library file shortcuts
1305            * @throws SystemException if a system exception occurred
1306            */
1307            public int countByG_F(long groupId, long folderId)
1308                    throws com.liferay.portal.kernel.exception.SystemException;
1309    
1310            /**
1311            * Returns the number of document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63;.
1312            *
1313            * @param groupId the group ID
1314            * @param folderId the folder ID
1315            * @return the number of matching document library file shortcuts that the user has permission to view
1316            * @throws SystemException if a system exception occurred
1317            */
1318            public int filterCountByG_F(long groupId, long folderId)
1319                    throws com.liferay.portal.kernel.exception.SystemException;
1320    
1321            /**
1322            * Returns the number of document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63;.
1323            *
1324            * @param groupId the group ID
1325            * @param folderId the folder ID
1326            * @param active the active
1327            * @return the number of matching document library file shortcuts
1328            * @throws SystemException if a system exception occurred
1329            */
1330            public int countByG_F_A(long groupId, long folderId, boolean active)
1331                    throws com.liferay.portal.kernel.exception.SystemException;
1332    
1333            /**
1334            * Returns the number of document library file shortcuts that the user has permission to view where groupId = &#63; and folderId = &#63; and active = &#63;.
1335            *
1336            * @param groupId the group ID
1337            * @param folderId the folder ID
1338            * @param active the active
1339            * @return the number of matching document library file shortcuts that the user has permission to view
1340            * @throws SystemException if a system exception occurred
1341            */
1342            public int filterCountByG_F_A(long groupId, long folderId, boolean active)
1343                    throws com.liferay.portal.kernel.exception.SystemException;
1344    
1345            /**
1346            * Returns the number of document library file shortcuts where groupId = &#63; and folderId = &#63; and active = &#63; and status = &#63;.
1347            *
1348            * @param groupId the group ID
1349            * @param folderId the folder ID
1350            * @param active the active
1351            * @param status the status
1352            * @return the number of matching document library file shortcuts
1353            * @throws SystemException if a system exception occurred
1354            */
1355            public int countByG_F_A_S(long groupId, long folderId, boolean active,
1356                    int status) throws com.liferay.portal.kernel.exception.SystemException;
1357    
1358            /**
1359            * 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;.
1360            *
1361            * @param groupId the group ID
1362            * @param folderId the folder ID
1363            * @param active the active
1364            * @param status the status
1365            * @return the number of matching document library file shortcuts that the user has permission to view
1366            * @throws SystemException if a system exception occurred
1367            */
1368            public int filterCountByG_F_A_S(long groupId, long folderId,
1369                    boolean active, int status)
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    }