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