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