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