001    /**
002     * Copyright (c) 2000-present 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;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
020    import com.liferay.portal.kernel.util.ReferenceRegistry;
021    
022    /**
023     * Provides the local service utility for DLFileEntryType. This utility wraps
024     * {@link com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeLocalServiceImpl} and is the
025     * primary access point for service operations in application layer code running
026     * on the local server. Methods of this service will not have security checks
027     * based on the propagated JAAS credentials because this service can only be
028     * accessed from within the same VM.
029     *
030     * @author Brian Wing Shun Chan
031     * @see DLFileEntryTypeLocalService
032     * @see com.liferay.portlet.documentlibrary.service.base.DLFileEntryTypeLocalServiceBaseImpl
033     * @see com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeLocalServiceImpl
034     * @generated
035     */
036    @ProviderType
037    public class DLFileEntryTypeLocalServiceUtil {
038            /*
039             * NOTE FOR DEVELOPERS:
040             *
041             * Never modify this class directly. Add custom service methods to {@link com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeLocalServiceImpl} and rerun ServiceBuilder to regenerate this class.
042             */
043            public static void addDDMStructureDLFileEntryType(long structureId,
044                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType) {
045                    getService().addDDMStructureDLFileEntryType(structureId, dlFileEntryType);
046            }
047    
048            public static void addDDMStructureDLFileEntryType(long structureId,
049                    long fileEntryTypeId) {
050                    getService().addDDMStructureDLFileEntryType(structureId, fileEntryTypeId);
051            }
052    
053            public static void addDDMStructureDLFileEntryTypes(long structureId,
054                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> DLFileEntryTypes) {
055                    getService()
056                            .addDDMStructureDLFileEntryTypes(structureId, DLFileEntryTypes);
057            }
058    
059            public static void addDDMStructureDLFileEntryTypes(long structureId,
060                    long[] fileEntryTypeIds) {
061                    getService()
062                            .addDDMStructureDLFileEntryTypes(structureId, fileEntryTypeIds);
063            }
064    
065            /**
066            * Adds the document library file entry type to the database. Also notifies the appropriate model listeners.
067            *
068            * @param dlFileEntryType the document library file entry type
069            * @return the document library file entry type that was added
070            */
071            public static com.liferay.portlet.documentlibrary.model.DLFileEntryType addDLFileEntryType(
072                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType) {
073                    return getService().addDLFileEntryType(dlFileEntryType);
074            }
075    
076            public static void addDLFolderDLFileEntryType(long folderId,
077                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType) {
078                    getService().addDLFolderDLFileEntryType(folderId, dlFileEntryType);
079            }
080    
081            public static void addDLFolderDLFileEntryType(long folderId,
082                    long fileEntryTypeId) {
083                    getService().addDLFolderDLFileEntryType(folderId, fileEntryTypeId);
084            }
085    
086            public static void addDLFolderDLFileEntryTypes(long folderId,
087                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> DLFileEntryTypes) {
088                    getService().addDLFolderDLFileEntryTypes(folderId, DLFileEntryTypes);
089            }
090    
091            public static void addDLFolderDLFileEntryTypes(long folderId,
092                    long[] fileEntryTypeIds) {
093                    getService().addDLFolderDLFileEntryTypes(folderId, fileEntryTypeIds);
094            }
095    
096            public static com.liferay.portlet.documentlibrary.model.DLFileEntryType addFileEntryType(
097                    long userId, long groupId, java.lang.String fileEntryTypeKey,
098                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
099                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
100                    long[] ddmStructureIds,
101                    com.liferay.portal.service.ServiceContext serviceContext)
102                    throws com.liferay.portal.kernel.exception.PortalException {
103                    return getService()
104                                       .addFileEntryType(userId, groupId, fileEntryTypeKey,
105                            nameMap, descriptionMap, ddmStructureIds, serviceContext);
106            }
107    
108            public static com.liferay.portlet.documentlibrary.model.DLFileEntryType addFileEntryType(
109                    long userId, long groupId, java.lang.String name,
110                    java.lang.String description, long[] ddmStructureIds,
111                    com.liferay.portal.service.ServiceContext serviceContext)
112                    throws com.liferay.portal.kernel.exception.PortalException {
113                    return getService()
114                                       .addFileEntryType(userId, groupId, name, description,
115                            ddmStructureIds, serviceContext);
116            }
117    
118            public static void cascadeFileEntryTypes(long userId,
119                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
120                    throws com.liferay.portal.kernel.exception.PortalException {
121                    getService().cascadeFileEntryTypes(userId, dlFolder);
122            }
123    
124            public static void clearDDMStructureDLFileEntryTypes(long structureId) {
125                    getService().clearDDMStructureDLFileEntryTypes(structureId);
126            }
127    
128            public static void clearDLFolderDLFileEntryTypes(long folderId) {
129                    getService().clearDLFolderDLFileEntryTypes(folderId);
130            }
131    
132            /**
133            * Creates a new document library file entry type with the primary key. Does not add the document library file entry type to the database.
134            *
135            * @param fileEntryTypeId the primary key for the new document library file entry type
136            * @return the new document library file entry type
137            */
138            public static com.liferay.portlet.documentlibrary.model.DLFileEntryType createDLFileEntryType(
139                    long fileEntryTypeId) {
140                    return getService().createDLFileEntryType(fileEntryTypeId);
141            }
142    
143            public static void deleteDDMStructureDLFileEntryType(long structureId,
144                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType) {
145                    getService()
146                            .deleteDDMStructureDLFileEntryType(structureId, dlFileEntryType);
147            }
148    
149            public static void deleteDDMStructureDLFileEntryType(long structureId,
150                    long fileEntryTypeId) {
151                    getService()
152                            .deleteDDMStructureDLFileEntryType(structureId, fileEntryTypeId);
153            }
154    
155            public static void deleteDDMStructureDLFileEntryTypes(long structureId,
156                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> DLFileEntryTypes) {
157                    getService()
158                            .deleteDDMStructureDLFileEntryTypes(structureId, DLFileEntryTypes);
159            }
160    
161            public static void deleteDDMStructureDLFileEntryTypes(long structureId,
162                    long[] fileEntryTypeIds) {
163                    getService()
164                            .deleteDDMStructureDLFileEntryTypes(structureId, fileEntryTypeIds);
165            }
166    
167            /**
168            * Deletes the document library file entry type from the database. Also notifies the appropriate model listeners.
169            *
170            * @param dlFileEntryType the document library file entry type
171            * @return the document library file entry type that was removed
172            */
173            public static com.liferay.portlet.documentlibrary.model.DLFileEntryType deleteDLFileEntryType(
174                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType) {
175                    return getService().deleteDLFileEntryType(dlFileEntryType);
176            }
177    
178            /**
179            * Deletes the document library file entry type with the primary key from the database. Also notifies the appropriate model listeners.
180            *
181            * @param fileEntryTypeId the primary key of the document library file entry type
182            * @return the document library file entry type that was removed
183            * @throws PortalException if a document library file entry type with the primary key could not be found
184            */
185            public static com.liferay.portlet.documentlibrary.model.DLFileEntryType deleteDLFileEntryType(
186                    long fileEntryTypeId)
187                    throws com.liferay.portal.kernel.exception.PortalException {
188                    return getService().deleteDLFileEntryType(fileEntryTypeId);
189            }
190    
191            public static void deleteDLFolderDLFileEntryType(long folderId,
192                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType) {
193                    getService().deleteDLFolderDLFileEntryType(folderId, dlFileEntryType);
194            }
195    
196            public static void deleteDLFolderDLFileEntryType(long folderId,
197                    long fileEntryTypeId) {
198                    getService().deleteDLFolderDLFileEntryType(folderId, fileEntryTypeId);
199            }
200    
201            public static void deleteDLFolderDLFileEntryTypes(long folderId,
202                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> DLFileEntryTypes) {
203                    getService().deleteDLFolderDLFileEntryTypes(folderId, DLFileEntryTypes);
204            }
205    
206            public static void deleteDLFolderDLFileEntryTypes(long folderId,
207                    long[] fileEntryTypeIds) {
208                    getService().deleteDLFolderDLFileEntryTypes(folderId, fileEntryTypeIds);
209            }
210    
211            public static void deleteFileEntryType(
212                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
213                    throws com.liferay.portal.kernel.exception.PortalException {
214                    getService().deleteFileEntryType(dlFileEntryType);
215            }
216    
217            public static void deleteFileEntryType(long fileEntryTypeId)
218                    throws com.liferay.portal.kernel.exception.PortalException {
219                    getService().deleteFileEntryType(fileEntryTypeId);
220            }
221    
222            public static void deleteFileEntryTypes(long groupId)
223                    throws com.liferay.portal.kernel.exception.PortalException {
224                    getService().deleteFileEntryTypes(groupId);
225            }
226    
227            /**
228            * @throws PortalException
229            */
230            public static com.liferay.portal.model.PersistedModel deletePersistedModel(
231                    com.liferay.portal.model.PersistedModel persistedModel)
232                    throws com.liferay.portal.kernel.exception.PortalException {
233                    return getService().deletePersistedModel(persistedModel);
234            }
235    
236            public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
237                    return getService().dynamicQuery();
238            }
239    
240            /**
241            * Performs a dynamic query on the database and returns the matching rows.
242            *
243            * @param dynamicQuery the dynamic query
244            * @return the matching rows
245            */
246            public static <T> java.util.List<T> dynamicQuery(
247                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
248                    return getService().dynamicQuery(dynamicQuery);
249            }
250    
251            /**
252            * Performs a dynamic query on the database and returns a range of the matching rows.
253            *
254            * <p>
255            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileEntryTypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
256            * </p>
257            *
258            * @param dynamicQuery the dynamic query
259            * @param start the lower bound of the range of model instances
260            * @param end the upper bound of the range of model instances (not inclusive)
261            * @return the range of matching rows
262            */
263            public static <T> java.util.List<T> dynamicQuery(
264                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
265                    int end) {
266                    return getService().dynamicQuery(dynamicQuery, start, end);
267            }
268    
269            /**
270            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
271            *
272            * <p>
273            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileEntryTypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
274            * </p>
275            *
276            * @param dynamicQuery the dynamic query
277            * @param start the lower bound of the range of model instances
278            * @param end the upper bound of the range of model instances (not inclusive)
279            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
280            * @return the ordered range of matching rows
281            */
282            public static <T> java.util.List<T> dynamicQuery(
283                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
284                    int end,
285                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
286                    return getService()
287                                       .dynamicQuery(dynamicQuery, start, end, orderByComparator);
288            }
289    
290            /**
291            * Returns the number of rows matching the dynamic query.
292            *
293            * @param dynamicQuery the dynamic query
294            * @return the number of rows matching the dynamic query
295            */
296            public static long dynamicQueryCount(
297                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
298                    return getService().dynamicQueryCount(dynamicQuery);
299            }
300    
301            /**
302            * Returns the number of rows matching the dynamic query.
303            *
304            * @param dynamicQuery the dynamic query
305            * @param projection the projection to apply to the query
306            * @return the number of rows matching the dynamic query
307            */
308            public static long dynamicQueryCount(
309                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
310                    com.liferay.portal.kernel.dao.orm.Projection projection) {
311                    return getService().dynamicQueryCount(dynamicQuery, projection);
312            }
313    
314            public static com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchDLFileEntryType(
315                    long fileEntryTypeId) {
316                    return getService().fetchDLFileEntryType(fileEntryTypeId);
317            }
318    
319            /**
320            * Returns the document library file entry type matching the UUID and group.
321            *
322            * @param uuid the document library file entry type's UUID
323            * @param groupId the primary key of the group
324            * @return the matching document library file entry type, or <code>null</code> if a matching document library file entry type could not be found
325            */
326            public static com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchDLFileEntryTypeByUuidAndGroupId(
327                    java.lang.String uuid, long groupId) {
328                    return getService().fetchDLFileEntryTypeByUuidAndGroupId(uuid, groupId);
329            }
330    
331            public static com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchFileEntryType(
332                    long fileEntryTypeId) {
333                    return getService().fetchFileEntryType(fileEntryTypeId);
334            }
335    
336            public static com.liferay.portlet.documentlibrary.model.DLFileEntryType fetchFileEntryType(
337                    long groupId, java.lang.String fileEntryTypeKey) {
338                    return getService().fetchFileEntryType(groupId, fileEntryTypeKey);
339            }
340    
341            public static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
342                    return getService().getActionableDynamicQuery();
343            }
344    
345            /**
346            * Returns the Spring bean ID for this bean.
347            *
348            * @return the Spring bean ID for this bean
349            */
350            public static java.lang.String getBeanIdentifier() {
351                    return getService().getBeanIdentifier();
352            }
353    
354            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDDMStructureDLFileEntryTypes(
355                    long structureId) {
356                    return getService().getDDMStructureDLFileEntryTypes(structureId);
357            }
358    
359            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDDMStructureDLFileEntryTypes(
360                    long structureId, int start, int end) {
361                    return getService()
362                                       .getDDMStructureDLFileEntryTypes(structureId, start, end);
363            }
364    
365            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDDMStructureDLFileEntryTypes(
366                    long structureId, int start, int end,
367                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntryType> orderByComparator) {
368                    return getService()
369                                       .getDDMStructureDLFileEntryTypes(structureId, start, end,
370                            orderByComparator);
371            }
372    
373            public static int getDDMStructureDLFileEntryTypesCount(long structureId) {
374                    return getService().getDDMStructureDLFileEntryTypesCount(structureId);
375            }
376    
377            /**
378            * Returns the structureIds of the d d m structures associated with the document library file entry type.
379            *
380            * @param fileEntryTypeId the fileEntryTypeId of the document library file entry type
381            * @return long[] the structureIds of d d m structures associated with the document library file entry type
382            */
383            public static long[] getDDMStructurePrimaryKeys(long fileEntryTypeId) {
384                    return getService().getDDMStructurePrimaryKeys(fileEntryTypeId);
385            }
386    
387            /**
388            * Returns the document library file entry type with the primary key.
389            *
390            * @param fileEntryTypeId the primary key of the document library file entry type
391            * @return the document library file entry type
392            * @throws PortalException if a document library file entry type with the primary key could not be found
393            */
394            public static com.liferay.portlet.documentlibrary.model.DLFileEntryType getDLFileEntryType(
395                    long fileEntryTypeId)
396                    throws com.liferay.portal.kernel.exception.PortalException {
397                    return getService().getDLFileEntryType(fileEntryTypeId);
398            }
399    
400            /**
401            * Returns the document library file entry type matching the UUID and group.
402            *
403            * @param uuid the document library file entry type's UUID
404            * @param groupId the primary key of the group
405            * @return the matching document library file entry type
406            * @throws PortalException if a matching document library file entry type could not be found
407            */
408            public static com.liferay.portlet.documentlibrary.model.DLFileEntryType getDLFileEntryTypeByUuidAndGroupId(
409                    java.lang.String uuid, long groupId)
410                    throws com.liferay.portal.kernel.exception.PortalException {
411                    return getService().getDLFileEntryTypeByUuidAndGroupId(uuid, groupId);
412            }
413    
414            /**
415            * Returns a range of all the document library file entry types.
416            *
417            * <p>
418            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.documentlibrary.model.impl.DLFileEntryTypeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
419            * </p>
420            *
421            * @param start the lower bound of the range of document library file entry types
422            * @param end the upper bound of the range of document library file entry types (not inclusive)
423            * @return the range of document library file entry types
424            */
425            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes(
426                    int start, int end) {
427                    return getService().getDLFileEntryTypes(start, end);
428            }
429    
430            /**
431            * Returns all the document library file entry types matching the UUID and company.
432            *
433            * @param uuid the UUID of the document library file entry types
434            * @param companyId the primary key of the company
435            * @return the matching document library file entry types, or an empty list if no matches were found
436            */
437            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypesByUuidAndCompanyId(
438                    java.lang.String uuid, long companyId) {
439                    return getService()
440                                       .getDLFileEntryTypesByUuidAndCompanyId(uuid, companyId);
441            }
442    
443            /**
444            * Returns a range of document library file entry types matching the UUID and company.
445            *
446            * @param uuid the UUID of the document library file entry types
447            * @param companyId the primary key of the company
448            * @param start the lower bound of the range of document library file entry types
449            * @param end the upper bound of the range of document library file entry types (not inclusive)
450            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
451            * @return the range of matching document library file entry types, or an empty list if no matches were found
452            */
453            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypesByUuidAndCompanyId(
454                    java.lang.String uuid, long companyId, int start, int end,
455                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntryType> orderByComparator) {
456                    return getService()
457                                       .getDLFileEntryTypesByUuidAndCompanyId(uuid, companyId,
458                            start, end, orderByComparator);
459            }
460    
461            /**
462            * Returns the number of document library file entry types.
463            *
464            * @return the number of document library file entry types
465            */
466            public static int getDLFileEntryTypesCount() {
467                    return getService().getDLFileEntryTypesCount();
468            }
469    
470            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFolderDLFileEntryTypes(
471                    long folderId) {
472                    return getService().getDLFolderDLFileEntryTypes(folderId);
473            }
474    
475            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFolderDLFileEntryTypes(
476                    long folderId, int start, int end) {
477                    return getService().getDLFolderDLFileEntryTypes(folderId, start, end);
478            }
479    
480            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFolderDLFileEntryTypes(
481                    long folderId, int start, int end,
482                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntryType> orderByComparator) {
483                    return getService()
484                                       .getDLFolderDLFileEntryTypes(folderId, start, end,
485                            orderByComparator);
486            }
487    
488            public static int getDLFolderDLFileEntryTypesCount(long folderId) {
489                    return getService().getDLFolderDLFileEntryTypesCount(folderId);
490            }
491    
492            /**
493            * Returns the folderIds of the document library folders associated with the document library file entry type.
494            *
495            * @param fileEntryTypeId the fileEntryTypeId of the document library file entry type
496            * @return long[] the folderIds of document library folders associated with the document library file entry type
497            */
498            public static long[] getDLFolderPrimaryKeys(long fileEntryTypeId) {
499                    return getService().getDLFolderPrimaryKeys(fileEntryTypeId);
500            }
501    
502            public static long getDefaultFileEntryTypeId(long folderId)
503                    throws com.liferay.portal.kernel.exception.PortalException {
504                    return getService().getDefaultFileEntryTypeId(folderId);
505            }
506    
507            public static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
508                    com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext) {
509                    return getService().getExportActionableDynamicQuery(portletDataContext);
510            }
511    
512            public static com.liferay.portlet.documentlibrary.model.DLFileEntryType getFileEntryType(
513                    long fileEntryTypeId)
514                    throws com.liferay.portal.kernel.exception.PortalException {
515                    return getService().getFileEntryType(fileEntryTypeId);
516            }
517    
518            public static com.liferay.portlet.documentlibrary.model.DLFileEntryType getFileEntryType(
519                    long groupId, java.lang.String fileEntryTypeKey)
520                    throws com.liferay.portal.kernel.exception.PortalException {
521                    return getService().getFileEntryType(groupId, fileEntryTypeKey);
522            }
523    
524            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFileEntryTypes(
525                    long[] groupIds) {
526                    return getService().getFileEntryTypes(groupIds);
527            }
528    
529            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getFolderFileEntryTypes(
530                    long[] groupIds, long folderId, boolean inherited)
531                    throws com.liferay.portal.kernel.exception.PortalException {
532                    return getService()
533                                       .getFolderFileEntryTypes(groupIds, folderId, inherited);
534            }
535    
536            public static com.liferay.portal.model.PersistedModel getPersistedModel(
537                    java.io.Serializable primaryKeyObj)
538                    throws com.liferay.portal.kernel.exception.PortalException {
539                    return getService().getPersistedModel(primaryKeyObj);
540            }
541    
542            public static boolean hasDDMStructureDLFileEntryType(long structureId,
543                    long fileEntryTypeId) {
544                    return getService()
545                                       .hasDDMStructureDLFileEntryType(structureId, fileEntryTypeId);
546            }
547    
548            public static boolean hasDDMStructureDLFileEntryTypes(long structureId) {
549                    return getService().hasDDMStructureDLFileEntryTypes(structureId);
550            }
551    
552            public static boolean hasDLFolderDLFileEntryType(long folderId,
553                    long fileEntryTypeId) {
554                    return getService().hasDLFolderDLFileEntryType(folderId, fileEntryTypeId);
555            }
556    
557            public static boolean hasDLFolderDLFileEntryTypes(long folderId) {
558                    return getService().hasDLFolderDLFileEntryTypes(folderId);
559            }
560    
561            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> search(
562                    long companyId, long[] groupIds, java.lang.String keywords,
563                    boolean includeBasicFileEntryType, int start, int end,
564                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.documentlibrary.model.DLFileEntryType> orderByComparator) {
565                    return getService()
566                                       .search(companyId, groupIds, keywords,
567                            includeBasicFileEntryType, start, end, orderByComparator);
568            }
569    
570            public static int searchCount(long companyId, long[] groupIds,
571                    java.lang.String keywords, boolean includeBasicFileEntryType) {
572                    return getService()
573                                       .searchCount(companyId, groupIds, keywords,
574                            includeBasicFileEntryType);
575            }
576    
577            /**
578            * Sets the Spring bean ID for this bean.
579            *
580            * @param beanIdentifier the Spring bean ID for this bean
581            */
582            public static void setBeanIdentifier(java.lang.String beanIdentifier) {
583                    getService().setBeanIdentifier(beanIdentifier);
584            }
585    
586            public static void setDDMStructureDLFileEntryTypes(long structureId,
587                    long[] fileEntryTypeIds) {
588                    getService()
589                            .setDDMStructureDLFileEntryTypes(structureId, fileEntryTypeIds);
590            }
591    
592            public static void setDLFolderDLFileEntryTypes(long folderId,
593                    long[] fileEntryTypeIds) {
594                    getService().setDLFolderDLFileEntryTypes(folderId, fileEntryTypeIds);
595            }
596    
597            public static void unsetFolderFileEntryTypes(long folderId) {
598                    getService().unsetFolderFileEntryTypes(folderId);
599            }
600    
601            /**
602            * Updates the document library file entry type in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
603            *
604            * @param dlFileEntryType the document library file entry type
605            * @return the document library file entry type that was updated
606            */
607            public static com.liferay.portlet.documentlibrary.model.DLFileEntryType updateDLFileEntryType(
608                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType) {
609                    return getService().updateDLFileEntryType(dlFileEntryType);
610            }
611    
612            public static com.liferay.portlet.documentlibrary.model.DLFileEntry updateFileEntryFileEntryType(
613                    com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
614                    com.liferay.portal.service.ServiceContext serviceContext)
615                    throws com.liferay.portal.kernel.exception.PortalException {
616                    return getService()
617                                       .updateFileEntryFileEntryType(dlFileEntry, serviceContext);
618            }
619    
620            public static void updateFileEntryType(long userId, long fileEntryTypeId,
621                    java.lang.String name, java.lang.String description,
622                    long[] ddmStructureIds,
623                    com.liferay.portal.service.ServiceContext serviceContext)
624                    throws com.liferay.portal.kernel.exception.PortalException {
625                    getService()
626                            .updateFileEntryType(userId, fileEntryTypeId, name, description,
627                            ddmStructureIds, serviceContext);
628            }
629    
630            public static void updateFileEntryType(long userId, long fileEntryTypeId,
631                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
632                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
633                    long[] ddmStructureIds,
634                    com.liferay.portal.service.ServiceContext serviceContext)
635                    throws com.liferay.portal.kernel.exception.PortalException {
636                    getService()
637                            .updateFileEntryType(userId, fileEntryTypeId, nameMap,
638                            descriptionMap, ddmStructureIds, serviceContext);
639            }
640    
641            public static void updateFolderFileEntryTypes(
642                    com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
643                    java.util.List<java.lang.Long> fileEntryTypeIds,
644                    long defaultFileEntryTypeId,
645                    com.liferay.portal.service.ServiceContext serviceContext) {
646                    getService()
647                            .updateFolderFileEntryTypes(dlFolder, fileEntryTypeIds,
648                            defaultFileEntryTypeId, serviceContext);
649            }
650    
651            public static DLFileEntryTypeLocalService getService() {
652                    if (_service == null) {
653                            _service = (DLFileEntryTypeLocalService)PortalBeanLocatorUtil.locate(DLFileEntryTypeLocalService.class.getName());
654    
655                            ReferenceRegistry.registerReference(DLFileEntryTypeLocalServiceUtil.class,
656                                    "_service");
657                    }
658    
659                    return _service;
660            }
661    
662            /**
663             * @deprecated As of 6.2.0
664             */
665            @Deprecated
666            public void setService(DLFileEntryTypeLocalService service) {
667            }
668    
669            private static DLFileEntryTypeLocalService _service;
670    }