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