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.DLFileEntryType;
022    
023    /**
024     * The persistence interface for the document library file entry type 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 com.liferay.portlet.documentlibrary.service.persistence.impl.DLFileEntryTypePersistenceImpl
032     * @see DLFileEntryTypeUtil
033     * @generated
034     */
035    @ProviderType
036    public interface DLFileEntryTypePersistence extends BasePersistence<DLFileEntryType> {
037            /*
038             * NOTE FOR DEVELOPERS:
039             *
040             * Never modify or reference this interface directly. Always use {@link DLFileEntryTypeUtil} to access the document library file entry type persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
041             */
042    
043            /**
044            * Returns all the document library file entry types where uuid = &#63;.
045            *
046            * @param uuid the uuid
047            * @return the matching document library file entry types
048            */
049            public java.util.List<DLFileEntryType> findByUuid(java.lang.String uuid);
050    
051            /**
052            * Returns a range of all the document library file entry types where uuid = &#63;.
053            *
054            * <p>
055            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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.
056            * </p>
057            *
058            * @param uuid the uuid
059            * @param start the lower bound of the range of document library file entry types
060            * @param end the upper bound of the range of document library file entry types (not inclusive)
061            * @return the range of matching document library file entry types
062            */
063            public java.util.List<DLFileEntryType> findByUuid(java.lang.String uuid,
064                    int start, int end);
065    
066            /**
067            * Returns an ordered range of all the document library file entry types where uuid = &#63;.
068            *
069            * <p>
070            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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.
071            * </p>
072            *
073            * @param uuid the uuid
074            * @param start the lower bound of the range of document library file entry types
075            * @param end the upper bound of the range of document library file entry types (not inclusive)
076            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
077            * @return the ordered range of matching document library file entry types
078            */
079            public java.util.List<DLFileEntryType> findByUuid(java.lang.String uuid,
080                    int start, int end,
081                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator);
082    
083            /**
084            * Returns an ordered range of all the document library file entry types where uuid = &#63;.
085            *
086            * <p>
087            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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.
088            * </p>
089            *
090            * @param uuid the uuid
091            * @param start the lower bound of the range of document library file entry types
092            * @param end the upper bound of the range of document library file entry types (not inclusive)
093            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
094            * @param retrieveFromCache whether to retrieve from the finder cache
095            * @return the ordered range of matching document library file entry types
096            */
097            public java.util.List<DLFileEntryType> findByUuid(java.lang.String uuid,
098                    int start, int end,
099                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator,
100                    boolean retrieveFromCache);
101    
102            /**
103            * Returns the first document library file entry type in the ordered set where uuid = &#63;.
104            *
105            * @param uuid the uuid
106            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
107            * @return the first matching document library file entry type
108            * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found
109            */
110            public DLFileEntryType findByUuid_First(java.lang.String uuid,
111                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator)
112                    throws com.liferay.portlet.documentlibrary.exception.NoSuchFileEntryTypeException;
113    
114            /**
115            * Returns the first document library file entry type in the ordered set where uuid = &#63;.
116            *
117            * @param uuid the uuid
118            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
119            * @return the first matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found
120            */
121            public DLFileEntryType fetchByUuid_First(java.lang.String uuid,
122                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator);
123    
124            /**
125            * Returns the last document library file entry type in the ordered set where uuid = &#63;.
126            *
127            * @param uuid the uuid
128            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
129            * @return the last matching document library file entry type
130            * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found
131            */
132            public DLFileEntryType findByUuid_Last(java.lang.String uuid,
133                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator)
134                    throws com.liferay.portlet.documentlibrary.exception.NoSuchFileEntryTypeException;
135    
136            /**
137            * Returns the last document library file entry type in the ordered set where uuid = &#63;.
138            *
139            * @param uuid the uuid
140            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
141            * @return the last matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found
142            */
143            public DLFileEntryType fetchByUuid_Last(java.lang.String uuid,
144                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator);
145    
146            /**
147            * Returns the document library file entry types before and after the current document library file entry type in the ordered set where uuid = &#63;.
148            *
149            * @param fileEntryTypeId the primary key of the current document library file entry type
150            * @param uuid the uuid
151            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
152            * @return the previous, current, and next document library file entry type
153            * @throws NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found
154            */
155            public DLFileEntryType[] findByUuid_PrevAndNext(long fileEntryTypeId,
156                    java.lang.String uuid,
157                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator)
158                    throws com.liferay.portlet.documentlibrary.exception.NoSuchFileEntryTypeException;
159    
160            /**
161            * Removes all the document library file entry types where uuid = &#63; from the database.
162            *
163            * @param uuid the uuid
164            */
165            public void removeByUuid(java.lang.String uuid);
166    
167            /**
168            * Returns the number of document library file entry types where uuid = &#63;.
169            *
170            * @param uuid the uuid
171            * @return the number of matching document library file entry types
172            */
173            public int countByUuid(java.lang.String uuid);
174    
175            /**
176            * Returns the document library file entry type where uuid = &#63; and groupId = &#63; or throws a {@link NoSuchFileEntryTypeException} if it could not be found.
177            *
178            * @param uuid the uuid
179            * @param groupId the group ID
180            * @return the matching document library file entry type
181            * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found
182            */
183            public DLFileEntryType findByUUID_G(java.lang.String uuid, long groupId)
184                    throws com.liferay.portlet.documentlibrary.exception.NoSuchFileEntryTypeException;
185    
186            /**
187            * Returns the document library file entry type where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
188            *
189            * @param uuid the uuid
190            * @param groupId the group ID
191            * @return the matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found
192            */
193            public DLFileEntryType fetchByUUID_G(java.lang.String uuid, long groupId);
194    
195            /**
196            * Returns the document library file entry type where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
197            *
198            * @param uuid the uuid
199            * @param groupId the group ID
200            * @param retrieveFromCache whether to retrieve from the finder cache
201            * @return the matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found
202            */
203            public DLFileEntryType fetchByUUID_G(java.lang.String uuid, long groupId,
204                    boolean retrieveFromCache);
205    
206            /**
207            * Removes the document library file entry type where uuid = &#63; and groupId = &#63; from the database.
208            *
209            * @param uuid the uuid
210            * @param groupId the group ID
211            * @return the document library file entry type that was removed
212            */
213            public DLFileEntryType removeByUUID_G(java.lang.String uuid, long groupId)
214                    throws com.liferay.portlet.documentlibrary.exception.NoSuchFileEntryTypeException;
215    
216            /**
217            * Returns the number of document library file entry types where uuid = &#63; and groupId = &#63;.
218            *
219            * @param uuid the uuid
220            * @param groupId the group ID
221            * @return the number of matching document library file entry types
222            */
223            public int countByUUID_G(java.lang.String uuid, long groupId);
224    
225            /**
226            * Returns all the document library file entry types where uuid = &#63; and companyId = &#63;.
227            *
228            * @param uuid the uuid
229            * @param companyId the company ID
230            * @return the matching document library file entry types
231            */
232            public java.util.List<DLFileEntryType> findByUuid_C(java.lang.String uuid,
233                    long companyId);
234    
235            /**
236            * Returns a range of all the document library file entry types where uuid = &#63; and companyId = &#63;.
237            *
238            * <p>
239            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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.
240            * </p>
241            *
242            * @param uuid the uuid
243            * @param companyId the company ID
244            * @param start the lower bound of the range of document library file entry types
245            * @param end the upper bound of the range of document library file entry types (not inclusive)
246            * @return the range of matching document library file entry types
247            */
248            public java.util.List<DLFileEntryType> findByUuid_C(java.lang.String uuid,
249                    long companyId, int start, int end);
250    
251            /**
252            * Returns an ordered range of all the document library file entry types where uuid = &#63; and companyId = &#63;.
253            *
254            * <p>
255            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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.
256            * </p>
257            *
258            * @param uuid the uuid
259            * @param companyId the company ID
260            * @param start the lower bound of the range of document library file entry types
261            * @param end the upper bound of the range of document library file entry types (not inclusive)
262            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
263            * @return the ordered range of matching document library file entry types
264            */
265            public java.util.List<DLFileEntryType> findByUuid_C(java.lang.String uuid,
266                    long companyId, int start, int end,
267                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator);
268    
269            /**
270            * Returns an ordered range of all the document library file entry types where uuid = &#63; and companyId = &#63;.
271            *
272            * <p>
273            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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.
274            * </p>
275            *
276            * @param uuid the uuid
277            * @param companyId the company ID
278            * @param start the lower bound of the range of document library file entry types
279            * @param end the upper bound of the range of document library file entry types (not inclusive)
280            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
281            * @param retrieveFromCache whether to retrieve from the finder cache
282            * @return the ordered range of matching document library file entry types
283            */
284            public java.util.List<DLFileEntryType> findByUuid_C(java.lang.String uuid,
285                    long companyId, int start, int end,
286                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator,
287                    boolean retrieveFromCache);
288    
289            /**
290            * Returns the first document library file entry type in the ordered set where uuid = &#63; and companyId = &#63;.
291            *
292            * @param uuid the uuid
293            * @param companyId the company ID
294            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
295            * @return the first matching document library file entry type
296            * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found
297            */
298            public DLFileEntryType findByUuid_C_First(java.lang.String uuid,
299                    long companyId,
300                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator)
301                    throws com.liferay.portlet.documentlibrary.exception.NoSuchFileEntryTypeException;
302    
303            /**
304            * Returns the first document library file entry type in the ordered set where uuid = &#63; and companyId = &#63;.
305            *
306            * @param uuid the uuid
307            * @param companyId the company ID
308            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
309            * @return the first matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found
310            */
311            public DLFileEntryType fetchByUuid_C_First(java.lang.String uuid,
312                    long companyId,
313                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator);
314    
315            /**
316            * Returns the last document library file entry type in the ordered set where uuid = &#63; and companyId = &#63;.
317            *
318            * @param uuid the uuid
319            * @param companyId the company ID
320            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
321            * @return the last matching document library file entry type
322            * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found
323            */
324            public DLFileEntryType findByUuid_C_Last(java.lang.String uuid,
325                    long companyId,
326                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator)
327                    throws com.liferay.portlet.documentlibrary.exception.NoSuchFileEntryTypeException;
328    
329            /**
330            * Returns the last document library file entry type in the ordered set where uuid = &#63; and companyId = &#63;.
331            *
332            * @param uuid the uuid
333            * @param companyId the company ID
334            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
335            * @return the last matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found
336            */
337            public DLFileEntryType fetchByUuid_C_Last(java.lang.String uuid,
338                    long companyId,
339                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator);
340    
341            /**
342            * Returns the document library file entry types before and after the current document library file entry type in the ordered set where uuid = &#63; and companyId = &#63;.
343            *
344            * @param fileEntryTypeId the primary key of the current document library file entry type
345            * @param uuid the uuid
346            * @param companyId the company ID
347            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
348            * @return the previous, current, and next document library file entry type
349            * @throws NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found
350            */
351            public DLFileEntryType[] findByUuid_C_PrevAndNext(long fileEntryTypeId,
352                    java.lang.String uuid, long companyId,
353                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator)
354                    throws com.liferay.portlet.documentlibrary.exception.NoSuchFileEntryTypeException;
355    
356            /**
357            * Removes all the document library file entry types where uuid = &#63; and companyId = &#63; from the database.
358            *
359            * @param uuid the uuid
360            * @param companyId the company ID
361            */
362            public void removeByUuid_C(java.lang.String uuid, long companyId);
363    
364            /**
365            * Returns the number of document library file entry types where uuid = &#63; and companyId = &#63;.
366            *
367            * @param uuid the uuid
368            * @param companyId the company ID
369            * @return the number of matching document library file entry types
370            */
371            public int countByUuid_C(java.lang.String uuid, long companyId);
372    
373            /**
374            * Returns all the document library file entry types where groupId = &#63;.
375            *
376            * @param groupId the group ID
377            * @return the matching document library file entry types
378            */
379            public java.util.List<DLFileEntryType> findByGroupId(long groupId);
380    
381            /**
382            * Returns a range of all the document library file entry types where groupId = &#63;.
383            *
384            * <p>
385            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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.
386            * </p>
387            *
388            * @param groupId the group ID
389            * @param start the lower bound of the range of document library file entry types
390            * @param end the upper bound of the range of document library file entry types (not inclusive)
391            * @return the range of matching document library file entry types
392            */
393            public java.util.List<DLFileEntryType> findByGroupId(long groupId,
394                    int start, int end);
395    
396            /**
397            * Returns an ordered range of all the document library file entry types where groupId = &#63;.
398            *
399            * <p>
400            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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.
401            * </p>
402            *
403            * @param groupId the group ID
404            * @param start the lower bound of the range of document library file entry types
405            * @param end the upper bound of the range of document library file entry types (not inclusive)
406            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
407            * @return the ordered range of matching document library file entry types
408            */
409            public java.util.List<DLFileEntryType> findByGroupId(long groupId,
410                    int start, int end,
411                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator);
412    
413            /**
414            * Returns an ordered range of all the document library file entry types where groupId = &#63;.
415            *
416            * <p>
417            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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.
418            * </p>
419            *
420            * @param groupId the group ID
421            * @param start the lower bound of the range of document library file entry types
422            * @param end the upper bound of the range of document library file entry types (not inclusive)
423            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
424            * @param retrieveFromCache whether to retrieve from the finder cache
425            * @return the ordered range of matching document library file entry types
426            */
427            public java.util.List<DLFileEntryType> findByGroupId(long groupId,
428                    int start, int end,
429                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator,
430                    boolean retrieveFromCache);
431    
432            /**
433            * Returns the first document library file entry type in the ordered set where groupId = &#63;.
434            *
435            * @param groupId the group ID
436            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
437            * @return the first matching document library file entry type
438            * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found
439            */
440            public DLFileEntryType findByGroupId_First(long groupId,
441                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator)
442                    throws com.liferay.portlet.documentlibrary.exception.NoSuchFileEntryTypeException;
443    
444            /**
445            * Returns the first document library file entry type in the ordered set where groupId = &#63;.
446            *
447            * @param groupId the group ID
448            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
449            * @return the first matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found
450            */
451            public DLFileEntryType fetchByGroupId_First(long groupId,
452                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator);
453    
454            /**
455            * Returns the last document library file entry type in the ordered set where groupId = &#63;.
456            *
457            * @param groupId the group ID
458            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
459            * @return the last matching document library file entry type
460            * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found
461            */
462            public DLFileEntryType findByGroupId_Last(long groupId,
463                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator)
464                    throws com.liferay.portlet.documentlibrary.exception.NoSuchFileEntryTypeException;
465    
466            /**
467            * Returns the last document library file entry type in the ordered set where groupId = &#63;.
468            *
469            * @param groupId the group ID
470            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
471            * @return the last matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found
472            */
473            public DLFileEntryType fetchByGroupId_Last(long groupId,
474                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator);
475    
476            /**
477            * Returns the document library file entry types before and after the current document library file entry type in the ordered set where groupId = &#63;.
478            *
479            * @param fileEntryTypeId the primary key of the current document library file entry type
480            * @param groupId the group ID
481            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
482            * @return the previous, current, and next document library file entry type
483            * @throws NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found
484            */
485            public DLFileEntryType[] findByGroupId_PrevAndNext(long fileEntryTypeId,
486                    long groupId,
487                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator)
488                    throws com.liferay.portlet.documentlibrary.exception.NoSuchFileEntryTypeException;
489    
490            /**
491            * Returns all the document library file entry types that the user has permission to view where groupId = &#63;.
492            *
493            * @param groupId the group ID
494            * @return the matching document library file entry types that the user has permission to view
495            */
496            public java.util.List<DLFileEntryType> filterFindByGroupId(long groupId);
497    
498            /**
499            * Returns a range of all the document library file entry types that the user has permission to view where groupId = &#63;.
500            *
501            * <p>
502            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
503            * </p>
504            *
505            * @param groupId the group ID
506            * @param start the lower bound of the range of document library file entry types
507            * @param end the upper bound of the range of document library file entry types (not inclusive)
508            * @return the range of matching document library file entry types that the user has permission to view
509            */
510            public java.util.List<DLFileEntryType> filterFindByGroupId(long groupId,
511                    int start, int end);
512    
513            /**
514            * Returns an ordered range of all the document library file entry types that the user has permissions to view where groupId = &#63;.
515            *
516            * <p>
517            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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.
518            * </p>
519            *
520            * @param groupId the group ID
521            * @param start the lower bound of the range of document library file entry types
522            * @param end the upper bound of the range of document library file entry types (not inclusive)
523            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
524            * @return the ordered range of matching document library file entry types that the user has permission to view
525            */
526            public java.util.List<DLFileEntryType> filterFindByGroupId(long groupId,
527                    int start, int end,
528                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator);
529    
530            /**
531            * Returns the document library file entry types before and after the current document library file entry type in the ordered set of document library file entry types that the user has permission to view where groupId = &#63;.
532            *
533            * @param fileEntryTypeId the primary key of the current document library file entry type
534            * @param groupId the group ID
535            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
536            * @return the previous, current, and next document library file entry type
537            * @throws NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found
538            */
539            public DLFileEntryType[] filterFindByGroupId_PrevAndNext(
540                    long fileEntryTypeId, long groupId,
541                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator)
542                    throws com.liferay.portlet.documentlibrary.exception.NoSuchFileEntryTypeException;
543    
544            /**
545            * Returns all the document library file entry types that the user has permission to view where groupId = any &#63;.
546            *
547            * @param groupIds the group IDs
548            * @return the matching document library file entry types that the user has permission to view
549            */
550            public java.util.List<DLFileEntryType> filterFindByGroupId(long[] groupIds);
551    
552            /**
553            * Returns a range of all the document library file entry types that the user has permission to view where groupId = any &#63;.
554            *
555            * <p>
556            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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.
557            * </p>
558            *
559            * @param groupIds the group IDs
560            * @param start the lower bound of the range of document library file entry types
561            * @param end the upper bound of the range of document library file entry types (not inclusive)
562            * @return the range of matching document library file entry types that the user has permission to view
563            */
564            public java.util.List<DLFileEntryType> filterFindByGroupId(
565                    long[] groupIds, int start, int end);
566    
567            /**
568            * Returns an ordered range of all the document library file entry types that the user has permission to view where groupId = any &#63;.
569            *
570            * <p>
571            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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.
572            * </p>
573            *
574            * @param groupIds the group IDs
575            * @param start the lower bound of the range of document library file entry types
576            * @param end the upper bound of the range of document library file entry types (not inclusive)
577            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
578            * @return the ordered range of matching document library file entry types that the user has permission to view
579            */
580            public java.util.List<DLFileEntryType> filterFindByGroupId(
581                    long[] groupIds, int start, int end,
582                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator);
583    
584            /**
585            * Returns all the document library file entry types where groupId = any &#63;.
586            *
587            * <p>
588            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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.
589            * </p>
590            *
591            * @param groupIds the group IDs
592            * @return the matching document library file entry types
593            */
594            public java.util.List<DLFileEntryType> findByGroupId(long[] groupIds);
595    
596            /**
597            * Returns a range of all the document library file entry types where groupId = any &#63;.
598            *
599            * <p>
600            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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.
601            * </p>
602            *
603            * @param groupIds the group IDs
604            * @param start the lower bound of the range of document library file entry types
605            * @param end the upper bound of the range of document library file entry types (not inclusive)
606            * @return the range of matching document library file entry types
607            */
608            public java.util.List<DLFileEntryType> findByGroupId(long[] groupIds,
609                    int start, int end);
610    
611            /**
612            * Returns an ordered range of all the document library file entry types where groupId = any &#63;.
613            *
614            * <p>
615            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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.
616            * </p>
617            *
618            * @param groupIds the group IDs
619            * @param start the lower bound of the range of document library file entry types
620            * @param end the upper bound of the range of document library file entry types (not inclusive)
621            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
622            * @return the ordered range of matching document library file entry types
623            */
624            public java.util.List<DLFileEntryType> findByGroupId(long[] groupIds,
625                    int start, int end,
626                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator);
627    
628            /**
629            * Returns an ordered range of all the document library file entry types where groupId = &#63;, optionally using the finder cache.
630            *
631            * <p>
632            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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.
633            * </p>
634            *
635            * @param groupId the group ID
636            * @param start the lower bound of the range of document library file entry types
637            * @param end the upper bound of the range of document library file entry types (not inclusive)
638            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
639            * @param retrieveFromCache whether to retrieve from the finder cache
640            * @return the ordered range of matching document library file entry types
641            */
642            public java.util.List<DLFileEntryType> findByGroupId(long[] groupIds,
643                    int start, int end,
644                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator,
645                    boolean retrieveFromCache);
646    
647            /**
648            * Removes all the document library file entry types where groupId = &#63; from the database.
649            *
650            * @param groupId the group ID
651            */
652            public void removeByGroupId(long groupId);
653    
654            /**
655            * Returns the number of document library file entry types where groupId = &#63;.
656            *
657            * @param groupId the group ID
658            * @return the number of matching document library file entry types
659            */
660            public int countByGroupId(long groupId);
661    
662            /**
663            * Returns the number of document library file entry types where groupId = any &#63;.
664            *
665            * @param groupIds the group IDs
666            * @return the number of matching document library file entry types
667            */
668            public int countByGroupId(long[] groupIds);
669    
670            /**
671            * Returns the number of document library file entry types that the user has permission to view where groupId = &#63;.
672            *
673            * @param groupId the group ID
674            * @return the number of matching document library file entry types that the user has permission to view
675            */
676            public int filterCountByGroupId(long groupId);
677    
678            /**
679            * Returns the number of document library file entry types that the user has permission to view where groupId = any &#63;.
680            *
681            * @param groupIds the group IDs
682            * @return the number of matching document library file entry types that the user has permission to view
683            */
684            public int filterCountByGroupId(long[] groupIds);
685    
686            /**
687            * Returns the document library file entry type where groupId = &#63; and fileEntryTypeKey = &#63; or throws a {@link NoSuchFileEntryTypeException} if it could not be found.
688            *
689            * @param groupId the group ID
690            * @param fileEntryTypeKey the file entry type key
691            * @return the matching document library file entry type
692            * @throws NoSuchFileEntryTypeException if a matching document library file entry type could not be found
693            */
694            public DLFileEntryType findByG_F(long groupId,
695                    java.lang.String fileEntryTypeKey)
696                    throws com.liferay.portlet.documentlibrary.exception.NoSuchFileEntryTypeException;
697    
698            /**
699            * Returns the document library file entry type where groupId = &#63; and fileEntryTypeKey = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
700            *
701            * @param groupId the group ID
702            * @param fileEntryTypeKey the file entry type key
703            * @return the matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found
704            */
705            public DLFileEntryType fetchByG_F(long groupId,
706                    java.lang.String fileEntryTypeKey);
707    
708            /**
709            * Returns the document library file entry type where groupId = &#63; and fileEntryTypeKey = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
710            *
711            * @param groupId the group ID
712            * @param fileEntryTypeKey the file entry type key
713            * @param retrieveFromCache whether to retrieve from the finder cache
714            * @return the matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found
715            */
716            public DLFileEntryType fetchByG_F(long groupId,
717                    java.lang.String fileEntryTypeKey, boolean retrieveFromCache);
718    
719            /**
720            * Removes the document library file entry type where groupId = &#63; and fileEntryTypeKey = &#63; from the database.
721            *
722            * @param groupId the group ID
723            * @param fileEntryTypeKey the file entry type key
724            * @return the document library file entry type that was removed
725            */
726            public DLFileEntryType removeByG_F(long groupId,
727                    java.lang.String fileEntryTypeKey)
728                    throws com.liferay.portlet.documentlibrary.exception.NoSuchFileEntryTypeException;
729    
730            /**
731            * Returns the number of document library file entry types where groupId = &#63; and fileEntryTypeKey = &#63;.
732            *
733            * @param groupId the group ID
734            * @param fileEntryTypeKey the file entry type key
735            * @return the number of matching document library file entry types
736            */
737            public int countByG_F(long groupId, java.lang.String fileEntryTypeKey);
738    
739            /**
740            * Caches the document library file entry type in the entity cache if it is enabled.
741            *
742            * @param dlFileEntryType the document library file entry type
743            */
744            public void cacheResult(DLFileEntryType dlFileEntryType);
745    
746            /**
747            * Caches the document library file entry types in the entity cache if it is enabled.
748            *
749            * @param dlFileEntryTypes the document library file entry types
750            */
751            public void cacheResult(java.util.List<DLFileEntryType> dlFileEntryTypes);
752    
753            /**
754            * Creates a new document library file entry type with the primary key. Does not add the document library file entry type to the database.
755            *
756            * @param fileEntryTypeId the primary key for the new document library file entry type
757            * @return the new document library file entry type
758            */
759            public DLFileEntryType create(long fileEntryTypeId);
760    
761            /**
762            * Removes the document library file entry type with the primary key from the database. Also notifies the appropriate model listeners.
763            *
764            * @param fileEntryTypeId the primary key of the document library file entry type
765            * @return the document library file entry type that was removed
766            * @throws NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found
767            */
768            public DLFileEntryType remove(long fileEntryTypeId)
769                    throws com.liferay.portlet.documentlibrary.exception.NoSuchFileEntryTypeException;
770    
771            public DLFileEntryType updateImpl(DLFileEntryType dlFileEntryType);
772    
773            /**
774            * Returns the document library file entry type with the primary key or throws a {@link NoSuchFileEntryTypeException} if it could not be found.
775            *
776            * @param fileEntryTypeId the primary key of the document library file entry type
777            * @return the document library file entry type
778            * @throws NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found
779            */
780            public DLFileEntryType findByPrimaryKey(long fileEntryTypeId)
781                    throws com.liferay.portlet.documentlibrary.exception.NoSuchFileEntryTypeException;
782    
783            /**
784            * Returns the document library file entry type with the primary key or returns <code>null</code> if it could not be found.
785            *
786            * @param fileEntryTypeId the primary key of the document library file entry type
787            * @return the document library file entry type, or <code>null</code> if a document library file entry type with the primary key could not be found
788            */
789            public DLFileEntryType fetchByPrimaryKey(long fileEntryTypeId);
790    
791            @Override
792            public java.util.Map<java.io.Serializable, DLFileEntryType> fetchByPrimaryKeys(
793                    java.util.Set<java.io.Serializable> primaryKeys);
794    
795            /**
796            * Returns all the document library file entry types.
797            *
798            * @return the document library file entry types
799            */
800            public java.util.List<DLFileEntryType> findAll();
801    
802            /**
803            * Returns a range of all the document library file entry types.
804            *
805            * <p>
806            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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.
807            * </p>
808            *
809            * @param start the lower bound of the range of document library file entry types
810            * @param end the upper bound of the range of document library file entry types (not inclusive)
811            * @return the range of document library file entry types
812            */
813            public java.util.List<DLFileEntryType> findAll(int start, int end);
814    
815            /**
816            * Returns an ordered range of all the document library file entry types.
817            *
818            * <p>
819            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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.
820            * </p>
821            *
822            * @param start the lower bound of the range of document library file entry types
823            * @param end the upper bound of the range of document library file entry types (not inclusive)
824            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
825            * @return the ordered range of document library file entry types
826            */
827            public java.util.List<DLFileEntryType> findAll(int start, int end,
828                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator);
829    
830            /**
831            * Returns an ordered range of all the document library file entry types.
832            *
833            * <p>
834            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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.
835            * </p>
836            *
837            * @param start the lower bound of the range of document library file entry types
838            * @param end the upper bound of the range of document library file entry types (not inclusive)
839            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
840            * @param retrieveFromCache whether to retrieve from the finder cache
841            * @return the ordered range of document library file entry types
842            */
843            public java.util.List<DLFileEntryType> findAll(int start, int end,
844                    com.liferay.portal.kernel.util.OrderByComparator<DLFileEntryType> orderByComparator,
845                    boolean retrieveFromCache);
846    
847            /**
848            * Removes all the document library file entry types from the database.
849            */
850            public void removeAll();
851    
852            /**
853            * Returns the number of document library file entry types.
854            *
855            * @return the number of document library file entry types
856            */
857            public int countAll();
858    
859            /**
860            * Returns the primaryKeys of document library folders associated with the document library file entry type.
861            *
862            * @param pk the primary key of the document library file entry type
863            * @return long[] of the primaryKeys of document library folders associated with the document library file entry type
864            */
865            public long[] getDLFolderPrimaryKeys(long pk);
866    
867            /**
868            * Returns all the document library folders associated with the document library file entry type.
869            *
870            * @param pk the primary key of the document library file entry type
871            * @return the document library folders associated with the document library file entry type
872            */
873            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
874                    long pk);
875    
876            /**
877            * Returns a range of all the document library folders associated with the document library file entry type.
878            *
879            * <p>
880            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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.
881            * </p>
882            *
883            * @param pk the primary key of the document library file entry type
884            * @param start the lower bound of the range of document library file entry types
885            * @param end the upper bound of the range of document library file entry types (not inclusive)
886            * @return the range of document library folders associated with the document library file entry type
887            */
888            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
889                    long pk, int start, int end);
890    
891            /**
892            * Returns an ordered range of all the document library folders associated with the document library file entry type.
893            *
894            * <p>
895            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DLFileEntryTypeModelImpl}. 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.
896            * </p>
897            *
898            * @param pk the primary key of the document library file entry type
899            * @param start the lower bound of the range of document library file entry types
900            * @param end the upper bound of the range of document library file entry types (not inclusive)
901            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
902            * @return the ordered range of document library folders associated with the document library file entry type
903            */
904            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
905                    long pk, int start, int end,
906                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFolder> orderByComparator);
907    
908            /**
909            * Returns the number of document library folders associated with the document library file entry type.
910            *
911            * @param pk the primary key of the document library file entry type
912            * @return the number of document library folders associated with the document library file entry type
913            */
914            public int getDLFoldersSize(long pk);
915    
916            /**
917            * Returns <code>true</code> if the document library folder is associated with the document library file entry type.
918            *
919            * @param pk the primary key of the document library file entry type
920            * @param dlFolderPK the primary key of the document library folder
921            * @return <code>true</code> if the document library folder is associated with the document library file entry type; <code>false</code> otherwise
922            */
923            public boolean containsDLFolder(long pk, long dlFolderPK);
924    
925            /**
926            * Returns <code>true</code> if the document library file entry type has any document library folders associated with it.
927            *
928            * @param pk the primary key of the document library file entry type to check for associations with document library folders
929            * @return <code>true</code> if the document library file entry type has any document library folders associated with it; <code>false</code> otherwise
930            */
931            public boolean containsDLFolders(long pk);
932    
933            /**
934            * Adds an association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache.
935            *
936            * @param pk the primary key of the document library file entry type
937            * @param dlFolderPK the primary key of the document library folder
938            */
939            public void addDLFolder(long pk, long dlFolderPK);
940    
941            /**
942            * Adds an association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache.
943            *
944            * @param pk the primary key of the document library file entry type
945            * @param dlFolder the document library folder
946            */
947            public void addDLFolder(long pk,
948                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder);
949    
950            /**
951            * Adds an association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.
952            *
953            * @param pk the primary key of the document library file entry type
954            * @param dlFolderPKs the primary keys of the document library folders
955            */
956            public void addDLFolders(long pk, long[] dlFolderPKs);
957    
958            /**
959            * Adds an association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.
960            *
961            * @param pk the primary key of the document library file entry type
962            * @param dlFolders the document library folders
963            */
964            public void addDLFolders(long pk,
965                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> dlFolders);
966    
967            /**
968            * Clears all associations between the document library file entry type and its document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.
969            *
970            * @param pk the primary key of the document library file entry type to clear the associated document library folders from
971            */
972            public void clearDLFolders(long pk);
973    
974            /**
975            * Removes the association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache.
976            *
977            * @param pk the primary key of the document library file entry type
978            * @param dlFolderPK the primary key of the document library folder
979            */
980            public void removeDLFolder(long pk, long dlFolderPK);
981    
982            /**
983            * Removes the association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache.
984            *
985            * @param pk the primary key of the document library file entry type
986            * @param dlFolder the document library folder
987            */
988            public void removeDLFolder(long pk,
989                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder);
990    
991            /**
992            * Removes the association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.
993            *
994            * @param pk the primary key of the document library file entry type
995            * @param dlFolderPKs the primary keys of the document library folders
996            */
997            public void removeDLFolders(long pk, long[] dlFolderPKs);
998    
999            /**
1000            * Removes the association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1001            *
1002            * @param pk the primary key of the document library file entry type
1003            * @param dlFolders the document library folders
1004            */
1005            public void removeDLFolders(long pk,
1006                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> dlFolders);
1007    
1008            /**
1009            * Sets the document library folders associated with the document library file entry type, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1010            *
1011            * @param pk the primary key of the document library file entry type
1012            * @param dlFolderPKs the primary keys of the document library folders to be associated with the document library file entry type
1013            */
1014            public void setDLFolders(long pk, long[] dlFolderPKs);
1015    
1016            /**
1017            * Sets the document library folders associated with the document library file entry type, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1018            *
1019            * @param pk the primary key of the document library file entry type
1020            * @param dlFolders the document library folders to be associated with the document library file entry type
1021            */
1022            public void setDLFolders(long pk,
1023                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> dlFolders);
1024    
1025            @Override
1026            public java.util.Set<java.lang.String> getBadColumnNames();
1027    }