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