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