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