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