001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.documentlibrary.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.documentlibrary.model.DLFileEntryType;
020    
021    /**
022     * The persistence interface for the document library file entry type service.
023     *
024     * <p>
025     * Caching information and settings can be found in <code>portal.properties</code>
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see DLFileEntryTypePersistenceImpl
030     * @see DLFileEntryTypeUtil
031     * @generated
032     */
033    public interface DLFileEntryTypePersistence extends BasePersistence<DLFileEntryType> {
034            /*
035             * NOTE FOR DEVELOPERS:
036             *
037             * Never modify or reference this interface directly. Always use {@link DLFileEntryTypeUtil} to access the document library file entry type persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
038             */
039    
040            /**
041            * 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 name = &#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 name the name
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_N(
728                    long groupId, java.lang.String name)
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 name = &#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 name the name
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_N(
741                    long groupId, java.lang.String name)
742                    throws com.liferay.portal.kernel.exception.SystemException;
743    
744            /**
745            * Returns the document library file entry type where groupId = &#63; and name = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
746            *
747            * @param groupId the group ID
748            * @param name the name
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_N(
754                    long groupId, java.lang.String name, boolean retrieveFromCache)
755                    throws com.liferay.portal.kernel.exception.SystemException;
756    
757            /**
758            * Removes the document library file entry type where groupId = &#63; and name = &#63; from the database.
759            *
760            * @param groupId the group ID
761            * @param name the name
762            * @return the document library file entry type that was removed
763            * @throws SystemException if a system exception occurred
764            */
765            public com.liferay.portlet.documentlibrary.model.DLFileEntryType removeByG_N(
766                    long groupId, java.lang.String name)
767                    throws com.liferay.portal.kernel.exception.SystemException,
768                            com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException;
769    
770            /**
771            * Returns the number of document library file entry types where groupId = &#63; and name = &#63;.
772            *
773            * @param groupId the group ID
774            * @param name the name
775            * @return the number of matching document library file entry types
776            * @throws SystemException if a system exception occurred
777            */
778            public int countByG_N(long groupId, java.lang.String name)
779                    throws com.liferay.portal.kernel.exception.SystemException;
780    
781            /**
782            * Caches the document library file entry type in the entity cache if it is enabled.
783            *
784            * @param dlFileEntryType the document library file entry type
785            */
786            public void cacheResult(
787                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType);
788    
789            /**
790            * Caches the document library file entry types in the entity cache if it is enabled.
791            *
792            * @param dlFileEntryTypes the document library file entry types
793            */
794            public void cacheResult(
795                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> dlFileEntryTypes);
796    
797            /**
798            * Creates a new document library file entry type with the primary key. Does not add the document library file entry type to the database.
799            *
800            * @param fileEntryTypeId the primary key for the new document library file entry type
801            * @return the new document library file entry type
802            */
803            public com.liferay.portlet.documentlibrary.model.DLFileEntryType create(
804                    long fileEntryTypeId);
805    
806            /**
807            * Removes the document library file entry type with the primary key from the database. Also notifies the appropriate model listeners.
808            *
809            * @param fileEntryTypeId the primary key of the document library file entry type
810            * @return the document library file entry type that was removed
811            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found
812            * @throws SystemException if a system exception occurred
813            */
814            public com.liferay.portlet.documentlibrary.model.DLFileEntryType remove(
815                    long fileEntryTypeId)
816                    throws com.liferay.portal.kernel.exception.SystemException,
817                            com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException;
818    
819            public com.liferay.portlet.documentlibrary.model.DLFileEntryType updateImpl(
820                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
821                    throws com.liferay.portal.kernel.exception.SystemException;
822    
823            /**
824            * 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.
825            *
826            * @param fileEntryTypeId the primary key of the document library file entry type
827            * @return the document library file entry type
828            * @throws com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException if a document library file entry type with the primary key could not be found
829            * @throws SystemException if a system exception occurred
830            */
831            public com.liferay.portlet.documentlibrary.model.DLFileEntryType findByPrimaryKey(
832                    long fileEntryTypeId)
833                    throws com.liferay.portal.kernel.exception.SystemException,
834                            com.liferay.portlet.documentlibrary.NoSuchFileEntryTypeException;
835    
836            /**
837            * Returns the document library file entry type with the primary key or returns <code>null</code> if it could not be found.
838            *
839            * @param fileEntryTypeId the primary key of the document library file entry type
840            * @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
841            * @throws SystemException if a system exception occurred
842            */
843            public com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchByPrimaryKey(
844                    long fileEntryTypeId)
845                    throws com.liferay.portal.kernel.exception.SystemException;
846    
847            /**
848            * Returns all the document library file entry types.
849            *
850            * @return the document library file entry types
851            * @throws SystemException if a system exception occurred
852            */
853            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findAll()
854                    throws com.liferay.portal.kernel.exception.SystemException;
855    
856            /**
857            * Returns a range of all the document library file entry types.
858            *
859            * <p>
860            * 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.
861            * </p>
862            *
863            * @param start the lower bound of the range of document library file entry types
864            * @param end the upper bound of the range of document library file entry types (not inclusive)
865            * @return the range of document library file entry types
866            * @throws SystemException if a system exception occurred
867            */
868            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findAll(
869                    int start, int end)
870                    throws com.liferay.portal.kernel.exception.SystemException;
871    
872            /**
873            * Returns an ordered range of all the document library file entry types.
874            *
875            * <p>
876            * 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.
877            * </p>
878            *
879            * @param start the lower bound of the range of document library file entry types
880            * @param end the upper bound of the range of document library file entry types (not inclusive)
881            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
882            * @return the ordered range of document library file entry types
883            * @throws SystemException if a system exception occurred
884            */
885            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> findAll(
886                    int start, int end,
887                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
888                    throws com.liferay.portal.kernel.exception.SystemException;
889    
890            /**
891            * Removes all the document library file entry types from the database.
892            *
893            * @throws SystemException if a system exception occurred
894            */
895            public void removeAll()
896                    throws com.liferay.portal.kernel.exception.SystemException;
897    
898            /**
899            * Returns the number of document library file entry types.
900            *
901            * @return the number of document library file entry types
902            * @throws SystemException if a system exception occurred
903            */
904            public int countAll()
905                    throws com.liferay.portal.kernel.exception.SystemException;
906    
907            /**
908            * Returns all the document library folders associated with the document library file entry type.
909            *
910            * @param pk the primary key of the document library file entry type
911            * @return the document library folders associated with the document library file entry type
912            * @throws SystemException if a system exception occurred
913            */
914            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
915                    long pk) throws com.liferay.portal.kernel.exception.SystemException;
916    
917            /**
918            * Returns a range of all the document library folders associated with the document library file entry type.
919            *
920            * <p>
921            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 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.
922            * </p>
923            *
924            * @param pk the primary key of the document library file entry type
925            * @param start the lower bound of the range of document library file entry types
926            * @param end the upper bound of the range of document library file entry types (not inclusive)
927            * @return the range of document library folders associated with the document library file entry type
928            * @throws SystemException if a system exception occurred
929            */
930            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
931                    long pk, int start, int end)
932                    throws com.liferay.portal.kernel.exception.SystemException;
933    
934            /**
935            * Returns an ordered range of all the document library folders associated with the document library file entry type.
936            *
937            * <p>
938            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 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.
939            * </p>
940            *
941            * @param pk the primary key of the document library file entry type
942            * @param start the lower bound of the range of document library file entry types
943            * @param end the upper bound of the range of document library file entry types (not inclusive)
944            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
945            * @return the ordered range of document library folders associated with the document library file entry type
946            * @throws SystemException if a system exception occurred
947            */
948            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
949                    long pk, int start, int end,
950                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
951                    throws com.liferay.portal.kernel.exception.SystemException;
952    
953            /**
954            * Returns the number of document library folders associated with the document library file entry type.
955            *
956            * @param pk the primary key of the document library file entry type
957            * @return the number of document library folders associated with the document library file entry type
958            * @throws SystemException if a system exception occurred
959            */
960            public int getDLFoldersSize(long pk)
961                    throws com.liferay.portal.kernel.exception.SystemException;
962    
963            /**
964            * Returns <code>true</code> if the document library folder is associated with the document library file entry type.
965            *
966            * @param pk the primary key of the document library file entry type
967            * @param dlFolderPK the primary key of the document library folder
968            * @return <code>true</code> if the document library folder is associated with the document library file entry type; <code>false</code> otherwise
969            * @throws SystemException if a system exception occurred
970            */
971            public boolean containsDLFolder(long pk, long dlFolderPK)
972                    throws com.liferay.portal.kernel.exception.SystemException;
973    
974            /**
975            * Returns <code>true</code> if the document library file entry type has any document library folders associated with it.
976            *
977            * @param pk the primary key of the document library file entry type to check for associations with document library folders
978            * @return <code>true</code> if the document library file entry type has any document library folders associated with it; <code>false</code> otherwise
979            * @throws SystemException if a system exception occurred
980            */
981            public boolean containsDLFolders(long pk)
982                    throws com.liferay.portal.kernel.exception.SystemException;
983    
984            /**
985            * Adds an association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache.
986            *
987            * @param pk the primary key of the document library file entry type
988            * @param dlFolderPK the primary key of the document library folder
989            * @throws SystemException if a system exception occurred
990            */
991            public void addDLFolder(long pk, long dlFolderPK)
992                    throws com.liferay.portal.kernel.exception.SystemException;
993    
994            /**
995            * Adds an association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache.
996            *
997            * @param pk the primary key of the document library file entry type
998            * @param dlFolder the document library folder
999            * @throws SystemException if a system exception occurred
1000            */
1001            public void addDLFolder(long pk,
1002                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
1003                    throws com.liferay.portal.kernel.exception.SystemException;
1004    
1005            /**
1006            * Adds an association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1007            *
1008            * @param pk the primary key of the document library file entry type
1009            * @param dlFolderPKs the primary keys of the document library folders
1010            * @throws SystemException if a system exception occurred
1011            */
1012            public void addDLFolders(long pk, long[] dlFolderPKs)
1013                    throws com.liferay.portal.kernel.exception.SystemException;
1014    
1015            /**
1016            * Adds an association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1017            *
1018            * @param pk the primary key of the document library file entry type
1019            * @param dlFolders the document library folders
1020            * @throws SystemException if a system exception occurred
1021            */
1022            public void addDLFolders(long pk,
1023                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> dlFolders)
1024                    throws com.liferay.portal.kernel.exception.SystemException;
1025    
1026            /**
1027            * Clears all associations between the document library file entry type and its document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1028            *
1029            * @param pk the primary key of the document library file entry type to clear the associated document library folders from
1030            * @throws SystemException if a system exception occurred
1031            */
1032            public void clearDLFolders(long pk)
1033                    throws com.liferay.portal.kernel.exception.SystemException;
1034    
1035            /**
1036            * Removes the association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1037            *
1038            * @param pk the primary key of the document library file entry type
1039            * @param dlFolderPK the primary key of the document library folder
1040            * @throws SystemException if a system exception occurred
1041            */
1042            public void removeDLFolder(long pk, long dlFolderPK)
1043                    throws com.liferay.portal.kernel.exception.SystemException;
1044    
1045            /**
1046            * Removes the association between the document library file entry type and the document library folder. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1047            *
1048            * @param pk the primary key of the document library file entry type
1049            * @param dlFolder the document library folder
1050            * @throws SystemException if a system exception occurred
1051            */
1052            public void removeDLFolder(long pk,
1053                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
1054                    throws com.liferay.portal.kernel.exception.SystemException;
1055    
1056            /**
1057            * Removes the association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1058            *
1059            * @param pk the primary key of the document library file entry type
1060            * @param dlFolderPKs the primary keys of the document library folders
1061            * @throws SystemException if a system exception occurred
1062            */
1063            public void removeDLFolders(long pk, long[] dlFolderPKs)
1064                    throws com.liferay.portal.kernel.exception.SystemException;
1065    
1066            /**
1067            * Removes the association between the document library file entry type and the document library folders. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1068            *
1069            * @param pk the primary key of the document library file entry type
1070            * @param dlFolders the document library folders
1071            * @throws SystemException if a system exception occurred
1072            */
1073            public void removeDLFolders(long pk,
1074                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> dlFolders)
1075                    throws com.liferay.portal.kernel.exception.SystemException;
1076    
1077            /**
1078            * Sets the document library folders associated with the document library file entry type, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1079            *
1080            * @param pk the primary key of the document library file entry type
1081            * @param dlFolderPKs the primary keys of the document library folders to be associated with the document library file entry type
1082            * @throws SystemException if a system exception occurred
1083            */
1084            public void setDLFolders(long pk, long[] dlFolderPKs)
1085                    throws com.liferay.portal.kernel.exception.SystemException;
1086    
1087            /**
1088            * Sets the document library folders associated with the document library file entry type, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1089            *
1090            * @param pk the primary key of the document library file entry type
1091            * @param dlFolders the document library folders to be associated with the document library file entry type
1092            * @throws SystemException if a system exception occurred
1093            */
1094            public void setDLFolders(long pk,
1095                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> dlFolders)
1096                    throws com.liferay.portal.kernel.exception.SystemException;
1097    
1098            /**
1099            * Returns all the d d m structures associated with the document library file entry type.
1100            *
1101            * @param pk the primary key of the document library file entry type
1102            * @return the d d m structures associated with the document library file entry type
1103            * @throws SystemException if a system exception occurred
1104            */
1105            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getDDMStructures(
1106                    long pk) throws com.liferay.portal.kernel.exception.SystemException;
1107    
1108            /**
1109            * Returns a range of all the d d m structures associated with the document library file entry type.
1110            *
1111            * <p>
1112            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 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.
1113            * </p>
1114            *
1115            * @param pk the primary key of the document library file entry type
1116            * @param start the lower bound of the range of document library file entry types
1117            * @param end the upper bound of the range of document library file entry types (not inclusive)
1118            * @return the range of d d m structures associated with the document library file entry type
1119            * @throws SystemException if a system exception occurred
1120            */
1121            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getDDMStructures(
1122                    long pk, int start, int end)
1123                    throws com.liferay.portal.kernel.exception.SystemException;
1124    
1125            /**
1126            * Returns an ordered range of all the d d m structures associated with the document library file entry type.
1127            *
1128            * <p>
1129            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 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.
1130            * </p>
1131            *
1132            * @param pk the primary key of the document library file entry type
1133            * @param start the lower bound of the range of document library file entry types
1134            * @param end the upper bound of the range of document library file entry types (not inclusive)
1135            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1136            * @return the ordered range of d d m structures associated with the document library file entry type
1137            * @throws SystemException if a system exception occurred
1138            */
1139            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> getDDMStructures(
1140                    long pk, int start, int end,
1141                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1142                    throws com.liferay.portal.kernel.exception.SystemException;
1143    
1144            /**
1145            * Returns the number of d d m structures associated with the document library file entry type.
1146            *
1147            * @param pk the primary key of the document library file entry type
1148            * @return the number of d d m structures associated with the document library file entry type
1149            * @throws SystemException if a system exception occurred
1150            */
1151            public int getDDMStructuresSize(long pk)
1152                    throws com.liferay.portal.kernel.exception.SystemException;
1153    
1154            /**
1155            * Returns <code>true</code> if the d d m structure is associated with the document library file entry type.
1156            *
1157            * @param pk the primary key of the document library file entry type
1158            * @param ddmStructurePK the primary key of the d d m structure
1159            * @return <code>true</code> if the d d m structure is associated with the document library file entry type; <code>false</code> otherwise
1160            * @throws SystemException if a system exception occurred
1161            */
1162            public boolean containsDDMStructure(long pk, long ddmStructurePK)
1163                    throws com.liferay.portal.kernel.exception.SystemException;
1164    
1165            /**
1166            * Returns <code>true</code> if the document library file entry type has any d d m structures associated with it.
1167            *
1168            * @param pk the primary key of the document library file entry type to check for associations with d d m structures
1169            * @return <code>true</code> if the document library file entry type has any d d m structures associated with it; <code>false</code> otherwise
1170            * @throws SystemException if a system exception occurred
1171            */
1172            public boolean containsDDMStructures(long pk)
1173                    throws com.liferay.portal.kernel.exception.SystemException;
1174    
1175            /**
1176            * Adds an association between the document library file entry type and the d d m structure. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1177            *
1178            * @param pk the primary key of the document library file entry type
1179            * @param ddmStructurePK the primary key of the d d m structure
1180            * @throws SystemException if a system exception occurred
1181            */
1182            public void addDDMStructure(long pk, long ddmStructurePK)
1183                    throws com.liferay.portal.kernel.exception.SystemException;
1184    
1185            /**
1186            * Adds an association between the document library file entry type and the d d m structure. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1187            *
1188            * @param pk the primary key of the document library file entry type
1189            * @param ddmStructure the d d m structure
1190            * @throws SystemException if a system exception occurred
1191            */
1192            public void addDDMStructure(long pk,
1193                    com.liferay.portlet.dynamicdatamapping.model.DDMStructure ddmStructure)
1194                    throws com.liferay.portal.kernel.exception.SystemException;
1195    
1196            /**
1197            * Adds an association between the document library file entry type and the d d m structures. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1198            *
1199            * @param pk the primary key of the document library file entry type
1200            * @param ddmStructurePKs the primary keys of the d d m structures
1201            * @throws SystemException if a system exception occurred
1202            */
1203            public void addDDMStructures(long pk, long[] ddmStructurePKs)
1204                    throws com.liferay.portal.kernel.exception.SystemException;
1205    
1206            /**
1207            * Adds an association between the document library file entry type and the d d m structures. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1208            *
1209            * @param pk the primary key of the document library file entry type
1210            * @param ddmStructures the d d m structures
1211            * @throws SystemException if a system exception occurred
1212            */
1213            public void addDDMStructures(long pk,
1214                    java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> ddmStructures)
1215                    throws com.liferay.portal.kernel.exception.SystemException;
1216    
1217            /**
1218            * Clears all associations between the document library file entry type and its d d m structures. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1219            *
1220            * @param pk the primary key of the document library file entry type to clear the associated d d m structures from
1221            * @throws SystemException if a system exception occurred
1222            */
1223            public void clearDDMStructures(long pk)
1224                    throws com.liferay.portal.kernel.exception.SystemException;
1225    
1226            /**
1227            * Removes the association between the document library file entry type and the d d m structure. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1228            *
1229            * @param pk the primary key of the document library file entry type
1230            * @param ddmStructurePK the primary key of the d d m structure
1231            * @throws SystemException if a system exception occurred
1232            */
1233            public void removeDDMStructure(long pk, long ddmStructurePK)
1234                    throws com.liferay.portal.kernel.exception.SystemException;
1235    
1236            /**
1237            * Removes the association between the document library file entry type and the d d m structure. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1238            *
1239            * @param pk the primary key of the document library file entry type
1240            * @param ddmStructure the d d m structure
1241            * @throws SystemException if a system exception occurred
1242            */
1243            public void removeDDMStructure(long pk,
1244                    com.liferay.portlet.dynamicdatamapping.model.DDMStructure ddmStructure)
1245                    throws com.liferay.portal.kernel.exception.SystemException;
1246    
1247            /**
1248            * Removes the association between the document library file entry type and the d d m structures. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1249            *
1250            * @param pk the primary key of the document library file entry type
1251            * @param ddmStructurePKs the primary keys of the d d m structures
1252            * @throws SystemException if a system exception occurred
1253            */
1254            public void removeDDMStructures(long pk, long[] ddmStructurePKs)
1255                    throws com.liferay.portal.kernel.exception.SystemException;
1256    
1257            /**
1258            * Removes the association between the document library file entry type and the d d m structures. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1259            *
1260            * @param pk the primary key of the document library file entry type
1261            * @param ddmStructures the d d m structures
1262            * @throws SystemException if a system exception occurred
1263            */
1264            public void removeDDMStructures(long pk,
1265                    java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> ddmStructures)
1266                    throws com.liferay.portal.kernel.exception.SystemException;
1267    
1268            /**
1269            * Sets the d d m structures associated with the document library file entry type, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1270            *
1271            * @param pk the primary key of the document library file entry type
1272            * @param ddmStructurePKs the primary keys of the d d m structures to be associated with the document library file entry type
1273            * @throws SystemException if a system exception occurred
1274            */
1275            public void setDDMStructures(long pk, long[] ddmStructurePKs)
1276                    throws com.liferay.portal.kernel.exception.SystemException;
1277    
1278            /**
1279            * Sets the d d m structures associated with the document library file entry type, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
1280            *
1281            * @param pk the primary key of the document library file entry type
1282            * @param ddmStructures the d d m structures to be associated with the document library file entry type
1283            * @throws SystemException if a system exception occurred
1284            */
1285            public void setDDMStructures(long pk,
1286                    java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> ddmStructures)
1287                    throws com.liferay.portal.kernel.exception.SystemException;
1288    }