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