001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.documentlibrary.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.documentlibrary.model.DLFileEntryType;
020    
021    /**
022     * The persistence interface for the document library file entry type service.
023     *
024     * <p>
025     * Caching information and settings can be found in <code>portal.properties</code>
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see DLFileEntryTypePersistenceImpl
030     * @see DLFileEntryTypeUtil
031     * @generated
032     */
033    public interface DLFileEntryTypePersistence extends BasePersistence<DLFileEntryType> {
034            /*
035             * NOTE FOR DEVELOPERS:
036             *
037             * 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.
038             */
039    
040            /**
041            * Caches the document library file entry type in the entity cache if it is enabled.
042            *
043            * @param dlFileEntryType the document library file entry type
044            */
045            public void cacheResult(
046                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType);
047    
048            /**
049            * Caches the document library file entry types in the entity cache if it is enabled.
050            *
051            * @param dlFileEntryTypes the document library file entry types
052            */
053            public void cacheResult(
054                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> dlFileEntryTypes);
055    
056            /**
057            * Creates a new document library file entry type with the primary key. Does not add the document library file entry type to the database.
058            *
059            * @param fileEntryTypeId the primary key for the new document library file entry type
060            * @return the new document library file entry type
061            */
062            public com.liferay.portlet.documentlibrary.model.DLFileEntryType create(
063                    long fileEntryTypeId);
064    
065            /**
066            * Removes the document library file entry type with the primary key from the database. Also notifies the appropriate model listeners.
067            *
068            * @param fileEntryTypeId the primary key of the document library file entry type
069            * @return the document library file entry type that was removed
070            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found
071            * @throws SystemException if a system exception occurred
072            */
073            public com.liferay.portlet.documentlibrary.model.DLFileEntryType remove(
074                    long fileEntryTypeId)
075                    throws com.liferay.portal.kernel.exception.SystemException,
076                            com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException;
077    
078            public com.liferay.portlet.documentlibrary.model.DLFileEntryType updateImpl(
079                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
080                    throws com.liferay.portal.kernel.exception.SystemException;
081    
082            /**
083            * Returns the document library file entry type with the primary key or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException} if it could not be found.
084            *
085            * @param fileEntryTypeId the primary key of the document library file entry type
086            * @return the document library file entry type
087            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found
088            * @throws SystemException if a system exception occurred
089            */
090            public com.liferay.portlet.documentlibrary.model.DLFileEntryType findByPrimaryKey(
091                    long fileEntryTypeId)
092                    throws com.liferay.portal.kernel.exception.SystemException,
093                            com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException;
094    
095            /**
096            * Returns the document library file entry type with the primary key or returns <code>null</code> if it could not be found.
097            *
098            * @param fileEntryTypeId the primary key of the document library file entry type
099            * @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
100            * @throws SystemException if a system exception occurred
101            */
102            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchByPrimaryKey(
103                    long fileEntryTypeId)
104                    throws com.liferay.portal.kernel.exception.SystemException;
105    
106            /**
107            * Returns all the document library file entry types where uuid = &#63;.
108            *
109            * @param uuid the uuid
110            * @return the matching document library file entry types
111            * @throws SystemException if a system exception occurred
112            */
113            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findByUuid(
114                    java.lang.String uuid)
115                    throws com.liferay.portal.kernel.exception.SystemException;
116    
117            /**
118            * Returns a range of all the document library file entry types where uuid = &#63;.
119            *
120            * <p>
121            * 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.
122            * </p>
123            *
124            * @param uuid the uuid
125            * @param start the lower bound of the range of document library file entry types
126            * @param end the upper bound of the range of document library file entry types (not inclusive)
127            * @return the range of matching document library file entry types
128            * @throws SystemException if a system exception occurred
129            */
130            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findByUuid(
131                    java.lang.String uuid, int start, int end)
132                    throws com.liferay.portal.kernel.exception.SystemException;
133    
134            /**
135            * Returns an ordered range of all the document library file entry types where uuid = &#63;.
136            *
137            * <p>
138            * 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.
139            * </p>
140            *
141            * @param uuid the uuid
142            * @param start the lower bound of the range of document library file entry types
143            * @param end the upper bound of the range of document library file entry types (not inclusive)
144            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
145            * @return the ordered range of matching document library file entry types
146            * @throws SystemException if a system exception occurred
147            */
148            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findByUuid(
149                    java.lang.String uuid, int start, int end,
150                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
151                    throws com.liferay.portal.kernel.exception.SystemException;
152    
153            /**
154            * Returns the first document library file entry type in the ordered set where uuid = &#63;.
155            *
156            * @param uuid the uuid
157            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
158            * @return the first matching document library file entry type
159            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException if a matching document library file entry type could not be found
160            * @throws SystemException if a system exception occurred
161            */
162            public com.liferay.portlet.documentlibrary.model.DLFileEntryType findByUuid_First(
163                    java.lang.String uuid,
164                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
165                    throws com.liferay.portal.kernel.exception.SystemException,
166                            com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException;
167    
168            /**
169            * Returns the first document library file entry type in the ordered set where uuid = &#63;.
170            *
171            * @param uuid the uuid
172            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
173            * @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
174            * @throws SystemException if a system exception occurred
175            */
176            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchByUuid_First(
177                    java.lang.String uuid,
178                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
179                    throws com.liferay.portal.kernel.exception.SystemException;
180    
181            /**
182            * Returns the last document library file entry type in the ordered set where uuid = &#63;.
183            *
184            * @param uuid the uuid
185            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
186            * @return the last matching document library file entry type
187            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException if a matching document library file entry type could not be found
188            * @throws SystemException if a system exception occurred
189            */
190            public com.liferay.portlet.documentlibrary.model.DLFileEntryType findByUuid_Last(
191                    java.lang.String uuid,
192                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
193                    throws com.liferay.portal.kernel.exception.SystemException,
194                            com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException;
195    
196            /**
197            * Returns the last document library file entry type in the ordered set where uuid = &#63;.
198            *
199            * @param uuid the uuid
200            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
201            * @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
202            * @throws SystemException if a system exception occurred
203            */
204            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchByUuid_Last(
205                    java.lang.String uuid,
206                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
207                    throws com.liferay.portal.kernel.exception.SystemException;
208    
209            /**
210            * Returns the document library file entry types before and after the current document library file entry type in the ordered set where uuid = &#63;.
211            *
212            * @param fileEntryTypeId the primary key of the current document library file entry type
213            * @param uuid the uuid
214            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
215            * @return the previous, current, and next document library file entry type
216            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found
217            * @throws SystemException if a system exception occurred
218            */
219            public com.liferay.portlet.documentlibrary.model.DLFileEntryType[] findByUuid_PrevAndNext(
220                    long fileEntryTypeId, java.lang.String uuid,
221                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
222                    throws com.liferay.portal.kernel.exception.SystemException,
223                            com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException;
224    
225            /**
226            * Returns the document library file entry type where uuid = &#63; and groupId = &#63; or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException} if it could not be found.
227            *
228            * @param uuid the uuid
229            * @param groupId the group ID
230            * @return the matching document library file entry type
231            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException if a matching document library file entry type could not be found
232            * @throws SystemException if a system exception occurred
233            */
234            public com.liferay.portlet.documentlibrary.model.DLFileEntryType findByUUID_G(
235                    java.lang.String uuid, long groupId)
236                    throws com.liferay.portal.kernel.exception.SystemException,
237                            com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException;
238    
239            /**
240            * 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.
241            *
242            * @param uuid the uuid
243            * @param groupId the group ID
244            * @return the matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found
245            * @throws SystemException if a system exception occurred
246            */
247            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchByUUID_G(
248                    java.lang.String uuid, long groupId)
249                    throws com.liferay.portal.kernel.exception.SystemException;
250    
251            /**
252            * 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.
253            *
254            * @param uuid the uuid
255            * @param groupId the group ID
256            * @param retrieveFromCache whether to use the finder cache
257            * @return the matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found
258            * @throws SystemException if a system exception occurred
259            */
260            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchByUUID_G(
261                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
262                    throws com.liferay.portal.kernel.exception.SystemException;
263    
264            /**
265            * Returns all the document library file entry types where uuid = &#63; and companyId = &#63;.
266            *
267            * @param uuid the uuid
268            * @param companyId the company ID
269            * @return the matching document library file entry types
270            * @throws SystemException if a system exception occurred
271            */
272            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findByUuid_C(
273                    java.lang.String uuid, long companyId)
274                    throws com.liferay.portal.kernel.exception.SystemException;
275    
276            /**
277            * Returns a range of all the document library file entry types where uuid = &#63; and companyId = &#63;.
278            *
279            * <p>
280            * 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.
281            * </p>
282            *
283            * @param uuid the uuid
284            * @param companyId the company ID
285            * @param start the lower bound of the range of document library file entry types
286            * @param end the upper bound of the range of document library file entry types (not inclusive)
287            * @return the range of matching document library file entry types
288            * @throws SystemException if a system exception occurred
289            */
290            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findByUuid_C(
291                    java.lang.String uuid, long companyId, int start, int end)
292                    throws com.liferay.portal.kernel.exception.SystemException;
293    
294            /**
295            * Returns an ordered range of all the document library file entry types where uuid = &#63; and companyId = &#63;.
296            *
297            * <p>
298            * 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.
299            * </p>
300            *
301            * @param uuid the uuid
302            * @param companyId the company ID
303            * @param start the lower bound of the range of document library file entry types
304            * @param end the upper bound of the range of document library file entry types (not inclusive)
305            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
306            * @return the ordered range of matching document library file entry types
307            * @throws SystemException if a system exception occurred
308            */
309            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findByUuid_C(
310                    java.lang.String uuid, long companyId, int start, int end,
311                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
312                    throws com.liferay.portal.kernel.exception.SystemException;
313    
314            /**
315            * Returns the first document library file entry type in the ordered set where uuid = &#63; and companyId = &#63;.
316            *
317            * @param uuid the uuid
318            * @param companyId the company ID
319            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
320            * @return the first matching document library file entry type
321            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException if a matching document library file entry type could not be found
322            * @throws SystemException if a system exception occurred
323            */
324            public com.liferay.portlet.documentlibrary.model.DLFileEntryType findByUuid_C_First(
325                    java.lang.String uuid, long companyId,
326                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
327                    throws com.liferay.portal.kernel.exception.SystemException,
328                            com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException;
329    
330            /**
331            * Returns the first document library file entry type in the ordered set where uuid = &#63; and companyId = &#63;.
332            *
333            * @param uuid the uuid
334            * @param companyId the company ID
335            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
336            * @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
337            * @throws SystemException if a system exception occurred
338            */
339            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchByUuid_C_First(
340                    java.lang.String uuid, long companyId,
341                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
342                    throws com.liferay.portal.kernel.exception.SystemException;
343    
344            /**
345            * Returns the last document library file entry type in the ordered set where uuid = &#63; and companyId = &#63;.
346            *
347            * @param uuid the uuid
348            * @param companyId the company ID
349            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
350            * @return the last matching document library file entry type
351            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException if a matching document library file entry type could not be found
352            * @throws SystemException if a system exception occurred
353            */
354            public com.liferay.portlet.documentlibrary.model.DLFileEntryType findByUuid_C_Last(
355                    java.lang.String uuid, long companyId,
356                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
357                    throws com.liferay.portal.kernel.exception.SystemException,
358                            com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException;
359    
360            /**
361            * Returns the last document library file entry type in the ordered set where uuid = &#63; and companyId = &#63;.
362            *
363            * @param uuid the uuid
364            * @param companyId the company ID
365            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
366            * @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
367            * @throws SystemException if a system exception occurred
368            */
369            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchByUuid_C_Last(
370                    java.lang.String uuid, long companyId,
371                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
372                    throws com.liferay.portal.kernel.exception.SystemException;
373    
374            /**
375            * 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;.
376            *
377            * @param fileEntryTypeId the primary key of the current document library file entry type
378            * @param uuid the uuid
379            * @param companyId the company ID
380            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
381            * @return the previous, current, and next document library file entry type
382            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found
383            * @throws SystemException if a system exception occurred
384            */
385            public com.liferay.portlet.documentlibrary.model.DLFileEntryType[] findByUuid_C_PrevAndNext(
386                    long fileEntryTypeId, java.lang.String uuid, long companyId,
387                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
388                    throws com.liferay.portal.kernel.exception.SystemException,
389                            com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException;
390    
391            /**
392            * Returns all the document library file entry types where groupId = &#63;.
393            *
394            * @param groupId the group ID
395            * @return the matching document library file entry types
396            * @throws SystemException if a system exception occurred
397            */
398            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findByGroupId(
399                    long groupId)
400                    throws com.liferay.portal.kernel.exception.SystemException;
401    
402            /**
403            * Returns a range of all the document library file entry types where groupId = &#63;.
404            *
405            * <p>
406            * 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.
407            * </p>
408            *
409            * @param groupId the group ID
410            * @param start the lower bound of the range of document library file entry types
411            * @param end the upper bound of the range of document library file entry types (not inclusive)
412            * @return the range of matching document library file entry types
413            * @throws SystemException if a system exception occurred
414            */
415            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findByGroupId(
416                    long groupId, int start, int end)
417                    throws com.liferay.portal.kernel.exception.SystemException;
418    
419            /**
420            * Returns an ordered range of all the document library file entry types where groupId = &#63;.
421            *
422            * <p>
423            * 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.
424            * </p>
425            *
426            * @param groupId the group ID
427            * @param start the lower bound of the range of document library file entry types
428            * @param end the upper bound of the range of document library file entry types (not inclusive)
429            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
430            * @return the ordered range of matching document library file entry types
431            * @throws SystemException if a system exception occurred
432            */
433            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findByGroupId(
434                    long groupId, int start, int end,
435                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
436                    throws com.liferay.portal.kernel.exception.SystemException;
437    
438            /**
439            * Returns the first document library file entry type in the ordered set where groupId = &#63;.
440            *
441            * @param groupId the group ID
442            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
443            * @return the first matching document library file entry type
444            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException if a matching document library file entry type could not be found
445            * @throws SystemException if a system exception occurred
446            */
447            public com.liferay.portlet.documentlibrary.model.DLFileEntryType findByGroupId_First(
448                    long groupId,
449                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
450                    throws com.liferay.portal.kernel.exception.SystemException,
451                            com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException;
452    
453            /**
454            * Returns the first document library file entry type in the ordered set where groupId = &#63;.
455            *
456            * @param groupId the group ID
457            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
458            * @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
459            * @throws SystemException if a system exception occurred
460            */
461            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchByGroupId_First(
462                    long groupId,
463                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
464                    throws com.liferay.portal.kernel.exception.SystemException;
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
472            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException if a matching document library file entry type could not be found
473            * @throws SystemException if a system exception occurred
474            */
475            public com.liferay.portlet.documentlibrary.model.DLFileEntryType findByGroupId_Last(
476                    long groupId,
477                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
478                    throws com.liferay.portal.kernel.exception.SystemException,
479                            com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException;
480    
481            /**
482            * Returns the last document library file entry type in the ordered set where groupId = &#63;.
483            *
484            * @param groupId the group ID
485            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
486            * @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
487            * @throws SystemException if a system exception occurred
488            */
489            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchByGroupId_Last(
490                    long groupId,
491                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
492                    throws com.liferay.portal.kernel.exception.SystemException;
493    
494            /**
495            * Returns the document library file entry types before and after the current document library file entry type in the ordered set where groupId = &#63;.
496            *
497            * @param fileEntryTypeId the primary key of the current document library file entry type
498            * @param groupId the group ID
499            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
500            * @return the previous, current, and next document library file entry type
501            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found
502            * @throws SystemException if a system exception occurred
503            */
504            public com.liferay.portlet.documentlibrary.model.DLFileEntryType[] findByGroupId_PrevAndNext(
505                    long fileEntryTypeId, long groupId,
506                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
507                    throws com.liferay.portal.kernel.exception.SystemException,
508                            com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException;
509    
510            /**
511            * Returns all the document library file entry types where groupId = any &#63;.
512            *
513            * <p>
514            * 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.
515            * </p>
516            *
517            * @param groupIds the group IDs
518            * @return the matching document library file entry types
519            * @throws SystemException if a system exception occurred
520            */
521            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findByGroupId(
522                    long[] groupIds)
523                    throws com.liferay.portal.kernel.exception.SystemException;
524    
525            /**
526            * Returns a range of all the document library file entry types where groupId = any &#63;.
527            *
528            * <p>
529            * 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.
530            * </p>
531            *
532            * @param groupIds the group IDs
533            * @param start the lower bound of the range of document library file entry types
534            * @param end the upper bound of the range of document library file entry types (not inclusive)
535            * @return the range of matching document library file entry types
536            * @throws SystemException if a system exception occurred
537            */
538            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findByGroupId(
539                    long[] groupIds, int start, int end)
540                    throws com.liferay.portal.kernel.exception.SystemException;
541    
542            /**
543            * Returns an ordered range of all the document library file entry types where groupId = any &#63;.
544            *
545            * <p>
546            * 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.
547            * </p>
548            *
549            * @param groupIds the group IDs
550            * @param start the lower bound of the range of document library file entry types
551            * @param end the upper bound of the range of document library file entry types (not inclusive)
552            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
553            * @return the ordered range of matching document library file entry types
554            * @throws SystemException if a system exception occurred
555            */
556            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findByGroupId(
557                    long[] groupIds, int start, int end,
558                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
559                    throws com.liferay.portal.kernel.exception.SystemException;
560    
561            /**
562            * Returns all the document library file entry types that the user has permission to view where groupId = &#63;.
563            *
564            * @param groupId the group ID
565            * @return the matching document library file entry types that the user has permission to view
566            * @throws SystemException if a system exception occurred
567            */
568            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> filterFindByGroupId(
569                    long groupId)
570                    throws com.liferay.portal.kernel.exception.SystemException;
571    
572            /**
573            * Returns a range of all the document library file entry types that the user has permission to view where groupId = &#63;.
574            *
575            * <p>
576            * 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.
577            * </p>
578            *
579            * @param groupId the group ID
580            * @param start the lower bound of the range of document library file entry types
581            * @param end the upper bound of the range of document library file entry types (not inclusive)
582            * @return the range of matching document library file entry types that the user has permission to view
583            * @throws SystemException if a system exception occurred
584            */
585            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> filterFindByGroupId(
586                    long groupId, int start, int end)
587                    throws com.liferay.portal.kernel.exception.SystemException;
588    
589            /**
590            * Returns an ordered range of all the document library file entry types that the user has permissions to view where groupId = &#63;.
591            *
592            * <p>
593            * 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.
594            * </p>
595            *
596            * @param groupId the group ID
597            * @param start the lower bound of the range of document library file entry types
598            * @param end the upper bound of the range of document library file entry types (not inclusive)
599            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
600            * @return the ordered range of matching document library file entry types that the user has permission to view
601            * @throws SystemException if a system exception occurred
602            */
603            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> filterFindByGroupId(
604                    long groupId, int start, int end,
605                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
606                    throws com.liferay.portal.kernel.exception.SystemException;
607    
608            /**
609            * 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;.
610            *
611            * @param fileEntryTypeId the primary key of the current document library file entry type
612            * @param groupId the group ID
613            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
614            * @return the previous, current, and next document library file entry type
615            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found
616            * @throws SystemException if a system exception occurred
617            */
618            public com.liferay.portlet.documentlibrary.model.DLFileEntryType[] filterFindByGroupId_PrevAndNext(
619                    long fileEntryTypeId, long groupId,
620                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
621                    throws com.liferay.portal.kernel.exception.SystemException,
622                            com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException;
623    
624            /**
625            * Returns all the document library file entry types that the user has permission to view where groupId = any &#63;.
626            *
627            * @param groupIds the group IDs
628            * @return the matching document library file entry types that the user has permission to view
629            * @throws SystemException if a system exception occurred
630            */
631            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> filterFindByGroupId(
632                    long[] groupIds)
633                    throws com.liferay.portal.kernel.exception.SystemException;
634    
635            /**
636            * Returns a range of all the document library file entry types that the user has permission to view where groupId = any &#63;.
637            *
638            * <p>
639            * 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.
640            * </p>
641            *
642            * @param groupIds the group IDs
643            * @param start the lower bound of the range of document library file entry types
644            * @param end the upper bound of the range of document library file entry types (not inclusive)
645            * @return the range of matching document library file entry types that the user has permission to view
646            * @throws SystemException if a system exception occurred
647            */
648            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> filterFindByGroupId(
649                    long[] groupIds, int start, int end)
650                    throws com.liferay.portal.kernel.exception.SystemException;
651    
652            /**
653            * Returns an ordered range of all the document library file entry types that the user has permission to view where groupId = any &#63;.
654            *
655            * <p>
656            * 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.
657            * </p>
658            *
659            * @param groupIds the group IDs
660            * @param start the lower bound of the range of document library file entry types
661            * @param end the upper bound of the range of document library file entry types (not inclusive)
662            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
663            * @return the ordered range of matching document library file entry types that the user has permission to view
664            * @throws SystemException if a system exception occurred
665            */
666            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> filterFindByGroupId(
667                    long[] groupIds, int start, int end,
668                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
669                    throws com.liferay.portal.kernel.exception.SystemException;
670    
671            /**
672            * Returns the document library file entry type where groupId = &#63; and name = &#63; or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException} if it could not be found.
673            *
674            * @param groupId the group ID
675            * @param name the name
676            * @return the matching document library file entry type
677            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException if a matching document library file entry type could not be found
678            * @throws SystemException if a system exception occurred
679            */
680            public com.liferay.portlet.documentlibrary.model.DLFileEntryType findByG_N(
681                    long groupId, java.lang.String name)
682                    throws com.liferay.portal.kernel.exception.SystemException,
683                            com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException;
684    
685            /**
686            * Returns the document library file entry type where groupId = &#63; and name = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
687            *
688            * @param groupId the group ID
689            * @param name the name
690            * @return the matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found
691            * @throws SystemException if a system exception occurred
692            */
693            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchByG_N(
694                    long groupId, java.lang.String name)
695                    throws com.liferay.portal.kernel.exception.SystemException;
696    
697            /**
698            * Returns the document library file entry type where groupId = &#63; and name = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
699            *
700            * @param groupId the group ID
701            * @param name the name
702            * @param retrieveFromCache whether to use the finder cache
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            * @throws SystemException if a system exception occurred
705            */
706            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchByG_N(
707                    long groupId, java.lang.String name, boolean retrieveFromCache)
708                    throws com.liferay.portal.kernel.exception.SystemException;
709    
710            /**
711            * Returns all the document library file entry types.
712            *
713            * @return the document library file entry types
714            * @throws SystemException if a system exception occurred
715            */
716            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findAll()
717                    throws com.liferay.portal.kernel.exception.SystemException;
718    
719            /**
720            * Returns a range of all the document library file entry types.
721            *
722            * <p>
723            * 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.
724            * </p>
725            *
726            * @param start the lower bound of the range of document library file entry types
727            * @param end the upper bound of the range of document library file entry types (not inclusive)
728            * @return the range of document library file entry types
729            * @throws SystemException if a system exception occurred
730            */
731            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findAll(
732                    int start, int end)
733                    throws com.liferay.portal.kernel.exception.SystemException;
734    
735            /**
736            * Returns an ordered range of all the document library file entry types.
737            *
738            * <p>
739            * 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.
740            * </p>
741            *
742            * @param start the lower bound of the range of document library file entry types
743            * @param end the upper bound of the range of document library file entry types (not inclusive)
744            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
745            * @return the ordered range of document library file entry types
746            * @throws SystemException if a system exception occurred
747            */
748            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findAll(
749                    int start, int end,
750                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
751                    throws com.liferay.portal.kernel.exception.SystemException;
752    
753            /**
754            * Removes all the document library file entry types where uuid = &#63; from the database.
755            *
756            * @param uuid the uuid
757            * @throws SystemException if a system exception occurred
758            */
759            public void removeByUuid(java.lang.String uuid)
760                    throws com.liferay.portal.kernel.exception.SystemException;
761    
762            /**
763            * Removes the document library file entry type where uuid = &#63; and groupId = &#63; from the database.
764            *
765            * @param uuid the uuid
766            * @param groupId the group ID
767            * @return the document library file entry type that was removed
768            * @throws SystemException if a system exception occurred
769            */
770            public com.liferay.portlet.documentlibrary.model.DLFileEntryType removeByUUID_G(
771                    java.lang.String uuid, long groupId)
772                    throws com.liferay.portal.kernel.exception.SystemException,
773                            com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException;
774    
775            /**
776            * Removes all the document library file entry types where uuid = &#63; and companyId = &#63; from the database.
777            *
778            * @param uuid the uuid
779            * @param companyId the company ID
780            * @throws SystemException if a system exception occurred
781            */
782            public void removeByUuid_C(java.lang.String uuid, long companyId)
783                    throws com.liferay.portal.kernel.exception.SystemException;
784    
785            /**
786            * Removes all the document library file entry types where groupId = &#63; from the database.
787            *
788            * @param groupId the group ID
789            * @throws SystemException if a system exception occurred
790            */
791            public void removeByGroupId(long groupId)
792                    throws com.liferay.portal.kernel.exception.SystemException;
793    
794            /**
795            * Removes the document library file entry type where groupId = &#63; and name = &#63; from the database.
796            *
797            * @param groupId the group ID
798            * @param name the name
799            * @return the document library file entry type that was removed
800            * @throws SystemException if a system exception occurred
801            */
802            public com.liferay.portlet.documentlibrary.model.DLFileEntryType removeByG_N(
803                    long groupId, java.lang.String name)
804                    throws com.liferay.portal.kernel.exception.SystemException,
805                            com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException;
806    
807            /**
808            * Removes all the document library file entry types from the database.
809            *
810            * @throws SystemException if a system exception occurred
811            */
812            public void removeAll()
813                    throws com.liferay.portal.kernel.exception.SystemException;
814    
815            /**
816            * Returns the number of document library file entry types where uuid = &#63;.
817            *
818            * @param uuid the uuid
819            * @return the number of matching document library file entry types
820            * @throws SystemException if a system exception occurred
821            */
822            public int countByUuid(java.lang.String uuid)
823                    throws com.liferay.portal.kernel.exception.SystemException;
824    
825            /**
826            * Returns the number of document library file entry types where uuid = &#63; and groupId = &#63;.
827            *
828            * @param uuid the uuid
829            * @param groupId the group ID
830            * @return the number of matching document library file entry types
831            * @throws SystemException if a system exception occurred
832            */
833            public int countByUUID_G(java.lang.String uuid, long groupId)
834                    throws com.liferay.portal.kernel.exception.SystemException;
835    
836            /**
837            * Returns the number of document library file entry types where uuid = &#63; and companyId = &#63;.
838            *
839            * @param uuid the uuid
840            * @param companyId the company ID
841            * @return the number of matching document library file entry types
842            * @throws SystemException if a system exception occurred
843            */
844            public int countByUuid_C(java.lang.String uuid, long companyId)
845                    throws com.liferay.portal.kernel.exception.SystemException;
846    
847            /**
848            * Returns the number of document library file entry types where groupId = &#63;.
849            *
850            * @param groupId the group ID
851            * @return the number of matching document library file entry types
852            * @throws SystemException if a system exception occurred
853            */
854            public int countByGroupId(long groupId)
855                    throws com.liferay.portal.kernel.exception.SystemException;
856    
857            /**
858            * Returns the number of document library file entry types where groupId = any &#63;.
859            *
860            * @param groupIds the group IDs
861            * @return the number of matching document library file entry types
862            * @throws SystemException if a system exception occurred
863            */
864            public int countByGroupId(long[] groupIds)
865                    throws com.liferay.portal.kernel.exception.SystemException;
866    
867            /**
868            * Returns the number of document library file entry types that the user has permission to view where groupId = &#63;.
869            *
870            * @param groupId the group ID
871            * @return the number of matching document library file entry types that the user has permission to view
872            * @throws SystemException if a system exception occurred
873            */
874            public int filterCountByGroupId(long groupId)
875                    throws com.liferay.portal.kernel.exception.SystemException;
876    
877            /**
878            * Returns the number of document library file entry types that the user has permission to view where groupId = any &#63;.
879            *
880            * @param groupIds the group IDs
881            * @return the number of matching document library file entry types that the user has permission to view
882            * @throws SystemException if a system exception occurred
883            */
884            public int filterCountByGroupId(long[] groupIds)
885                    throws com.liferay.portal.kernel.exception.SystemException;
886    
887            /**
888            * Returns the number of document library file entry types where groupId = &#63; and name = &#63;.
889            *
890            * @param groupId the group ID
891            * @param name the name
892            * @return the number of matching document library file entry types
893            * @throws SystemException if a system exception occurred
894            */
895            public int countByG_N(long groupId, java.lang.String name)
896                    throws com.liferay.portal.kernel.exception.SystemException;
897    
898            /**
899            * Returns the number of document library file entry types.
900            *
901            * @return the number of document library file entry types
902            * @throws SystemException if a system exception occurred
903            */
904            public int countAll()
905                    throws com.liferay.portal.kernel.exception.SystemException;
906    
907            /**
908            * Returns all the document library folders associated with the document library file entry type.
909            *
910            * @param pk the primary key of the document library file entry type
911            * @return the document library folders associated with the document library file entry type
912            * @throws SystemException if a system exception occurred
913            */
914            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
915                    long pk) throws com.liferay.portal.kernel.exception.SystemException;
916    
917            /**
918            * Returns a range of all the document library folders associated with the document library file entry type.
919            *
920            * <p>
921            * 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.
922            * </p>
923            *
924            * @param pk the primary key of the document library file entry type
925            * @param start the lower bound of the range of document library file entry types
926            * @param end the upper bound of the range of document library file entry types (not inclusive)
927            * @return the range of document library folders associated with the document library file entry type
928            * @throws SystemException if a system exception occurred
929            */
930            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
931                    long pk, int start, int end)
932                    throws com.liferay.portal.kernel.exception.SystemException;
933    
934            /**
935            * Returns an ordered range of all the document library folders associated with the document library file entry type.
936            *
937            * <p>
938            * 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.
939            * </p>
940            *
941            * @param pk the primary key of the document library file entry type
942            * @param start the lower bound of the range of document library file entry types
943            * @param end the upper bound of the range of document library file entry types (not inclusive)
944            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
945            * @return the ordered range of document library folders associated with the document library file entry type
946            * @throws SystemException if a system exception occurred
947            */
948            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
949                    long pk, int start, int end,
950                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
951                    throws com.liferay.portal.kernel.exception.SystemException;
952    
953            /**
954            * Returns the number of document library folders associated with the document library file entry type.
955            *
956            * @param pk the primary key of the document library file entry type
957            * @return the number of document library folders associated with the document library file entry type
958            * @throws SystemException if a system exception occurred
959            */
960            public int getDLFoldersSize(long pk)
961                    throws com.liferay.portal.kernel.exception.SystemException;
962    
963            /**
964            * Returns <code>true</code> if the document library folder is associated with the document library file entry type.
965            *
966            * @param pk the primary key of the document library file entry type
967            * @param dlFolderPK the primary key of the document library folder
968            * @return <code>true</code> if the document library folder is associated with the document library file entry type; <code>false</code> otherwise
969            * @throws SystemException if a system exception occurred
970            */
971            public boolean containsDLFolder(long pk, long dlFolderPK)
972                    throws com.liferay.portal.kernel.exception.SystemException;
973    
974            /**
975            * Returns <code>true</code> if the document library file entry type has any document library folders associated with it.
976            *
977            * @param pk the primary key of the document library file entry type to check for associations with document library folders
978            * @return <code>true</code> if the document library file entry type has any document library folders associated with it; <code>false</code> otherwise
979            * @throws SystemException if a system exception occurred
980            */
981            public boolean containsDLFolders(long pk)
982                    throws com.liferay.portal.kernel.exception.SystemException;
983    
984            /**
985            * 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.
986            *
987            * @param pk the primary key of the document library file entry type
988            * @param dlFolderPK the primary key of the document library folder
989            * @throws SystemException if a system exception occurred
990            */
991            public void addDLFolder(long pk, long dlFolderPK)
992                    throws com.liferay.portal.kernel.exception.SystemException;
993    
994            /**
995            * 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.
996            *
997            * @param pk the primary key of the document library file entry type
998            * @param dlFolder the document library folder
999            * @throws SystemException if a system exception occurred
1000            */
1001            public void addDLFolder(long pk,
1002                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
1003                    throws com.liferay.portal.kernel.exception.SystemException;
1004    
1005            /**
1006            * 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.
1007            *
1008            * @param pk the primary key of the document library file entry type
1009            * @param dlFolderPKs the primary keys of the document library folders
1010            * @throws SystemException if a system exception occurred
1011            */
1012            public void addDLFolders(long pk, long[] dlFolderPKs)
1013                    throws com.liferay.portal.kernel.exception.SystemException;
1014    
1015            /**
1016            * 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.
1017            *
1018            * @param pk the primary key of the document library file entry type
1019            * @param dlFolders the document library folders
1020            * @throws SystemException if a system exception occurred
1021            */
1022            public void addDLFolders(long pk,
1023                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> dlFolders)
1024                    throws com.liferay.portal.kernel.exception.SystemException;
1025    
1026            /**
1027            * 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.
1028            *
1029            * @param pk the primary key of the document library file entry type to clear the associated document library folders from
1030            * @throws SystemException if a system exception occurred
1031            */
1032            public void clearDLFolders(long pk)
1033                    throws com.liferay.portal.kernel.exception.SystemException;
1034    
1035            /**
1036            * 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.
1037            *
1038            * @param pk the primary key of the document library file entry type
1039            * @param dlFolderPK the primary key of the document library folder
1040            * @throws SystemException if a system exception occurred
1041            */
1042            public void removeDLFolder(long pk, long dlFolderPK)
1043                    throws com.liferay.portal.kernel.exception.SystemException;
1044    
1045            /**
1046            * 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.
1047            *
1048            * @param pk the primary key of the document library file entry type
1049            * @param dlFolder the document library folder
1050            * @throws SystemException if a system exception occurred
1051            */
1052            public void removeDLFolder(long pk,
1053                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
1054                    throws com.liferay.portal.kernel.exception.SystemException;
1055    
1056            /**
1057            * 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.
1058            *
1059            * @param pk the primary key of the document library file entry type
1060            * @param dlFolderPKs the primary keys of the document library folders
1061            * @throws SystemException if a system exception occurred
1062            */
1063            public void removeDLFolders(long pk, long[] dlFolderPKs)
1064                    throws com.liferay.portal.kernel.exception.SystemException;
1065    
1066            /**
1067            * 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.
1068            *
1069            * @param pk the primary key of the document library file entry type
1070            * @param dlFolders the document library folders
1071            * @throws SystemException if a system exception occurred
1072            */
1073            public void removeDLFolders(long pk,
1074                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> dlFolders)
1075                    throws com.liferay.portal.kernel.exception.SystemException;
1076    
1077            /**
1078            * 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.
1079            *
1080            * @param pk the primary key of the document library file entry type
1081            * @param dlFolderPKs the primary keys of the document library folders to be associated with the document library file entry type
1082            * @throws SystemException if a system exception occurred
1083            */
1084            public void setDLFolders(long pk, long[] dlFolderPKs)
1085                    throws com.liferay.portal.kernel.exception.SystemException;
1086    
1087            /**
1088            * 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.
1089            *
1090            * @param pk the primary key of the document library file entry type
1091            * @param dlFolders the document library folders to be associated with the document library file entry type
1092            * @throws SystemException if a system exception occurred
1093            */
1094            public void setDLFolders(long pk,
1095                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> dlFolders)
1096                    throws com.liferay.portal.kernel.exception.SystemException;
1097    
1098            /**
1099            * Returns all the d d m structures associated with the document library file entry type.
1100            *
1101            * @param pk the primary key of the document library file entry type
1102            * @return the d d m structures associated with the document library file entry type
1103            * @throws SystemException if a system exception occurred
1104            */
1105            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getDDMStructures(
1106                    long pk) throws com.liferay.portal.kernel.exception.SystemException;
1107    
1108            /**
1109            * Returns a range of all the d d m structures associated with the document library file entry type.
1110            *
1111            * <p>
1112            * 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.
1113            * </p>
1114            *
1115            * @param pk the primary key of the document library file entry type
1116            * @param start the lower bound of the range of document library file entry types
1117            * @param end the upper bound of the range of document library file entry types (not inclusive)
1118            * @return the range of d d m structures associated with the document library file entry type
1119            * @throws SystemException if a system exception occurred
1120            */
1121            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getDDMStructures(
1122                    long pk, int start, int end)
1123                    throws com.liferay.portal.kernel.exception.SystemException;
1124    
1125            /**
1126            * Returns an ordered range of all the d d m structures associated with the document library file entry type.
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.
1130            * </p>
1131            *
1132            * @param pk the primary key of the document library file entry type
1133            * @param start the lower bound of the range of document library file entry types
1134            * @param end the upper bound of the range of document library file entry types (not inclusive)
1135            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1136            * @return the ordered range of d d m structures associated with the document library file entry type
1137            * @throws SystemException if a system exception occurred
1138            */
1139            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getDDMStructures(
1140                    long pk, int start, int end,
1141                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1142                    throws com.liferay.portal.kernel.exception.SystemException;
1143    
1144            /**
1145            * Returns the number of d d m structures associated with the document library file entry type.
1146            *
1147            * @param pk the primary key of the document library file entry type
1148            * @return the number of d d m structures associated with the document library file entry type
1149            * @throws SystemException if a system exception occurred
1150            */
1151            public int getDDMStructuresSize(long pk)
1152                    throws com.liferay.portal.kernel.exception.SystemException;
1153    
1154            /**
1155            * Returns <code>true</code> if the d d m structure is associated with the document library file entry type.
1156            *
1157            * @param pk the primary key of the document library file entry type
1158            * @param ddmStructurePK the primary key of the d d m structure
1159            * @return <code>true</code> if the d d m structure is associated with the document library file entry type; <code>false</code> otherwise
1160            * @throws SystemException if a system exception occurred
1161            */
1162            public boolean containsDDMStructure(long pk, long ddmStructurePK)
1163                    throws com.liferay.portal.kernel.exception.SystemException;
1164    
1165            /**
1166            * Returns <code>true</code> if the document library file entry type has any d d m structures associated with it.
1167            *
1168            * @param pk the primary key of the document library file entry type to check for associations with d d m structures
1169            * @return <code>true</code> if the document library file entry type has any d d m structures associated with it; <code>false</code> otherwise
1170            * @throws SystemException if a system exception occurred
1171            */
1172            public boolean containsDDMStructures(long pk)
1173                    throws com.liferay.portal.kernel.exception.SystemException;
1174    
1175            /**
1176            * Adds an association between the document library file entry type and the d d m structure. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1177            *
1178            * @param pk the primary key of the document library file entry type
1179            * @param ddmStructurePK the primary key of the d d m structure
1180            * @throws SystemException if a system exception occurred
1181            */
1182            public void addDDMStructure(long pk, long ddmStructurePK)
1183                    throws com.liferay.portal.kernel.exception.SystemException;
1184    
1185            /**
1186            * Adds an association between the document library file entry type and the d d m structure. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1187            *
1188            * @param pk the primary key of the document library file entry type
1189            * @param ddmStructure the d d m structure
1190            * @throws SystemException if a system exception occurred
1191            */
1192            public void addDDMStructure(long pk,
1193                    com.liferay.portlet.dynamicdatamapping.model.DDMStructure ddmStructure)
1194                    throws com.liferay.portal.kernel.exception.SystemException;
1195    
1196            /**
1197            * Adds an association between the document library file entry type and the d d m structures. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1198            *
1199            * @param pk the primary key of the document library file entry type
1200            * @param ddmStructurePKs the primary keys of the d d m structures
1201            * @throws SystemException if a system exception occurred
1202            */
1203            public void addDDMStructures(long pk, long[] ddmStructurePKs)
1204                    throws com.liferay.portal.kernel.exception.SystemException;
1205    
1206            /**
1207            * Adds an association between the document library file entry type and the d d m structures. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1208            *
1209            * @param pk the primary key of the document library file entry type
1210            * @param ddmStructures the d d m structures
1211            * @throws SystemException if a system exception occurred
1212            */
1213            public void addDDMStructures(long pk,
1214                    java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> ddmStructures)
1215                    throws com.liferay.portal.kernel.exception.SystemException;
1216    
1217            /**
1218            * Clears all associations between the document library file entry type and its d d m structures. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1219            *
1220            * @param pk the primary key of the document library file entry type to clear the associated d d m structures from
1221            * @throws SystemException if a system exception occurred
1222            */
1223            public void clearDDMStructures(long pk)
1224                    throws com.liferay.portal.kernel.exception.SystemException;
1225    
1226            /**
1227            * Removes the association between the document library file entry type and the d d m structure. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1228            *
1229            * @param pk the primary key of the document library file entry type
1230            * @param ddmStructurePK the primary key of the d d m structure
1231            * @throws SystemException if a system exception occurred
1232            */
1233            public void removeDDMStructure(long pk, long ddmStructurePK)
1234                    throws com.liferay.portal.kernel.exception.SystemException;
1235    
1236            /**
1237            * Removes the association between the document library file entry type and the d d m structure. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1238            *
1239            * @param pk the primary key of the document library file entry type
1240            * @param ddmStructure the d d m structure
1241            * @throws SystemException if a system exception occurred
1242            */
1243            public void removeDDMStructure(long pk,
1244                    com.liferay.portlet.dynamicdatamapping.model.DDMStructure ddmStructure)
1245                    throws com.liferay.portal.kernel.exception.SystemException;
1246    
1247            /**
1248            * Removes the association between the document library file entry type and the d d m structures. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1249            *
1250            * @param pk the primary key of the document library file entry type
1251            * @param ddmStructurePKs the primary keys of the d d m structures
1252            * @throws SystemException if a system exception occurred
1253            */
1254            public void removeDDMStructures(long pk, long[] ddmStructurePKs)
1255                    throws com.liferay.portal.kernel.exception.SystemException;
1256    
1257            /**
1258            * Removes the association between the document library file entry type and the d d m structures. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1259            *
1260            * @param pk the primary key of the document library file entry type
1261            * @param ddmStructures the d d m structures
1262            * @throws SystemException if a system exception occurred
1263            */
1264            public void removeDDMStructures(long pk,
1265                    java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> ddmStructures)
1266                    throws com.liferay.portal.kernel.exception.SystemException;
1267    
1268            /**
1269            * Sets the d d m structures 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.
1270            *
1271            * @param pk the primary key of the document library file entry type
1272            * @param ddmStructurePKs the primary keys of the d d m structures to be associated with the document library file entry type
1273            * @throws SystemException if a system exception occurred
1274            */
1275            public void setDDMStructures(long pk, long[] ddmStructurePKs)
1276                    throws com.liferay.portal.kernel.exception.SystemException;
1277    
1278            /**
1279            * Sets the d d m structures 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.
1280            *
1281            * @param pk the primary key of the document library file entry type
1282            * @param ddmStructures the d d m structures to be associated with the document library file entry type
1283            * @throws SystemException if a system exception occurred
1284            */
1285            public void setDDMStructures(long pk,
1286                    java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> ddmStructures)
1287                    throws com.liferay.portal.kernel.exception.SystemException;
1288    }