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